CN111818108A - Method and device for ensuring data acquisition consistency - Google Patents
Method and device for ensuring data acquisition consistency Download PDFInfo
- Publication number
- CN111818108A CN111818108A CN201910285021.5A CN201910285021A CN111818108A CN 111818108 A CN111818108 A CN 111818108A CN 201910285021 A CN201910285021 A CN 201910285021A CN 111818108 A CN111818108 A CN 111818108A
- Authority
- CN
- China
- Prior art keywords
- identifier
- cache region
- condition data
- road condition
- traffic road
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application relates to a method for ensuring data acquisition consistency, wherein a client sends an identification acquisition request to a server; after receiving the request, the server generates an identifier bound with the readable cache area and sends the identifier to the client; the client sends a traffic road condition data acquisition request carrying the identification to a server; the server receives the traffic road condition data acquisition request, searches a readable cache region bound by the identification based on the received identification, reads the traffic road condition data from the cache region, and sends the traffic road condition data to the client. Based on the scheme, the traffic road condition data acquired by the terminal can belong to the same data batch, and the traffic road condition data can be accurately acquired.
Description
Technical Field
The invention relates to the technical field of computer application, in particular to a method and a device for ensuring data acquisition consistency.
Background
The traffic road condition is a function possessed by the current map or navigation tool, a user can conveniently use the terminal to inquire the traffic road condition so as to assist travel, and generally, the traffic flow on the road is represented by taking the road as a unit.
The data of the traffic road condition is generally stored in a server, the server updates the traffic road condition in real time, two cache regions are arranged on the server, and the two cache regions assist in completing the updating and reading of the data of the traffic road condition. Fig. 9 shows a method for managing traffic road condition data at a server side in the prior art, which includes the following steps:
(1) inquiring whether the traffic road condition data is updated or not;
(2) under the condition of updating, filling the updated data into a writable cache region;
(3) setting a timestamp of the written cache region;
(4) setting the written cache area to be readable;
(5) setting an original readable cache region as writable but unreadable;
(6) then, the terminal can request the server to read the traffic road condition data in the readable cache region to obtain the traffic road condition.
It can be seen from the above process that when the server manages the updated traffic condition data, the two buffers used by the server are switched along with the update of the data, that is, after the data update is written into the writable buffer, the buffer becomes the readable buffer, and the other buffer is converted into a writable buffer so as to receive the next updated traffic condition data.
However, the traffic road condition data is changed periodically, and is generally sent according to a batch after each change, and the data read by the terminal for many times can only ensure the integrity of the traffic road condition data of the terminal to accurately display the traffic road condition if the data is required to be ensured to belong to the same data batch. If the terminal reads the data for multiple times just in the process of switching the two buffer areas, the requested traffic road condition data cannot be ensured to belong to the same data batch, so that the traffic road condition cannot be correctly obtained and displayed.
Disclosure of Invention
The invention aims to provide a method and a device for ensuring data acquisition consistency, which can ensure that traffic road condition data acquired by a terminal can belong to the same data batch and can accurately acquire the traffic road condition data.
In order to achieve the above object, the present invention provides a method for ensuring data acquisition consistency, comprising the steps of:
a client sends an identification acquisition request to a server;
the server receives the identification obtaining request, generates an identification bound with a readable cache region, and sends the identification to the client, wherein the identification is used for uniquely representing the readable cache region;
the client receives the identification sent by the server and sends a traffic road condition data acquisition request carrying the identification to the server;
the server receives the traffic road condition data acquisition request, searches the readable cache region bound by the identifier based on the received identifier, reads the traffic road condition data from the readable cache region, and sends the traffic road condition data to the client;
and the client receives the traffic road condition data sent by the server.
The generating of the identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
The step of searching the readable cache region bound by the identifier based on the received identifier and reading the traffic road condition data from the cache region specifically comprises the following steps:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
The method further comprises the following steps: and after the client finishes acquiring the traffic road condition data, deleting the identifier and sending an identifier deleting request to the server.
The method further comprises the following steps: and the server receives the identifier deleting request, deletes the identifier and releases the binding relationship between the identifier and the cache region.
The server updates traffic condition data by using a dual buffer area structure, and before executing data updating, the server initializes the dual buffer area, wherein the initialization operation comprises the following steps:
respectively distributing the memory structures of the double cache regions;
setting a reading identifier of a cache region and initializing a timestamp;
and setting a reading identifier of another cache region and initializing the time stamp.
After the initialization operation is completed, the server needs to update the traffic road condition data in the cache area, including:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region, and setting a timestamp of the cache region;
the buffer area written with the traffic road condition data is set to be readable, and the other buffer area is set to be writable.
The invention also provides a method for ensuring the data acquisition consistency, which comprises the following steps:
sending an identification acquisition request to a server;
receiving an identifier sent by a server, wherein the identifier is generated by the server and is bound with a readable cache region, and the identifier is used for uniquely representing the readable cache region;
sending a traffic road condition data acquisition request carrying the identifier to a server;
and receiving traffic road condition data sent by a server, wherein the traffic road condition data is the traffic road condition data which is obtained by searching the readable cache region bound by the identifier based on the received identifier and reading the readable cache region.
The server generates an identifier bound with the readable cache area, specifically:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
The server searches a readable cache region bound by the identifier based on the received identifier, and reads traffic road condition data from the cache region, specifically:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
The method further comprises the following steps: and after the traffic road condition data is acquired, deleting the identifier and sending an identifier deleting request to the server.
The invention also provides a method for ensuring the data acquisition consistency, which comprises the following steps:
receiving an identification acquisition request sent by a client;
generating an identifier bound with a readable cache region, and sending the identifier to the client, wherein the identifier is used for uniquely representing the readable cache region;
and receiving a traffic road condition data acquisition request carrying the identification sent by the client, searching the readable cache region bound by the identification based on the received identification, reading traffic road condition data from the readable cache region, and sending the traffic road condition data to the client.
The generating of the identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
The step of searching the readable cache region bound by the identifier based on the received identifier and reading the traffic road condition data from the cache region specifically comprises the following steps:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
The method further comprises the following steps: and receiving an identifier deleting request sent by the client, deleting the identifier, and releasing the binding relationship between the identifier and the cache region.
Updating traffic road condition data by using a double-buffer area structure, and initializing the double-buffer area before executing data updating, wherein the initialization operation comprises the following steps:
respectively distributing the memory structures of the double cache regions;
setting a reading identifier of a cache region and initializing a timestamp;
and setting a reading identifier of another cache region and initializing the time stamp.
After the initialization operation is completed, updating the traffic road condition data in the cache area, including:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region, and setting a timestamp of the cache region;
the buffer area written with the traffic road condition data is set to be readable, and the other buffer area is set to be writable.
The invention also provides a system for ensuring the data acquisition consistency, which comprises the client and the server.
The client is used for sending an identification acquisition request to the server and sending a traffic road condition data acquisition request carrying the identification; receiving the identification sent by the server and receiving the traffic road condition data sent by the server;
the server is used for receiving the identification acquisition request, generating an identification bound with a readable cache region and sending the identification to the client, wherein the identification is used for uniquely representing the readable cache region; and receiving the traffic road condition data acquisition request, searching a readable cache region bound by the identifier based on the received identifier, reading the traffic road condition data from the readable cache region, and sending the traffic road condition data to the client.
The generating of the identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
The step of searching the readable cache area bound by the identifier based on the received identifier and reading the traffic road condition data from the readable cache area specifically comprises the following steps:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
And the client is also used for deleting the identification after the traffic road condition data is acquired, and sending an identification deleting request to the server.
And the server is also used for receiving the identifier deleting request, deleting the identifier and releasing the binding relationship between the identifier and the cache region.
The server updates traffic condition data by using a dual buffer area structure, and before executing data updating, the server initializes the dual buffer area, wherein the initialization operation comprises the following steps:
respectively distributing the memory structures of the double cache regions;
setting a reading identifier of a cache region and initializing a timestamp;
and setting a reading identifier of another cache region and initializing the time stamp.
After the initialization operation is completed, the server needs to update the traffic road condition data in the cache area, including:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region, and setting a timestamp of the cache region;
the buffer area written with the traffic road condition data is set to be readable, and the other buffer area is set to be writable.
The invention also provides a device for ensuring the data acquisition consistency, which comprises a sending unit and a receiving unit.
The sending unit is used for sending an identification obtaining request to the server and sending a traffic road condition data obtaining request carrying the identification to the server;
the receiving unit is used for receiving an identifier sent by a server, wherein the identifier is generated by the server and is bound with a readable cache region, and the identifier is used for uniquely representing the readable cache region; and receiving traffic road condition data sent by the server, wherein the traffic road condition data is read from a readable cache region which is bound by the identifier and searched by the server based on the received identifier.
The server generates an identifier bound with the readable cache area, specifically:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
The server searches the readable cache region bound by the identifier based on the received identifier, and reads the traffic road condition data from the readable cache region, specifically:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
The device also comprises a deleting unit used for deleting the identification after the traffic road condition data is acquired.
The sending unit is further configured to send an identifier deletion request to the server after deleting the identifier.
The invention also provides a device for ensuring the data acquisition consistency, which comprises a receiving unit, a sending unit, a generating unit and a searching unit.
The receiving unit is used for receiving an identification acquisition request sent by a client and receiving a traffic road condition data acquisition request carrying the identification sent by the client;
the generating unit is used for generating an identifier bound with a readable cache area after receiving the identifier acquisition request, wherein the identifier is used for uniquely representing the readable cache area;
the searching unit is used for searching the readable cache region bound by the identification based on the received identification after receiving the traffic road condition data acquisition request, and reading the traffic road condition data from the readable cache region;
and the sending unit is used for sending the identification to the client and sending the traffic road condition data read from the cache region to the client.
The generating of the identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
The step of searching the readable cache area bound by the identifier based on the received identifier and reading the traffic road condition data from the readable cache area specifically comprises the following steps:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
The device further comprises a release unit, and the receiving unit is further configured to receive an identifier deletion request sent by the client; and the releasing unit deletes the identifier and releases the binding relationship between the identifier and the cache region after the receiving unit receives the identifier deletion request.
The apparatus further includes an initialization unit that updates traffic condition data using a dual buffer area structure, the initialization unit initializing the dual buffer area before performing data update, the initialization operation including:
respectively distributing the memory structures of the double cache regions;
setting a reading identifier of a cache region and initializing a timestamp;
and setting a reading identifier of another cache region and initializing the time stamp.
The device comprises an updating unit, wherein the updating unit is used for updating the traffic road condition data in the cache region after the initialization operation is completed, and the updating unit specifically comprises:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region, and setting a timestamp of the cache region;
the buffer area written with the traffic road condition data is set to be readable, and the other buffer area is set to be writable.
The present invention also provides an electronic device, the device comprising:
a storage device;
one or more processors;
wherein the storage device is used for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of ensuring data acquisition consistency as claimed in any one of claims 8-17.
The present invention also provides a computer program product comprising computer program instructions for implementing a method of ensuring data acquisition consistency as described above when the instructions are executed by a processor.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed, implements a method of ensuring data acquisition consistency as described above.
Compared with the prior art, the method and the device have the advantages that before the double cache regions are used for acquiring the road condition data, the request identification requesting a certain data batch, namely the session ID identification, is bound with one cache region, and then when the traffic road condition data of the data batch is requested, the session ID identification is used for directly indexing the data batch in the corresponding cache region. .
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for ensuring data acquisition consistency according to a first embodiment of the present invention;
fig. 2 is a message flow diagram of a method for ensuring data acquisition consistency according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a method for ensuring data acquisition consistency according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a method for ensuring data acquisition consistency according to a third embodiment of the present invention;
FIG. 5 is a diagram of a system for ensuring data acquisition consistency according to a fourth embodiment of the present invention;
FIG. 6 is a block diagram of an apparatus for ensuring consistency of data acquisition according to a fifth embodiment of the present invention;
FIG. 7 is a block diagram of a method for ensuring data acquisition consistency according to a sixth embodiment of the present invention;
FIG. 8 is a buffer initialization and read write flow diagram of the present invention;
fig. 9 is a flowchart of a method for managing traffic road condition data at a server side in the prior art;
Detailed Description
To facilitate understanding and implementing the present invention for those skilled in the art, the following technical solutions of the present invention are described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 order to ensure that the requested traffic road condition data are all in one data batch, before the terminal acquires the traffic road condition data, the terminal applies for the request identification of the data acquisition, the server generates a request identification and binds the request identification with the readable cache region, so that the identification is bound with the traffic road condition data of a certain batch, and the request identification can be directly used for requesting acquisition only for acquiring the traffic road condition data of the batch subsequently, so that the traffic road condition data acquired for many times can be ensured to belong to a uniform data batch, and the problem of inconsistent data acquisition batches caused by switching of the cache regions is avoided.
Example one
Referring to fig. 1 and 2, according to an embodiment of the present invention, there is provided a method for ensuring data acquisition consistency, including:
(1) the client sends an identification acquisition request to the server, wherein the identification is used for requesting traffic road condition data of a certain data batch, and the acquired identification can be a session identification represented by a session ID.
Before acquiring the traffic road condition data, the client sends the request to the server to acquire an identifier which uniquely represents a readable cache area in the server.
(2) And the server receives the identifier acquisition request, generates the session ID identifier bound with the readable cache region, and returns the session ID identifier to the client.
The session ID identifier bound to the readable cache region may be generated according to the information of the readable cache region, and since the traffic road condition data in the readable cache region all represent the same data batch, the identifier is bound to the cache region, that is, the identifier is bound to the traffic road condition data of one data batch, so that the session ID identifier can uniquely represent the traffic road condition data of one data batch. The subsequent client can directly use the session ID identification to acquire traffic road condition data, and the server searches the cache region based on the identification and can accurately position the traffic road condition data of the same data batch in the cache region.
Further, the generating the session ID identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the session ID through the reading identifier and the timestamp of the readable cache region.
Because the session ID is generated based on the read identifier and the timestamp of the readable cache region, when the session ID is subsequently used to request to acquire traffic road condition data, the corresponding readable cache region can be found through the session ID, and when the traffic road condition data is requested to be read for multiple times, the read data are in the same cache region and the same timestamp, so that the consistency of data reading can be ensured.
(3) And the client sends a traffic road condition data acquisition request carrying the session ID identification to the server.
When the client acquires the traffic road condition data of the same data batch, the client can send a traffic road condition data acquisition request to the server for multiple times, and the same session ID is carried in the traffic road condition data acquisition request sent each time.
In fig. 2, the client obtains the complete traffic road condition data of the same batch by sending the data acquisition request twice, and in the actual process, the sending times are determined based on the data size and the network transmission capacity. The same session ID is contained in the acquisition request sent each time, so that the server can confirm and read the data in the same cache region according to the same session ID after receiving the acquisition requests sent for many times each time, and the consistency of the acquired data batches is ensured.
(4) After receiving the traffic road condition data acquisition request, the server searches the readable cache region bound by the session ID based on the session ID, reads the traffic road condition data from the cache region, and sends the traffic road condition data to the client. In fig. 2, after receiving the traffic road condition data acquisition request each time, the server needs to disassemble the session ID to determine its cache region.
Further, the step of searching the readable cache region bound by the session ID based on the session ID, and reading traffic road condition data from the cache region specifically includes:
resolving the session ID into a reading identifier and a timestamp of a cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
(5) And the client receives the traffic road condition data sent by the server.
(6) And after the client finishes acquiring the traffic road condition data, deleting the session ID, and sending an identifier deleting request for deleting the session ID to the server.
(7) And after receiving the identifier deleting request for deleting the session ID identifier, the server deletes the session ID identifier and releases the binding relationship between the session ID identifier and the cache region.
Further, the server updates the traffic condition data by using a dual buffer area structure, and before performing data update, the server initializes the dual buffer area, which is shown in fig. 8, and the initializing operation includes:
allocating memory structures of a cache area A and a cache area B;
setting a reading identifier of a cache area A and initializing a timestamp;
and setting a reading identifier of the buffer B and initializing a time stamp.
Further, after the initialization operation is completed, the updating of the traffic road condition data in the cache region by the server includes:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region A, and setting a timestamp of the cache region A;
buffer a is set to be readable and buffer B is set to be writable.
Example two
Referring to fig. 3, according to an embodiment of the present invention, a method for ensuring data acquisition consistency is provided, where the method includes:
(1) and sending an identification acquisition request to a server, wherein the identification is used for requesting traffic road condition data of a certain data batch, and the acquired identification can be a session identification represented by a session ID.
Before acquiring the traffic road condition data, the client sends the request to the server to acquire an identifier which uniquely represents a readable cache area in the server.
(2) And receiving the session ID identification sent by the server, wherein the session ID identification is generated by the server and is bound with the readable cache region, and the identification is used for uniquely representing the readable cache region.
The server can generate the session ID bound with the readable cache region according to the information of the readable cache region, and since the traffic road condition data in the readable cache region all represent the same data batch, the session ID can uniquely represent the traffic road condition data of one data batch by binding the identifier with the cache region, that is, by binding the identifier with the traffic road condition data of one data batch. The subsequent client can directly use the session ID identification to acquire traffic road condition data, and the server searches the cache region based on the identification and can accurately position the traffic road condition data of the same data batch in the cache region.
Further, the server generates an identifier bound to the readable cache area, specifically:
confirming a readable cache area;
and generating the session ID through the reading identifier and the timestamp of the readable cache region.
Because the session ID is generated based on the read identifier and the timestamp of the readable cache region, when the session ID is subsequently used to request to acquire traffic road condition data, the corresponding readable cache region can be found through the session ID, and when the traffic road condition data is requested to be read for multiple times, the read data are in the same cache region and the same timestamp, so that the consistency of data reading can be ensured.
(3) And sending a traffic road condition data acquisition request carrying the session ID identification to a server.
When acquiring traffic road condition data of the same data batch, the client may send a traffic road condition data acquisition request to the server for multiple times, and the traffic road condition data acquisition request sent each time carries the same session ID.
(4) And receiving the traffic road condition data sent by the server. And the traffic road condition data is the traffic road condition data which is read from the readable cache region by the server based on the received session ID identifier to search the readable cache region bound by the session ID identifier.
Further, the server searches the readable cache region bound by the session ID identifier based on the received session ID identifier, and reads traffic road condition data from the cache region, specifically:
resolving the session ID into a reading identifier and a timestamp of a cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
(5) And after the traffic road condition data request is completed, deleting the session ID identification, and sending an identification deleting request for deleting the session ID identification to the server. And after receiving an identifier deleting request for deleting the session ID identifier, the server deletes the session ID identifier and releases the binding relationship between the session ID identifier and the cache region.
EXAMPLE III
Referring to fig. 4, according to an embodiment of the present invention, a method for ensuring data acquisition consistency is provided, where the method includes:
(1) receiving an identification acquisition request sent by a client, wherein the identification is used for requesting traffic road condition data of a certain data batch, and the acquired identification can be a session identification represented by a session ID.
Before acquiring the traffic road condition data, the client sends the request to the server to acquire an identifier which uniquely represents a readable cache area in the server.
(2) And generating the session ID identifier bound with the readable cache region, and sending the session ID identifier to the client. The identifier is used for uniquely representing the readable cache region.
The session ID identifier bound to the readable cache region may be generated according to the information of the readable cache region, and since the traffic road condition data in the readable cache region all represent the same data batch, the identifier is bound to the cache region, that is, the identifier is bound to the traffic road condition data of one data batch, so that the session ID identifier can uniquely represent the traffic road condition data of one data batch. The subsequent client can directly use the session ID identification to acquire traffic road condition data, and the server searches the cache region based on the identification and can accurately position the traffic road condition data of the same data batch in the cache region.
Further, the generating the session ID identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the session ID through the reading identifier and the timestamp of the readable cache region.
Because the session ID is generated based on the read identifier and the timestamp of the readable cache region, when the session ID is subsequently used to request to acquire traffic road condition data, the corresponding readable cache region can be found through the session ID, and when the traffic road condition data is requested to be read for multiple times, the read data are in the same cache region and the same timestamp, so that the consistency of data reading can be ensured.
(3) And receiving a traffic road condition data acquisition request which is sent by the client and carries the session ID identification, searching the readable cache region bound by the session ID identification based on the session ID identification, reading traffic road condition data from the cache region, and sending the traffic road condition data to the client.
And when the client side acquires the traffic road condition data of the same data batch, sending a traffic road condition data acquisition request to the server, wherein the traffic road condition data acquisition request sent each time carries the same sessionID.
Further, the step of searching the readable cache region bound by the session ID based on the session ID, and reading traffic road condition data from the cache region specifically includes:
resolving the session ID into a reading identifier and a timestamp of a cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
(4) And receiving an identifier deleting request sent by the client, deleting the session ID identifier, and releasing the binding relationship between the session ID identifier and the cache region.
The identification deleting request is sent after the client finishes the traffic road condition data request.
Further, the server updates the traffic condition data by using a dual buffer area structure, and before performing data update, the server initializes the dual buffer area, which is shown in fig. 8, and the initializing operation includes:
allocating memory structures of a cache area A and a cache area B;
setting a reading identifier of a cache area A and initializing a timestamp;
and setting a reading identifier of the buffer B and initializing a time stamp.
Further, after the initialization operation is completed, the updating of the traffic road condition data in the cache region by the server includes:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region A, and setting a timestamp of the cache region A;
buffer a is set to be readable and buffer B is set to be writable.
Example four
Referring to fig. 5, an embodiment of the present invention provides a system for ensuring data acquisition consistency, where the system includes a client and a server.
The client is used for sending an identification acquisition request for acquiring the session ID identification to the server and receiving the session ID identification from the server; and sending a traffic road condition data acquisition request carrying the session ID identification to a server, and receiving the traffic road condition data in the readable cache region sent by the server.
And the client is also used for deleting the session ID after the traffic road condition data request is completed, and sending an identifier deleting request for deleting the session ID to the server.
The server is used for receiving an identification acquisition request which is sent by the client and used for acquiring a session ID identification, generating the session ID identification bound with a readable cache region, and sending the session ID identification to the client, wherein the session ID identification is used for uniquely representing the readable cache region; and receiving the traffic road condition data acquisition request, searching a readable cache region bound by the session ID based on the received session ID, reading traffic road condition data from the cache region, and sending the traffic road condition data to the client.
And the server is also used for deleting the session ID identification and releasing the binding relationship between the session ID identification and the cache region after receiving an identification deletion request which is sent by the client and used for deleting the session ID identification.
Further, the generating of the session ID identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the session ID through the reading identifier and the timestamp of the readable cache region.
Further, the step of searching for a readable cache area bound by the session ID based on the received session ID, and reading traffic road condition data from the cache area specifically includes:
resolving the session ID into a reading identifier and a timestamp of a cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
Further, the server updates the traffic condition data by using a dual buffer area structure, and before performing data update, the server initializes the dual buffer area, which is shown in fig. 8, and the initializing operation includes:
allocating memory structures of a cache area A and a cache area B;
setting a reading identifier of a cache area A and initializing a timestamp;
and setting a reading identifier of the buffer B and initializing a time stamp.
Further, after the initialization operation is completed, the updating of the traffic road condition data in the cache region by the server includes:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region A, and setting a timestamp of the cache region A;
buffer a is set to be readable and buffer B is set to be writable.
EXAMPLE five
Referring to fig. 6, an apparatus for ensuring data acquisition consistency according to an embodiment of the present invention includes: a transmitting unit and a receiving unit.
The sending unit is used for sending an identification obtaining request for obtaining the session ID identification to the server and sending a traffic road condition data obtaining request carrying the session ID identification to the server.
The receiving unit is used for receiving a session ID identifier sent by the server, wherein the session ID identifier is generated by the server and is bound with the readable cache region, and the session ID identifier is used for uniquely representing the readable cache region; and receiving traffic road condition data sent by the server, wherein the traffic road condition data is read from a readable cache region which is bound by the session ID identifier and searched by the server based on the received session ID identifier.
Further, the server generates an identifier bound to the readable cache area, specifically:
confirming a readable cache area;
and generating the session ID through the reading identifier and the timestamp of the readable cache region.
Further, the server searches for a readable cache region bound by the session ID identifier based on the received session ID identifier, and reads traffic road condition data from the cache region, specifically:
resolving the session ID into a reading identifier and a timestamp of a cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
Further, the device further comprises a deleting unit, configured to delete the session ID after the traffic road condition data request is completed.
The sending unit is further configured to send an identifier deletion request for deleting the session ID to the server after the session ID identifier is deleted, so that the server deletes the session ID identifier after receiving the identifier deletion request, and releases the binding relationship between the session ID identifier and the cache area.
EXAMPLE six
Referring to fig. 7, an apparatus for ensuring data acquisition consistency according to an embodiment of the present invention includes: the device comprises a receiving unit, a sending unit, a generating unit and a searching unit.
The receiving unit is used for receiving an identifier acquisition request for acquiring a session ID identifier sent by a client; and receiving a traffic road condition data acquisition request which is sent by the client and carries the session ID identification.
The generating unit is configured to generate the session ID bound to a readable cache area after receiving the identifier obtaining request, where the session ID is used to uniquely indicate the readable cache area.
And the searching unit is used for searching the readable cache region bound by the session ID identification based on the received session ID identification after receiving the traffic road condition data acquisition request, and reading the traffic road condition data from the cache region.
And the sending unit is used for sending the session ID identification to the client and sending the traffic road condition data read from the cache region to the client.
Further, the generating the session ID identifier bound to the readable cache area specifically includes:
confirming a readable cache area;
and generating the session ID through the reading identifier and the timestamp of the readable cache region.
Further, the step of searching for a readable cache area bound by the session ID based on the received session ID, and reading traffic road condition data from the cache area specifically includes:
resolving the session ID into a reading identifier and a timestamp of a cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
Further, the receiving unit is further configured to receive an identifier deletion request sent by the client to delete the session ID.
Further, the device further includes a releasing unit, configured to delete the session ID after receiving an identifier deletion request sent by the client, and release the binding relationship between the session ID and the cache area.
Further, the apparatus further includes an initialization unit for updating the traffic condition data using the dual buffer area structure, and the initialization unit initializes the dual buffer area before performing the data update, where the initialization includes:
allocating memory structures of a cache area A and a cache area B;
setting a reading identifier of a cache area A and initializing a timestamp;
and setting a reading identifier of the buffer B and initializing a time stamp.
Further, the apparatus further includes an updating unit, where the updating unit is configured to update the traffic road condition data in the cache area after the initialization operation is completed, and specifically includes:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region A, and setting a timestamp of the cache region A;
buffer a is set to be readable and buffer B is set to be writable.
In the above embodiment, before obtaining the traffic data using the dual cache regions, the request identifier that requests a certain data batch, i.e., the session ID identifier, is bound to one cache region, and then when requesting the traffic data of this data batch, the session ID identifier is used to directly index the data batch in the corresponding cache region.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, modules and units may refer to the corresponding processes of the foregoing method embodiments, and are not described herein again.
In addition, the embodiment of the invention also discloses an electronic device, which comprises a storage device and one or more processors, wherein the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the method according to the first to third embodiments.
The embodiment of the invention also discloses a computer program product which comprises computer program instructions and is used for realizing the method in the first embodiment to the third embodiment when the instructions are executed by a processor.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed, the method of the embodiment one to the third is realized.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart and block diagrams may represent a unit, module, segment, or portion of code, which comprises one or more computer-executable instructions for implementing the logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. It will also be noted that each block of the block diagrams and flowchart illustrations, and combinations of blocks in the block diagrams and flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
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.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention, and is provided by way of illustration only and not limitation. It will be apparent to those skilled in the art from this disclosure that various other changes and modifications can be made without departing from the spirit and scope of the invention.
Claims (20)
1. A method for ensuring data acquisition consistency, comprising the steps of:
a client sends an identification acquisition request to a server;
the server receives the identification obtaining request, generates an identification bound with a readable cache region, and sends the identification to the client, wherein the identification is used for uniquely representing the readable cache region;
the client receives the identification sent by the server and sends a traffic road condition data acquisition request carrying the identification to the server;
the server receives the traffic road condition data acquisition request, searches the readable cache region bound by the identifier based on the received identifier, reads the traffic road condition data from the readable cache region, and sends the traffic road condition data to the client;
and the client receives the traffic road condition data sent by the server.
2. The method of claim 1, wherein the generating the identifier bound to the readable cache area comprises:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
3. The method according to claim 1 or 2, wherein the step of searching the readable cache area bound to the identifier based on the received identifier reads traffic road condition data from the cache area, specifically:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
4. The method of claim 1, wherein the method further comprises:
after the client finishes acquiring the traffic road condition data, deleting the identifier and sending an identifier deleting request to the server;
and the server receives the identifier deleting request, deletes the identifier and releases the binding relationship between the identifier and the cache region.
5. The method of claim 1,
the server updates traffic condition data by using a dual buffer area structure, and before executing data updating, the server initializes the dual buffer area, wherein the initialization operation comprises the following steps:
respectively distributing the memory structures of the double cache regions;
setting a reading identifier of a cache region and initializing a timestamp;
and setting a reading identifier of another cache region and initializing the time stamp.
6. The method as claimed in claim 5, wherein after the initialization operation is completed, the server is to update the traffic condition data in the buffer, including:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region, and setting a timestamp of the cache region;
the buffer area written with the traffic road condition data is set to be readable, and the other buffer area is set to be writable.
7. A method for ensuring data acquisition consistency, comprising the steps of:
sending an identification acquisition request to a server;
receiving an identifier sent by a server, wherein the identifier is generated by the server and is bound with a readable cache region, and the identifier is used for uniquely representing the readable cache region;
sending a traffic road condition data acquisition request carrying the identifier to a server;
and receiving traffic road condition data sent by a server, wherein the traffic road condition data is the traffic road condition data which is obtained by searching the readable cache region bound by the identifier based on the received identifier and reading the readable cache region.
8. The method of claim 7, wherein the server generates the identifier bound to the readable cache area, and specifically comprises:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
9. The method according to claim 7 or 8, wherein the server searches the readable cache area bound to the identifier based on the received identifier, and reads the traffic road condition data from the cache area, specifically:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
10. A method for ensuring data acquisition consistency, comprising the steps of:
receiving an identification acquisition request sent by a client;
generating an identifier bound with a readable cache region, and sending the identifier to the client, wherein the identifier is used for uniquely representing the readable cache region;
and receiving a traffic road condition data acquisition request carrying the identification sent by the client, searching the readable cache region bound by the identification based on the received identification, reading traffic road condition data from the readable cache region, and sending the traffic road condition data to the client.
11. The method according to claim 10, wherein the generating the identifier bound to the readable cache area comprises:
confirming a readable cache area;
and generating the identification based on the read identification and the timestamp of the readable cache region.
12. The method according to claim 10 or 11, wherein the step of searching the readable cache area bound to the identifier based on the received identifier reads traffic road condition data from the cache area, specifically:
resolving the identifier into a reading identifier and a time stamp of the cache region;
finding out the corresponding cache region through the reading identifier of the cache region;
and after the consistency between the timestamp obtained after the cache region can be read and disassembled and the timestamp of the cache region is confirmed, reading the traffic road condition data from the cache region.
13. The method of claim 10, wherein the traffic condition data is updated using a dual buffer structure, and the dual buffer is initialized before the data update is performed, the initializing comprising:
respectively distributing the memory structures of the double cache regions;
setting a reading identifier of a cache region and initializing a timestamp;
and setting a reading identifier of another cache region and initializing the time stamp.
14. The method as claimed in claim 13, wherein after the initialization operation is completed, updating the traffic condition data in the buffer area comprises:
when the traffic road condition data is updated, writing the traffic road condition data into a cache region, and setting a timestamp of the cache region;
the buffer area written with the traffic road condition data is set to be readable, and the other buffer area is set to be writable.
15. A system for ensuring data acquisition consistency, comprising a client and a server,
the client is used for sending an identification acquisition request to the server and sending a traffic road condition data acquisition request carrying the identification; receiving the identification sent by the server and receiving the traffic road condition data sent by the server;
the server is used for receiving the identification acquisition request, generating an identification bound with a readable cache region and sending the identification to the client, wherein the identification is used for uniquely representing the readable cache region; and receiving the traffic road condition data acquisition request, searching a readable cache region bound by the identifier based on the received identifier, reading the traffic road condition data from the readable cache region, and sending the traffic road condition data to the client.
16. An apparatus for ensuring data acquisition consistency, the apparatus comprising a sending unit and a receiving unit,
the sending unit is used for sending an identification obtaining request to the server and sending a traffic road condition data obtaining request carrying the identification to the server;
the receiving unit is used for receiving an identifier sent by a server, wherein the identifier is generated by the server and is bound with a readable cache region, and the identifier is used for uniquely representing the readable cache region; and receiving traffic road condition data sent by the server, wherein the traffic road condition data is read from a readable cache region which is bound by the identifier and searched by the server based on the received identifier.
17. An apparatus for ensuring data acquisition consistency, the apparatus comprising a receiving unit, a transmitting unit, a generating unit and a searching unit,
the receiving unit is used for receiving an identification acquisition request sent by a client and receiving a traffic road condition data acquisition request carrying the identification sent by the client;
the generating unit is used for generating an identifier bound with a readable cache area after receiving the identifier acquisition request, wherein the identifier is used for uniquely representing the readable cache area;
the searching unit is used for searching the readable cache region bound by the identification based on the received identification after receiving the traffic road condition data acquisition request, and reading the traffic road condition data from the readable cache region;
and the sending unit is used for sending the identification to the client and sending the traffic road condition data read from the cache region to the client.
18. An electronic device, characterized in that the device comprises:
a storage device;
one or more processors;
wherein the storage means is for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of ensuring data acquisition consistency as claimed in any one of claims 7 to 14.
19. A computer program product comprising computer program instructions for implementing a method of ensuring data acquisition consistency as claimed in any one of claims 7 to 14 when said instructions are executed by a processor.
20. A computer-readable storage medium, on which a computer program is stored which, when executed, implements a method of ensuring data acquisition consistency as claimed in any one of claims 7 to 14.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910285021.5A CN111818108B (en) | 2019-04-10 | 2019-04-10 | Method and device for ensuring data acquisition consistency |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910285021.5A CN111818108B (en) | 2019-04-10 | 2019-04-10 | Method and device for ensuring data acquisition consistency |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111818108A true CN111818108A (en) | 2020-10-23 |
| CN111818108B CN111818108B (en) | 2022-07-19 |
Family
ID=72844241
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910285021.5A Active CN111818108B (en) | 2019-04-10 | 2019-04-10 | Method and device for ensuring data acquisition consistency |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111818108B (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007025843A (en) * | 2005-07-13 | 2007-02-01 | Nippon Hoso Kyokai <Nhk> | Data storage device and version management program |
| US20070156972A1 (en) * | 2006-01-04 | 2007-07-05 | Keitaro Uehara | Cache coherency control method, chipset, and multi-processor system |
| CN103092775A (en) * | 2013-01-31 | 2013-05-08 | 武汉大学 | Spatial data double cache method and mechanism based on key value structure |
| US20130282984A1 (en) * | 2011-11-28 | 2013-10-24 | Huawei Technologies Co., Ltd. | Data caching method and apparatus |
| US9201897B1 (en) * | 2013-03-14 | 2015-12-01 | The Mathworks, Inc. | Global data storage combining multiple back-end storage devices |
| CN105612488A (en) * | 2014-09-15 | 2016-05-25 | 华为技术有限公司 | Data write request handling method and storage array |
| CN107092525A (en) * | 2016-02-18 | 2017-08-25 | 深圳市深信服电子科技有限公司 | data cache method and device |
| CN107133132A (en) * | 2013-07-26 | 2017-09-05 | 华为技术有限公司 | Data sending method, data receiving method and storage device |
| CN107835983A (en) * | 2015-04-16 | 2018-03-23 | 诺宝公司 | Backup-and-restore is carried out in distributed data base using consistent database snapshot |
| CN108920092A (en) * | 2018-05-07 | 2018-11-30 | 北京奇艺世纪科技有限公司 | Data manipulation method, device and the electronic equipment of internal storage data |
-
2019
- 2019-04-10 CN CN201910285021.5A patent/CN111818108B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007025843A (en) * | 2005-07-13 | 2007-02-01 | Nippon Hoso Kyokai <Nhk> | Data storage device and version management program |
| US20070156972A1 (en) * | 2006-01-04 | 2007-07-05 | Keitaro Uehara | Cache coherency control method, chipset, and multi-processor system |
| US20130282984A1 (en) * | 2011-11-28 | 2013-10-24 | Huawei Technologies Co., Ltd. | Data caching method and apparatus |
| CN103092775A (en) * | 2013-01-31 | 2013-05-08 | 武汉大学 | Spatial data double cache method and mechanism based on key value structure |
| US9201897B1 (en) * | 2013-03-14 | 2015-12-01 | The Mathworks, Inc. | Global data storage combining multiple back-end storage devices |
| CN107133132A (en) * | 2013-07-26 | 2017-09-05 | 华为技术有限公司 | Data sending method, data receiving method and storage device |
| CN105612488A (en) * | 2014-09-15 | 2016-05-25 | 华为技术有限公司 | Data write request handling method and storage array |
| CN107835983A (en) * | 2015-04-16 | 2018-03-23 | 诺宝公司 | Backup-and-restore is carried out in distributed data base using consistent database snapshot |
| CN107092525A (en) * | 2016-02-18 | 2017-08-25 | 深圳市深信服电子科技有限公司 | data cache method and device |
| CN108920092A (en) * | 2018-05-07 | 2018-11-30 | 北京奇艺世纪科技有限公司 | Data manipulation method, device and the electronic equipment of internal storage data |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111818108B (en) | 2022-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106527958B (en) | Method and equipment for writing data and acquiring data for distributed storage system | |
| US8131675B2 (en) | Map data delivering device, communication terminal, and map delivering method | |
| CN107786638B (en) | A data processing method, device and system | |
| KR20090006743A (en) | Map data distribution system and map data update method | |
| CN111274252A (en) | Block chain data chaining method, device, storage medium and server | |
| CN109495461B (en) | Data access request processing method, device and vehicle-mounted central control system | |
| CN105512320A (en) | User ranking obtaining method and device and server | |
| CN110887499A (en) | Method and terminal for processing road data and interest point data in map | |
| CN105141672A (en) | Method, device and system for data storage | |
| CN111309266A (en) | Distributed storage metadata system log optimization system and method based on ceph | |
| CN116108120A (en) | Grid indexing method for track data, track data searching method and track data searching device | |
| KR100532144B1 (en) | Map information providing system and method thereof | |
| CN113505103A (en) | File processing method and device, storage medium and electronic device | |
| CN111694848A (en) | Method and apparatus for updating data buffer using reference count | |
| CN111475514A (en) | Map data making method, map data updating device, medium and equipment | |
| CN112445986B (en) | Cache information updating method, pushing method, device and medium | |
| CN111818108B (en) | Method and device for ensuring data acquisition consistency | |
| CN111641690A (en) | Session message processing method and device and electronic equipment | |
| CN116595025A (en) | Dynamic updating method, terminal and medium of vector tile | |
| CN106371867B (en) | Financial equipment software updating method and system | |
| JP4380097B2 (en) | Map information update system, map information processing apparatus, and map information providing apparatus | |
| CN105550347B (en) | Data processing method and device | |
| CN116069788B (en) | Data processing method, database system, computer device, and storage medium | |
| CN115002196B (en) | Data processing method and device and vehicle end acquisition equipment | |
| CN116010517A (en) | Blockchain-based data processing method, device, equipment and readable 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 |