CN106453597A - Data synchronization cycle adjustment method, device and system - Google Patents

Data synchronization cycle adjustment method, device and system Download PDF

Info

Publication number
CN106453597A
CN106453597A CN201610949145.5A CN201610949145A CN106453597A CN 106453597 A CN106453597 A CN 106453597A CN 201610949145 A CN201610949145 A CN 201610949145A CN 106453597 A CN106453597 A CN 106453597A
Authority
CN
China
Prior art keywords
server
terminal
cycle
data
information
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
Application number
CN201610949145.5A
Other languages
Chinese (zh)
Other versions
CN106453597B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610949145.5A priority Critical patent/CN106453597B/en
Publication of CN106453597A publication Critical patent/CN106453597A/en
Priority to PCT/CN2017/094188 priority patent/WO2018076830A1/en
Application granted granted Critical
Publication of CN106453597B publication Critical patent/CN106453597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data synchronization cycle adjustment method, device and system. The data synchronization cycle adjustment method comprises the steps of sending a synchronization request to a server; receiving a prompt message returned by the server according to the synchronization request when the number of synchronization requests of the server exceeds a threshold; and prolonging the current synchronization cycle according to the prompt message. According to the data synchronization cycle adjustment method, device and system provided by the embodiment of the invention, the server sends a prompt message to a terminal when detecting that the number of terminals to be synchronized is great, and then the terminal prolongs the current synchronization cycle, so that access pressure of the cloud server is reduced.

Description

The method of adjustment in data syn-chronization cycle, apparatus and system
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of method of adjustment in data syn-chronization cycle, device and be System.
Background technology
At present, by active sniffing mode, Cloud Server mainly detects that contact person, note etc. need synchronous data Change.When data is detected and changing, just upload the data of change to Cloud Server, to realize the synchronization of data.
But, with the sustainable growth of mobile phone users, the access pressure of server also increases therewith.If still adopted Use the existing method of synchronization, be then easily caused Cloud Server overload operation, and then lead to the situation that certain customers cannot access, Cloud Server even can be made to paralyse.As can be seen here, the access pressure of the easy increase Cloud Server of existing synchronous method.
Content of the invention
The embodiment of the present invention provides a kind of method of adjustment in data syn-chronization cycle, apparatus and system, to solve existing synchronization Method easily increases the technical problem of the access pressure of Cloud Server.
For solving the above problems, the technical scheme that the present invention provides is as follows:
In a first aspect, the embodiment of the present invention provides a kind of method of adjustment in data syn-chronization cycle, it includes:
Send synchronization request to server;
When the synchronization request quantity of server exceedes threshold value, receive what described server returned according to described synchronization request Information;
Current synchronizing cycle is extended according to described information.
Second aspect, the embodiment of the present invention also provides a kind of adjusting apparatus in data syn-chronization cycle, and it includes:
Sending module, for sending synchronization request to server;
Receiver module, for when the synchronization request quantity of server exceedes threshold value, receiving described server according to described The information that synchronization request returns;
Adjusting module, for extending current synchronizing cycle according to described information.
The third aspect, the embodiment of the present invention also provides a kind of adjusting apparatus in data syn-chronization cycle, and it includes:
Receiver module, for receiving the synchronization request of at least one terminal transmission, and obtains the quantity of described synchronization request;
Judge module, whether the quantity for judging described synchronization request exceedes predetermined threshold value;
Sending module, for when the quantity of described synchronization request exceedes predetermined threshold value, generates information, and to described Terminal sends described information;Described information is used for pointing out described terminal to extend its current synchronizing cycle.
Fourth aspect, the embodiment of the present invention also provides a kind of adjustment system in data syn-chronization cycle, it include server with And terminal, described terminal includes the adjusting apparatus in the data syn-chronization cycle that above-mentioned second aspect provides.
Compared to prior art, the method for adjustment in data syn-chronization cycle of the present embodiment, apparatus and system, by service Device sends synchronization request;When the synchronization request quantity of server exceedes threshold value, receive this server and returned according to this synchronization request The information returned;Current synchronizing cycle is extended according to this information.Due to terminal to be synchronized is detected in server When quantity is more, send information to terminal, terminal extends current synchronizing cycle afterwards.Avoid the same period excessive Terminal access server, thus reduce the access pressure of Cloud Server.
Brief description
The flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 1 provides for the embodiment of the present invention one.
The flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 2 provides for the embodiment of the present invention two.
The flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 3 provides for the embodiment of the present invention three.
The flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 4 provides for the embodiment of the present invention four.
The structural representation of the adjusting apparatus in the data syn-chronization cycle that Fig. 5 provides for the embodiment of the present invention five.
The preferred structure schematic diagram of the adjusting apparatus in the data syn-chronization cycle that Fig. 6 provides for the embodiment of the present invention five.
The structural representation of the adjusting apparatus in the data syn-chronization cycle that Fig. 7 provides for the embodiment of the present invention six.
The structural representation of the terminal that Fig. 8 provides for the embodiment of the present invention seven.
Fig. 9 is the structural representation of the adjustment system in data syn-chronization cycle provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Term " first ", " second " and " the 3rd " in the present invention etc. is for distinguishing different objects, rather than is used for retouching State particular order.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover non-exclusive comprising. For example contain series of steps or unit process, method, system, product or equipment be not limited to the step listed or Unit, but alternatively also include step or the unit do not listed, or alternatively also include for these processes, method, product Product or the intrinsic other steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.Each position in the description occur this phrase might not each mean identical Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
The executive agent of the method for adjustment in data syn-chronization cycle that the embodiment of the present invention one provides, can implement for the present invention The adjusting apparatus in the data syn-chronization cycle of example offer six, or it is integrated with the server of the adjusting apparatus in this data syn-chronization cycle, The adjusting apparatus in this data syn-chronization cycle can be realized in the way of using hardware or software.
Refer to Fig. 1, the flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 1 provides for the embodiment of the present invention one.
The method of adjustment in the data syn-chronization cycle of this preferred embodiment, including:
Step S101, receives the synchronization request of at least one terminal transmission, and obtains the quantity of this synchronization request.
For example, server (namely Cloud Server) receives the synchronization request of or the transmission of more than one terminal.It Afterwards, the quantity of the synchronization request that server statistics receive, namely the quantity of terminal to be synchronized.
Step S102, judges whether the quantity of this synchronization request exceedes predetermined threshold value.
For example, the quantity of this terminal to be synchronized and predetermined threshold value are compared by server, wherein this predetermined threshold value tool Body can set based on experience value.Preferably, this predetermined threshold value can be set according to the load of server.If server Judge that the quantity of this terminal to be synchronized is less than or equal to this predetermined threshold value, then server can be with return to step S101.If service Device judges that the quantity of this terminal to be synchronized is more than this predetermined threshold value, then server execution step S103.
Step S103, if the quantity of this synchronization request exceedes predetermined threshold value, generates information, and sends to this terminal This information.
For example, when the quantity that server judges this terminal to be synchronized is more than this predetermined threshold value, server generates current Server access pressure is larger, instruction terminal extend synchronizing cycle identification information, and send this information to each treat with The terminal of step.Wherein this information is used for pointing out each terminal to extend its current synchronizing cycle.
Such as, this predetermined threshold value is 50, if there being 100 terminal to server to have sent synchronization request, synchronization request Quantity is 100.Because 100 are more than 50, namely the quantity of synchronization request has exceeded this predetermined threshold value, therefore server respectively upwards State 100 terminals and send information respectively, so that each terminal extends its current synchronizing cycle.
Preferably, when the quantity of this synchronization request exceedes predetermined threshold value, generate information, and send to this terminal After the step of this information, the method also includes:
(1) receive information synchronizing cycle that this terminal returns according to this information;
For example, after terminal-pair is extended current synchronizing cycle, terminal sends the cycle after extending to server, Server receives the synchronizing cycle after this prolongation.
Further, server receives that this terminal returns according to this information synchronizing cycle information and device identification, Namely terminal when returning the synchronizing cycle after extending to server, go back returning equipment mark.Afterwards, server is by synchronizing cycle Information is set up with this device identification and is associated and store.Namely server is by the device identification of this synchronizing cycle after extending and terminal Foundation associates and stores.
(2) according to this of information, this synchronization request is processed synchronizing cycle.
Specifically, when server receives the synchronization request of terminal transmission again, obtain this synchronization request apart from upper Time interval between synchronization request, and judge whether this time interval is consistent with the synchronizing cycle after prolongation.If should Time interval is consistent with the synchronizing cycle after above-mentioned prolongation, then respond the synchronization request of terminal, such as server will be to be synchronized Data is activation to terminal.Otherwise, server can be not responding to the synchronization request of terminal.
The method of adjustment in the data syn-chronization cycle of the present embodiment, by receiving the synchronization request of at least one terminal transmission, And obtain the quantity of this synchronization request;Judge whether the quantity of this synchronization request exceedes predetermined threshold value;If the number of this synchronization request Amount exceedes predetermined threshold value, then generate information, and send this information to this terminal.Due to terminal to be synchronized is being detected Quantity more when, remind terminal to extend current synchronizing cycle, it is to avoid excessive terminal access server of same period, thus The access pressure of server can be reduced, it is to avoid servers go down, improve the motility of data syn-chronization.
The executive agent of the method for adjustment in data syn-chronization cycle that the embodiment of the present invention two to four provides, can be the present invention The adjusting apparatus in the data syn-chronization cycle that embodiment five provides, or the movement being integrated with the adjusting apparatus in this data syn-chronization cycle Terminal (such as notebook, panel computer, mobile phone, wearable device etc.), the adjusting apparatus in this data syn-chronization cycle can adopt The mode of hardware or software is realized.
Refer to Fig. 2, the flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 2 provides for the embodiment of the present invention two.
The method of adjustment in the data syn-chronization cycle of this preferred embodiment, including:
Step S201, sends synchronization request to server.
For example, terminal to server (namely Cloud Server) sends the request of data syn-chronization.
Step S202, when the synchronization request quantity of server exceedes threshold value, receives this server according to this synchronization request The information returning.
For example, after the request of server receiving terminal, if the quantity of request that server judgement receives exceed pre- If during threshold value, send information to terminal.Terminal receives this information afterwards.It should be understood that this information is to work as Front server access pressure is larger, and instruction terminal extends the information of synchronizing cycle.
Step S203, extends current synchronizing cycle according to this information.
For example, after terminal receives this information, extend or increase current synchronizing cycle.It should be understood that Synchronizing cycle after prolongation is more than current synchronizing cycle.
The method of adjustment in the data syn-chronization cycle of the present embodiment, by sending synchronization request to server;When server When synchronization request quantity exceedes threshold value, receive the information that this server returns according to this synchronization request;Believed according to this prompting Breath extends current synchronizing cycle.When quantity due to terminal to be synchronized is detected in server is more, sends to terminal and carry Show information.Terminal extends current synchronizing cycle afterwards, it is to avoid excessive terminal access server of same period, thus reducing The access pressure of Cloud Server.
Refer to Fig. 3, the flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 3 provides for the embodiment of the present invention three.
The method of adjustment in the data syn-chronization cycle of this preferred embodiment, including:
Step S301, sends synchronization request to server.
For example, terminal to server (namely Cloud Server) sends the request of data syn-chronization.
Step S302, when the synchronization request quantity of server exceedes threshold value, receives this server according to this synchronization request The information returning.
For example, after the request of server receiving terminal, if the quantity of request that server judgement receives exceed pre- If during threshold value, send information to terminal, terminal receives this information afterwards.It is it should be understood that this information is Current server access pressure is larger, and instruction terminal extends the information of synchronizing cycle.
Step S303, obtains the capacity of currently data to be synchronized according to this information.
For example, after terminal receives this information, terminal obtains the data that it is currently needed for being synchronized on server Size, namely the capacity of data to be synchronized.
Step S304, the capacity according to this data to be synchronized extends current synchronizing cycle.
For example, terminal, according to being currently needed for the size of data that is synchronized on server, extends current synchronizing cycle.Permissible Understand, the synchronizing cycle after prolongation is more than current synchronizing cycle.Such as, when the capacity of data to be synchronized is larger, ought It is more that front synchronizing cycle postpones.When the capacity of data to be synchronized is less, by few the one of current delay synchronizing cycle A bit.Such as, the size of current data to be synchronized is 300M, then current synchronizing cycle is extended one week by terminal;If current Data to be synchronized size be 100M, then terminal current synchronizing cycle is extended three days.
In another embodiment, terminal can also search the preset time value with current capacity matching to be synchronized, ought Increase this preset time value front synchronizing cycle, namely this extends current synchronizing cycle according to the capacity of this data to be synchronized Step includes:
C, search preset capacity sample with the capacity matching of this data to be synchronized in presetting database, obtain this and preset Capacity sample corresponding time adjustment amount.
D, this current synchronizing cycle is extended according to this time adjustment amount.
For example, terminal be previously stored with to multiple preset data sizes and corresponding default with this preset data size when Between be worth.Specifically, terminal search in presetting database corresponding pre- with the size of data being currently needed for being synchronized on server If size of data, and obtain this corresponding preset time value of preset data size.It is pre- that terminal is extended this current synchronizing cycle If time value.
Such as, the relation of the preset data size in presetting database and preset time value is as follows:Data volume is 200M- 500M, will extend one day synchronizing cycle;Data volume is 500M-800M, will extend three days synchronizing cycle.If currently number to be synchronized It is 300M according to amount, then current backup cycle is extended one day.
The method of adjustment in the data syn-chronization cycle of the present embodiment, by sending synchronization request to server;When server When synchronization request quantity exceedes threshold value, receive the information that this server returns according to this synchronization request;Believed according to this prompting Breath obtains the capacity of currently data to be synchronized;Capacity according to this data to be synchronized extends current synchronizing cycle.Due in clothes Business device detect terminal to be synchronized quantity more when, terminal obtains the capacity of data to be synchronized, and according to data to be synchronized Capacity extend current synchronizing cycle, it is to avoid excessive terminal access server of same period.Therefore reducing cloud service While the access pressure of device, improve the efficiency of backup.
Refer to Fig. 4, the flow chart of the method for adjustment in the data syn-chronization cycle that Fig. 4 provides for the embodiment of the present invention four.
The method of adjustment in the data syn-chronization cycle of this preferred embodiment, including:
Step S401, sends synchronization request to server.
For example, terminal to server (namely Cloud Server) sends the request of data syn-chronization.
Step S402, when the synchronization request quantity of server exceedes threshold value, receives this server according to this synchronization request The information returning.
For example, after the request of server receiving terminal, if the quantity of request that server judgement receives exceed pre- If during threshold value, send information to terminal, terminal receives this information afterwards.It is it should be understood that this information is Current server access pressure is larger, and instruction terminal extends the information of synchronizing cycle.
Step S403, obtains default adjustment amount according to this information.
For example, when terminal receives information, terminal obtains the Delta Time prestoring in data base, namely Default adjustment amount is Delta Time.Certainly this preset increments time is alternatively increment factor, and such as this increment factor is more than 1.Can With understand, default adjustment amount is not limited to time value and constant, and other are capable of the mode of time lengthening all in the present invention Protection domain in.
Step S404, extends current synchronizing cycle according to this default adjustment amount.
For example, when this default adjustment amount is Delta Time, current synchronizing cycle is extended this Delta Time by terminal.Than As being current synchronizing cycle 1 week, this Delta Time is 1 week, specifically carries out current synchronizing cycle with this Delta Time Synchronizing cycle after additive operation, namely prolongation is 2 weeks.Afterwards, every 2 weeks of terminal by data syn-chronization to be synchronized to server.
It should be understood that this Delta Time enables to the difference between synchronizing cycle and current synchronizing cycle after adjustment Value is more than preset value.
When this preset increments time be increment factor when, terminal can also be multiplied by current synchronizing cycle this increment because Son.Such as current synchronizing cycle is 1 week, and this increment factor is 3, then the synchronizing cycle after extending is 3 weeks.Afterwards, terminal every 3 Week is by data syn-chronization to be synchronized to server.
The method of adjustment in the data syn-chronization cycle of the present embodiment, by sending synchronization request to server;When server When synchronization request quantity exceedes threshold value, receive the information that this server returns according to this synchronization request;Believed according to this prompting Breath obtains default adjustment amount;Extend current synchronizing cycle according to this default adjustment amount.To be synchronized due to detecting in server When the quantity of terminal is more, terminal, according to pre-setting an incrementation parameter, extends current synchronizing cycle, is therefore reducing While the access pressure of Cloud Server, improve the efficiency of backup.
Refer to Fig. 5, the structural representation of the adjusting apparatus in the data syn-chronization cycle that Fig. 5 provides for the embodiment of the present invention five Figure.The adjusting apparatus 40 in the data syn-chronization cycle of this preferred embodiment include:Sending module 41, receiver module 42, adjusting module 43.
This sending module 41, for sending synchronization request to server.
For example, terminal to server (namely Cloud Server) sends the request of data syn-chronization.This synchronization request is used for carrying out Data syn-chronization.
This receiver module 42, for when the synchronization request quantity of server exceedes threshold value, receiving this server according to this The information that synchronization request returns.
For example, after the request of server receiving terminal, if the quantity of request that server judgement receives exceed pre- If during threshold value, send information to terminal.Terminal receives this information afterwards.It should be understood that this information is to work as Front server access pressure is larger, and instruction terminal extends the information of synchronizing cycle.
This adjusting module 43, for extending current synchronizing cycle according to this information.
For example, after terminal receives this information, current synchronizing cycle is extended.It should be understood that prolonging Synchronizing cycle after length is more than current synchronizing cycle.
As shown in fig. 6, this adjusting module 43 includes:Procurement of reserve capacity submodule 431 and the first adjustment submodule 432.
This procurement of reserve capacity submodule 431, for obtaining the capacity of currently data to be synchronized according to this information.
For example, after terminal receives this information, terminal obtains the data that it is currently needed for being synchronized on server Size, namely the capacity of data to be synchronized.
This first adjustment submodule 432, extends current synchronizing cycle for the capacity according to this data to be synchronized.
For example, terminal, according to being currently needed for the size of data that is synchronized on server, extends current synchronizing cycle.Permissible Understand, the synchronizing cycle after prolongation is more than current synchronizing cycle.Such as, when the capacity of data to be synchronized is larger, ought It is more that front synchronizing cycle postpones.When the capacity of data to be synchronized is less, by few the one of current delay synchronizing cycle A bit.
This first adjustment submodule 432 specifically for:
Search the preset capacity sample with the capacity matching of this data to be synchronized in presetting database, obtain this default appearance Amount sample corresponding time adjustment amount;And this current synchronizing cycle is extended according to this time adjustment amount.
For example, terminal be previously stored with to multiple preset data sizes and corresponding default with this preset data size when Between be worth.Specifically, terminal search in presetting database corresponding pre- with the size of data being currently needed for being synchronized on server If size of data, and obtain this corresponding preset time value of preset data size.It is pre- that terminal is extended this current synchronizing cycle If time value.
This adjusting module 43 also includes:Parameter acquiring submodule 433 and the second adjustment submodule 434.
This parameter acquiring submodule 433, for obtaining default adjustment amount according to this information.
This second adjustment submodule 434, for extending current synchronizing cycle according to this default adjustment amount.
For example, when terminal receives information, terminal obtains the Delta Time prestoring in data base, namely Default adjustment amount.Current synchronizing cycle is extended this Delta Time by terminal afterwards.Such as current synchronizing cycle is 1 week, should Synchronizing cycle after Delta Time is 1 week, namely prolongation is 2 weeks, and data syn-chronization to be synchronized is extremely serviced by terminal for every 2 weeks afterwards Device.It should be understood that the difference that this Delta Time enabled between synchronizing cycle and current synchronizing cycle after adjustment is big In preset value.
When being embodied as, above modules can be realized as independent entity it is also possible to carry out combination in any, makees To realize for same or several entities, being embodied as of above modules can be found in embodiment of the method above, and here is not Repeat again.
The adjusting apparatus in the data syn-chronization cycle of this preferred embodiment, by sending synchronization request to server;Work as service When the synchronization request quantity of device exceedes threshold value, receive the information that this server returns according to this synchronization request;Carried according to this Show that information extends current synchronizing cycle.When quantity due to terminal to be synchronized is detected in server is more, send out to terminal Send information, terminal extends current synchronizing cycle afterwards, thus reducing the access pressure of Cloud Server.
Refer to Fig. 7, the structural representation of the adjusting apparatus in the data syn-chronization cycle that Fig. 7 provides for the embodiment of the present invention six Figure.The adjusting apparatus 50 in the data syn-chronization cycle of this preferred embodiment include:Receiver module 51, judge module 52, sending module 53.
Receiver module 51, for receiving the synchronization request of at least one terminal transmission, and obtains the quantity of this synchronization request.
For example, server (namely Cloud Server) receives the synchronization request of or the transmission of more than one terminal.It Afterwards, the quantity of the synchronization request that server statistics receive, namely the quantity of terminal to be synchronized.
Judge module 52, whether the quantity for judging this synchronization request exceedes predetermined threshold value.
For example, the quantity of this terminal to be synchronized and predetermined threshold value are compared by server, wherein this predetermined threshold value tool Body can set based on experience value.Preferably, this predetermined threshold value can be set according to the load of server.
Sending module 53, for when the quantity of this synchronization request exceedes predetermined threshold value, generating information, and to this eventually End sends this information;This information is used for pointing out this terminal to extend its current synchronizing cycle.
For example, when the quantity that server judges this terminal to be synchronized is more than this predetermined threshold value, server generates current Server access pressure is larger, indicates that each above-mentioned terminal extends the identification information of synchronizing cycle, and send to each treat with The terminal of step.Wherein this information is used for pointing out each terminal to extend its current synchronizing cycle.
When being embodied as, above modules can be realized as independent entity it is also possible to carry out combination in any, makees To realize for same or several entities, being embodied as of above modules can be found in embodiment of the method above, and here is not Repeat again.
The adjusting apparatus in the data syn-chronization cycle of the present embodiment, by receiving the synchronization request of at least one terminal transmission, And obtain the quantity of this synchronization request;Judge whether the quantity of this synchronization request exceedes predetermined threshold value;If the number of this synchronization request Amount exceedes predetermined threshold value, then generate information, and send this information to this terminal.Due to terminal to be synchronized is being detected Quantity more when, remind terminal to extend current synchronizing cycle, such that it is able to reduce the access pressure of server, it is to avoid service Device is paralysed, and improves the motility of data syn-chronization.
Refer to Fig. 8, the structural representation of the terminal that Fig. 8 provides for the embodiment of the present invention seven.
The present embodiment provides a kind of terminal, and this terminal can include the adjusting apparatus in above-mentioned data syn-chronization cycle, this number Adjusting apparatus according to synchronizing cycle specifically refer to the specific descriptions of embodiment five, will not be described here.
The present embodiment also provides another kind of terminal, as shown in figure 8, this terminal 60 can include radio frequency (RF, Radio Frequency) circuit 61, the memorizer 62 including one or more computer-readable recording mediums, input block 63, Display unit 64, sensor 65, voicefrequency circuit 66, Wireless Fidelity (WiFi, Wireless Fidelity) module 67, include The part such as the processor 68 of or more than one processing core and power supply 69.It will be understood by those skilled in the art that figure The restriction of the not structure paired terminal of the terminal structure shown in 8, can include ratio and illustrate more or less of part, or combination Some parts, or different part arrangements.
Radio circuit 61 can be used for receiving and sending messages, or the reception of signal and transmission in communication process, especially, by base station After downlink information receives, transfer to one or more than one processor 68 is processed;In addition, up data is activation will be related to base Stand.Generally, radio circuit 61 includes but is not limited to antenna, at least one amplifier, tuner, one or more agitator, use Family identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 61 can also by radio communication and network and Other equipment communicates.This radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications system System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 62 can be used for storing software program and module.Processor 68 passes through operation and is stored in the soft of memorizer 62 Part program and module, thus execute various function application and data processing.Memorizer 62 can mainly include storing program area And storage data field, wherein, storing program area can application program (such as sound needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to terminal using the data being created (such as Voice data, phone directory etc.) etc..Additionally, memorizer 62 can include high-speed random access memory, can also include non-volatile Property memorizer, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, deposit Reservoir 62 can also include Memory Controller, to provide the access to memorizer 62 of processor 68 and input block 63.
Input block 63 can be used for numeral or the character information of receives input, and produces and user setup and function control It is formed with keyboard, mouse, action bars, optics or the trace ball signal input of pass.Specifically, in certain embodiments, input list Unit 63 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, can collect User thereon or neighbouring touch operation (such as user uses any suitable object such as finger, stylus or adnexa touch-sensitive Operation on surface or near Touch sensitive surface), and corresponding attachment means are driven according to formula set in advance.Optionally, Touch sensitive surface may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detect touching of user Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch detection dress Put reception touch information, and be converted into contact coordinate, then give processor 68, and the life that energy receiving processor 68 is sent Order is simultaneously executed.Furthermore, it is possible to be realized touch-sensitive using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Surface.Except Touch sensitive surface, input block 63 can also include other input equipments.Specifically, other input equipments can wrap Include but be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more.
Display unit 64 can be used for display and by the information of user input or is supplied to the information of user and the various of terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display Unit 64 may include display floater, optionally, can adopt liquid crystal display (LCD, Liquid Crystal Display), have The forms such as machine light emitting diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor to 68 to determine the type of touch event, is provided on a display panel according to the type of touch event with preprocessor 68 and regards accordingly Feel output.Although in fig. 8, Touch sensitive surface and display floater are to realize input and input work as two independent parts Can, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal 60 may also include at least one sensor 65, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light The brightness to adjust display floater for the light and shade, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear Light.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal Gyroscope, barometer, drimeter, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 66 can provide the audio interface between user and terminal by speaker, microphone.Voicefrequency circuit 66 The voice data receiving can be converted into the signal of telecommunication, be transferred to speaker, acoustical signal output is converted to by speaker;Another Aspect, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to voice data after being received by voicefrequency circuit 66, then will After voice data output processor 68 is processed, through radio circuit 61 being sent to such as another terminal or voice data is defeated Go out to memorizer 62 to process further.Voicefrequency circuit 66 is also possible that earphone jack, to provide peripheral hardware earphone and terminal Communication.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can help use by wireless fidelity module 67 Family is sent and received e-mail, is browsed webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.Though So Fig. 8 shows wireless fidelity module 67, but it is understood that, it is simultaneously not belonging to must be configured into of terminal, completely permissible Omit in the scope of essence not changing invention as needed.
Processor 68 is the control centre of terminal, using the various pieces of various interfaces and the whole terminal of connection, leads to Cross and run or execute software program and/or the module being stored in memorizer 62, and call the number being stored in memorizer 62 According to, execution various functions of terminal and processing data, thus integral monitoring is carried out to terminal.Optionally, processor 68 may include One or more processing cores;Preferably, processor 68 can integrated application processor and modem processor, wherein, application Processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Can To be understood by, above-mentioned modem processor can not also be integrated in processor 68.
Terminal 60 also includes the power supply 69 (such as battery) powered to all parts.Preferably, power supply can pass through power supply Management system is logically contiguous with processor 68, thus realizing management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 69 can also include one or more direct current or alternating current power supply, recharging system, power failure monitor The random component such as circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 8, terminal can also include photographic head, bluetooth module etc., will not be described here.
Specifically in the present embodiment, the processor 68 in terminal can be according to following instruction, will be one or more The corresponding executable file of process of application program is loaded in memorizer 62, and to be run by processor 68 and be stored in memorizer Application program in 62, thus realize various functions:
Send synchronization request to server;When the synchronization request quantity of server exceedes threshold value, receive this server root The information returning according to this synchronization request;And current synchronizing cycle is extended according to this information.
Preferably, processor 68 has sending module, receiver module, adjusting module.
Processor 68, for sending synchronization request to server.
Processor 68, for when the synchronization request quantity of server exceedes threshold value, receiving this server according to this synchronization The information that request returns.
Processor 68, for extending current synchronizing cycle according to this information.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
The terminal of this preferred embodiment, by sending synchronization request to server;When the synchronization request quantity of server surpasses When crossing threshold value, receive the information that this server returns according to this synchronization request;Extended current same according to this information Step period.When quantity due to terminal to be synchronized is detected in server is more, send information, terminal afterwards to terminal Extend current synchronizing cycle, thus reducing the access pressure of Cloud Server.
In addition, as shown in figure 9, the present invention also provides a kind of adjustment system 100 in data syn-chronization cycle to include server 70 And at least one terminal 60, set up network connection between this terminal 60 and server 70.
The adjusting apparatus of wherein this terminal 60 can include that embodiment five provided any data synchronizing cycle, this service Device 70 includes the adjusting apparatus in the data syn-chronization cycle of embodiment six offer, and this terminal 60 can be specially such as panel computer, mobile phone Deng equipment.
Specifically, during work, at least one terminal 60 sends synchronization request to server 70, and server 70 receives at least one The synchronization request that individual terminal 60 sends, and obtain the quantity of this synchronization request;Server 70 judges the number of this synchronization request afterwards Whether amount exceedes predetermined threshold value;When the quantity that server 70 judges this synchronization request exceedes predetermined threshold value, generate information, And send this information to each terminal 60;This information is used for pointing out this terminal 60 to extend its current synchronizing cycle. Terminal 60 receives the information that this server returns according to this synchronization request afterwards;And extended current according to this information Synchronizing cycle, thus reduce the access pressure of server.
Although Fig. 9 provides the schematic diagram of a terminal, but it is understood that, this system can also include 2 or 2 Above terminal.
It is understood that wherein the structure of the adjusting apparatus in this data syn-chronization cycle and functional realiey may refer to The detailed description of literary composition, here is omitted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage Medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The method of adjustment in a kind of data syn-chronization cycle above embodiment of the present invention being provided, apparatus and system are carried out It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this The thought of invention, all will change in specific embodiments and applications, and in sum, this specification content should not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of method of adjustment in data syn-chronization cycle is it is characterised in that include:
Send synchronization request to server;
When the synchronization request quantity of server exceedes threshold value, receive the prompting that described server returns according to described synchronization request Information;
Current synchronizing cycle is extended according to described information.
2. the method for adjustment in data syn-chronization cycle according to claim 1 is it is characterised in that described believe according to described prompting The step that breath extends current synchronizing cycle includes:
Obtain the capacity of currently data to be synchronized according to described information;
Capacity according to described data to be synchronized extends current synchronizing cycle.
3. the data syn-chronization cycle according to claim 2 method of adjustment it is characterised in that described according to described to be synchronized The step that the capacity of data extends current synchronizing cycle includes:
Search the preset capacity sample with the capacity matching of described data to be synchronized in presetting database, obtain described default appearance Amount sample corresponding time adjustment amount;
Described current synchronizing cycle is extended according to described time adjustment amount.
4. the method for adjustment in data syn-chronization cycle according to claim 1 is it is characterised in that described believe according to described prompting The step that breath extends current synchronizing cycle includes:
Default adjustment amount is obtained according to described information;
Extend current synchronizing cycle according to described default adjustment amount.
5. a kind of adjusting apparatus in data syn-chronization cycle are it is characterised in that include:
Sending module, for sending synchronization request to server;
Receiver module, for when the synchronization request quantity of server exceedes threshold value, receiving described server according to described synchronization The information that request returns;
Adjusting module, for extending current synchronizing cycle according to described information.
6. the adjusting apparatus in data syn-chronization cycle according to claim 5 are it is characterised in that described adjusting module includes:
Procurement of reserve capacity submodule, for obtaining the capacity of currently data to be synchronized according to described information;
First adjustment submodule, extends current synchronizing cycle for the capacity according to described data to be synchronized.
7. the adjusting apparatus in data syn-chronization cycle according to claim 6 are it is characterised in that described first adjusts submodule Block, specifically for:
Search the preset capacity sample with the capacity matching of described data to be synchronized in presetting database, obtain described default appearance Amount sample corresponding time adjustment amount;And described current synchronizing cycle is extended according to described time adjustment amount.
8. the adjusting apparatus in data syn-chronization cycle according to claim 5 are it is characterised in that described adjusting module includes:
Parameter acquiring submodule, for obtaining default adjustment amount according to described information;
Second adjustment submodule, for extending current synchronizing cycle according to described default adjustment amount.
9. a kind of adjusting apparatus in data syn-chronization cycle are it is characterised in that include:
Receiver module, for receiving the synchronization request of at least one terminal transmission, and obtains the quantity of described synchronization request;
Judge module, whether the quantity for judging described synchronization request exceedes predetermined threshold value;
Sending module, for when the quantity of described synchronization request exceedes predetermined threshold value, generating information, and to described terminal Send described information;Described information is used for pointing out described terminal to extend its current synchronizing cycle.
10. a kind of adjustment system in data syn-chronization cycle, including server and terminal it is characterised in that described terminal includes The adjusting apparatus in the data syn-chronization cycle as described in any one of claim 5 to 8.
CN201610949145.5A 2016-10-25 2016-10-25 The method of adjustment of data synchronizing cycles, apparatus and system Active CN106453597B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610949145.5A CN106453597B (en) 2016-10-25 2016-10-25 The method of adjustment of data synchronizing cycles, apparatus and system
PCT/CN2017/094188 WO2018076830A1 (en) 2016-10-25 2017-07-24 Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610949145.5A CN106453597B (en) 2016-10-25 2016-10-25 The method of adjustment of data synchronizing cycles, apparatus and system

Publications (2)

Publication Number Publication Date
CN106453597A true CN106453597A (en) 2017-02-22
CN106453597B CN106453597B (en) 2019-08-06

Family

ID=58178624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610949145.5A Active CN106453597B (en) 2016-10-25 2016-10-25 The method of adjustment of data synchronizing cycles, apparatus and system

Country Status (2)

Country Link
CN (1) CN106453597B (en)
WO (1) WO2018076830A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937372A (en) * 2017-04-05 2017-07-07 深圳天珑无线科技有限公司 A kind of method and device of synchronizing information
CN107450710A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Using cycle synchronisation management method, device, storage medium and electronic equipment
WO2018076830A1 (en) * 2016-10-25 2018-05-03 广东欧珀移动通信有限公司 Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system
CN109547983A (en) * 2017-08-11 2019-03-29 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance, control method and system thereof and server
CN110830548A (en) * 2019-09-23 2020-02-21 深圳市中景元科技有限公司 Internet of things card operation platform, data updating method, device and storage medium
CN113315875A (en) * 2021-05-25 2021-08-27 中国平安财产保险股份有限公司 Call information synchronization method and device, call information synchronization equipment and storage medium
CN109547983B (en) * 2017-08-11 2024-05-28 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance, control method and system thereof and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856517A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Synchronous equalization system and method thereof
CN104798069A (en) * 2012-09-18 2015-07-22 诺基亚技术有限公司 Methods, apparatuses and computer program products for providing a protocol to resolve synchronization conflicts when synchronizing between multiple devices
CN105210039A (en) * 2013-03-14 2015-12-30 三星电子株式会社 Terminal and method for synchronizing application thereof
EP3070619A1 (en) * 2015-03-16 2016-09-21 Canon Kabushiki Kaisha Information processing apparatuses performing synchronization of data and data synchronization methods

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841168B (en) * 2012-11-27 2017-09-29 中国电信股份有限公司 Data trnascription update method and meta data server
CN104253868B (en) * 2014-09-24 2017-12-12 无锡清华信息科学与技术国家实验室物联网技术中心 A kind of method and device of cloud storage data syn-chronization
CN106453597B (en) * 2016-10-25 2019-08-06 Oppo广东移动通信有限公司 The method of adjustment of data synchronizing cycles, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104798069A (en) * 2012-09-18 2015-07-22 诺基亚技术有限公司 Methods, apparatuses and computer program products for providing a protocol to resolve synchronization conflicts when synchronizing between multiple devices
CN103856517A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Synchronous equalization system and method thereof
CN105210039A (en) * 2013-03-14 2015-12-30 三星电子株式会社 Terminal and method for synchronizing application thereof
EP3070619A1 (en) * 2015-03-16 2016-09-21 Canon Kabushiki Kaisha Information processing apparatuses performing synchronization of data and data synchronization methods

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076830A1 (en) * 2016-10-25 2018-05-03 广东欧珀移动通信有限公司 Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system
CN106937372A (en) * 2017-04-05 2017-07-07 深圳天珑无线科技有限公司 A kind of method and device of synchronizing information
CN107450710A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Using cycle synchronisation management method, device, storage medium and electronic equipment
CN109547983A (en) * 2017-08-11 2019-03-29 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance, control method and system thereof and server
CN109547983B (en) * 2017-08-11 2024-05-28 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance, control method and system thereof and server
CN110830548A (en) * 2019-09-23 2020-02-21 深圳市中景元科技有限公司 Internet of things card operation platform, data updating method, device and storage medium
CN110830548B (en) * 2019-09-23 2023-12-26 深圳市果壳跳动科技有限公司 Internet of things card operation platform, data updating method and device and storage medium
CN113315875A (en) * 2021-05-25 2021-08-27 中国平安财产保险股份有限公司 Call information synchronization method and device, call information synchronization equipment and storage medium
CN113315875B (en) * 2021-05-25 2022-12-02 中国平安财产保险股份有限公司 Call information synchronization method and device, call information synchronization equipment and storage medium

Also Published As

Publication number Publication date
CN106453597B (en) 2019-08-06
WO2018076830A1 (en) 2018-05-03

Similar Documents

Publication Publication Date Title
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN106502834B (en) Backup method, the apparatus and system of data
CN106357897A (en) Fall information acquiring method and device
CN103327102A (en) Application program recommending method and device
CN106453597A (en) Data synchronization cycle adjustment method, device and system
CN103442330A (en) Position notification method and device
CN104135502B (en) A kind of method, relevant device and system realizing application message and remind
CN104717341A (en) Message prompting method and terminal
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN104427074A (en) Method, device and system for displaying incoming information
CN106453511A (en) Data backup method and data backup device
CN104348943A (en) Incoming call prompt method and incoming call prompt device
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN104572690A (en) Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system
CN103177217B (en) A kind of file scanning method, system and client and server
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN106341713A (en) Multimedia synchronous play method, apparatus and system, and terminal
CN104869465A (en) Video playing control method and device
CN103533127A (en) Call control method of terminal and terminal
CN103647868A (en) Method and device for reducing ringtone interferences
CN104660769A (en) Method, device and system for adding contact person information
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN105430035A (en) Network data uploading method and device
CN105245432A (en) Unread message counting method, unread message counting device and terminal
CN106452644A (en) Playing control method and device, and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant