Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for synchronizing data

A technology for data synchronization and data acquisition, which is applied in the field of data processing and can solve problems such as strategies that do not have reasonable requests for tasks.

Active Publication Date: 2020-10-27
BEIJING GRIDSUM TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for synchronizing data, so as to at least solve the technical problem of the prior art that there is no reasonable strategy for requesting tasks when synchronizing data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for synchronizing data
  • Method and device for synchronizing data
  • Method and device for synchronizing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] According to an embodiment of the present invention, an embodiment of a method for synchronizing data is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0028] figure 1 is a flowchart of a method for processing synchronous data according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0029] Step S102, acquiring status information of the data synchronization task.

[0030] Specifically, in the above steps, according to the ID corresponding to the data synchronization task, the status information can be divided into two task statuses: completed and unfinished.

[0031]Step S104, if the stat...

Embodiment 2

[0065] According to an embodiment of the present invention, an embodiment of an apparatus for processing synchronous data is also provided. The method for processing synchronization data in Embodiment 1 of the present invention can be executed in the processing device in Embodiment 2 of the present invention.

[0066] Figure 5 It is a schematic structural diagram of a synchronous data processing device according to an embodiment of the present invention, and the device includes: a first acquisition module 501, a sending module 503, a second acquisition module 505, a third acquisition module 507, a determination module 509, and an access module 511.

[0067]Wherein, the first obtaining module 501 is used to obtain the status information of the data synchronization task; the sending module 503 is used to send a data synchronization request if the status information of the data synchronization task is in an unfinished state, wherein the data synchronization request includes at ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for synchronizing data. The method comprises the steps of acquiring state information of a data synchronization task; if the state information of the datasynchronization task is in an unfinished state, sending a data synchronization request; acquiring historical waiting time of a registered account for performing of data synchronization; acquiring thewaiting time of the data synchronization request; determining an access frequency of the registered account according to the waiting time of the data synchronization request and the historical waiting time; and accessing media resources according to the access frequency of the registered account so as to perform data downloading according to a data type requested to be downloaded. According to the method and the device for synchronizing the data, the technical problem in the prior art of no reasonable strategy for the request task when the data are synchronized is solved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method and device for synchronizing data. Background technique [0002] At present, the data synchronization program automatically synchronizes the material data of user advertisements and the consumption data of the previous day from search engines such as Baidu, Sogou, 360, and Shenma. Among them, the API provided by the search engine for the data synchronization program to access is WebAPI or WebService based on the Http protocol, so that the data synchronization program accesses the API of the search engine for the client to obtain relevant data of search engine marketing. [0003] In the prior art, the data synchronization program calls the media API (Application Programming Interface, application programming interface) according to the account information to obtain the data to be downloaded, and the media automatically creates a task for downloading at the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/27
CPCG06F16/275
Inventor 张雄
Owner BEIJING GRIDSUM TECH CO LTD