Vehicle version information comparison method, control terminal, system and storage medium
Through direct communication between the control terminal and the reading device, the vehicle version information is automatically compared, which solves the problem of time-consuming and labor-intensive comparison of vehicle version information in the prior art, and achieves more efficient and accurate version information comparison.
Patent Information
- Application Number
- CN202311494473.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-09
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, testers are time-consuming and labor-intensive and prone to errors compared to vehicle version information.
The control terminal sends a reading command to the reading device, and the reading device reads the version information in the vehicle to be tested and sends it to the control terminal. The target version information is stored in the control terminal, and the control terminal compares the read version information with the target version information and generates the comparison result.
It improves the accuracy and efficiency of reading vehicle version information, and reduces human operation errors and time-consuming.
Smart Images

Figure CN119988122A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a method, a control terminal, a system and a storage medium for comparing vehicle version information. Background Art
[0002] With the development of connected vehicle technology, major car manufacturers are conducting in-depth research and application of vehicle-mounted equipment software upgrade technology in order to promptly deal with after-sales issues, iteratively update vehicle functions in the market, and improve user experience. Before upgrading the vehicle-mounted equipment software, it is necessary to test the version information of the entire vehicle so that the staff can determine which software needs to be upgraded.
[0003] In the related technology, the tester first reads the vehicle version information through the diagnostic equipment, and then imports the data in the diagnostic equipment into the personal computer to perform related data operations, such as downloading, decompressing, encrypting and other operations on the data transmitted by the diagnostic equipment. For the obtained data, it is necessary to manually compare the read version information with the required version information. This process is not only time-consuming and labor-intensive, but also prone to errors.
[0004] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0005] In view of this, the present application provides a method, a control terminal, a system and a storage medium for comparing vehicle version information, so as to solve the problem in the prior art that it is time-consuming, labor-intensive and error-prone for testers to compare vehicle version information.
[0006] In a first aspect, an embodiment of the present application provides a method for comparing vehicle version information, which is applied to a control end, and the method includes:
[0007] Sending a reading instruction to a reading device, wherein the reading instruction is used to instruct the reading device to read information of the item to be tested in the vehicle to be tested;
[0008] Receiving the information of the item to be tested sent by the reading device, wherein the information of the item to be tested includes first version information of the item to be tested;
[0009] Parsing the information of the project to be tested to obtain the first version information of the project to be tested;
[0010] The first version information of the project to be tested is compared with the second version information to obtain a version comparison result of the project to be tested, wherein the second version information is the target version information.
[0011] In a possible implementation manner, the read instruction includes the physical address of the item to be tested.
[0012] In a possible implementation, the parsing the information of the project to be tested to obtain the first version information of the project to be tested includes:
[0013] Data corresponding to the length of the second version information is parsed in the item information to be tested to obtain the first version information of the item to be tested.
[0014] In a possible implementation, before parsing the data corresponding to the length of the second version information in the item information to be tested to obtain the first version information, the method further includes:
[0015] The length of the first version information is determined according to the first version information.
[0016] In one possible implementation,
[0017] The step of sending a read instruction to the reading device, wherein the read instruction is used to instruct the reading device to read the information of the item to be tested in the vehicle to be tested, comprises: sending a plurality of read instructions to the reading device, wherein each of the read instructions is used to instruct the reading device to read one item of information to be tested in the vehicle to be tested;
[0018] The receiving the information of the item to be tested sent by the reading device, wherein the information of the item to be tested includes the first version information of the item to be tested, comprises: receiving a plurality of information of the item to be tested sent by the reading device, each of the information of the item to be tested includes the first version information of one item to be tested;
[0019] The parsing the information of the project to be tested to obtain the first version information of the project to be tested includes: parsing a plurality of information of the project to be tested to obtain the first version information of the plurality of projects to be tested;
[0020] The comparing the first version information of the project to be tested with the second version information to obtain a version comparison result of the project to be tested, wherein the second version information is the target version information, includes: comparing the first version information of multiple projects to be tested with multiple second version information one by one to obtain version comparison results of multiple projects to be tested, wherein each second version information is a target version information.
[0021] In a second aspect, an embodiment of the present application provides a method for comparing vehicle version information, which is applied to a reading device, and the method includes:
[0022] Receive a read instruction sent by the control terminal;
[0023] According to the read instruction, information of the item to be tested is read in the vehicle to be tested, wherein the information of the item to be tested includes first version information of the item to be tested;
[0024] The information of the item to be tested is sent to the control end.
[0025] In one possible implementation,
[0026] The receiving the read instruction sent by the control terminal includes: receiving multiple read instructions sent by the control terminal;
[0027] The step of reading the information of the item to be tested in the vehicle to be tested according to the read instruction, wherein the information of the item to be tested includes the first version information of the item to be tested, comprises: reading multiple information of the item to be tested in the vehicle to be tested according to multiple read instructions, wherein each of the information of the item to be tested includes the first version information of one item to be tested;
[0028] The sending the information of the item to be tested to the control end includes: sending a plurality of information of the item to be tested to the control end.
[0029] In a third aspect, an embodiment of the present application provides a control terminal, including:
[0030] processor;
[0031] Memory;
[0032] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the control end executes the method described in the first aspect.
[0033] In a fourth aspect, an embodiment of the present application provides a system for comparing vehicle version information, including:
[0034] The control end described in the third aspect.
[0035] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the methods described in the first and second aspects.
[0036] By adopting the solution provided in the embodiment of the present application, the control end, the reading device and the vehicle end are directly connected in communication. The control end sends a reading instruction to the vehicle end through the reading device, and the reading device sends the read version information to the control end. The control end stores the target version information. The control end compares the read version information with the target version information and generates a comparison result, thereby improving the accuracy and efficiency of reading the entire vehicle version information. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0039] Figure 2 A flowchart of a method for comparing vehicle version information provided in an embodiment of the present application;
[0040] Figure 3 A startup flowchart of a LabVIEW software provided in an embodiment of the present application;
[0041] Figure 4 A schematic diagram of the structure of a control terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0043] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0044] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0045] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0046] To facilitate understanding, a specific application scenario is first exemplified below.
[0047] See also Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1As shown, in this application scenario, a control terminal 101, a reading device 102 and a vehicle to be tested 103 are shown. The control terminal 101 and the reading device 102 are connected via a wired communication network, and the reading device 102 and the vehicle to be tested 103 are connected via a wired communication network. Among them, the control terminal 101, the reading device 102 and the vehicle to be tested 103 are only an exemplary description and should not be used as a limitation on the protection scope of this application. In addition to a personal computer (PC), the control terminal 101 can also be a desktop computer, a tablet computer, etc.; the reading device 102 can be a CAN bus test box or other reading devices; the vehicle to be tested 103 can also be a truck, a van, etc. in addition to a car.
[0048] With the development of connected vehicle technology, major car manufacturers are conducting in-depth research and applying vehicle-mounted equipment software upgrade technology. Before upgrading the vehicle-mounted equipment software, it is necessary to test the version information of the entire vehicle so that the staff can determine which software needs to be upgraded. In addition, when the car manufacturer performs after-sales maintenance on the car, it is also necessary to detect the version information of the entire vehicle to check whether there are any abnormalities in the software in the vehicle. In related technologies, the tester first connects the diagnostic equipment to the vehicle, uses the diagnostic equipment to read the vehicle version information, and then imports the data in the diagnostic equipment into the personal computer for related data operations, such as downloading, decompressing, and encrypting the data transmitted by the diagnostic equipment to obtain the vehicle version information. For the obtained version information, it is necessary to manually compare whether the read version information is consistent with the required version information, and finally record the results. This process is not only time-consuming and labor-intensive, but also prone to errors.
[0049] In view of the above problems, the embodiment of the present application provides a method for comparing vehicle version information, wherein the control end, the reading device and the vehicle computer end are directly connected in communication, the control end sends a reading instruction to the vehicle computer end through the reading device, the reading device sends the read version information to the control end, the control end stores the target version information, the control end compares the read version information with the target version information and generates a comparison result, thereby improving the accuracy and efficiency of reading the vehicle version information. This is described in detail below.
[0050] See also Figure 2 , is a flow chart of a method for comparing vehicle version information provided in an embodiment of the present application. The method can be applied to Figure 1 The application scenarios shown are as follows: Figure 2 As shown, it mainly includes the following steps.
[0051] Step S201: Send a read instruction to a reading device.
[0052] When a vehicle needs to deal with after-sales problems or needs to upgrade the on-board device software, the tester needs to test the version information of the entire vehicle in advance to determine which items need to be upgraded. When the tester tests the vehicle version information, one end of the data cable is connected to the specific interface of the reading device, the Universal Serial Bus (USB) end of the data cable is connected to the personal computer, and at the same time, the OBD interface end of the data cable of the on-board diagnostic system (OBD) interface to D-type data interface connector (DB9) is connected to the OBD interface of the vehicle to be tested, and the DB9 interface end of the data cable is connected to the D-type interface DB9 of the reading device.
[0053] After the control end, the reading device and the vehicle to be tested are connected, the tester opens the control software environment of the reading device through the control end. In the embodiment of the present application, the control software environment may be LabVIEW.
[0054] See Table 1, which is a schematic diagram of a LabVIEW control interface provided in an embodiment of the present application.
[0055] The control end responds to the operation of sending a read instruction to the reading device triggered by the user through the control interface of LabVIEW, and sends a read instruction to the reading device. The read instruction is used to instruct the reading device to read the information of the item to be tested in the vehicle to be tested. As shown in Table 1, the read instruction for reading the version information of the item to be tested "Vehicle VIN" is "12 22 F1 20".
[0056] Table 1:
[0057] Identifier Items to be tested Read instruction Effective length Second version information First version information Version comparison results 123 / 112 Vehicle VIN 12 22 F1 20 17 A132235
[0058] In one possible implementation, the read instruction includes the physical address of the item to be tested. The physical address of the item to be tested is the MAC address of the item to be tested, which is fixed in the network hardware by the hardware manufacturer during production and is a hardware reserved address. As shown in Table 1, the "identifier" is the physical address of the item to be tested. Exemplarily, the physical address of the item to be tested "Vehicle VIN" is "123 / 112".
[0059] See Table 2, which is a schematic diagram of another LabVIEW control interface provided in an embodiment of the present application.
[0060] Table 2:
[0061] Identifier Items to be tested Read instruction Effective length Second version information First version information Version comparison results 123 / 112 Vehicle VIN 12 22 F1 20 17 A132235 1A2 / 122 Part Number 13 22 F1 10 10 B313156 1A2 / 122 ECU Name 13 22 F1 12 12 C123456
[0062] In a possible implementation, there are multiple items to be tested, and the control end sends multiple read instructions to the reading device, wherein each read instruction is used to instruct the reading device to read information of an item to be tested in the vehicle to be tested. In a possible implementation, each read instruction includes a physical address of the item to be tested. As shown in Table 2, there are three items to be tested, namely, "Vehicle VIN", "Part Number" and "ECU Name". The control end sends three read instructions to the reading device, namely "12 22 F1 20", "13 22 F1 10" and "13 22 F1 12", wherein each read instruction includes a physical address of the item to be tested, that is, the read instruction "12 22 F1 20" includes the physical address "123 / 112" of the item to be tested "Vehicle VIN"; the read instruction "13 22 F1 10" includes the physical address "1A2 / 122" of the item to be tested "Part Number"; the read instruction "13 22 F1 12" includes the physical address "1A2 / 122" of the item to be tested "ECU Name".
[0063] Step S202: the reading device reads the information of the item to be tested in the vehicle to be tested according to the reading instruction.
[0064] Specifically, after the reading device receives the reading instruction sent by the control end, the reading device reads the information of the item to be tested in the vehicle to be tested according to the reading instruction. Since the reading instruction includes the physical address of the item to be tested, the reading device can find the item to be tested in the vehicle to be tested according to the physical address of the item to be tested in the reading instruction, and convert the communication address used by the control end into the communication address used by the item to be tested. The reading device sends the reading instruction to the corresponding item to be tested according to the communication address used by the item to be tested, thereby obtaining the information of the item to be tested.
[0065] In a possible implementation, there are multiple items to be tested, and the reading device receives multiple reading instructions sent by the control terminal, and reads multiple items of information to be tested in the vehicle to be tested according to the multiple reading instructions, wherein each item of information to be tested includes the first version information of the item to be tested.
[0066] Step S203: the reading device sends the information of the item to be tested to the control terminal.
[0067] Specifically, the reading device sends the read information of the item to be tested to the control terminal through the communication address used by the control terminal. It can be understood that the reading device converts the communication address used by the item to be tested into the communication address used by the control terminal before data transmission, so as to send the read information of the item to be tested to the control terminal.
[0068] In a possible implementation, there are multiple items to be tested and the reading device reads multiple items of information to be tested. Then the reading device sends the read multiple items of information to the control terminal via the communication address used by the control terminal.
[0069] Step S204: the control end parses the information of the project to be tested and obtains the first version information of the project to be tested.
[0070] Specifically, the control end receives the information of the project to be tested sent by the reading device, and parses the information of the project to be tested to obtain the first version information of the project to be tested. The first version information is the current version information of the project to be tested. It is understandable that the information of the project to be tested may also include other information, for example, the product number of the project to be tested. Since the other information in the information of the project to be tested is irrelevant to the version of the project to be tested, the control end needs to parse the information of the project to be tested sent by the reading device to parse out the current version information of the project to be tested for subsequent comparison.
[0071] Since the information of the project to be tested also includes some information that is irrelevant to the first version information of the project to be tested, if the control end parses all the data from the beginning to the end when parsing the information of the project to be tested, it may increase the running cost of LabVIEW and slow down the parsing speed. Therefore, in a possible implementation method, the length of the second version information is stored in the program of the control end, and the control end parses the data corresponding to the length of the second version information in the information of the project to be tested according to the length of the second version information, thereby obtaining the first version information of the project to be tested. Among them, as shown in Table 1, the effective length is the length of the second version information, and the length of the second version information of the project to be tested "Vehicle VIN" is "17". Among them, the second version information is the target version information, that is, the version information that the device to be tested should currently reach or the normal version information of the device to be tested. By setting the parsing length, the data processing amount of the program can be reduced and the parsing efficiency can be improved.
[0072] In a possible implementation, the length of the second version information is not stored in advance in the program, so before parsing the information of the project to be tested, the control end first determines the length of the first version information of the project to be tested based on the second version information of the project to be tested, and then parses the data of the corresponding length in the project to be tested information to obtain the first version information of the project to be tested.
[0073] In a possible implementation, there are multiple items to be tested, and the control end receives multiple items of information to be tested sent by the reading device, wherein each item of information to be tested includes the first version information of the item to be tested. Then the control end sequentially parses the multiple items of information to be tested to obtain the first version information of the multiple items to be tested.
[0074] In a possible implementation, the length of the second version information is stored in the program of the control end. The control end parses the data corresponding to the length of the second version information in the information of the item to be tested according to the length of the second version information of each item to be tested, thereby obtaining the first version information of each item to be tested. As shown in Table 2, the effective length is the length of the second version information of each item to be tested. The length of the second version information of the item to be tested "Vehicle VIN" is "17", and similarly, the length of the second version information of the item to be tested "Part Number" is "10", and the length of the second version information of the item to be tested "ECU Name" is "12".
[0075] In a possible implementation, the length of the second version information is not stored in advance in the program of the control end, so before parsing all the information of the items to be tested, the control end determines the length of the first version information of each item to be tested based on the second version inverse information of all the items to be tested. Then, the data of the corresponding length is parsed in turn in each item information to obtain the first version information of multiple items to be tested.
[0076] Step S205: the control end compares the first version information of the project to be tested with the second version information to obtain a version comparison result of the project to be tested.
[0077] Specifically, the control end compares the parsed first version information of the project to be tested with the second version information to obtain the version comparison result of the project to be tested, generates a table based on the version comparison result, and finally outputs the table so that the tester can view the comparison result, save manpower, and improve work efficiency and accuracy.
[0078] See Table 3, which is a schematic diagram of a version comparison result table provided in an embodiment of the present application.
[0079] Exemplarily, as shown in Table 3, if the first version information "A132235" of the tested item "Vehicle VIN" is the same as the second version information "A132235", then the version comparison result of the tested item "Vehicle VIN" is "yes", and finally a table as shown in Table 3 is output.
[0080] Table 3:
[0081] Identifier Items to be tested Read instruction Effective length Second version information First version information Version comparison results 123 / 112 Vehicle VIN 12 22 F1 20 17 A132235 A132235 yes
[0082] In a possible implementation, there are multiple items to be tested. At this time, the control end compares the first version inverse information of the multiple items to be tested with the multiple second version information one by one to obtain version comparison results of the multiple items to be tested.
[0083] See Table 4, which is another schematic diagram of a version comparison result table provided in an embodiment of the present application.
[0084] Exemplarily, as shown in Table 4, if the first version information "A132235" of the item to be tested "Vehicle VIN" is the same as the second version information "A132235", then the version comparison result of the item to be tested "Vehicle VIN" is "Yes"; if the first version information "B313155" of the item to be tested "Part Number" is different from the second version information "B313156", then the version comparison result of the item to be tested "Part Number" is "No"; if the first version information "C123456" of the item to be tested "ECU Name" is the same as the second version information "C123456", then the version comparison result of the item to be tested "ECU Name" is "Yes", and finally, a table as shown in Table 4 is output.
[0085] Table 4:
[0086] Identifier Items to be tested Read instruction Effective length Second version information First version information Version comparison results 123 / 112 Vehicle VIN 12 22 F1 20 17 A132235 A132235 yes 1A2 / 122 Part Number 13 22 F1 10 10 B313156 B313155 no 1A2 / 122 ECU Name 13 22 F1 12 12 C123456 C123456 yes
[0087] As described above, the control end, the reading device and the vehicle computer end are directly connected in communication. The control end sends a reading instruction to the vehicle computer end through the reading device. The reading device sends the read version information to the control end. The control end stores the target version information. The control end compares the read version information with the target version information and generates a comparison result, which improves the accuracy and efficiency of reading the vehicle version information.
[0088] In the embodiment of the present application, when the user sends a read instruction to the reading device through LabVIEW, it is necessary to set multiple formats in the control interface of LabVIEW.
[0089] See also Figure 3 , is a startup flow chart of a LabVIEW software provided in an embodiment of the present application. Figure 3 As shown, it mainly includes the following steps.
[0090] Step S301: Start the software.
[0091] When the tester needs to test the software version information of the entire vehicle, the tester starts the LabVIEW software through the control end, and at the same time LabVIEW starts the reading device through the programmed program so that the reading device can receive the reading instructions sent by the control end.
[0092] Step S302: Select the physical address of the reading device.
[0093] Before testing the vehicle version information, the tester needs to connect one end of the data cable to the specific interface of the reading device, and connect the USB end of the data cable to the control end. There are multiple interfaces on the reading device that can be used to connect to the control end, and each interface has a unique number. After the tester starts the software, according to the interface number of the data cable connected to the reading device, select the physical address of the reading device in the "ACANcount" position of the LabVIEW software. It can be understood that the physical address of the reading device is the specific interface number of the reading device.
[0094] Exemplarily, there are five interfaces on the reading device for connecting to the control end, and the five interfaces are numbered channel 1, channel 2, channel 3, channel 4 and channel 5 respectively. If the other end of the data cable connected to the control end is connected to channel 1 of the reading device, the tester will select the physical address as channel 1 when selecting the physical address of the reading device, thereby completing the physical connection between the control end and the reading device.
[0095] Step S303: Select the network address of the reading device.
[0096] Specifically, the tester selects the corresponding network address at the "Aldxchn" position of the LabVIEW software according to the internal network address of the reading device.
[0097] Step S304: Select a vehicle model.
[0098] Specifically, car manufacturers will number vehicle types when producing vehicles. When testers read the vehicle version information, they will select the model information of the vehicle to be tested based on the model number assigned by the manufacturer.
[0099] Step S305: Device connection.
[0100] After the tester selects the vehicle model information, the "Device Connection" position of the LabVIEW software will display "open", indicating that the device connection is complete. At this time, data can be transmitted between the control end and the reading device.
[0101] Step S306: Read the version.
[0102] The details of this step can be found in the above Figure 2 The description in the illustrated embodiment will not be repeated here.
[0103] Step S307: Automatically output a comparison table.
[0104] The details of this step can be found in the above Figure 2 The description in the illustrated embodiment will not be repeated here.
[0105] Step S308: End.
[0106] Corresponding to the above embodiment, the present application also provides a control terminal.
[0107] See also Figure 4 , is a schematic diagram of the structure of a control terminal provided in an embodiment of the present application. Figure 4 As shown, the control end 400 may include: a processor 401, a memory 402 and a communication unit 403. These components communicate via one or more buses. Those skilled in the art will appreciate that the structure of the control end shown in the figure does not limit the embodiments of the present application. It may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0108] The communication unit 403 is used to establish a communication channel so that the control terminal can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0109] The processor 401 is the control center of the control terminal, and uses various interfaces and lines to connect various parts of the entire control terminal. It runs or executes software programs, instructions, and / or modules stored in the memory 402, and calls data stored in the memory to perform various functions and / or process data of the control terminal. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 401 can only include a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.
[0110] The memory 402 is used to store the execution instructions of the processor 401. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0111] When the execution instruction in the memory 402 is executed by the processor 401, the control terminal 400 can execute Figure 1 Some or all of the steps in the illustrated embodiments.
[0112] Corresponding to the above embodiment, the present application also provides a system for comparing vehicle version information. The system for comparing vehicle version information includes the above control terminal.
[0113] In a specific implementation, the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the simulation scene generation method provided in the embodiment of the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0114] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0115] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0117] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0118] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for comparing vehicle version information, characterized in that: Applied to the control end, the method includes: Sending a reading instruction to a reading device, wherein the reading instruction is used to instruct the reading device to read information of the item to be tested in the vehicle to be tested; Receiving the information of the item to be tested sent by the reading device, wherein the information of the item to be tested includes first version information of the item to be tested; Parsing the information of the project to be tested to obtain the first version information of the project to be tested; The first version information of the project to be tested is compared with the second version information to obtain a version comparison result of the project to be tested, wherein the second version information is the target version information.
2. The method according to claim 1, characterized in that The read instruction includes the physical address of the item to be tested.
3. The method according to claim 1, characterized in that The step of parsing the information of the project to be tested to obtain the first version information of the project to be tested includes: Data corresponding to the length of the second version information is parsed in the item information to be tested to obtain the first version information of the item to be tested.
4. The method according to claim 3, characterized in that: Before parsing the data corresponding to the length of the second version information in the item information to be tested to obtain the first version information, the method further includes: The length of the first version information is determined according to the second version information.
5. The method according to claim 1, characterized in that The step of sending a read instruction to the reading device, wherein the read instruction is used to instruct the reading device to read the information of the item to be tested in the vehicle to be tested, comprises: sending a plurality of read instructions to the reading device, wherein each of the read instructions is used to instruct the reading device to read one item of information to be tested in the vehicle to be tested; The receiving the information of the item to be tested sent by the reading device, wherein the information of the item to be tested includes the first version information of the item to be tested, comprises: receiving a plurality of information of the item to be tested sent by the reading device, each of the information of the item to be tested includes the first version information of one item to be tested; The parsing the information of the project to be tested to obtain the first version information of the project to be tested includes: parsing a plurality of information of the project to be tested to obtain the first version information of the plurality of projects to be tested; The comparing the first version information of the project to be tested with the second version information to obtain a version comparison result of the project to be tested, wherein the second version information is the target version information, includes: comparing the first version information of multiple projects to be tested with multiple second version information one by one to obtain version comparison results of multiple projects to be tested, wherein each second version information is a target version information.
6. A method for comparing vehicle version information, characterized in that: Applied to a reading device, the method comprises: Receive a read instruction sent by the control terminal; According to the read instruction, information of the item to be tested is read in the vehicle to be tested, wherein the information of the item to be tested includes first version information of the item to be tested; The information of the item to be tested is sent to the control end.
7. The method according to claim 6, characterized in that The receiving the read instruction sent by the control terminal includes: receiving multiple read instructions sent by the control terminal; The step of reading the information of the item to be tested in the vehicle to be tested according to the read instruction, wherein the information of the item to be tested includes the first version information of the item to be tested, comprises: reading multiple information of the item to be tested in the vehicle to be tested according to multiple read instructions, wherein each of the information of the item to be tested includes the first version information of one item to be tested; The sending the information of the item to be tested to the control end includes: sending a plurality of information of the item to be tested to the control end.
8. A control terminal, characterized in that: include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the control end executes the method described in any one of claims 1 to 5.
9. A system for comparing vehicle version information, characterized in that: include: The control terminal as claimed in claim 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.