Automobile data comparison method and device and computer storage medium
1. A method for comparing automobile data is characterized by comprising the following steps:
acquiring an interface calling file through an installed comparison tool, wherein the interface calling file comprises vehicle information of an automobile;
acquiring design bill of material (EBOM) data and manufacturing bill of material (MBOM) data corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file;
and comparing the EBOM data with the MBOM data through the comparison tool according to a comparison rule.
2. The method of claim 1, wherein the obtaining an interface configuration file via the installed comparison tool comprises:
when a starting instruction is received, starting the comparison tool;
acquiring vehicle information of the automobile through the comparison tool, wherein the vehicle information comprises the automobile type, configuration information and configuration effective time of the automobile;
and writing the vehicle information into a reference interface file to obtain the interface calling file.
3. The method according to claim 1, wherein the obtaining of the design bill of material (EBOM) data and the manufacturing bill of material (MBOM) data corresponding to the vehicle information from the BOM management system of the automobile according to the interface call file comprises:
sending the interface calling file to the BOM management system through an integrated interface between the interface calling file and the BOM management system, and searching corresponding EBOM data and MBOM data in the BOM management system by taking the vehicle information in the interface calling file as a searching condition;
and when the EBOM data and the MBOM data are retrieved from the BOM management system, loading the EBOM data and the MBOM data into the comparison tool.
4. The method of claim 3, wherein loading the EBOM data and the MBOM data into the comparison tool when the EBOM data and the MBOM data are retrieved from the BOM management system comprises:
when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and MBOM data are cleared through the comparison tool;
caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder;
and loading the EBOM data and the MBOM data cached in the local folder into the comparison tool.
5. The method of claim 3, wherein after sending the interface call file to the BOM system via an integrated interface with the BOM management system, further comprising:
and when the EBOM data and the MBOM data are not retrieved from the BOM management system, prompting that the retrieval condition is wrong through first prompt information.
6. An apparatus for comparing data of a vehicle, the apparatus comprising:
the first acquisition module is used for acquiring an interface calling file through an installed comparison tool, wherein the interface calling file comprises vehicle information of an automobile;
the second obtaining module is used for obtaining the EBOM data and the MBOM data of the design bill of materials corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file;
and the comparison module is used for comparing the EBOM data with the MBOM data through the comparison tool according to a comparison rule.
7. The apparatus of claim 6, wherein the first obtaining module comprises:
the promoter module is used for starting the comparison tool when a starting instruction is received;
the obtaining submodule is used for obtaining vehicle information of the automobile through the comparison tool, and the vehicle information comprises the automobile type, the configuration information and the configuration effective time of the automobile;
and the writing sub-module is used for writing the vehicle information into a reference interface file to obtain the interface calling file.
8. The apparatus of claim 6, wherein the second obtaining module comprises:
the sending submodule is used for sending the interface calling file to the BOM management system through an integrated interface between the interface calling file and the BOM management system so as to take the vehicle information in the interface calling file as a retrieval condition and retrieve corresponding EBOM data and MBOM data in the BOM management system;
and the loading submodule is used for loading the EBOM data and the MBOM data into the comparison tool when the EBOM data and the MBOM data are retrieved from the BOM management system.
9. The apparatus of claim 8, wherein the load submodule is to:
when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and MBOM data are cleared through the comparison tool;
caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder;
and loading the EBOM data and the MBOM data cached in the local folder into the comparison tool.
10. A computer-readable storage medium having stored thereon instructions which, when executed by a processor, carry out the steps of the method of any of the preceding claims 1 to 5.
Background
With the development of society, automobiles have gradually become indispensable transportation tools for people to go out. In the initial stage of new configuration online of new and modified vehicles, because there may be a certain difference between the EBOM (Engineering Bill of Material) data and the MBOM (Manufacturing Bill of Material) data of the vehicle, it is usually necessary to compare the EBOM data and the MBOM data of the vehicle in order to ensure the safety of the vehicle and the integrity of the MBOM data of the vehicle.
At present, when comparing the EBOM data and the MBOM data of an automobile, an MBOM engineer usually compares and checks the EBOM data and the MBOM data, analyzes difference rationality through comparison consistency, and traces back related problems.
However, the comparison between the EBOM data and the MBOM data of the automobile is performed manually after the EBOM data and the MBOM data file of the automobile are manually acquired, which results in large manual workload and time consumption, and the manual comparison is prone to errors, which results in inaccurate data comparison and reduces the efficiency of comparing the automobile data.
Disclosure of Invention
The embodiment of the application provides a comparison method and device of automobile data and a computer storage medium, and can solve the problem of low comparison efficiency of the automobile data in the related technology. The technical scheme is as follows:
in one aspect, a method for comparing automobile data is provided, and the method includes:
acquiring an interface calling file through an installed comparison tool, wherein the interface calling file comprises vehicle information of an automobile;
acquiring design bill of material (EBOM) data and manufacturing bill of material (MBOM) data corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file;
and comparing the EBOM data with the MBOM data through the comparison tool according to a comparison rule.
In some embodiments, the obtaining an interface configuration file through the installed comparison tool includes:
when a starting instruction is received, starting the comparison tool;
acquiring vehicle information of the automobile through the comparison tool, wherein the vehicle information comprises the automobile type, configuration information and configuration effective time of the automobile;
and writing the vehicle information into a reference interface file to obtain the interface calling file.
In some embodiments, the obtaining, according to the interface call file, design bill of material EBOM data and manufacturing bill of material MBOM data corresponding to the vehicle information from the bill of material BOM management system of the automobile includes:
sending the interface calling file to the BOM management system through an integrated interface between the interface calling file and the BOM management system, and searching corresponding EBOM data and MBOM data in the BOM management system by taking the vehicle information in the interface calling file as a searching condition;
and when the EBOM data and the MBOM data are retrieved from the BOM management system, loading the EBOM data and the MBOM data into the comparison tool.
In some embodiments, the loading the EBOM data and the MBOM data into the comparison tool when the EBOM data and the MBOM data are retrieved from the BOM management system comprises:
when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and MBOM data are cleared through the comparison tool;
caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder;
and loading the EBOM data and the MBOM data cached in the local folder into the comparison tool.
In some embodiments, after sending the interface call file to the BOM system through the integrated interface with the BOM management system, the method further includes:
and when the EBOM data and the MBOM data are not retrieved from the BOM management system, prompting that the retrieval condition is wrong through first prompt information.
In another aspect, an apparatus for comparing vehicle data is provided, the apparatus comprising:
the first acquisition module is used for acquiring an interface calling file through an installed comparison tool, wherein the interface calling file comprises vehicle information of an automobile;
the second obtaining module is used for obtaining the EBOM data and the MBOM data of the design bill of materials corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file;
and the comparison module is used for comparing the EBOM data with the MBOM data through the comparison tool according to a comparison rule.
In some embodiments, the first obtaining module comprises:
the promoter module is used for starting the comparison tool when a starting instruction is received;
the obtaining submodule is used for obtaining vehicle information of the automobile through the comparison tool, and the vehicle information comprises the automobile type, the configuration information and the configuration effective time of the automobile;
and the writing sub-module is used for writing the vehicle information into a reference interface file to obtain the interface calling file.
In some embodiments, the second obtaining module comprises:
the sending submodule is used for sending the interface calling file to the BOM management system through an integrated interface between the interface calling file and the BOM management system so as to take the vehicle information in the interface calling file as a retrieval condition and retrieve corresponding EBOM data and MBOM data in the BOM management system;
and the loading submodule is used for loading the EBOM data and the MBOM data into the comparison tool when the EBOM data and the MBOM data are retrieved from the BOM management system.
In some embodiments, the load submodule is to:
when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and MBOM data are cleared through the comparison tool;
caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder;
and loading the EBOM data and the MBOM data cached in the local folder into the comparison tool.
In some embodiments, the second obtaining module further comprises:
and the prompting submodule is used for prompting the error of the retrieval condition through first prompting information when the EBOM data and the MBOM data are not retrieved from the BOM management system.
In another aspect, a computer-readable storage medium is provided, where instructions are stored on the computer-readable storage medium, and when executed by a processor, the instructions implement any one of the steps of the above comparing method for automobile data.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
in the embodiment of the application, the EBOM data and the MBOM data corresponding to the vehicle information can be acquired from the BOM management system through the comparison tool, so that automatic pushing of the information between the systems is realized, the data acquisition efficiency is improved, the data comparison can be automatically performed according to the comparison rule through the comparison tool, and the data comparison efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture for comparing vehicle data according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for comparing automobile data according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for comparing automobile data according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for comparing automobile data according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a first obtaining module according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a second obtaining module according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another second obtaining module provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail with reference to the accompanying drawings.
Before explaining the comparison method of the automobile data provided by the embodiment of the present application in detail, a system architecture provided by the embodiment of the present application is explained first.
Fig. 1 is a schematic diagram of a comparison system architecture of automobile data according to an embodiment of the present application, and referring to fig. 1, the system architecture includes a comparison tool 1 and a BOM (Bill of Material) management system 1, the comparison tool 1 can be in communication connection with the BOM management system, and the comparison tool 1 can be an application installed in a terminal.
As an example, the comparison tool 1 can obtain an interface call file including vehicle information of an automobile, obtain EBOM data and MBOM data corresponding to the vehicle information from the BOM management system 2 through the interface call file, and then compare the EBOM data and the MBOM data according to a comparison rule.
Fig. 2 is a flowchart of a method for comparing automobile data according to an embodiment of the present disclosure, where the method for comparing automobile data may include the following steps:
step 201: and acquiring an interface calling file through the installed comparison tool, wherein the interface calling file comprises the vehicle information of the automobile.
Step 202: and acquiring the EBOM data of the design bill of material and the MBOM data of the manufacturing bill of material corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file.
Step 203: and comparing the EBOM data with the MBOM data through the comparison tool according to a comparison rule.
In the embodiment of the application, the EBOM data and the MBOM data corresponding to the vehicle information can be acquired from the BOM management system through the comparison tool, so that automatic pushing of the information between the systems is realized, the data acquisition efficiency is improved, the data comparison can be automatically performed according to the comparison rule through the comparison tool, and the data comparison efficiency is improved.
In some embodiments, obtaining the interface configuration file via the installed comparison tool comprises:
when a starting instruction is received, starting the comparison tool;
obtaining vehicle information of the automobile through the comparison tool, wherein the vehicle information comprises the automobile type, configuration information and configuration effective time of the automobile;
and writing the vehicle information into a reference interface file to obtain the interface calling file.
In some embodiments, obtaining the design bill of material EBOM data and the manufacturing bill of material MBOM data corresponding to the vehicle information from the bill of material BOM management system of the vehicle according to the interface call file includes:
sending the interface calling file to the BOM management system through an integrated interface between the interface calling file and the BOM management system, and searching corresponding EBOM data and MBOM data in the BOM management system by taking the vehicle information in the interface calling file as a searching condition;
and when the EBOM data and the MBOM data are retrieved from the BOM management system, loading the EBOM data and the MBOM data into the comparison tool.
In some embodiments, loading the EBOM data and the MBOM data into the comparison tool when the EBOM data and the MBOM data are retrieved from the BOM management system includes:
when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and MBOM data are cleared through the comparison tool;
caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder;
and loading the EBOM data and the MBOM data cached in the local folder into the comparison tool.
In some embodiments, after sending the interface call file to the BOM system through the integrated interface with the BOM management system, the method further includes:
when the EBOM data and the MBOM data are not retrieved from the BOM management system, the retrieval condition is prompted to be wrong through first prompt information.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present application, and the present application embodiment is not described in detail again.
Fig. 3 is a flowchart of a method for comparing automobile data according to an embodiment of the present application, where the method for comparing automobile data is applied to a terminal for example, the method for comparing automobile data may include the following steps:
step 301: and the terminal acquires an interface calling file through the installed comparison tool, wherein the interface calling file comprises the vehicle information of the automobile.
In order to facilitate data comparison, a comparison tool can be installed in the terminal, and an interface calling file is obtained through the comparison tool.
As an example, the terminal obtains the operation of the interface configuration file through the installed comparison tool: when a starting instruction is received, starting a comparison tool; vehicle information of the automobile is obtained through a comparison tool, wherein the vehicle information comprises the automobile type, configuration information and configuration effective time of the automobile; and writing the vehicle information into the reference interface file to obtain the interface calling file.
It should be noted that the starting instruction is triggered when the user acts on the identifier of the comparison tool through a first specified operation, where the first specified operation includes a click operation, a slide operation, a voice operation, and so on. The identification of the comparison tool is used for uniquely identifying the comparison tool, and can be an identification in at least one form of characters, patterns and the like.
In some embodiments, after the terminal starts the comparison tool, the terminal can obtain the vehicle information of the automobile when receiving the obtaining instruction in the display interface displayed by the comparison tool.
It should be noted that the configuration validation time is used to describe the time at which the configuration information of the vehicle is validated. The acquisition instruction is also triggered when the user acts on the display interface through a second specified operation, wherein the second specified operation comprises click operation, sliding operation, voice operation, input operation and the like.
In some embodiments, the operation of acquiring the vehicle information by the terminal is different according to the difference of the second trigger operation, for example, the vehicle information can be input into the display interface by the user so that the terminal acquires the vehicle information through the comparison tool, or the vehicle information can be stored in a storage file of the terminal in advance, and when an acquisition instruction triggered by a click operation, a slide operation, a voice operation, or the like is received, the vehicle information can be acquired from the storage file.
In some embodiments, in order to enable the terminal to successfully acquire the data to be compared from the BOM management system through the comparison, the terminal can write the vehicle information into the reference interface file to obtain the interface call file. The interface calling file is a file matched with an integrated interface of the BOM management system.
Step 302: and the terminal acquires the EBOM data and the MBOM data corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file.
Because the interface calling file is a file matched with the interface of the BOM management system, the terminal can acquire the EBOM data and the MBOM data corresponding to the vehicle information from the BOM management system of the automobile according to the interface calling file.
As an example, the operation of the terminal acquiring the EBOM data and the MBOM data corresponding to the vehicle information from the BOM management system of the automobile according to the interface call file at least includes: sending the interface calling file to a BOM management system through an integrated interface between the interface calling file and the BOM management system, and searching corresponding EBOM data and MBOM data in the BOM management system by taking vehicle information in the interface calling file as a searching condition; and when the EBOM data and the MBOM data are retrieved from the BOM management system, loading the EBOM data and the MBOM data into the comparison tool.
Since the BOM management system comprises a large amount of EBOM data and MBOM data, and different EBOM data and MBOM data correspond to different vehicle information, the terminal can take the vehicle information in the interface calling file as a retrieval condition to retrieve the corresponding EBOM data and MBOM data in the BOM management system.
As an example, when the EBOM data and the MBOM data are retrieved from the BOM management system, the operation of loading the EBOM data and the MBOM data into the comparison tool comprises: when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and the locally stored MBOM data are cleared through a comparison tool; caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder; and loading the EBOM data and the MBOM data cached in the local folder into a comparison tool.
Since some EBOM data and MBOM data may be stored in the local storage file of the terminal, in order to avoid obtaining wrong data during data comparison, when the EBOM management system retrieves the EBOM data and the MBOM data, the terminal can clear the locally stored EBOM data and the MBOM data through the comparison tool; caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder; and loading the EBOM data and the MBOM data cached in the local folder into a comparison tool.
In one embodiment, when the EBOM data and the MBOM data are retrieved from the BOM management system, the terminal can further replace or overwrite the locally stored EBOM data and the locally stored EBOM data with the retrieved EBOM data and the MBOM data through the comparison tool, so as to cache the EBOM data and the MBOM data retrieved from the BOM management system into the local folder, and then load the EBOM data and the MBOM data cached into the local folder into the comparison tool.
In an embodiment, the terminal may not obtain the EBOM data and the MBOM data corresponding to the vehicle information from the BOM management system through the interface call file, that is, the terminal may not retrieve the EBOM data and the MBOM data from the BOM management system, and at this time, the terminal may prompt that the retrieval condition is wrong through the first prompt information.
In some embodiments, after the terminal prompts that the retrieval condition is wrong through the first prompt message, the terminal can return to the operation of step 301, that is, the interface call file is acquired again through the comparison tool, that is, the vehicle information of the vehicle is acquired again.
In some embodiments, when the terminal prompts that the search condition has an error through the first prompt message that the number of times is greater than or equal to the number threshold, the terminal prompts through the second prompt message that the search condition is input again after a preset time length.
It should be noted that the first prompt message and the second prompt message can be prompt messages in at least one of text, voice, video, and the like.
Step 303: and the terminal compares the EBOM data with the MBOM data through the comparison tool according to the comparison rule.
It should be noted that the comparison rule can be set in advance according to requirements, for example, the comparison rule is to compare the EBOM data and the MBOM data of the parts at the same position, cross-match and compare the EBOM data and the MBOM data of the matched parts, and the like. For example, when the part a is used in cooperation with the part B, the EBOM data of the part a and the MBOM data of the part B can be matched, and when the EBOM data of the part a and the MBOM data of the part B are matched, it is determined that the EBOM data and the MBOM data of the part a and the part B are consistent in comparison.
Step 304: and the terminal prompts the comparison result through the third prompt message.
In order to enable the user to know the comparison result, the terminal can prompt the comparison result through the third prompt message.
It should be noted that the third prompt message can also be in at least one of text, voice, video, and the like.
In the embodiment of the application, the terminal can send the interface calling file to the BOM management system through the comparison tool so as to acquire the EBOM data and the MBOM data corresponding to the vehicle information from the BOM management system, thereby realizing automatic push of the information between the systems and improving the data acquisition efficiency. And the data comparison can be automatically carried out by the comparison tool according to the comparison rule, so that the data comparison efficiency is improved. In addition, local cache data can be cleaned in time, so that the consumption of system operation resources is reduced, and the system operation speed is ensured.
Fig. 4 is a schematic structural diagram of an automobile data comparison device provided in an embodiment of the present application, where the automobile data comparison device may be implemented by software, hardware, or a combination of the two. The comparison device of the automobile data can comprise: a first obtaining module 401, a second obtaining module 402 and a comparing module 403.
A first obtaining module 401, configured to obtain an interface calling file through an installed comparison tool, where the interface calling file includes vehicle information of an automobile;
a second obtaining module 402, configured to obtain, according to the interface call file, design bill of material EBOM data and manufacturing bill of material MBOM data corresponding to the vehicle information from the bill of material BOM management system of the automobile;
the comparison module 403 is configured to compare the EBOM data and the MBOM data through the comparison tool according to a comparison rule.
In some embodiments, referring to fig. 5, the first obtaining module 401 includes:
the promoter module 4011 is configured to start the comparison tool when receiving a start instruction;
the obtaining sub-module 4012 is configured to obtain vehicle information of the vehicle through the comparison tool, where the vehicle information includes a vehicle type, configuration information, and configuration validation time of the vehicle;
the write-in submodule 4013 is configured to write the vehicle information into a reference interface file, so as to obtain the interface call file.
In some embodiments, referring to fig. 6, the second obtaining module 402 comprises:
the sending submodule 4021 is configured to send the interface call file to the BOM management system through an integrated interface between the interface call file and the BOM management system, so as to use vehicle information in the interface call file as a retrieval condition, and retrieve corresponding EBOM data and MBOM data in the BOM management system;
the loading sub-module 4022 is configured to load the EBOM data and the MBOM data into the comparison tool when the EBOM data and the MBOM data are retrieved from the BOM management system.
In some embodiments, the load submodule 4022 is configured to:
when the EBOM data and the MBOM data are retrieved from the BOM management system, the locally stored EBOM data and MBOM data are cleared through the comparison tool;
caching the EBOM data and the MBOM data retrieved from the BOM management system into a local folder;
and loading the EBOM data and the MBOM data cached in the local folder into the comparison tool.
In some embodiments, referring to fig. 7, the second obtaining module 402 further comprises:
the prompt submodule 4023 is configured to prompt that the search condition is incorrect through first prompt information when the EBOM data and the MBOM data are not searched from the BOM management system.
In the embodiment of the application, the terminal can send the interface calling file to the BOM management system through the comparison tool so as to acquire the EBOM data and the MBOM data corresponding to the vehicle information from the BOM management system, thereby realizing automatic push of the information between the systems and improving the data acquisition efficiency. And the data comparison can be automatically carried out by the comparison tool according to the comparison rule, so that the data comparison efficiency is improved. In addition, local cache data can be cleaned in time, so that the consumption of system operation resources is reduced, and the system operation speed is ensured.
It should be noted that: in the comparison device for automobile data provided in the above embodiment, when comparing automobile data, only the division of the above functional modules is exemplified, and in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the comparison device for the automobile data and the comparison method embodiment for the automobile data provided by the embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
Fig. 8 shows a block diagram of a terminal 800 according to an exemplary embodiment of the present application. The terminal 800 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 800 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 802 is used to store at least one instruction for execution by the processor 801 to implement the method of matching vehicle data provided by the method embodiments of the present application.
In some embodiments, the terminal 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, a positioning assembly 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, providing the front panel of the terminal 800; in other embodiments, the display 805 may be at least two, respectively disposed on different surfaces of the terminal 800 or in a folded design; in other embodiments, the display 805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 800. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic position of the terminal 800 for navigation or LBS (Location Based Service). The Positioning component 808 may be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 809 is used to provide power to various components in terminal 800. The power supply 809 can be ac, dc, disposable or rechargeable. When the power source 809 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the display 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user with respect to the terminal 800. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side frames of terminal 800 and/or underneath display 805. When the pressure sensor 813 is disposed on the side frame of the terminal 800, the holding signal of the user to the terminal 800 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side of terminal 800. When a physical button or a vendor Logo is provided on the terminal 800, the fingerprint sensor 814 may be integrated with the physical button or the vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, processor 801 may control the display brightness of display 805 based on the ambient light intensity collected by optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the display screen 805 is increased; when the ambient light intensity is low, the display brightness of the display 805 is reduced. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also known as a distance sensor, is typically provided on the front panel of the terminal 800. The proximity sensor 816 is used to collect the distance between the user and the front surface of the terminal 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 gradually decreases, the processor 801 controls the display 805 to switch from the bright screen state to the dark screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 becomes gradually larger, the display 805 is controlled by the processor 801 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting of terminal 800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the application further provides a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor of the terminal, the terminal can execute the comparison method of the automobile data provided in the above embodiment.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a terminal, causes the terminal to execute the method for comparing automobile data provided in the foregoing embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only a preferred embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.