CN106254456B - Data synchronization method and data synchronization system - Google Patents

Data synchronization method and data synchronization system Download PDF

Info

Publication number
CN106254456B
CN106254456B CN201610631401.6A CN201610631401A CN106254456B CN 106254456 B CN106254456 B CN 106254456B CN 201610631401 A CN201610631401 A CN 201610631401A CN 106254456 B CN106254456 B CN 106254456B
Authority
CN
China
Prior art keywords
data
network server
image data
feature extraction
state
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.)
Active
Application number
CN201610631401.6A
Other languages
Chinese (zh)
Other versions
CN106254456A (en
Inventor
林俊郯
王晶
王贝珊
苏哲昆
贾思博
张广程
李庆林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN201610631401.6A priority Critical patent/CN106254456B/en
Publication of CN106254456A publication Critical patent/CN106254456A/en
Application granted granted Critical
Publication of CN106254456B publication Critical patent/CN106254456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data synchronization method and a data synchronization system, wherein the data synchronization method comprises the following steps: a network server receives a first data message sent by a user terminal, wherein the first data message comprises: image data; the network server processes data according to the image data and updates a state identifier according to the data processing result, wherein the state identifier is used for representing the current synchronous state of the image data at a network end; when the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: and (5) state identification. The technical scheme provided by the invention can effectively solve the problem of data synchronization in the image retrieval system.

Description

Data synchronization method and data synchronization system
Technical Field
The present invention relates to the field of data processing, and in particular, to a data synchronization method and a data synchronization system.
Background
In the case investigation and handling process of the public security department, image investigation needs to be carried out through an image retrieval system. The image detection, namely the video image detection, refers to finding out detection clues through calling, watching, analyzing and studying and judging on-site and peripheral monitoring images according to the needs of cases, and combines modern technological means with traditional detection measures to form a method system for realizing the purposes of fighting and preventing and controlling criminal crimes by multi-party participation and overall operation, and is an important component for obtaining evidences and clues in the detection and handling process of public security organs.
In the image retrieval system, image data needs to be uploaded to a network server from a user terminal for storage, and after the image data is successfully written into a database, the image data is sent to a comparison server for feature extraction. Because the process relates to multi-terminal network transmission, problems of network interruption, slow network response, server error and the like can occur, and the problems can cause that image data is not processed at a comparison server after being stored at a network server, so that the data is asynchronous.
Disclosure of Invention
The invention provides a data synchronization method and a data synchronization system, which are used for solving the problem of data synchronization in an image retrieval system.
A first aspect of the present invention provides a data synchronization method, including:
a network server receives a first data message sent by a user terminal, wherein the first data message comprises: image data;
the network server processes data according to the image data and updates a state identifier according to the data processing result, wherein the state identifier is used for representing the current synchronous state of the image data at a network end;
when the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: and (5) state identification.
A second aspect of the present invention provides a data synchronization system, including:
the system comprises a user terminal, a network server and a comparison server;
the user terminal is configured to send a first data packet to a network server, where the first data packet includes: image data; receiving a first data feedback message sent by the network server, where the first data feedback message includes: the state identifier is used for representing the synchronization state of the image data at the network end;
the network server is used for receiving a first data message sent by the user terminal, processing data according to the image data and updating the state identifier according to the data processing result; when the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: state identification;
the comparison server is used for receiving a second data message sent by the network server and acquiring the image data in the second data message; performing feature extraction on the image data; and feeding back the feature extraction result to the network server.
As can be seen from the above, in the embodiment of the present invention, after receiving a first data packet sent by a user terminal and performing data processing according to image data in the first data packet, a network server updates a state identifier according to a data processing result, and when the network server determines that a data synchronization process is finished, the network server feeds back the state identifier to the user terminal; the state identifier is used for representing the synchronization state of the image data at the network end currently, so that the user terminal can timely acquire the synchronization state of the image data at the network end and timely perform corresponding processing according to the synchronization state, and the occurrence of the condition that the image data is not synchronized at each network end is avoided.
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, and 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 these drawings without creative efforts.
FIG. 1 is a flow chart of a data synchronization method in an embodiment of the present invention;
FIG. 2 is another flow chart of a data synchronization method in an embodiment of the present invention;
FIG. 3 is another flow chart of a data synchronization method in an embodiment of the present invention;
fig. 4 is a structural diagram of a data synchronization system in 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.
The following are detailed below.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, an embodiment of a data synchronization method according to an embodiment of the present invention includes:
101. a network server receives a first data message sent by a user terminal;
a network server receives a first data message sent by a user terminal, wherein the first data message comprises: image data.
In practical applications, the network (web) server may include a file server, a cache server (e.g., a redis server), and a database (e.g., a mysql database); the network server is used for data interaction, data storage and data processing, and further can be used for specific logics of related functions of user management, such as returning data processing results to a front end for display and the like.
Specifically, the user terminal may be a web page client or an independently applied client. In practical application, a user can select a target library in a client to upload a face image. After the user uploads the face image on the client, the data synchronization process of the invention can be implemented.
Specifically, the first data packet is used for transmitting image data; optionally, the first data packet may further carry a state identifier, where the state identifier is used to indicate a current synchronization state of the image data at the network end, and an initialization state of the state identifier is an unsaved state. In practical application, if the network server does not have the preset state identifier, the first data packet may include a state identifier bit, and the network server may update and maintain the state identifier according to the state identifier bit after receiving the first data packet.
102. The network server processes data according to the image data and updates the state identification according to the data processing result;
and the network server performs data processing according to the image data and updates a state identifier according to the data processing result, wherein the state identifier is used for indicating the current synchronization state of the image data at a network terminal.
Specifically, the data processing includes: and extracting image data, writing the image data into a database, and sending the image data to a comparison server for feature extraction.
Optionally, the synchronization status includes:
not warehousing;
warehousing is successful and feature extraction is successful;
warehousing successfully but extracting the features fails;
warehousing succeeds but fails due to network problems;
the successful writing of the network server into the database fails to be uploaded;
the uploading of the web server fails.
Specifically, in the data packet, the synchronization status may be represented by a status flag bit, that is, each synchronization status may correspond to a number and is marked in the status flag bit of the data packet.
103. And the network server sends a first data feedback message to the user terminal.
When the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: and (5) state identification.
As can be seen from the above, in the embodiment of the present invention, after receiving a first data packet sent by a user terminal and performing data processing according to image data in the first data packet, a network server updates a state identifier according to a data processing result, and when the network server determines that a data synchronization process is finished, the network server feeds back the state identifier to the user terminal; the state identifier is used for representing the synchronization state of the image data at the network end currently, so that the user terminal can timely acquire the synchronization state of the image data at the network end and timely perform corresponding processing according to the synchronization state, and the occurrence of the condition that the image data is not synchronized at each network end is avoided.
Referring to fig. 2, a data synchronization method in an embodiment of the present invention is described below from the perspective of interaction between network ends, where another embodiment of the data synchronization method in the embodiment of the present invention includes:
201. a user terminal sends a first data message to a network server;
the user terminal sends a first data message to the network server to synchronize the image data at the network side, wherein the first data message comprises: image data.
202. The network server extracts image data in the first data message;
after receiving a first data message sent by a user terminal, a network server extracts image data from the first data message.
If the image data extraction fails, the current data synchronization process is ended, and step 208 is executed to update the corresponding state identifier.
If the image data is successfully extracted, step 203 is executed.
203. The network server writes the image data into a database;
and after the image data is successfully extracted, the network server writes the image data into a database.
If the writing of the image data into the database fails, the current data synchronization process is ended, and step 208 is executed to update the corresponding state identifier.
If the image data is successfully written into the database, step 204 is executed.
204. The network server sends a second data message to the comparison server;
and the network server sends a second data message to a comparison server, so that the comparison server performs feature extraction on the image data in the second data message and feeds back the feature extraction result to the network server.
205. The comparison server acquires the image data in the second data message;
and after the comparison server receives a second data message sent by the network server, acquiring the image data in the second data message.
206. The comparison server extracts the features of the image data;
and the comparison server extracts the characteristics of the image data.
If the feature extraction fails, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing succeeds but feature extraction fails.
If the feature extraction is successful, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing succeeds and feature extraction succeeds.
207. The comparison server sends a second data feedback message to the network server;
the comparison server sends a second data feedback message to the network server, wherein the second data feedback message comprises: and (5) state identification.
208. The network server updates the corresponding state identifier;
and after the network server confirms that the current data synchronization process is finished, the network server updates the corresponding state identifier.
Specifically, the method comprises the following steps:
if the image data extraction fails, updating the state identifier as follows: uploading the network server fails;
if the image data fails to be written into the database, updating the state identifier as follows: the successful writing of the network server into the database fails to be uploaded;
and if a second data feedback message sent by the comparison server is received, updating the local state identifier according to the state identifier carried by the second data feedback message.
209. And the network server sends a first data feedback message to the user terminal.
The network server sends a first data feedback message to the user terminal; the first data feedback packet includes: and (5) state identification. So that the user terminal recognizes the state identifier to perform corresponding data synchronization operation.
Specifically, when uploading image data, the synchronization state may include:
a. unginned (initialization definition): 0;
b. warehousing succeeds and feature extraction succeeds: 1;
c. successful warehousing but failed feature extraction: 2;
d. warehousing succeeds but feature extraction fails due to network problems: 3;
e. the successful writing of the network server into the database fails: 4;
f. uploading the network server fails: 5.
referring to fig. 3, another embodiment of a data synchronization method according to an embodiment of the present invention includes:
301. the user terminal sends a first deleting message to the network server;
the user terminal sends a first deletion message to the network server to synchronize the image data at the network side, wherein the first deletion message comprises: and identification of data to be deleted.
302. The network server extracts image data from the first deleting message;
and after receiving a first deletion message sent by the user terminal, the network server performs data processing according to the first deletion message and updates the state identifier according to the data processing result.
Specifically, the data processing performed by the network server according to the first deletion packet includes:
deleting the record in a database of the network server;
deleting the image data in a file server of the network server;
and sending a second deletion message to the comparison server, wherein the second deletion message is used for indicating the comparison server to delete the characteristic data corresponding to the identifier of the data to be deleted.
Specifically, the updating the state identifier according to the data processing result includes:
if the record deletion in the database fails and the deletion in the file server and the comparison server succeeds, the state identifier is updated as follows: the characteristics are successfully deleted, the network server file is successfully deleted, and the database retains data;
if the record deletion in the database and the file server fails and the deletion in the comparison server succeeds, updating the state identifier as follows: the characteristics are deleted successfully, and the database and the network server also keep data;
if the deletion is successful in the database, the file server and the comparison server, updating the state identifier as follows: and (4) completely deleting.
303. The network server sends a first deletion feedback message to the user terminal;
the network server sends a first deletion feedback message to the user terminal; the first deletion feedback packet includes: and (5) state identification. So that the user terminal recognizes the state identifier to perform corresponding data synchronization operation.
Specifically, when the image data is deleted, the synchronization state may include:
the characteristics are deleted successfully, and the database and the file server also keep data;
the characteristics are successfully deleted, the file server file is successfully deleted, and the database retains data;
and (4) completely deleting.
Referring to fig. 4, a data synchronization system for implementing the data synchronization method is described below, where the data synchronization system in the embodiment of the present invention includes:
a user terminal 401, a network server 402, a comparison server 403;
the user terminal is configured to send a first data packet to a network server, where the first data packet includes: image data; receiving a first data feedback message sent by the network server, where the first data feedback message includes: the state identifier is used for representing the synchronization state of the image data at the network end;
the network server is used for receiving a first data message sent by the user terminal, processing data according to the image data and updating the state identifier according to the data processing result; when the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: state identification;
the comparison server is used for receiving a second data message sent by the network server and acquiring the image data in the second data message; performing feature extraction on the image data; and feeding back the feature extraction result to the network server.
Specifically, the synchronization state includes:
not warehousing;
warehousing is successful and feature extraction is successful;
warehousing successfully but extracting the features fails;
warehousing succeeds but fails due to network problems;
the successful writing of the network server into the database fails to be uploaded;
uploading the network server fails;
the characteristics are deleted successfully, and the database and the file server also keep data;
the characteristics are successfully deleted, the file server file is successfully deleted, and the database retains data;
and (4) completely deleting.
Further, the network server is further specifically configured to:
extracting image data in the first data message; if the image data extraction fails, the current data synchronization process is ended, and the state identifier is updated as follows: the uploading of the network server fails, and the state identifier is used for representing the synchronization state of the image data at the network end; if the image data is successfully extracted, the network server writes the image data into a database; if the image data fails to be written into the database, the current data synchronization process is ended, and the state identifier is updated as follows: the successful writing of the network server into the database fails to be uploaded; if the image data is successfully written into the database, the network server sends a second data message to a comparison server, so that the comparison server performs feature extraction on the image data in the second data message and feeds back a feature extraction result to the network server; when the network server receives the feature extraction result, the current data synchronization process is confirmed to be finished, and the state identification is updated according to the feature extraction result;
the comparison server is further specifically configured to: if the feature extraction fails, the current data synchronization process is ended, and the state identifier is updated as: warehousing successfully but extracting the features fails; if the feature extraction is successful, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing is successful and feature extraction is successful; when the comparison server confirms that the data synchronization process is finished, the comparison server sends a second data feedback message to the network server; the second data feedback packet includes: and (5) state identification.
The network server is further specifically configured to:
if the feature extraction fails, the current data synchronization process is ended, and the state identifier is updated as: warehousing successfully but extracting the features fails; if the feature extraction is successful, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing succeeds and feature extraction succeeds.
The network server is further configured to:
receiving a first deletion message sent by a user terminal, wherein the first deletion message comprises: identification of data to be deleted; performing data processing according to the first deletion message, and updating the state identifier according to the data processing result; sending a first deletion feedback message to the user terminal; the first deletion feedback packet includes: and (5) state identification.
The specific operation methods of the above units have been described in the embodiments of fig. 1 to 3, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of data synchronization, comprising:
a network server receives a first data message sent by a user terminal, wherein the first data message comprises: image data;
the network server processes data according to the image data and updates a state identifier according to the data processing result, wherein the state identifier is used for representing the current synchronous state of the image data at a network end, and the data processing comprises the following steps: extracting image data, writing the image data into a database, and sending the image data to a comparison server for feature extraction; the comparison server extracts the features of the image data and sends a second data feedback message to the network server according to the extraction result, wherein the second data feedback message comprises: state identification;
when the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: and (5) state identification.
2. The method of claim 1, wherein the synchronization state comprises:
not warehousing;
warehousing is successful and feature extraction is successful;
warehousing successfully but extracting the features fails;
warehousing succeeds but fails due to network problems;
the successful writing of the network server into the database fails to be uploaded;
the uploading of the web server fails.
3. The method of claim 2, wherein the network server performs data processing according to the image data and updates the status identifier according to the data processing result, comprising:
the network server extracts image data in the first data message;
if the image data extraction fails, the current data synchronization process is ended, and the state identifier is updated as follows: the uploading of the network server fails, and the state identifier is used for representing the synchronization state of the image data at the network end; if the image data is successfully extracted, the network server writes the image data into a database;
if the image data fails to be written into the database, the current data synchronization process is ended, and the state identifier is updated as follows: the successful writing of the network server into the database fails to be uploaded; if the image data is successfully written into the database, the network server sends a second data message to a comparison server, so that the comparison server performs feature extraction on the image data in the second data message and feeds back a feature extraction result to the network server;
and when the network server receives the feature extraction result, confirming that the current data synchronization process is finished, and updating the state identification according to the feature extraction result.
4. The method of claim 3, wherein the updating the state identifier according to the feature extraction result comprises:
if the feature extraction fails, the current data synchronization process is ended, and the state identifier is updated as: warehousing successfully but extracting the features fails; if the feature extraction is successful, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing succeeds and feature extraction succeeds.
5. The method of claim 1, further comprising:
the network server receives a first deletion message sent by a user terminal, wherein the first deletion message comprises: identification of data to be deleted;
the network server processes data according to the first deleting message and updates the state identifier according to the data processing result;
the network server sends a first deletion feedback message to the user terminal; the first deletion feedback packet includes: state identification;
the state identification represents the synchronization state further comprising:
the characteristics are deleted successfully, and the database and the file server also keep data;
the characteristics are successfully deleted, the file server file is successfully deleted, and the database retains data;
and (4) completely deleting.
6. A data synchronization system, comprising:
the system comprises a user terminal, a network server and a comparison server;
the user terminal is configured to send a first data packet to a network server, where the first data packet includes: image data; receiving a first data feedback message sent by the network server, where the first data feedback message includes: the state identifier is used for representing the synchronization state of the image data at the network end;
the network server is used for receiving a first data message sent by the user terminal, performing data processing according to the image data, and updating the state identifier according to the data processing result, wherein the data processing includes: extracting image data, writing the image data into a database, and sending the image data to a comparison server for feature extraction; when the network server confirms that the data synchronization process is finished, the network server sends a first data feedback message to the user terminal; the first data feedback packet includes: state identification;
the comparison server is used for receiving a second data message sent by the network server and acquiring the image data in the second data message; performing feature extraction on the image data; and feeding back the feature extraction result to the network server, wherein the second data message comprises a status identifier.
7. The data synchronization system of claim 6, wherein the synchronization state comprises:
not warehousing;
warehousing is successful and feature extraction is successful;
warehousing successfully but extracting the features fails;
warehousing succeeds but fails due to network problems;
the successful writing of the network server into the database fails to be uploaded;
the uploading of the web server fails.
8. The data synchronization system of claim 7,
the network server is further specifically configured to:
extracting image data in the first data message; if the image data extraction fails, the current data synchronization process is ended, and the state identifier is updated as follows: the uploading of the network server fails, and the state identifier is used for representing the synchronization state of the image data at the network end; if the image data is successfully extracted, the network server writes the image data into a database; if the image data fails to be written into the database, the current data synchronization process is ended, and the state identifier is updated as follows: the successful writing of the network server into the database fails to be uploaded; if the image data is successfully written into the database, the network server sends a second data message to a comparison server, so that the comparison server performs feature extraction on the image data in the second data message and feeds back a feature extraction result to the network server; when the network server receives the feature extraction result, the current data synchronization process is confirmed to be finished, and the state identification is updated according to the feature extraction result;
the comparison server is further specifically configured to: if the feature extraction fails, the current data synchronization process is ended, and the state identifier is updated as: warehousing successfully but extracting the features fails; if the feature extraction is successful, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing is successful and feature extraction is successful; when the comparison server confirms that the data synchronization process is finished, the comparison server sends a second data feedback message to the network server; the second data feedback packet includes: and (5) state identification.
9. The data synchronization system of claim 8, wherein the network server is further specifically configured to:
if the feature extraction fails, the current data synchronization process is ended, and the state identifier is updated as: warehousing successfully but extracting the features fails; if the feature extraction is successful, the current data synchronization process is ended, and the state identifier is updated as follows: warehousing succeeds and feature extraction succeeds.
10. The data synchronization system of claim 6, wherein the network server is further configured to:
receiving a first deletion message sent by a user terminal, wherein the first deletion message comprises: identification of data to be deleted; performing data processing according to the first deletion message, and updating the state identifier according to the data processing result; sending a first deletion feedback message to the user terminal; the first deletion feedback packet includes: state identification;
the state identification represents the synchronization state further comprising:
the characteristics are deleted successfully, and the database and the file server also keep data;
the characteristics are successfully deleted, the file server file is successfully deleted, and the database retains data;
and (4) completely deleting.
CN201610631401.6A 2016-08-03 2016-08-03 Data synchronization method and data synchronization system Active CN106254456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610631401.6A CN106254456B (en) 2016-08-03 2016-08-03 Data synchronization method and data synchronization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610631401.6A CN106254456B (en) 2016-08-03 2016-08-03 Data synchronization method and data synchronization system

Publications (2)

Publication Number Publication Date
CN106254456A CN106254456A (en) 2016-12-21
CN106254456B true CN106254456B (en) 2020-03-10

Family

ID=58077609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610631401.6A Active CN106254456B (en) 2016-08-03 2016-08-03 Data synchronization method and data synchronization system

Country Status (1)

Country Link
CN (1) CN106254456B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795443A (en) * 2019-10-08 2020-02-14 中国建设银行股份有限公司 Method, device, equipment and computer readable medium for data synchronization
CN111858749A (en) * 2020-06-15 2020-10-30 武汉旷视金智科技有限公司 Bottom library synchronization method, device and electronic system
CN112187916B (en) * 2020-09-27 2023-12-05 ***股份有限公司 Cross-system data synchronization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075864A (en) * 2007-07-16 2007-11-21 腾讯科技(深圳)有限公司 Method for synchronizing and processing data, customer terminal equipment and servo
CN101673295A (en) * 2009-08-28 2010-03-17 金蝶软件(中国)有限公司 Data synchronization control method, device and single-point logging-in system
CN104184756A (en) * 2013-05-21 2014-12-03 阿里巴巴集团控股有限公司 Data synchronization method, device and system
CN105450682A (en) * 2014-08-08 2016-03-30 阿里巴巴集团控股有限公司 Method, device, and system for data synchronous storage and synchronizing data to client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075864A (en) * 2007-07-16 2007-11-21 腾讯科技(深圳)有限公司 Method for synchronizing and processing data, customer terminal equipment and servo
CN101673295A (en) * 2009-08-28 2010-03-17 金蝶软件(中国)有限公司 Data synchronization control method, device and single-point logging-in system
CN104184756A (en) * 2013-05-21 2014-12-03 阿里巴巴集团控股有限公司 Data synchronization method, device and system
CN105450682A (en) * 2014-08-08 2016-03-30 阿里巴巴集团控股有限公司 Method, device, and system for data synchronous storage and synchronizing data to client

Also Published As

Publication number Publication date
CN106254456A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN107229420B (en) Data storage method, reading method, deleting method and data operating system
CN106254456B (en) Data synchronization method and data synchronization system
US20140317062A1 (en) Amethod and apparatus for recovering sqlite file deleted from mobile terminal
CN112182473A (en) Page operation behavior playback method and device, computer equipment and storage medium
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN112822504B (en) Live broadcast room cover updating method and device, electronic equipment and storage medium
CN112925759B (en) Data file processing method and device, storage medium and electronic device
CN105471716A (en) Method for achieving message synchronization across clients, user equipment and server
CN106201783B (en) A kind of data reconstruction method and device
CN109739690B (en) Backup method and related products
CN103281375A (en) Contact management method, device and system for third-party application
CN105407148B (en) Network data synchronization method, device and system based on client
CN107547922B (en) Information processing method, device, system and computer readable storage medium
CN108174164A (en) A kind of real time video processing method and device
US20160241817A1 (en) Method of reducing a video file size for surveillance
CN104462271A (en) Method for mining activity degree of user and relevant equipment
CN111884843A (en) Message processing method and device, electronic equipment and storage medium
CN109213955B (en) Data processing method and related equipment
CN104767955A (en) Video processing method and device
CN113722541A (en) Video fingerprint generation method and device, electronic equipment and storage medium
CN106557262B (en) Data processing method and device
CN109413340B (en) Processing method and device for generating album
CN112199970B (en) Method and device for writing description information of storage object and intelligent storage system
CN110990348B (en) Message notification method, device and system
US9374474B1 (en) System, method, and computer program for detecting duplicated telecommunications events in a consumer telecommunications network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant