Disclosure of Invention
The application provides a vehicle equipment information synchronization method and system, equipment information stored in different areas of a vehicle terminal is compared, when differences are found, verification is carried out through a cloud server, and synchronization is carried out in time, so that the accuracy of vehicle equipment information recording work is guaranteed.
In a first aspect, the present application provides a vehicle device information synchronization method, including the steps of:
the vehicle terminal compares the device information stored in a first storage area and a second storage area of a preset information storage area, and initiates an information change application when the device information is inconsistent with the device information;
the cloud server responds to the information change application, compares the device information stored in the first storage area and the device information stored in the second storage area, and generates and sends an information change instruction based on the device information in the first storage area;
the vehicle terminal responds to the information change instruction and changes the equipment information stored in the second storage area into the equipment information consistent with the equipment information stored in the first storage area; wherein,
the device information stored in the first storage area is consistent with the device information of the current configuration device of the vehicle.
In the embodiment of the application, the method specifically comprises the following steps:
the method comprises the steps that firstly, a vehicle terminal identifies respective device information stored in a first storage area and a second storage area of an information storage area of the vehicle terminal, and sends an information change application to a cloud server when the first storage area and the second storage area are inconsistent;
secondly, the cloud server responds to an information change application, compares the device information stored in the first storage area and the device information stored in the second storage area, generates and sends an information change instruction based on the device information in the first storage area, and informs the vehicle terminal device of modifying the device information in the second storage area;
thirdly, the vehicle terminal equipment modifies the equipment information stored in the second storage area to be consistent with the equipment information stored in the first storage area, and stops sending the information change application;
the embodiment of the application relies on networking equipment such as a vehicle-mounted Tbox (telematics BOX) to communicate with the cloud server, so that the later maintenance cost is reduced.
The device information of the different regional storages of vehicle terminal is compared to this application, when finding the difference, verifies through high in the clouds server to in time synchronize, with the accuracy of guarantee vehicle equipment information record work.
Specifically, the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and generates an information change instruction based on the device information in the first storage area, including the following steps:
the cloud server acquires the equipment information stored in the first storage area;
the cloud server acquires the equipment information stored in the first storage area;
the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and checks whether a difference exists;
and if the difference exists, the cloud server generates and sends an information change instruction based on the first storage area equipment information.
Specifically, the cloud server is configured with an information synchronization examination and verification table, which is used for recording the information change applications sent by different vehicle terminals.
Further, when the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, the method further includes the following steps:
when the device information stored in the first storage area and the device information stored in the second storage area of the vehicle terminal are different, the device information stored in the first storage area and the device information stored in the second storage area and the identity information of the vehicle terminal are recorded in a preset information synchronization confirmation table.
Specifically, the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and generates an information change instruction based on the device information in the first storage area, including the following steps:
and the cloud server inquires the information synchronization confirmation table according to a preset period and sends a corresponding information change instruction to the vehicle terminal recorded in the information synchronization confirmation table.
In a second aspect, the present application provides a vehicle device information synchronization system, the system including:
the vehicle terminal is used for comparing the device information stored in the first storage area and the second storage area of the preset information storage area, and initiating an information change application when the device information is inconsistent with the device information;
the cloud server is used for responding to the information change application, comparing the device information stored in the first storage area and the device information stored in the second storage area, and generating and sending an information change instruction based on the device information in the first storage area;
the vehicle terminal is also used for responding to the information change instruction and modifying the equipment information stored in the second storage area to be consistent with the equipment information stored in the first storage area; wherein,
the device information stored in the first storage area is consistent with the device information of the current configuration device of the vehicle.
Further, the cloud server is further configured to compare the device information stored in the first storage area and the device information stored in the second storage area, check whether a difference exists, and if the difference exists, generate and send an information change instruction based on the device information in the first storage area.
Furthermore, the cloud server is configured with an information synchronization examination and verification table, which is used for recording the information change applications sent by different vehicle terminals.
Further, the cloud server is further configured to record the device information stored in the first storage area and the device information stored in the second storage area of the vehicle terminal and the identity information of the vehicle terminal in a preset information synchronization confirmation table when the device information stored in the first storage area and the device information stored in the second storage area of the vehicle terminal are different.
Further, the cloud server is further configured to query the information synchronization confirmation table according to a preset period, and send a corresponding information change instruction to the vehicle terminal recorded in the information synchronization confirmation table.
The beneficial effect that technical scheme that this application provided brought includes:
the device information of the different regional storages of vehicle terminal is compared to this application, when finding the difference, verifies through high in the clouds server to in time synchronize, with the accuracy of guarantee vehicle equipment information record work.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a vehicle equipment information synchronization method and system, equipment information stored in different areas of a vehicle terminal is compared, when differences are found, verification is carried out through a cloud server, and synchronization is carried out in time, so that the accuracy of vehicle equipment information recording work is guaranteed.
In order to achieve the technical effects, the general idea of the application is as follows:
a vehicle device information synchronization method, the method comprising the steps of:
s1, the vehicle terminal compares the device information stored in the first storage area and the second storage area of the preset information storage area, and when the device information and the device information are not consistent, an information change application is initiated;
s2, the cloud server responds to the information change application, compares the device information stored in the first storage area and the device information stored in the second storage area, and generates and sends an information change instruction based on the device information in the first storage area;
s3, the vehicle terminal responds to the information change instruction and changes the equipment information stored in the second storage area into the equipment information consistent with the equipment information stored in the first storage area; wherein,
the device information stored in the first storage area is identical to the device information of the currently configured device of the vehicle.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In a first aspect, referring to fig. 1, an embodiment of the present application provides a vehicle device information synchronization method, including the following steps:
s1, the vehicle terminal compares the device information stored in the first storage area and the second storage area of the preset information storage area, and when the device information and the device information are not consistent, an information change application is initiated;
s2, the cloud server responds to the information change application, compares the device information stored in the first storage area and the device information stored in the second storage area, and generates and sends an information change instruction based on the device information in the first storage area;
s3, the vehicle terminal responds to the information change instruction and changes the equipment information stored in the second storage area into the equipment information consistent with the equipment information stored in the first storage area; wherein,
the device information stored in the first storage area is identical to the device information of the currently configured device of the vehicle.
In the embodiment of the application, the device information stored in different areas of the vehicle terminal is compared, when differences are found, verification is carried out through the cloud server, and synchronization is carried out in time, so that the accuracy of the recording work of the vehicle device information is guaranteed;
the embodiment of the application solves the problem that basic information of vehicle equipment is synchronized in an internet networking state of a vehicle so as to be used by an external system (such as remote diagnosis, OTA, TSP and the like), and solves the series of problems caused by inconsistency of information in an actual vehicle (such as wrong vehicle remote control, incapability of executing caused by inconsistency of cloud environment deployment and the actual vehicle).
It should be noted that the device information includes the device ICCID, the IMEI, the software and hardware version, the production serial number, the sub-function configuration supported by the vehicle, the parameter configuration, and the security certificate.
In the traditional vehicle production process, when a vehicle and a Tbox carry out data binding, the data are generally bound and associated through a bar code, and in the vehicle offline process, the possibility of wrong bar code sticking or wrong repair and installation may occur, so that the real vehicle and cloud data are inconsistent;
in the whole life service cycle of the vehicle, the vehicle has the possibility of changing parts, and when the vehicle changes the parts, the real vehicle and the cloud data are inconsistent;
in addition, at present, vehicle equipment information synchronization completely depends on a diagnostic instrument, and information synchronization is performed according to diagnosis of the diagnostic instrument.
The embodiment of the application has the following advantages:
(1) thereby realizing the real-time information synchronization of the vehicle equipment,
(2) the problem that the vehicle cannot be synchronized after no network exists, port load is large or a cloud server temporarily has problems is solved,
(3) the change initiator is a vehicle terminal, avoids the situation that the cloud server cannot determine the online state of the vehicle,
(4) the vehicle terminal triggers the report if and only after the information is changed, thereby effectively reducing the invalid flow consumption,
(5) the vehicle terminal triggers and reports only after the information is changed, thereby reducing the load of the cloud network port,
(6) the data synchronization has high consistency, avoids the inconsistent phenomenon caused by misoperation and piece changing of other systems, meets the requirement of server query comparison load,
(7) and the information tracking can be synchronized in the life state of the whole vehicle.
In the embodiment of the application, the method specifically comprises the following steps:
the method comprises the steps that firstly, a vehicle terminal identifies respective device information stored in a first storage area and a second storage area of an information storage area of the vehicle terminal, and sends an information change application to a cloud server when the first storage area and the second storage area are inconsistent;
the cloud server responds to the information change application, compares the device information stored in the first storage area and the device information stored in the second storage area, generates and sends an information change instruction based on the device information in the first storage area, and informs the vehicle terminal device of modifying the device information in the second storage area;
thirdly, the vehicle terminal equipment modifies the equipment information stored in the second storage area to be consistent with the equipment information stored in the first storage area, and stops sending the information change application;
the embodiment of the application relies on networking equipment such as a vehicle-mounted Tbox (telematics BOX) to communicate with the cloud server, so that the later maintenance cost is reduced.
In specific implementation, an information storage area in the vehicle terminal equipment is divided into a first storage area and a second storage area, the first storage area is marked as a static information area A, the second storage area is marked as a static information area B, data in the static information area A is configured through the vehicle terminal equipment, and data in the static information area B is configured through the cloud server;
the vehicle itself generates configuration change mark information after configuration change or configuration upgrade, and when the vehicle terminal device recognizes the configuration change mark information, the device information of the static information A area and the static information B area is recognized.
Specifically, a configuration change flag parameter is used as configuration change flag information, when the value of the configuration change flag parameter is 1, it indicates that the vehicle itself has a configuration change,
and after the equipment information of the static information A area and the static information B area to be identified is consistent or the equipment information of the static information A area and the static information B area is synchronized, resetting the value of the configuration change mark parameter to 0.
Specifically, the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and generates an information change instruction based on the device information in the first storage area, including the following steps:
the cloud server acquires equipment information stored in a first storage area;
the cloud server acquires equipment information stored in a first storage area;
the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and checks whether a difference exists;
and if the difference exists, the cloud server generates and sends an information change instruction based on the first storage area equipment information.
Specifically, the cloud server is configured with an information synchronization examination and verification table, and the information synchronization examination and verification table is used for recording information change applications sent by different vehicle terminals.
Further, when the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, the method further includes the following steps:
when the device information stored in the first storage area and the device information stored in the second storage area of the vehicle terminal are different, the device information stored in the first storage area and the device information stored in the second storage area and the identity information of the vehicle terminal are recorded in a preset information synchronization confirmation table.
Specifically, the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and generates an information change instruction based on the device information in the first storage area, including the following steps:
and the cloud server inquires the information synchronization confirmation table according to a preset period and sends a corresponding information change instruction to the vehicle terminal recorded in the information synchronization confirmation table.
In addition, before responding to the information change application and comparing the device information stored in the first storage area and the device information stored in the second storage area, the cloud server needs to identify whether the device information stored in the first storage area and the device information stored in the second storage area has a vehicle with an established binding relationship, and when the device information stored in the first storage area and the device information stored in the second storage area has a vehicle with an established binding relationship, the cloud server verifies the difference between the device information stored in the first storage area and the device information stored in the second storage area.
It should be noted that the information synchronization confirmation table is further configured to record the identity information of the vehicle terminal that needs to perform the device information synchronization, and the cloud server is further configured with an information synchronization completion table, which is configured to record the identity information of the vehicle terminal that has completed the device information synchronization;
in addition, the identity information of the vehicle terminal corresponds to the identity information of the vehicle.
In actual implementation, the workflow of the cloud server in synchronizing the device information includes the following steps:
the cloud server receives and responds to the information change application;
the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, verifies whether the device information and the identity information of the vehicle terminal are different, and records the device information and the identity information of the vehicle terminal in a preset information synchronization confirmation table if the device information and the identity information are different;
the cloud server inquires the information synchronization confirmation table according to a preset period and sends a corresponding information change instruction to the vehicle terminal recorded in the information synchronization confirmation table;
after the vehicle terminal responds to the information change instruction and completes the equipment information synchronization, the cloud server records the identity information of the vehicle terminal which completes the equipment information synchronization by using the information synchronization completion table.
In a second aspect, referring to fig. 2, an embodiment of the present application provides a vehicle device information synchronization system based on the vehicle device information synchronization method mentioned in the first aspect, and the system includes:
the vehicle terminal is used for comparing the device information stored in the first storage area and the second storage area of the preset information storage area, and initiating an information change application when the device information is inconsistent with the device information;
the cloud server is used for responding to the information change application, comparing the device information stored in the first storage area and the device information stored in the second storage area, and generating and sending an information change instruction based on the device information in the first storage area;
the vehicle terminal is also used for responding to the information change instruction and modifying the equipment information stored in the second storage area to be consistent with the equipment information stored in the first storage area; wherein,
the device information stored in the first storage area is identical to the device information of the currently configured device of the vehicle.
In the embodiment of the application, the device information stored in different areas of the vehicle terminal is compared, when differences are found, verification is carried out through the cloud server, and synchronization is carried out in time, so that the accuracy of the recording work of the vehicle device information is guaranteed;
the embodiment of the application solves the problem that basic information of vehicle equipment is synchronized in an internet networking state of a vehicle so as to be used by an external system (such as remote diagnosis, OTA, TSP and the like), and solves the series of problems caused by inconsistency of information in an actual vehicle (such as wrong vehicle remote control, incapability of executing caused by inconsistency of cloud environment deployment and the actual vehicle).
It should be noted that the device information includes the device ICCID, the IMEI, the software and hardware version, the production serial number, the sub-function configuration supported by the vehicle, the parameter configuration, and the security certificate.
In the traditional vehicle production process, when a vehicle and a Tbox carry out data binding, the data are generally bound and associated through a bar code, and in the vehicle offline process, the possibility of wrong bar code sticking or wrong repair and installation may occur, so that the real vehicle and cloud data are inconsistent;
in the whole life service cycle of the vehicle, the vehicle has the possibility of changing parts, and when the vehicle changes the parts, the real vehicle and the cloud data are inconsistent;
in addition, at present, vehicle equipment information synchronization completely depends on a diagnostic instrument, and information synchronization is performed according to diagnosis of the diagnostic instrument.
The embodiment of the application has the following advantages:
(1) thereby realizing the real-time information synchronization of the vehicle equipment,
(2) the problem that the vehicle cannot be synchronized after no network exists, port load is large or a cloud server temporarily has problems is solved,
(3) the change initiator is a vehicle terminal, avoids the situation that the cloud server cannot determine the online state of the vehicle,
(4) the vehicle terminal triggers the report if and only after the information is changed, thereby effectively reducing the invalid flow consumption,
(5) the vehicle terminal triggers and reports only after the information is changed, thereby reducing the load of the cloud network port,
(6) the data synchronization has high consistency, avoids the inconsistent phenomenon caused by misoperation and piece changing of other systems, meets the requirement of server query comparison load,
(7) and the information tracking can be synchronized in the life state of the whole vehicle.
In the embodiment of the application, the method specifically comprises the following steps:
the method comprises the steps that firstly, a vehicle terminal identifies respective device information stored in a first storage area and a second storage area of an information storage area of the vehicle terminal, and sends an information change application to a cloud server when the first storage area and the second storage area are inconsistent;
the cloud server responds to the information change application, compares the device information stored in the first storage area and the device information stored in the second storage area, generates and sends an information change instruction based on the device information in the first storage area, and informs the vehicle terminal device of modifying the device information in the second storage area;
thirdly, the vehicle terminal equipment modifies the equipment information stored in the second storage area to be consistent with the equipment information stored in the first storage area, and stops sending the information change application;
the embodiment of the application relies on networking equipment such as a vehicle-mounted Tbox (telematics BOX) to communicate with the cloud server, so that the later maintenance cost is reduced.
In specific implementation, an information storage area in the vehicle terminal equipment is divided into a first storage area and a second storage area, the first storage area is marked as a static information area A, the second storage area is marked as a static information area B, data in the static information area A is configured through the vehicle terminal equipment, and data in the static information area B is configured through the cloud server;
the vehicle itself generates configuration change mark information after configuration change or configuration upgrade, and when the vehicle terminal device recognizes the configuration change mark information, the device information of the static information A area and the static information B area is recognized.
Specifically, a configuration change flag parameter is used as configuration change flag information, when the value of the configuration change flag parameter is 1, it indicates that the vehicle itself has a configuration change,
and after the equipment information of the static information A area and the static information B area to be identified is consistent or the equipment information of the static information A area and the static information B area is synchronized, resetting the value of the configuration change mark parameter to 0.
Further, the cloud server is further configured to compare the device information stored in the first storage area and the device information stored in the second storage area, check whether a difference exists, and if the difference exists, generate and send an information change instruction based on the device information in the first storage area.
Specifically, the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and generates an information change instruction based on the device information in the first storage area, including the following steps:
the cloud server acquires equipment information stored in a first storage area;
the cloud server acquires equipment information stored in a first storage area;
the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, and checks whether a difference exists;
and if the difference exists, the cloud server generates and sends an information change instruction based on the first storage area equipment information.
Furthermore, the cloud server is configured with an information synchronization examination and verification table, and the information synchronization examination and verification table is used for recording information change applications sent by different vehicle terminals.
Further, the cloud server is further configured to record the device information stored in the first storage area and the device information stored in the second storage area of the vehicle terminal and the identity information of the vehicle terminal in a preset information synchronization confirmation table when the device information stored in the first storage area and the device information stored in the second storage area of the vehicle terminal are different.
Further, the cloud server is further configured to query the information synchronization confirmation table according to a preset period, and send a corresponding information change instruction to the vehicle terminal recorded in the information synchronization confirmation table.
In addition, before responding to the information change application and comparing the device information stored in the first storage area and the device information stored in the second storage area, the cloud server needs to identify whether the device information stored in the first storage area and the device information stored in the second storage area has a vehicle with an established binding relationship, and when the device information stored in the first storage area and the device information stored in the second storage area has a vehicle with an established binding relationship, the cloud server verifies the difference between the device information stored in the first storage area and the device information stored in the second storage area.
In actual implementation, the workflow of the cloud server in synchronizing the device information includes the following steps:
the cloud server receives and responds to the information change application;
the cloud server compares the device information stored in the first storage area and the device information stored in the second storage area, verifies whether the device information and the identity information of the vehicle terminal are different, and records the device information and the identity information of the vehicle terminal in a preset information synchronization confirmation table if the device information and the identity information are different;
the cloud server inquires the information synchronization confirmation table according to a preset period and sends a corresponding information change instruction to the vehicle terminal recorded in the information synchronization confirmation table;
after the vehicle terminal responds to the information change instruction and completes the equipment information synchronization, the cloud server records the identity information of the vehicle terminal which completes the equipment information synchronization by using the information synchronization completion table.
It is noted that, in the present application, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present application and are presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.