CN111488365A - Data updating method and device, electronic equipment and storage medium - Google Patents
Data updating method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111488365A CN111488365A CN201911141610.2A CN201911141610A CN111488365A CN 111488365 A CN111488365 A CN 111488365A CN 201911141610 A CN201911141610 A CN 201911141610A CN 111488365 A CN111488365 A CN 111488365A
- Authority
- CN
- China
- Prior art keywords
- information
- server
- berth
- currently stored
- parking status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a data updating method and device. The method is applied to the client device and comprises the following steps: updating second berthing state information currently stored by the client equipment based on first berthing state information currently stored by a server; if the second berth state information is successfully updated, modifying the updated second berth state information; sending the berthing state modification information to the server so that the server updates the first berthing state information according to the berthing state modification information; wherein the berth-state-modification information is determined based on the modified second berth-state information. Compared with the prior art, the data updating method provided by the embodiment of the invention can ensure that the updated data based on which the client device and the server device update the parking position state information are consistent.
Description
Technical Field
The present invention relates to the field of information management technologies, and in particular, to a data updating method and apparatus, an electronic device, and a storage medium.
Background
Currently, with the increasing number of vehicles on a road, in order to meet the parking demand of vehicle owners, city management departments will usually divide the roadside parking berths on urban roads, thereby forming roadside parking lots. In order to realize parking management, each manager in the parking lot can perform time keeping and charging processing on the parking behavior Of the car owner by holding a client device such as a Point Of Sale (POS).
Specifically, when a vehicle enters or leaves the parking lot, the manager may record the parking space state information of the corresponding parking space on the client device, for example: parking number, whether there is a car, license plate number, parking start time, etc.
In order to ensure that each manager can know the parking position state information of all parking positions in the parking lot, each client device needs to report the updated parking position state information to a corresponding server; furthermore, the server pushes the recorded parking status information to each client device, thereby realizing synchronization of the recorded parking status information in each client device.
However, in the related art, the updated data on which the client device and the server update the parking status information are inconsistent, which will certainly affect the effect of data synchronization.
Disclosure of Invention
Embodiments of the present invention provide a data updating method, an apparatus, an electronic device, and a storage medium, so as to ensure that updated data based on updated parking status information of a client device and a server device are consistent when data is updated, and improve an effect of data synchronization. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a data updating method, which is applied to a client device, and the method includes:
updating second berthing state information currently stored by the client equipment based on first berthing state information currently stored by a server;
if the second berth state information is successfully updated, modifying the updated second berth state information;
sending the berthing state modification information to the server so that the server updates the first berthing state information according to the berthing state modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
Optionally, in a specific implementation manner, the method further includes:
receiving a modified return instruction sent by the server, returning to execute the first berth state information currently stored on the basis of the server, and updating the second berth state information currently stored by the client equipment;
wherein the modified return instruction is fed back by the server when the first berth state information is not successfully updated according to the berth state modification information.
In a second aspect, an embodiment of the present invention provides a data updating method, which is applied to a server, and the method includes:
updating second berthing state information currently stored by the client equipment based on the first berthing state information currently stored;
if the second berth state information is updated successfully, receiving berth state modification information sent by the client equipment; wherein the berth-state-modification information is determined based on modified second berth-state information;
and updating the first berth state information according to the berth state modification information.
Optionally, in a specific implementation manner, the method further includes:
and if the first berth state information is not successfully updated according to the berth state modification information, sending a modification return instruction to the client equipment so that the client equipment returns the first berth state information currently stored on the basis of the server and updates the second berth state information currently stored by the client equipment.
In a third aspect, an embodiment of the present invention provides a data updating apparatus, which is applied to a client device, and the apparatus includes:
the first updating module is used for updating second berth state information currently stored by the client equipment based on first berth state information currently stored by a server; if the second berth state information is updated successfully, triggering a first modification module;
the first modifying module is used for modifying the updated second berth state information;
the information sending module is used for sending the berth state modification information to the server so that the server updates the first berth state information according to the berth state modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
Optionally, in a specific implementation manner, the apparatus further includes:
the instruction receiving module is used for receiving a modified return instruction sent by the server, returning to execute the step of updating second berth state information currently stored by the client equipment based on the first berth state information currently stored by the server;
wherein the modified return instruction is fed back by the server when the first berth state information is not successfully updated according to the berth state modification information.
In a fourth aspect, an embodiment of the present invention provides a data updating apparatus, which is applied to a server, and the apparatus includes:
the second updating module is used for updating second berth state information currently stored by the client equipment based on the first berth state information currently stored; if the second berth state information is updated successfully, triggering an information receiving module;
the information receiving module is used for receiving the berth state modification information sent by the client equipment; wherein the berth-state-modification information is determined based on modified second berth-state information;
and the second modification module is used for updating the first berth state information according to the berth state modification information.
Optionally, in a specific implementation manner, the apparatus further includes:
and the instruction sending module is used for sending a modification return instruction to the client equipment if the first berth state information is not successfully updated according to the berth state modification information, so that the client equipment triggers the first updating module.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of any data updating method provided in the first aspect or the steps of any data updating method provided in the second aspect when executing a program stored in a memory.
In a sixth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the data updating methods provided in the first aspect, or the steps of any one of the data updating methods provided in the second aspect.
As can be seen from the above, with the solution provided in the embodiment of the present invention, when the client device needs to modify the second parking status information stored in itself, in order to ensure that the second parking status information modified by the client device is consistent with the first parking status information stored in the server, the client device may first update the second parking status information currently stored in itself based on the first parking status information currently stored in the server. After the update is successful, the client device may modify the updated second parking status information, and determine the parking status modification information based on the modified second parking status information, thereby sending the parking status modification information to the server. The server can further modify the first currently stored berth state information according to the berth state modification information. In this way, after the server completes modifying the currently stored first parking status information, the modified second parking status information stored by the client device and the updated first parking status information currently stored by the server can become consistent information again.
Based on this, by applying the scheme provided by the embodiment of the present invention, when the client device modifies the second parking status information stored in the client device, the second parking status information is the parking status information that is successfully modified based on the first parking status information currently stored in the server, and therefore, the second parking status information is consistent with the first parking status information currently stored in the server. Therefore, when the client device modifies the second parking status information stored in the client device, the updated data based on which the client device and the server update the parking status information can be consistent, and after the client device modifies the second parking status information stored in the client device, the modified second parking status information stored in the client device and the updated first parking status information currently stored in the server can be the same again. Therefore, the data consistency of the client device and the server is ensured, and the data synchronization effect is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data updating method applied to a client device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a specific implementation manner of S101 in fig. 1;
fig. 3 is a schematic flowchart of another data updating method applied to a client device according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a data updating method applied to a server according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a specific implementation manner of S401 in fig. 4;
fig. 6 is a schematic flowchart of another data updating method applied to a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data updating apparatus applied to a client device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data updating apparatus applied to a server according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
In the related art, the server pushes the recorded parking status information to each client device, and it may be possible that each client device cannot receive the parking status information due to the influence of network transmission, so that the following problems may occur: the updated data on which the client device and the server device update the parking status information are inconsistent, which will certainly affect the effect of data synchronization.
In order to solve the above technical problems, embodiments of the present invention provide a data updating method applied to a client device side and a data updating method applied to a server side.
The data updating method applied to the client device side provided by the embodiment of the invention comprises the following steps:
updating second berthing state information currently stored by the client equipment based on first berthing state information currently stored by a server;
if the second berth state information is successfully updated, modifying the updated second berth state information;
sending the berthing state modification information to the server so that the server updates the first berthing state information according to the berthing state modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
The data updating method applied to the server side provided by the embodiment of the invention comprises the following steps:
updating second berthing state information currently stored by the client equipment based on the first berthing state information currently stored;
if the second berth state information is updated successfully, receiving berth state modification information sent by the client equipment; wherein the berth-state-modification information is determined based on modified second berth-state information;
and updating the first berth state information according to the berth state modification information.
As can be seen from the above, with the solution provided in the embodiment of the present invention, when the client device needs to modify the second parking status information stored in itself, in order to ensure that the second parking status information modified by the client device is consistent with the first parking status information stored in the server, the client device may first update the second parking status information currently stored in itself based on the first parking status information currently stored in the server. After the update is successful, the client device may modify the updated second parking status information, and determine the parking status modification information based on the modified second parking status information, thereby sending the parking status modification information to the server. The server can further modify the first currently stored berth state information according to the berth state modification information. In this way, after the server completes modifying the currently stored first parking status information, the modified second parking status information stored by the client device and the updated first parking status information currently stored by the server can become consistent information again.
Based on this, by applying the scheme provided by the embodiment of the present invention, when the client device modifies the second parking status information stored in the client device, the second parking status information is the parking status information that is successfully modified based on the first parking status information currently stored in the server, and therefore, the second parking status information is consistent with the first parking status information currently stored in the server. Therefore, when the client device modifies the second parking status information stored in the client device, the updated data based on which the client device and the server update the parking status information can be consistent, and after the client device modifies the second parking status information stored in the client device, the modified second parking status information stored in the client device and the updated first parking status information currently stored in the server can be the same again. Therefore, the data consistency of the client device and the server is ensured, and the data synchronization effect is ensured.
The data updating method applied to the client device side provided in the embodiment of the present invention may be applied to any device equipped with a client for updating the parking status information, such as a handheld POS, a mobile phone, a tablet computer, and the like.
Accordingly, the data updating method applied to the server side provided by the embodiment of the present invention may be applied to any server that needs to update the information of the berthage-like body and serves a client installed in the client device that needs to update the berthage state information.
Moreover, a server can serve a plurality of client devices, namely, the server can communicate with the plurality of client devices, so that the update of the berth state information in the server and the plurality of client devices is realized.
In addition, the server and the client device may store the parking space state information in various forms, and the embodiment of the present invention is not limited in particular. The parking space state information may be stored, for example, in the form of a table, each entry in the table including the parking number of a parking space and other data related to the number plate, the parking start time, and the like of the parking space.
First, a data updating method applied to a client device according to an embodiment of the present invention is described in detail below.
Fig. 1 is a schematic flowchart of a data updating method applied to a client device according to an embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
s101: updating second berthing state information currently stored by the client equipment based on first berthing state information currently stored by the server;
s102: if the second berth state information is successfully updated, modifying the updated second berth state information;
s103: sending the berthing state modification information to the server so that the server updates the first berthing state information according to the berthing state modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
Specifically, the method comprises the following steps:
in the embodiment of the present invention, the client device stores the second berthing status information at the current moment. Furthermore, when the actual situation of at least one parking space in each parking space changes, the client device needs to modify the parking space state information of the at least one parking space in the currently stored second parking space state information, so as to modify the currently stored second parking space state information.
For example, when a vehicle is parked at an idle parking space, the client device needs to record the license plate number, the parking start time, and the like of the parked vehicle in the currently stored second parking space state information and the state information corresponding to the parking space number of the parking space; correspondingly, when a vehicle drives away from a certain parking space, the client device needs to delete the license plate number of the driven-away vehicle from the state information corresponding to the parking space number in the second parking space state information stored currently, and record the parking stop time and the like.
In order to ensure that when the client device updates the currently stored second parking status information, the second parking status information is consistent with the currently stored first parking status information of the server, therefore, when the client device needs to modify the currently stored second parking status information, the client device may first perform the above step S101, and update the currently stored second parking status information of the client device based on the currently stored first parking status information of the server.
In this way, the updated second parking status information in the client device can be made to be consistent with the first parking status information currently stored by the server, that is, the parking status information that the client device needs to modify is consistent with the first parking status information currently stored by the server.
Optionally, in a specific implementation manner, as shown in fig. 2, the manner in which the client device executes the step S101 may include the following steps:
s201: sending a parking status update request to a server so that the server determines parking status update information based on the currently stored first parking status information and feeds back the determined parking status update information to the client device;
s202: receiving the berth state updating information, and updating the second currently stored berth state information based on the received berth state updating information.
In this specific implementation, when determining that the second currently stored parking status information needs to be modified, the client device may first send a parking status update request to the server. Therefore, after receiving the parking status update request, the server can determine the parking status update information based on the currently stored first parking status information and feed back the parking status update information to the client device.
In this way, after receiving the parking status update information, the client device may update the currently stored second parking status information based on the parking status update information. And after the updating is successful, the second berth state information currently stored by the client equipment is the same as the first berth state information currently stored by the server.
Optionally, in a specific implementation manner, the server may feed back the currently stored first parking status information as the parking status update information to the client device. In this way, the client device can use the received first parking status information to overwrite the currently stored second parking status information, thereby completing the update of the second parking status information, and obviously, the updated second parking status information is the first parking status information currently stored by the server.
Optionally, in another specific implementation manner, the parking status update request sent by the client device to the server may carry a version number of the second parking status information currently stored by the client device.
Thus, in this specific implementation manner, the server may determine the content of the second parking status information currently stored by the client device based on the received version number of the second parking status information currently stored by the client device, so that the server may determine the difference information between the first parking status information currently stored by the server and the second parking status information currently stored by the client device, and feed back the difference information as the parking status update information to the client device. Furthermore, when the client device receives the difference information, the client device may change the relevant information in the currently stored second parking status information based on the difference information, thereby completing the update of the second parking status information, and obviously, the updated second parking status information is consistent with the first parking status information currently stored by the server.
In this specific implementation manner, optionally, the difference information determined by the server may include a parking number that needs to be modified in the second parking status information currently stored by the client device and specific data content of the parking status information of the parking number, and the difference information indicates a manner of changing the specific data content.
In this way, the client device can change the specific data content of the parking status information of the parking number included in the difference information in the second currently stored parking status information in the changing manner indicated by the difference information.
For example, the difference information includes a parking number 3, and the specific data content of the parking status information of the parking number: the license plate number C and the parking start time T3, and the specific data content indicated by the difference information is modified in such a manner as to be added, the client device can add the license plate number C and the parking start time T3 to the parking status information of the parking number 3 among the currently stored second parking status information.
For another example, the difference information includes a parking number 4, and specific data content of the parking status information of the parking number: the license plate number D and the parking stop time T4, and the specific data content indicated by the difference information is modified by deleting the license plate number and recording the stop time, the client device may delete the license plate number D from the parking status information of the parking space 4 among the currently stored second parking status information, and record the parking stop time T4.
Further, when the client device updates the second parking status information currently stored in the client device based on the difference information, and the update is successful, the version number of the second parking status information currently stored in the client device is changed accordingly. After the update is successful, the second parking status information currently stored by the client device is the same as the first parking status information currently stored by the server, so that after the update is successful, the version number of the second parking status information currently stored by the client device is the same as the version number of the first parking status information currently stored by the server.
After the second parking status information currently stored in the client device is successfully updated, what is currently stored in the client device is: the updated second berth-state information. At this time, the client device may continue to perform step S102 to modify the updated second berth-state information.
That is to say, the client device may modify the updated second parking space state information according to a change in an actual situation of at least one parking space in each parking space, so as to obtain modified second parking space state information, where the second parking space state information currently stored by the client device is the modified second parking space state information.
Since the updated second parking status information is consistent with the first parking status information currently stored by the server, and the modified second parking status information is inconsistent with the updated second parking status information, the modified second parking status information is inconsistent with the first parking status information currently stored by the server, so that the client device may continue to execute the step S103 to send the parking status modification information to the server, where the parking status modification information is determined based on the modified second parking status information. Therefore, after receiving the parking status modification information, the server can update the first parking status information stored in the server according to the parking status modification information.
At this time, when the server succeeds in updating the first currently stored parking status information according to the parking status modification information, the modified second parking status information stored by the client device and the updated first parking status information currently stored by the server may be the same again, so that the data consistency of the server and the client device is ensured, and the effect of data synchronization between the server and the client device is ensured.
Optionally, in a specific implementation manner, the client device may feed back, as the modified parking status information, the currently stored modified second parking status information to the server. In this way, the server can use the received modified second parking status information to overwrite the currently stored first parking status information, thereby completing the update of the currently stored first parking status information.
Obviously, when the server successfully updates the first currently stored parking status information according to the parking status modification information, the updated first parking status information is the modified second parking status information currently stored by the client device.
Optionally, in another specific implementation manner, the client device may determine difference information before and after the second parking status information is modified, and send the determined difference information as the parking status modification information to the server. In this way, when the server receives the difference information, the server can change the related information in the currently stored first parking status based on the difference information, thereby completing the update of the first parking status information.
Obviously, when the server successfully updates the first currently stored parking status information according to the parking status modification information, the updated first parking status information is the modified second parking status information currently stored by the client device.
In this specific implementation manner, the difference information determined by the client device may include a parking number that needs to be modified in the first parking status information currently stored by the server and specific data content of the parking status information of the parking number, and the difference information indicates a modification manner of the specific data content.
In this way, the server can change the specific data content of the parking status information of the parking number included in the difference information in the currently stored first parking status information in the changing manner indicated by the difference information.
For example, the difference information includes a parking number 1, and specific data content of the parking status information of the parking number: the license plate a and the parking start time T1, and the specific data content indicated by the data update information is changed in such a manner as to be added, the server can add the license plate a and the parking start time T1 to the parking status information of the parking number 1 among the currently stored first parking status information.
For another example, the difference information includes a parking number 2, and specific data content of the parking status information of the parking number: the license plate number B and the parking stop time T2, and the specific data content indicated by the data update information is changed by deleting the license plate number and recording the stop time, the server may delete the license plate number B from the parking status information of the parking number 2 among the currently stored first parking status information, and record the parking stop time T2.
Optionally, in a specific implementation manner, in step S201, the parking status update request sent by the client device to the server may carry a version number of the second parking status information currently stored by the client device, and the server may store the version number of the first parking status information currently stored by the server.
In this way, when the server receives the version number of the second parking state information currently stored by the client, which is carried in the parking state update request, it may first determine whether the two version numbers are the same.
Furthermore, when the server determines that the two version numbers are different, the server may determine that the second parking status information currently stored by the client device is different from the first parking status information currently stored by the server. Further, the server may determine the parking status update information based on the currently stored first parking status information and feed back the parking status update information to the client device.
Further, in this specific implementation manner, when the client device updates the second parking status information currently stored by the client device based on the difference information, and the update is successful, the version number of the second parking status information currently stored by the client device is changed accordingly. After the update is successful, the second parking status information currently stored by the client device is the same as the first parking status information currently stored by the server, so that after the update is successful, the version number of the second parking status information currently stored by the client device is the same as the version number of the first parking status information currently stored by the server.
Furthermore, when the server determines that the two version numbers are the same, the server may determine that the second parking status information currently stored by the client device is the same as the first parking status information currently stored by the server. At this time, the server may directly send to the client device: and the prompt information is used for prompting that the second berth state information currently stored by the client equipment is the same as the first berth state information currently stored by the server.
At this time, the client device may directly modify the second parking status information currently stored by itself without updating the second parking status information currently stored by itself, and send the parking status modification information to the server, so that the server updates the first parking status information currently stored by itself according to the parking status modification information.
In addition, optionally, in a specific implementation manner, when the client device does not need to modify the second parking status information currently stored by itself, because the first parking status information currently stored by the server may be updated according to the parking status modification information sent by the client device based on other client devices, in order to ensure that the second parking status information currently stored by the client device is consistent with the first parking status information currently stored by the server, the client device may update the second parking status information currently stored by the client device based on the first parking status information currently stored by the server, or when a parking status refresh instruction sent by a user is detected, for example, when a click operation of the user on a refresh button is detected, the client device updates the second parking status information currently stored by the client device based on the first parking status information currently stored by the server.
Furthermore, in step S103, when the server receives the parking status modification information sent by the client device and updates the second parking status information stored in the server based on the parking status modification information, the server may have a failure in updating, that is, the server does not successfully update the first parking status information currently stored in the server according to the parking status modification information.
For example, if the server receives the parking status modification information sent by two different client devices at the same time, the server may determine that a modification conflict occurs, so as not to update the currently stored first parking status information, and return the received two parking status modification information to the respective corresponding client devices. At this time, the server may determine that the first parking status information currently stored by itself is not successfully updated according to the parking status modification information.
For another example, although the client device has updated the second parking status information currently stored by itself based on the first parking status information currently stored by the server before sending the parking status modification information to the server, it is expected that the updated second parking status information currently stored by itself may be made consistent with the first parking status information currently stored by the server. However, since the server may receive the parking status modification information sent by the multiple client devices, and there is a time difference in data transmission between different client devices and the server, when the client device feeds back the parking status modification information to the server, the first parking status information currently stored in the server may have been updated according to the parking status modification information sent by other client devices.
Therefore, the first berth state information currently stored by the server is different from the second berth state information which is not modified in the client equipment and is updated, so that the server can judge that modification conflict occurs, cannot update the updated first berth state information currently stored by the server according to the berth state modification information sent by the client equipment, and returns the received berth state modification information to the client equipment. At this time, the server may determine that the first parking status information currently stored by itself is not successfully updated according to the parking status modification information.
Based on this, optionally, in a specific implementation manner, as shown in fig. 3, the data updating method applied to the client device end provided in the embodiment of the present invention may further include the following steps:
s104: and receiving a modified withdrawal instruction sent by the server, and returning to execute the step S101.
And the modification return instruction is fed back when the server does not successfully update the first berth state information according to the berth state modification information.
Specifically, the method comprises the following steps:
when the server judges that the first berth state information is not successfully updated according to the berth state modification information, a modification return instruction can be generated and sent to the client equipment.
In this way, after receiving the modification return instruction, the client device may determine that the modification conflict occurs at the server, so that, in order to enable the server to successfully update the first currently stored parking status information according to the parking status modification information, the client device may return to perform step S101 again until the server successfully updates the first currently stored parking status information according to the parking status modification information.
Optionally, the modification return instruction may include the parking position state modification information sent by the client device.
Corresponding to the data updating method applied to the client device side provided by the embodiment of the present invention, a detailed description is given below of the data updating method applied to the server side provided by the embodiment of the present invention.
Fig. 4 is a flowchart illustrating a data updating method applied to a server according to an embodiment of the present invention. As shown in fig. 4, the method may include the steps of:
s401: updating second berthing state information currently stored by the client equipment based on the first berthing state information currently stored;
s402: if the second berth state information is updated successfully, receiving berth state modification information sent by the client equipment;
wherein the berth-state-modification information is determined based on the modified second berth-state information;
s403: and updating the first berth state information according to the berth state modification information.
Specifically, the method comprises the following steps:
in the embodiment of the present invention, the client device stores the second berthing status information at the current moment. Furthermore, when the actual situation of at least one parking space in each parking space changes, the client device needs to modify the parking space state information of the at least one parking space in the currently stored second parking space state information, so as to modify the currently stored second parking space state information.
For example, when a vehicle is parked at an idle parking space, the client device needs to record the license plate number, the parking start time, and the like of the parked vehicle in the currently stored second parking space state information and the state information corresponding to the parking space number of the parking space; correspondingly, when a vehicle drives away from a certain parking space, the client device needs to delete the license plate number of the driven-away vehicle from the state information corresponding to the parking space number in the second parking space state information stored currently, and record the parking stop time and the like.
In order to ensure that when the client device updates the currently stored second parking status information, the second parking status information is consistent with the first parking status information currently stored by the server, therefore, when the client device needs to modify the currently stored second parking status information, the server may first perform step S401 described above, and update the second parking status information currently stored by the client device based on the currently stored first parking status information of the server.
In this way, the updated second parking status information in the client device can be made to be consistent with the first parking status information currently stored by the server, that is, the parking status information that the client device needs to modify is consistent with the first parking status information currently stored by the server.
It should be noted that the essence of the server executing step S401 is: the server responds to the request sent by the client device, so that the client device can update the second berth state information currently stored by the client device based on the first berth state information currently stored by the server.
Optionally, in a specific implementation manner, as shown in fig. 5, the manner in which the server executes step S401 may include the following steps:
s501: receiving a berth state updating request sent by client equipment;
s502: and determining parking position state updating information based on the first currently stored parking position state information, and feeding back the determined parking position state updating information to the client device, so that the client device updates the second currently stored parking position state information based on the received parking position state updating information.
In this specific implementation, when determining that the second currently stored parking status information needs to be modified, the client device may first send a parking status update request to the server. Therefore, after receiving the parking status update request, the server can determine the parking status update information based on the currently stored first parking status information and feed back the parking status update information to the client device.
In this way, after receiving the parking status update information, the client device may update the currently stored second parking status information based on the parking status update information. And after the updating is successful, the second berth state information currently stored by the client equipment is the same as the first berth state information currently stored by the server.
Optionally, in a specific implementation manner, the server may feed back the currently stored first parking status information as the parking status update information to the client device. In this way, the client device can use the received first parking status information to overwrite the currently stored second parking status information, thereby completing the update of the second parking status information, and obviously, the updated second parking status information is the first parking status information currently stored by the server.
Optionally, in another specific implementation manner, the parking status update request sent by the client device to the server may carry a version number of the second parking status information currently stored by the client device.
Thus, in this specific implementation manner, the server may determine the content of the second parking status information currently stored by the client device based on the received version number of the second parking status information currently stored by the client device, so that the server may determine the difference information between the first parking status information currently stored by the server and the second parking status information currently stored by the client device, and feed back the difference information as the parking status update information to the client device. Furthermore, when the client device receives the difference information, the client device may change the relevant information in the currently stored second parking status information based on the difference information, thereby completing the update of the second parking status information, and obviously, the updated second parking status information is consistent with the first parking status information currently stored by the server.
In this specific implementation manner, optionally, the difference information determined by the server may include a parking number that needs to be modified in the second parking status information currently stored by the client device and specific data content of the parking status information of the parking number, and the difference information indicates a manner of changing the specific data content.
In this way, the client device can change the specific data content of the parking status information of the parking number included in the difference information in the second currently stored parking status information in the changing manner indicated by the difference information.
For example, the difference information includes a parking number 3, and the specific data content of the parking status information of the parking number: the license plate number C and the parking start time T3, and the specific data content indicated by the difference information is modified in such a manner as to be added, the client device can add the license plate number C and the parking start time T3 to the parking status information of the parking number 3 among the currently stored second parking status information.
For another example, the difference information includes a parking number 4, and specific data content of the parking status information of the parking number: the license plate number D and the parking stop time T4, and the specific data content indicated by the difference information is modified by deleting the license plate number and recording the stop time, the client device may delete the license plate number D from the parking status information of the parking space 4 among the currently stored second parking status information, and record the parking stop time T4.
Further, when the client device updates the second parking status information currently stored in the client device based on the difference information, and the update is successful, the version number of the second parking status information currently stored in the client device is changed accordingly. After the update is successful, the second parking status information currently stored by the client device is the same as the first parking status information currently stored by the server, so that after the update is successful, the version number of the second parking status information currently stored by the client device is the same as the version number of the first parking status information currently stored by the server.
After the second parking status information currently stored in the client device is successfully updated, what is currently stored in the client device is: the updated second berth-state information.
The updated second parking status information is consistent with the first parking status information currently stored by the server, and the modified second parking status information is inconsistent with the updated second parking status information, so that the client device can modify the updated second parking status information currently stored by the client device and determine the parking status modification information based on the modified second parking status information, thereby sending the parking status modification information to the server.
Based on this, the server may continue to perform step S402, and receive the parking status modification information sent by the client device.
Furthermore, after receiving the parking status modification information sent by the client device, the server may continue to execute step S403, and update the first currently stored parking status information according to the parking status modification information.
At this time, when the server succeeds in updating the first currently stored parking status information according to the parking status modification information, the modified second parking status information stored by the client device and the updated first parking status information currently stored by the server may be the same again, so that the data consistency of the server and the client device is ensured, and the effect of data synchronization between the server and the client device is ensured.
Optionally, in a specific implementation manner, the client device may feed back, as the modified parking status information, the currently stored modified second parking status information to the server. In this way, the server can use the received modified second parking status information to overwrite the currently stored first parking status information, thereby completing the update of the currently stored first parking status information.
Obviously, when the server successfully updates the first currently stored parking status information according to the parking status modification information, the updated first parking status information is the modified second parking status information currently stored by the client device.
Optionally, in another specific implementation manner, the client device may determine difference information before and after the second parking status information is modified, and send the determined difference information as the parking status modification information to the server. In this way, when the server receives the difference information, the server can change the related information in the currently stored first parking status based on the difference information, thereby completing the update of the first parking status information.
Obviously, when the server successfully updates the first currently stored parking status information according to the parking status modification information, the updated first parking status information is the modified second parking status information currently stored by the client device.
In this specific implementation manner, the difference information determined by the client device may include a parking number that needs to be modified in the first parking status information currently stored by the server and specific data content of the parking status information of the parking number, and the difference information indicates a modification manner of the specific data content.
In this way, the server can change the specific data content of the parking status information of the parking number included in the difference information in the currently stored first parking status information in the changing manner indicated by the difference information.
For example, the difference information includes a parking number 1, and specific data content of the parking status information of the parking number: the license plate a and the parking start time T1, and the specific data content indicated by the data update information is changed in such a manner as to be added, the server can add the license plate a and the parking start time T1 to the parking status information of the parking number 1 among the currently stored first parking status information.
For another example, the difference information includes a parking number 2, and specific data content of the parking status information of the parking number: the license plate number B and the parking stop time T2, and the specific data content indicated by the data update information is changed by deleting the license plate number and recording the stop time, the server may delete the license plate number B from the parking status information of the parking number 2 among the currently stored first parking status information, and record the parking stop time T2.
Optionally, in a specific implementation manner, in step S501, the parking status update request sent by the client device to the server may carry a version number of the second parking status information currently stored by the client device, and the server may store the version number of the first parking status information currently stored by the server.
In this way, when the server receives the version number of the second parking state information currently stored by the client, which is carried in the parking state update request, it may first determine whether the two version numbers are the same.
Furthermore, when the server determines that the two version numbers are different, the server may determine that the second parking status information currently stored by the client device is different from the first parking status information currently stored by the server. Further, the server may determine the parking status update information based on the currently stored first parking status information and feed back the parking status update information to the client device.
Further, in this specific implementation manner, when the client device updates the second parking status information currently stored by the client device based on the difference information, and the update is successful, the version number of the second parking status information currently stored by the client device is changed accordingly. After the update is successful, the second parking status information currently stored by the client device is the same as the first parking status information currently stored by the server, so that after the update is successful, the version number of the second parking status information currently stored by the client device is the same as the version number of the first parking status information currently stored by the server.
Furthermore, when the server determines that the two version numbers are the same, the server may determine that the second parking status information currently stored by the client device is the same as the first parking status information currently stored by the server. At this time, the server may directly send to the client device: and the prompt information is used for prompting that the second berth state information currently stored by the client equipment is the same as the first berth state information currently stored by the server.
At this time, the client device may directly modify the second parking status information currently stored by itself without updating the second parking status information currently stored by itself, and send the parking status modification information to the server, so that the server updates the first parking status information currently stored by itself according to the parking status modification information.
Furthermore, in step S403, when the server updates the second parking status information stored in the server based on the parking status modification information sent by the client device, the server may fail to update the first parking status information currently stored in the server according to the parking status modification information.
For example, if the server receives the parking status modification information sent by two different client devices at the same time, the server may determine that a modification conflict occurs, so as not to update the currently stored first parking status information, and return the received two parking status modification information to the respective corresponding client devices. At this time, the server may determine that the first parking status information currently stored by itself is not successfully updated according to the parking status modification information.
For another example, although the client device has updated the second parking status information currently stored by itself based on the first parking status information currently stored by the server before sending the parking status modification information to the server, it is expected that the updated second parking status information currently stored by itself may be made consistent with the first parking status information currently stored by the server. However, since the server may receive the parking status modification information sent by the multiple client devices, and there is a time difference in data transmission between different client devices and the server, when the client device feeds back the parking status modification information to the server, the first parking status information currently stored in the server may have been updated according to the parking status modification information sent by other client devices.
Therefore, the first berth state information currently stored by the server is different from the second berth state information which is not modified in the client equipment and is updated, so that the server can judge that modification conflict occurs, cannot update the updated first berth state information currently stored by the server according to the berth state modification information sent by the client equipment, and returns the received berth state modification information to the client equipment. At this time, the server may determine that the first parking status information currently stored by itself is not successfully updated according to the parking status modification information.
Based on this, optionally, in a specific implementation manner, as shown in fig. 6, the data updating method applied to the server side provided in the embodiment of the present invention may further include the following steps:
s404: and if the first berth state information is not successfully updated according to the berth state modification information, sending a modification return instruction to the client equipment so that the client equipment returns the first berth state information currently stored on the basis of the server and updates the second berth state information currently stored by the client equipment.
And the modification return instruction is fed back when the server does not successfully update the first berth state information according to the berth state modification information.
Specifically, the method comprises the following steps:
when the server judges that the first berth state information is not successfully updated according to the berth state modification information, a modification return instruction can be generated and sent to the client equipment.
Therefore, after receiving the modification return instruction, the client device can determine that the modification conflict occurs at the server, so that in order to enable the server to successfully update the first currently stored parking status information according to the parking status modification information, the client device can return to execute the first parking status information based on the current storage of the server again, and update the second parking status information currently stored by the client device until the server successfully updates the first currently stored parking status information according to the parking status modification information.
Optionally, the modification return instruction may include the parking position state modification information sent by the client device.
Optionally, in a specific implementation manner, the server may be an SVN server. The SVN is a abbreviation of Subversion, is a version control system of open source code, and can be used for storing and tracking a directory (folder) and a modification history of a file.
Accordingly, in this specific implementation manner, the client installed in the client device and used for updating the parking status information is the client corresponding to the SVN server, and the client includes various command programs related to data updating.
Corresponding to the data updating method applied to the client device side provided by the embodiment of the invention, the embodiment of the invention provides a data updating device applied to the client device side.
Fig. 7 is a schematic structural diagram of a data updating apparatus applied to a client device according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes the following modules:
a first updating module 710, configured to update second berth status information currently stored by the client device based on first berth status information currently stored by a server; if the second berth status information is updated successfully, triggering a first modification module 720;
the first modifying module 720 is configured to modify the updated second berth status information;
an information sending module 730, configured to send the parking status modification information to the server, so that the server updates the first parking status information according to the parking status modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
As can be seen from the above, with the solution provided in the embodiment of the present invention, when the client device needs to modify the second parking status information stored in itself, in order to ensure that the second parking status information modified by the client device is consistent with the first parking status information stored in the server, the client device may first update the second parking status information currently stored in itself based on the first parking status information currently stored in the server. After the update is successful, the client device may modify the updated second parking status information, and determine the parking status modification information based on the modified second parking status information, thereby sending the parking status modification information to the server. The server can further modify the first currently stored berth state information according to the berth state modification information. In this way, after the server completes modifying the currently stored first parking status information, the modified second parking status information stored by the client device and the updated first parking status information currently stored by the server can become consistent information again.
Based on this, by applying the scheme provided by the embodiment of the present invention, when the client device modifies the second parking status information stored in the client device, the second parking status information is the parking status information that is successfully modified based on the first parking status information currently stored in the server, and therefore, the second parking status information is consistent with the first parking status information currently stored in the server. Therefore, when the client device modifies the second parking status information stored in the client device, the updated data based on which the client device and the server update the parking status information can be consistent, and after the client device modifies the second parking status information stored in the client device, the modified second parking status information stored in the client device and the updated first parking status information currently stored in the server can be the same again. Therefore, the data consistency of the client device and the server is ensured, and the data synchronization effect is ensured.
Optionally, in a specific implementation manner, the apparatus further includes: a second information update module;
the instruction receiving module is used for receiving a modified return instruction sent by the server, returning to execute the step of updating second berth state information currently stored by the client equipment based on the first berth state information currently stored by the server;
wherein the modified return instruction is fed back by the server when the first berth state information is not successfully updated according to the berth state modification information.
Corresponding to the data updating method applied to the server side provided by the embodiment of the invention, the embodiment of the invention also provides a data updating device applied to the server side.
Fig. 8 is a schematic structural diagram of a data updating apparatus applied to a server according to an embodiment of the present invention. As shown in fig. 8, the apparatus may include the following modules:
a second updating module 810, configured to update second currently stored berth state information of the client device based on the currently stored first berth state information; if the second berth state information is updated successfully, triggering an information receiving module;
the information receiving module 820 is configured to receive the parking space state modification information sent by the client device; wherein the berth-state-modification information is determined based on modified second berth-state information;
a second modifying module 830, configured to update the first parking status information according to the parking status modifying information.
As can be seen from the above, with the solution provided in the embodiment of the present invention, when the client device needs to modify the second parking status information stored in itself, in order to ensure that the second parking status information modified by the client device is consistent with the first parking status information stored in the server, the client device may first update the second parking status information currently stored in itself based on the first parking status information currently stored in the server. After the update is successful, the client device may modify the updated second parking status information, and determine the parking status modification information based on the modified second parking status information, thereby sending the parking status modification information to the server. The server can further modify the first currently stored berth state information according to the berth state modification information. In this way, after the server completes modifying the currently stored first parking status information, the modified second parking status information stored by the client device and the updated first parking status information currently stored by the server can become consistent information again.
Based on this, by applying the scheme provided by the embodiment of the present invention, when the client device modifies the second parking status information stored in the client device, the second parking status information is the parking status information that is successfully modified based on the first parking status information currently stored in the server, and therefore, the second parking status information is consistent with the first parking status information currently stored in the server. Therefore, when the client device modifies the second parking status information stored in the client device, the updated data based on which the client device and the server update the parking status information can be consistent, and after the client device modifies the second parking status information stored in the client device, the modified second parking status information stored in the client device and the updated first parking status information currently stored in the server can be the same again. Therefore, the data consistency of the client device and the server is ensured, and the data synchronization effect is ensured.
Optionally, in a specific implementation manner, the apparatus further includes:
and the instruction sending module is used for sending a modification return instruction to the client equipment if the first berth state information is not successfully updated according to the berth state modification information, so that the client equipment triggers the first updating module.
An embodiment of the present invention further provides an electronic device, as shown in fig. 9, which includes a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to, when executing the program stored in the memory 903, implement any one of the above-described data updating methods applied to the client device according to the embodiments of the present invention, or implement any one of the above-described data updating methods applied to the server device according to the embodiments of the present invention.
Obviously, when the electronic device is used to implement any one of the data updating methods applied to the client device side provided by the embodiments of the present invention, the electronic device may be used as a client device; when the electronic device is used in any one of the data updating methods applied to the server side provided by the embodiments of the present invention, the electronic device is used as a server.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
An embodiment of the present invention further provides a computer-readable storage medium, where when being executed by a processor, the computer program implements any one of the methods for updating data applied to a client device according to the foregoing embodiments of the present invention, or implements any one of the methods for updating data applied to a server device according to the foregoing embodiments of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, the server embodiment, the client device embodiment and the computer-readable storage medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A data updating method applied to a client device, the method comprising:
updating second berthing state information currently stored by the client equipment based on first berthing state information currently stored by a server;
if the second berth state information is successfully updated, modifying the updated second berth state information;
sending the berthing state modification information to the server so that the server updates the first berthing state information according to the berthing state modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
2. The method of claim 1, further comprising:
receiving a modified return instruction sent by the server, returning to execute the first berth state information currently stored on the basis of the server, and updating the second berth state information currently stored by the client equipment;
wherein the modified return instruction is fed back by the server when the first berth state information is not successfully updated according to the berth state modification information.
3. A data updating method is applied to a server, and the method comprises the following steps:
updating second berthing state information currently stored by the client equipment based on the first berthing state information currently stored;
if the second berth state information is updated successfully, receiving berth state modification information sent by the client equipment; wherein the berth-state-modification information is determined based on modified second berth-state information;
and updating the first berth state information according to the berth state modification information.
4. The method of claim 3, further comprising:
and if the first berth state information is not successfully updated according to the berth state modification information, sending a modification return instruction to the client equipment so that the client equipment returns the first berth state information currently stored on the basis of the server and updates the second berth state information currently stored by the client equipment.
5. An apparatus for updating data, applied to a client device, the apparatus comprising:
the first updating module is used for updating second berth state information currently stored by the client equipment based on first berth state information currently stored by a server; if the second berth state information is updated successfully, triggering a first modification module;
the first modifying module is used for modifying the updated second berth state information;
the information sending module is used for sending the berth state modification information to the server so that the server updates the first berth state information according to the berth state modification information;
wherein the berth-state-modification information is determined based on the modified second berth-state information.
6. The apparatus of claim 5, further comprising:
the instruction receiving module is used for receiving a modified return instruction sent by the server, returning to execute the step of updating second berth state information currently stored by the client equipment based on the first berth state information currently stored by the server;
wherein the modified return instruction is fed back by the server when the first berth state information is not successfully updated according to the berth state modification information.
7. A data update apparatus, applied to a server, the apparatus comprising:
the second updating module is used for updating second berth state information currently stored by the client equipment based on the first berth state information currently stored; if the second berth state information is updated successfully, triggering an information receiving module;
the information receiving module is used for receiving the berth state modification information sent by the client equipment; wherein the berth-state-modification information is determined based on modified second berth-state information;
and the second modification module is used for updating the first berth state information according to the berth state modification information.
8. The apparatus of claim 7, further comprising:
and the instruction sending module is used for sending a modification return instruction to the client equipment if the first berth state information is not successfully updated according to the berth state modification information, so that the client equipment triggers the first updating module.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps according to any one of claims 1-2 when executing a program stored in the memory; or implementing the method steps as claimed in any of claims 3-4.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any of the claims 1-2 or carries out the method steps of any of the claims 3-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911141610.2A CN111488365B (en) | 2019-11-20 | 2019-11-20 | Data updating method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911141610.2A CN111488365B (en) | 2019-11-20 | 2019-11-20 | Data updating method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111488365A true CN111488365A (en) | 2020-08-04 |
CN111488365B CN111488365B (en) | 2021-03-26 |
Family
ID=71794319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911141610.2A Active CN111488365B (en) | 2019-11-20 | 2019-11-20 | Data updating method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111488365B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU4641300A (en) * | 1999-04-21 | 2000-11-02 | Toni Data, Llc | Managed remote virtual mass storage for client data terminal |
CN102737411A (en) * | 2011-12-06 | 2012-10-17 | 浙江创泰科技有限公司 | Non-waiting parking management system based on RFID (radio frequency identification device) and sensor |
CN102831785A (en) * | 2012-09-14 | 2012-12-19 | 成都宇凡科技有限责任公司 | Parking space inquiry booking system and inquiry booking method thereof |
TW201409234A (en) * | 2012-08-31 | 2014-03-01 | Ibm | Data analysis system |
US20140310243A1 (en) * | 2010-08-16 | 2014-10-16 | Mr. Steven James McGee | Heart beacon cycle |
CN106297400A (en) * | 2016-10-13 | 2017-01-04 | 北京悦畅科技有限公司 | A kind of parking position information of park processing method, server and system |
CN107545770A (en) * | 2016-06-29 | 2018-01-05 | 杭州海康威视数字技术股份有限公司 | A kind of air navigation aid, apparatus and system |
CN108010373A (en) * | 2017-09-15 | 2018-05-08 | 路特迩科技(杭州)有限公司 | Berth service and management system and method based on berth status information |
CN108932551A (en) * | 2017-05-28 | 2018-12-04 | 沈思远 | Parking position subscription procedure |
CN108986534A (en) * | 2018-08-07 | 2018-12-11 | 普行智能停车(深圳)有限公司 | Based on Car license recognition parking management method and system |
US20190159026A1 (en) * | 2017-11-20 | 2019-05-23 | Valeo North America, Inc. | Hybrid authentication of vehicle devices and/or mobile user devices |
CN109801509A (en) * | 2019-01-23 | 2019-05-24 | 武汉欧瑞诺信息技术有限公司 | A method of intelligence reservation parking stall |
CN110136564A (en) * | 2019-06-12 | 2019-08-16 | 四川长虹电器股份有限公司 | A kind of method of parking lot mark display information in real-time update map |
CN110211412A (en) * | 2019-05-23 | 2019-09-06 | 西安艾润物联网技术服务有限责任公司 | Parking stall data processing method, system and equipment |
-
2019
- 2019-11-20 CN CN201911141610.2A patent/CN111488365B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU4641300A (en) * | 1999-04-21 | 2000-11-02 | Toni Data, Llc | Managed remote virtual mass storage for client data terminal |
US20140310243A1 (en) * | 2010-08-16 | 2014-10-16 | Mr. Steven James McGee | Heart beacon cycle |
CN102737411A (en) * | 2011-12-06 | 2012-10-17 | 浙江创泰科技有限公司 | Non-waiting parking management system based on RFID (radio frequency identification device) and sensor |
TW201409234A (en) * | 2012-08-31 | 2014-03-01 | Ibm | Data analysis system |
CN102831785A (en) * | 2012-09-14 | 2012-12-19 | 成都宇凡科技有限责任公司 | Parking space inquiry booking system and inquiry booking method thereof |
CN107545770A (en) * | 2016-06-29 | 2018-01-05 | 杭州海康威视数字技术股份有限公司 | A kind of air navigation aid, apparatus and system |
CN106297400A (en) * | 2016-10-13 | 2017-01-04 | 北京悦畅科技有限公司 | A kind of parking position information of park processing method, server and system |
CN108932551A (en) * | 2017-05-28 | 2018-12-04 | 沈思远 | Parking position subscription procedure |
CN108010373A (en) * | 2017-09-15 | 2018-05-08 | 路特迩科技(杭州)有限公司 | Berth service and management system and method based on berth status information |
US20190159026A1 (en) * | 2017-11-20 | 2019-05-23 | Valeo North America, Inc. | Hybrid authentication of vehicle devices and/or mobile user devices |
CN108986534A (en) * | 2018-08-07 | 2018-12-11 | 普行智能停车(深圳)有限公司 | Based on Car license recognition parking management method and system |
CN109801509A (en) * | 2019-01-23 | 2019-05-24 | 武汉欧瑞诺信息技术有限公司 | A method of intelligence reservation parking stall |
CN110211412A (en) * | 2019-05-23 | 2019-09-06 | 西安艾润物联网技术服务有限责任公司 | Parking stall data processing method, system and equipment |
CN110136564A (en) * | 2019-06-12 | 2019-08-16 | 四川长虹电器股份有限公司 | A kind of method of parking lot mark display information in real-time update map |
Non-Patent Citations (2)
Title |
---|
张晶: "小区物业管理信息系统的分析与设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
方恒明: "移动终端与服务器数据同步机制的应用研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN111488365B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109643254B (en) | Vehicle-mounted updating system, vehicle-mounted updating device and updating method of communication device | |
JP6361671B2 (en) | Program update system, program update method, relay device, and computer program | |
CN102270144B (en) | Embedded network equipment and method for upgrading firmware by using same | |
US9710256B2 (en) | Software upgrade method and system for mobile terminal | |
US20160364230A1 (en) | Telematics control unit comprising a differential update package | |
JP2017157004A (en) | System, method, and computer program for updating programs | |
CN103152390B (en) | The node configuration method of distributed memory system, device, node and system | |
US20070074201A1 (en) | Method and system for updating software and computer readable recording medium storing the method | |
CN109634533B (en) | ECU information unloading method and related device | |
CN112307049A (en) | Method, device and equipment for separating read from write of database and readable storage medium | |
CN109710596B (en) | Data cleaning method, device, equipment and computer readable storage medium | |
CN108829342B (en) | Log storage method, system and storage device | |
US20190121568A1 (en) | Method, device, and computer program for managing a storage region of a controller of a transportation vehicle | |
US11372724B2 (en) | Method and system for handling blockchain network based file storage system | |
CN111488365B (en) | Data updating method and device, electronic equipment and storage medium | |
JPWO2018142749A1 (en) | Control device, program update method, and computer program | |
CN111159160A (en) | Version rollback method and device, electronic equipment and storage medium | |
US20200334033A1 (en) | Apparatus and method for providing update in vehicle | |
CN115858668A (en) | Distributed transaction processing method, device, electronic device and storage medium | |
CN110795282A (en) | Data rollback method, device, equipment and storage medium | |
CN107203339B (en) | Data storage method and device | |
JP2020013352A (en) | Vehicle management server and computer program | |
CN111666020B (en) | Method and device for switching document pages, electronic equipment and storage medium | |
CN111124459B (en) | Method and device for updating service logic of FPGA cloud server | |
CN108845845B (en) | Shortcut key creation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |