WO2018076830A1 - 数据同步周期的调整方法、装置、电子设备、存储介质及系统 - Google Patents

数据同步周期的调整方法、装置、电子设备、存储介质及系统 Download PDF

Info

Publication number
WO2018076830A1
WO2018076830A1 PCT/CN2017/094188 CN2017094188W WO2018076830A1 WO 2018076830 A1 WO2018076830 A1 WO 2018076830A1 CN 2017094188 W CN2017094188 W CN 2017094188W WO 2018076830 A1 WO2018076830 A1 WO 2018076830A1
Authority
WO
WIPO (PCT)
Prior art keywords
synchronization period
data
preset
prompt information
server
Prior art date
Application number
PCT/CN2017/094188
Other languages
English (en)
French (fr)
Inventor
江凌生
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018076830A1 publication Critical patent/WO2018076830A1/zh

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

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, an electronic device, a storage medium, and a system for adjusting a data synchronization period.
  • the cloud server mainly detects changes in data that need to be synchronized, such as contacts and short messages, through active monitoring. When it is detected that the data changes, the changed data is uploaded to the cloud server to synchronize the data.
  • the embodiment of the invention provides a method, a device, an electronic device, a storage medium and a system for adjusting a data synchronization period, which can reduce the access pressure of the cloud server.
  • an embodiment of the present invention provides a method for adjusting a data synchronization period, including:
  • the embodiment of the present invention further provides an apparatus for adjusting a data synchronization period, including:
  • a sending module configured to send a synchronization request to the server
  • a receiving module configured to: when the number of synchronization requests of the server exceeds a threshold, receive prompt information returned by the server according to the synchronization request;
  • an adjustment module configured to extend the current synchronization period according to the prompt information.
  • the embodiment of the present invention further provides an apparatus for adjusting a data synchronization period, including:
  • a receiving module configured to receive a synchronization request sent by at least one terminal, and obtain the number of the synchronization request
  • a determining module configured to determine whether the number of the synchronization requests exceeds a preset threshold
  • a sending module configured to: when the number of the synchronization requests exceeds a preset threshold, generate prompt information, and send the prompt information to the terminal; the prompt information is used to prompt the terminal to extend its current synchronization period.
  • an embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform an adjustment method of the data synchronization period.
  • an embodiment of the present invention further provides a data synchronization period adjustment system, including a server and a terminal, where the terminal includes the data synchronization period adjustment apparatus provided by the second aspect.
  • an embodiment of the present invention further provides an electronic device, including a processor and a memory, the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is configured to execute The following steps:
  • the embodiment of the invention provides a method, a device, an electronic device, a storage medium and a system for adjusting a data synchronization period, which can reduce the access pressure of the cloud server.
  • FIG. 1 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 3 of the present invention.
  • FIG. 4 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for adjusting a data synchronization period according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic diagram of a preferred structure of an apparatus for adjusting a data synchronization period according to Embodiment 5 of the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus for adjusting a data synchronization period according to Embodiment 6 of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal according to Embodiment 7 of the present invention.
  • FIG. 9 is a schematic structural diagram of a data synchronization period adjustment system according to an embodiment of the present invention.
  • first”, “second” and “third” and the like in the present invention are used to distinguish different objects, and are not intended to describe a specific order.
  • the terms “comprises” and “comprising” and “comprising” are intended to cover a non-exclusive inclusion.
  • a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the embodiment of the invention provides a method for adjusting a data synchronization period, which includes the following steps:
  • the step of extending the current synchronization period according to the prompt information includes:
  • the current synchronization period is extended according to the capacity of the data to be synchronized.
  • the step of extending the current synchronization period according to the capacity of the data to be synchronized includes:
  • the current synchronization period is extended according to the time adjustment amount.
  • the step of extending the current synchronization period according to the prompt information includes:
  • the current synchronization period is extended according to the preset adjustment amount.
  • the step of extending the current synchronization period according to the preset adjustment amount includes:
  • the current synchronization period is extended by the incremental time.
  • the step of extending the current synchronization period according to the preset adjustment amount includes:
  • the current synchronization period is multiplied by the increment factor.
  • the execution body of the data synchronization period adjustment method provided by the first embodiment of the present invention may provide a data synchronization period adjustment apparatus of six or a server integrated with the data synchronization period adjustment apparatus, and the data synchronization period.
  • the adjustment device can be implemented in hardware or software.
  • FIG. 1 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 1 of the present invention.
  • Step S101 Receive a synchronization request sent by at least one terminal, and acquire the number of the synchronization request.
  • a server receives a synchronization request sent by one or more terminals. After that, the server counts the number of synchronization requests received, that is, the number of terminals to be synchronized.
  • Step S102 determining whether the number of synchronization requests exceeds a preset threshold.
  • the server compares the number of terminals to be synchronized with a preset threshold, wherein the preset threshold may be specifically set according to an empirical value.
  • the preset threshold may be set according to the load of the server. If the server determines that the number of terminals to be synchronized is less than or equal to the preset threshold, the server may return to step S101. If the server determines that the number of terminals to be synchronized is greater than the preset threshold, the server performs step S103.
  • Step S103 If the number of the synchronization requests exceeds a preset threshold, generate prompt information, and send the prompt information to the terminal.
  • the server determines that the number of terminals to be synchronized is greater than the preset threshold, the server generates the identifier information that the current server access pressure is large, instructs the terminal to extend the synchronization period, and sends the information to each terminal to be synchronized. .
  • the prompt information is used to prompt each terminal to extend its current synchronization period.
  • the preset threshold is 50. If 100 terminals send a synchronization request to the server, the number of synchronization requests is 100. Since 100 is greater than 50, that is, the number of synchronization requests exceeds the preset threshold, the server separately sends prompt information to the above 100 terminals, so that each terminal extends its current synchronization period.
  • the method further includes:
  • the terminal After the terminal extends the current synchronization period, the terminal sends the extended period to the server, and the server receives the extended synchronization period.
  • the server receives the synchronization period information and the device identifier returned by the terminal according to the prompt information, that is, when the terminal returns the extended synchronization period to the server, the terminal also returns the device identifier.
  • the server then associates and stores the synchronization period information with the device identification. That is, the server associates and stores the extended synchronization period with the device identifier of the terminal.
  • the server when the server receives the synchronization request sent by the terminal again, the time interval between the current synchronization request and the last synchronization request is obtained, and it is determined whether the time interval is consistent with the extended synchronization period. If the time interval coincides with the extended synchronization period described above, the data is to be synchronized to the terminal in response to the synchronization request of the terminal, such as the server. Otherwise, the server may not respond to the terminal's synchronization request.
  • the method for adjusting the data synchronization period of the embodiment by receiving the synchronization request sent by the at least one terminal, and acquiring the number of the synchronization requests; determining whether the number of the synchronization requests exceeds a preset threshold; if the number of the synchronization requests exceeds a preset The threshold generates a prompt message and sends the prompt information to the terminal.
  • the terminal is reminded to extend the current synchronization period to avoid excessive terminal access to the server in the same period, thereby reducing the access pressure of the server, avoiding server defects, and improving the flexibility of data synchronization.
  • the execution body of the method for adjusting the data synchronization period provided by the second to fourth embodiments of the present invention may be the apparatus for adjusting the data synchronization period provided by the fifth embodiment of the present invention, or the mobile terminal integrated with the adjustment unit of the data synchronization period (for example, The notebook, tablet, mobile phone, wearable device, etc., the data synchronization period adjustment device can be implemented by hardware or software.
  • FIG. 2 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 2 of the present invention.
  • step S201 a synchronization request is sent to the server.
  • the terminal sends a request for data synchronization to a server (ie, a cloud server).
  • a server ie, a cloud server
  • Step S202 When the number of synchronization requests of the server exceeds a threshold, receiving prompt information returned by the server according to the synchronization request.
  • the server when the server receives the request of the terminal, if the server determines that the number of received requests exceeds a preset threshold, the prompt information is sent to the terminal. The terminal then receives the prompt information. It can be understood that the prompt information is that the current server access pressure is large, and the terminal is instructed to extend the synchronization period information.
  • Step S203 extending the current synchronization period according to the prompt information.
  • the current synchronization period is extended or increased. It can be understood that the extended synchronization period is greater than the current synchronization period.
  • the synchronization request is sent to the server; when the number of synchronization requests of the server exceeds the threshold, the prompt information returned by the server according to the synchronization request is received; and the current synchronization period is extended according to the prompt information.
  • the server detects that the number of terminals to be synchronized is relatively large, the prompt information is sent to the terminal. After that, the terminal extends the current synchronization period to avoid excessive terminal access to the server in the same period, thereby reducing the access pressure of the cloud server.
  • FIG. 3 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 3 of the present invention.
  • Step S301 sending a synchronization request to the server.
  • the terminal sends a request for data synchronization to a server (ie, a cloud server).
  • a server ie, a cloud server
  • Step S302 when the number of synchronization requests of the server exceeds a threshold, receiving prompt information returned by the server according to the synchronization request.
  • the server After the server receives the request of the terminal, if the server determines that the number of received requests exceeds a preset threshold, the server sends a prompt message to the terminal, and then the terminal receives the prompt information.
  • the prompt information is that the current server access pressure is large, and the terminal is instructed to extend the synchronization period information.
  • Step S303 acquiring the capacity of the current data to be synchronized according to the prompt information.
  • the terminal acquires the data size that it needs to synchronize to the server, that is, the capacity of the data to be synchronized.
  • Step S304 extending the current synchronization period according to the capacity of the data to be synchronized.
  • the terminal extends the current synchronization period according to the size of the data currently needed to be synchronized to the server. It can be understood that the extended synchronization period is greater than the current synchronization period. For example, when the capacity of the data to be synchronized is large, the current synchronization cycle is delayed more. When the capacity of the data to be synchronized is small, the current synchronization cycle is delayed less. For example, if the current size of the data to be synchronized is 300 M, the terminal extends the current synchronization period by one week; if the current size of the data to be synchronized is 100 M, the terminal extends the current synchronization period by three days.
  • the terminal may further search for a preset time value that matches the current capacity to be synchronized, and increase the current synchronization period by the preset time value, that is, the current synchronization is extended according to the capacity of the data to be synchronized.
  • the steps of the cycle include:
  • the terminal stores in advance a preset time value corresponding to the plurality of preset data sizes and the preset data size. Specifically, the terminal searches for a preset data size corresponding to the data size that needs to be synchronized to the server in the preset database, and obtains a preset time value corresponding to the preset data size. The terminal extends the current synchronization period by the preset time value.
  • the relationship between the preset data size and the preset time value in the preset database is as follows: the data volume is 200M-500M, and the synchronization period is extended by one day; the data volume is 500M-800M, and the synchronization period is extended by three days. If the current amount of data to be synchronized is 300M, the current backup period is extended by one day.
  • the method for adjusting the data synchronization period of the embodiment by sending a synchronization request to the server; when the number of synchronization requests of the server exceeds the threshold, receiving the prompt information returned by the server according to the synchronization request; and acquiring the current data to be synchronized according to the prompt information.
  • Capacity; the current synchronization period is extended according to the capacity of the data to be synchronized.
  • FIG. 4 is a flowchart of a method for adjusting a data synchronization period according to Embodiment 4 of the present invention.
  • step S401 a synchronization request is sent to the server.
  • the terminal sends a request for data synchronization to a server (ie, a cloud server).
  • a server ie, a cloud server
  • Step S402 when the number of synchronization requests of the server exceeds a threshold, receiving prompt information returned by the server according to the synchronization request.
  • the server After the server receives the request of the terminal, if the server determines that the number of received requests exceeds a preset threshold, the server sends a prompt message to the terminal, and then the terminal receives the prompt information.
  • the prompt information is that the current server access pressure is large, and the terminal is instructed to extend the synchronization period information.
  • Step S403 obtaining a preset adjustment amount according to the prompt information.
  • the terminal acquires the pre-stored incremental time in the database, that is, the preset adjustment amount is the incremental time.
  • the preset increment time can also be an increment factor, for example, the increment factor is greater than 1. It can be understood that the preset adjustment amount is not limited to the time value and the constant, and other ways of achieving the time extension are within the protection scope of the present invention.
  • Step S404 extending the current synchronization period according to the preset adjustment amount.
  • the terminal when the preset adjustment amount is an incremental time, the terminal extends the current synchronization period by the incremental time.
  • the current synchronization period is 1 week, and the increment time is 1 week.
  • the current synchronization period is added to the incremental time, that is, the extended synchronization period is 2 weeks. After that, the terminal synchronizes the data to be synchronized to the server every 2 weeks.
  • the incremental time can make the difference between the adjusted synchronization period and the current synchronization period greater than a preset value.
  • the terminal may further multiply the current synchronization period by the increment factor. For example, if the current synchronization period is 1 week, the increment factor is 3, and the extended synchronization period is 3 weeks. After that, the terminal synchronizes the data to be synchronized to the server every three weeks.
  • the method for adjusting the data synchronization period of the embodiment by sending a synchronization request to the server; when the number of synchronization requests of the server exceeds the threshold, receiving the prompt information returned by the server according to the synchronization request; and acquiring a preset adjustment amount according to the prompt information;
  • the current synchronization period is extended according to the preset adjustment amount.
  • An embodiment of the present invention further provides an apparatus for adjusting a data synchronization period, including:
  • a sending module configured to send a synchronization request to the server
  • a receiving module configured to: when the number of synchronization requests of the server exceeds a threshold, receive prompt information returned by the server according to the synchronization request;
  • an adjustment module configured to extend the current synchronization period according to the prompt information.
  • the adjustment module comprises:
  • a capacity acquisition submodule configured to acquire, according to the prompt information, a capacity of the current data to be synchronized
  • the first adjustment submodule is configured to extend the current synchronization period according to the capacity of the data to be synchronized.
  • the first adjustment submodule is specifically configured to:
  • the adjustment module comprises:
  • a parameter obtaining submodule configured to acquire a preset adjustment amount according to the prompt information
  • the second adjustment submodule is configured to extend the current synchronization period according to the preset adjustment amount.
  • the second adjustment sub-module when the preset adjustment amount is an incremental time, is specifically configured to: extend the current synchronization period by the incremental time.
  • the second adjustment submodule is specifically configured to: multiply the current synchronization period by the increment factor.
  • FIG. 5 is a schematic structural diagram of an apparatus for adjusting a data synchronization period according to Embodiment 5 of the present invention.
  • the data synchronization period adjusting device 40 of the preferred embodiment includes a transmitting module 41, a receiving module 42, and an adjusting module 43.
  • the sending module 41 is configured to send a synchronization request to the server.
  • the terminal sends a request for data synchronization to a server (ie, a cloud server).
  • a server ie, a cloud server.
  • This synchronization request is used for data synchronization.
  • the receiving module 42 is configured to receive prompt information returned by the server according to the synchronization request when the number of synchronization requests of the server exceeds a threshold.
  • the server when the server receives the request of the terminal, if the server determines that the number of received requests exceeds a preset threshold, the prompt information is sent to the terminal. The terminal then receives the prompt information. It can be understood that the prompt information is that the current server access pressure is large, and the terminal is instructed to extend the synchronization period information.
  • the adjusting module 43 is configured to extend the current synchronization period according to the prompt information.
  • the current synchronization period is extended. It can be understood that the extended synchronization period is greater than the current synchronization period.
  • the adjustment module 43 includes a capacity acquisition submodule 431 and a first adjustment submodule 432.
  • the capacity acquisition sub-module 431 is configured to acquire the capacity of the current data to be synchronized according to the prompt information.
  • the terminal acquires the data size that it needs to synchronize to the server, that is, the capacity of the data to be synchronized.
  • the first adjustment sub-module 432 is configured to extend the current synchronization period according to the capacity of the data to be synchronized.
  • the terminal extends the current synchronization period according to the size of the data currently needed to be synchronized to the server. It can be understood that the extended synchronization period is greater than the current synchronization period. For example, when the capacity of the data to be synchronized is large, the current synchronization cycle is delayed more. When the capacity of the data to be synchronized is small, the current synchronization cycle is delayed less.
  • the first adjustment submodule 432 is specifically configured to:
  • the terminal stores in advance a preset time value corresponding to the plurality of preset data sizes and the preset data size. Specifically, the terminal searches for a preset data size corresponding to the data size that needs to be synchronized to the server in the preset database, and obtains a preset time value corresponding to the preset data size. The terminal extends the current synchronization period by the preset time value.
  • the adjustment module 43 further includes: a parameter acquisition sub-module 433 and a second adjustment sub-module 434.
  • the parameter obtaining sub-module 433 is configured to obtain a preset adjustment amount according to the prompt information.
  • the second adjustment sub-module 434 is configured to extend the current synchronization period according to the preset adjustment amount.
  • the terminal when the terminal receives the prompt information, the terminal acquires a pre-stored incremental time in the database, that is, a preset adjustment amount. The terminal then extends the current synchronization period by the incremental time. For example, the current synchronization period is 1 week, and the increment time is 1 week, that is, the extended synchronization period is 2 weeks, after which the terminal synchronizes the data to be synchronized to the server every 2 weeks. It can be understood that the incremental time can make the difference between the adjusted synchronization period and the current synchronization period greater than a preset value.
  • the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing modules refer to the foregoing method embodiments, and details are not described herein again.
  • the adjusting unit of the data synchronization period of the preferred embodiment sends a synchronization request to the server; when the number of synchronization requests of the server exceeds the threshold, receiving the prompt information returned by the server according to the synchronization request; and extending the current synchronization period according to the prompt information .
  • the server detects that the number of terminals to be synchronized is relatively large, the prompt information is sent to the terminal, and then the terminal extends the current synchronization period, thereby reducing the access pressure of the cloud server.
  • An embodiment of the present invention further provides an apparatus for adjusting a data synchronization period, including:
  • a receiving module configured to receive a synchronization request sent by at least one terminal, and obtain the number of the synchronization request
  • a determining module configured to determine whether the number of the synchronization requests exceeds a preset threshold
  • a sending module configured to: when the number of the synchronization requests exceeds a preset threshold, generate prompt information, and send the prompt information to the terminal; the prompt information is used to prompt the terminal to extend its current synchronization period.
  • FIG. 7 is a schematic structural diagram of an apparatus for adjusting a data synchronization period according to Embodiment 6 of the present invention.
  • the data synchronization period adjusting device 50 of the preferred embodiment includes a receiving module 51, a determining module 52, and a transmitting module 53.
  • the receiving module 51 is configured to receive a synchronization request sent by at least one terminal, and acquire the number of the synchronization request.
  • a server receives a synchronization request sent by one or more terminals. After that, the server counts the number of synchronization requests received, that is, the number of terminals to be synchronized.
  • the determining module 52 is configured to determine whether the number of the synchronization requests exceeds a preset threshold.
  • the server compares the number of terminals to be synchronized with a preset threshold, wherein the preset threshold may be specifically set according to an empirical value.
  • the preset threshold may be set according to the load of the server.
  • the sending module 53 is configured to generate prompt information when the number of the synchronization requests exceeds a preset threshold, and send the prompt information to the terminal; the prompt information is used to prompt the terminal to extend its current synchronization period.
  • the server determines that the number of the terminals to be synchronized is greater than the preset threshold, the server generates the identifier information that the current server access pressure is large, and indicates that each of the terminals extends the synchronization period, and sends the identifier information to each terminal to be synchronized.
  • the prompt information is used to prompt each terminal to extend its current synchronization period.
  • the foregoing modules may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing modules refer to the foregoing method embodiments, and details are not described herein again.
  • the apparatus for adjusting the data synchronization period of the embodiment receives the synchronization request sent by the at least one terminal, and acquires the number of the synchronization requests; determines whether the number of the synchronization requests exceeds a preset threshold; if the number of the synchronization requests exceeds a preset The threshold generates a prompt message and sends the prompt information to the terminal.
  • the terminal is reminded to extend the current synchronization period, thereby reducing the access pressure of the server, avoiding server defects, and improving the flexibility of data synchronization.
  • the embodiment of the present invention further provides an electronic device, including a processor and a memory, the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is configured to perform the following steps:
  • the processor when the current synchronization period is extended according to the prompt information, the processor is configured to perform the following steps:
  • the current synchronization period is extended according to the capacity of the data to be synchronized.
  • the processor when the current synchronization period is extended according to the capacity of the data to be synchronized, the processor is configured to perform the following steps:
  • the current synchronization period is extended according to the time adjustment amount.
  • the processor when the current synchronization period is extended according to the prompt information, the processor is configured to perform the following steps:
  • the current synchronization period is extended according to the preset adjustment amount.
  • the processor when the current synchronization period is extended according to the preset adjustment amount, the processor is configured to perform the following steps:
  • the current synchronization period is extended by the incremental time.
  • FIG. 8 is a schematic structural diagram of a terminal according to Embodiment 7 of the present invention.
  • the embodiment provides a terminal, and the terminal may include the above-mentioned data synchronization period adjustment device.
  • the data synchronization period adjustment device For details of the data synchronization period adjustment device, refer to the detailed description of the fifth embodiment, and details are not described herein again.
  • the embodiment of the invention further provides an electronic device, which may be a terminal such as a smart phone or a tablet computer.
  • the electronic device 60 can include radio frequency (RF, Radio) Frequency circuit 61, memory 62 including one or more computer readable storage media, input unit 63, display unit 64, sensor 65, audio circuit 66, wireless fidelity (WiFi, Wireless)
  • the Fidelity module 67 includes a processor 68 having one or more processing cores, and a power supply 69 and the like. It will be understood by those skilled in the art that the electronic device structure illustrated in FIG. 8 does not constitute a limitation to the electronic device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the radio frequency circuit 61 can be used for transmitting and receiving information, or receiving and transmitting signals during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 68; in addition, the data related to the uplink is sent to the base station. .
  • the radio frequency circuit 61 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, Subscriber Identity Module) Card, Transceiver, Coupler, Low Noise Amplifier (LNA, Low Noise) Amplifier), duplexer, etc.
  • SIM Subscriber Identity Module
  • the radio frequency circuit 61 can also communicate with the network and other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to the global mobile communication system (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio) Service), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA, Wideband Code) Division Multiple Access), Long Term Evolution (LTE), e-mail, short message service (SMS, Short) Messaging Service) and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short message service
  • Memory 62 can be used to store software programs as well as modules.
  • the processor 68 executes various functional applications and data processing by running software programs and modules stored in the memory 62.
  • the memory 62 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices (such as audio data, phone books, etc.).
  • memory 62 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 62 may also include a memory controller to provide access to memory 62 by processor 68 and input unit 63.
  • Input unit 63 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 63 can include a touch-sensitive surface as well as other input devices.
  • Touch-sensitive surfaces also known as touch screens or trackpads, collect touch operations on or near the user (such as the user using a finger, stylus, etc., any suitable object or accessory on a touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connecting device according to a preset program.
  • the touch sensitive surface may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 68 is provided and can receive commands from the processor 68 and execute them.
  • touch-sensitive surfaces can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 63 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 64 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 64 can include a display panel, and optionally, a liquid crystal display (LCD, Liquid) can be used. Crystal Display), Organic Light-Emitting (OLED) Diode) and other forms to configure the display panel.
  • the touch-sensitive surface can cover the display panel, and when the touch-sensitive surface detects a touch operation thereon or nearby, it is transmitted to the processor 68 to determine the type of the touch event, and then the processor 68 displays the type according to the type of the touch event. A corresponding visual output is provided on the panel.
  • the touch-sensitive surface and display panel are implemented as two separate components to perform input and input functions, in some embodiments, the touch-sensitive surface can be integrated with the display panel to implement input and output functions.
  • Electronic device 60 may also include at least one type of sensor 65, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel when the electronic device moves to the ear, and/or Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the electronic device can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
  • the audio circuit 66 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
  • the audio circuit 66 can convert the received audio data into an electrical signal, which is transmitted to the speaker and converted into a sound signal output by the speaker.
  • the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 66 and converted into
  • the audio data is processed by the audio data output processor 68, transmitted via the RF circuit 61 to, for example, another electronic device, or the audio data is output to the memory 62 for further processing.
  • the audio circuit 66 may also include an earbud jack to provide communication of the peripheral earphones with the electronic device.
  • Wireless Fidelity is a short-range wireless transmission technology.
  • the electronic device can help users to send and receive e-mail, browse web pages and access streaming media through the wireless fidelity module 67, which provides users with wireless broadband Internet access.
  • FIG. 8 shows the wireless fidelity module 67, it can be understood that it does not belong to the essential configuration of the electronic device, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 68 is a control center for the electronic device that connects various portions of the entire electronic device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 62, and recalling data stored in the memory 62. , performing various functions and processing data of the electronic device to perform overall monitoring of the electronic device.
  • the processor 68 may include one or more processing cores; preferably, the processor 68 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 68.
  • the electronic device 60 also includes a power source 69 (such as a battery) that powers the various components.
  • the power source can be logically coupled to the processor 68 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 69 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the electronic device may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 68 in the electronic device loads the executable file corresponding to the process of one or more applications into the memory 62 according to the following instructions, and is stored and stored by the processor 68.
  • the application in memory 62 thereby implementing various functions:
  • the processor 68 has a transmitting module, a receiving module, and an adjusting module.
  • the processor 68 is configured to send a synchronization request to the server.
  • the processor 68 is configured to receive, when the number of synchronization requests of the server exceeds a threshold, the prompt information returned by the server according to the synchronization request.
  • the processor 68 is configured to extend the current synchronization period according to the prompt information.
  • the processor 68 when the current synchronization period is extended according to the prompt information, the processor 68 is configured to perform the following steps:
  • the current synchronization period is extended according to the capacity of the data to be synchronized.
  • the processor 68 when the current synchronization period is extended according to the capacity of the data to be synchronized, the processor 68 is configured to perform the following steps:
  • the current synchronization period is extended according to the time adjustment amount.
  • the processor 68 when the current synchronization period is extended according to the prompt information, the processor 68 is configured to perform the following steps:
  • the current synchronization period is extended according to the preset adjustment amount.
  • the processor 68 when the current synchronization period is extended according to the preset adjustment amount, the processor 68 is configured to perform the following steps:
  • the current synchronization period is extended by the incremental time.
  • the electronic device of the preferred embodiment sends a synchronization request to the server; when the number of synchronization requests of the server exceeds a threshold, the prompt information returned by the server according to the synchronization request is received; and the current synchronization period is extended according to the prompt information.
  • the server detects that the number of electronic devices to be synchronized is relatively large, the prompt information is sent to the electronic device, and then the electronic device extends the current synchronization period, thereby reducing the access pressure of the cloud server.
  • the embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform the adjustment method of the data synchronization period described in any of the foregoing embodiments.
  • the present invention further provides a data synchronization period adjustment system 100 including a server 70 and at least one terminal 60, and the terminal 60 establishes a network connection with the server 70.
  • the terminal 60 may include any of the data synchronization period adjustment devices provided in the fifth embodiment.
  • the server 70 includes the data synchronization period adjustment device provided in the sixth embodiment.
  • the terminal 60 may be specifically a device such as a tablet computer or a mobile phone.
  • At least one terminal 60 sends a synchronization request to the server 70, the server 70 receives the synchronization request sent by at least one terminal 60, and acquires the number of synchronization requests; afterwards, the server 70 determines whether the number of synchronization requests exceeds a preset. Threshold; when the server 70 determines that the number of synchronization requests exceeds a preset threshold, generating prompt information, and transmitting the prompt information to each terminal 60; the prompt information is used to prompt the terminal 60 to extend its current synchronization period. Then, the terminal 60 receives the prompt information returned by the server according to the synchronization request; and extends the current synchronization period according to the prompt information, thereby reducing the access pressure of the server.
  • Threshold when the server 70 determines that the number of synchronization requests exceeds a preset threshold, generating prompt information, and transmitting the prompt information to each terminal 60; the prompt information is used to prompt the terminal 60 to extend its current synchronization period.
  • the terminal 60 receives the prompt information returned
  • FIG. 9 shows a schematic diagram of a terminal, it will be understood that the system may also include two or more terminals.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
  • ROM Read only memory
  • RAM Random Access Memory

Landscapes

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

Abstract

本发明提供一种数据同步周期的调整方法、装置、电子设备、存储介质及系统,该数据同步周期的调整方法包括:向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;根据该提示信息延长当前的同步周期。

Description

数据同步周期的调整方法、装置、电子设备、存储介质及系统
本申请要求于2016年10月25日提交中国专利局、申请号为201610949145.5、发明名称为“数据同步周期的调整方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,特别是涉及一种数据同步周期的调整方法、装置、电子设备、存储介质及系统。
背景技术
目前,云服务器主要是通过主动监听方式检测联系人、短信等需要同步的数据的变化。当检测到数据发生变化时,便向云服务器上传变化的数据,以实现数据的同步。
技术问题
本发明实施例提供一种数据同步周期的调整方法、装置、电子设备、存储介质及系统,可以降低云服务器的访问压力。
技术解决方案
第一方面,本发明实施例提供一种数据同步周期的调整方法,其包括:
向服务器发送同步请求;
当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
根据所述提示信息延长当前的同步周期。
第二方面,本发明实施例还提供一种数据同步周期的调整装置,其包括:
发送模块,用于向服务器发送同步请求;
接收模块,用于当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
调整模块,用于根据所述提示信息延长当前的同步周期。
第三方面,本发明实施例还提供一种数据同步周期的调整装置,其包括:
接收模块,用于接收至少一个终端发送的同步请求,并获取所述同步请求的数量;
判断模块,用于判断所述同步请求的数量是否超过预设阈值;
发送模块,用于当所述同步请求的数量超过预设阈值时,生成提示信息,并向所述终端发送所述提示信息;所述提示信息用于提示所述终端延长其当前的同步周期。
第四方面,本发明实施例还提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述数据同步周期的调整方法。
第五方面,本发明实施例还提供一种数据同步周期的调整系统,其包括服务器以及终端,所述终端包括上述第二方面提供的数据同步周期的调整装置。
第六方面,本发明实施例还提供一种电子设备,其包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
向服务器发送同步请求;
当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
根据所述提示信息延长当前的同步周期。
有益效果
本发明实施例提供一种数据同步周期的调整方法、装置、电子设备、存储介质及系统,可以降低云服务器的访问压力。
附图说明
图1为本发明实施例一提供的数据同步周期的调整方法的流程图。
图2为本发明实施例二提供的数据同步周期的调整方法的流程图。
图3为本发明实施例三提供的数据同步周期的调整方法的流程图。
图4为本发明实施例四提供的数据同步周期的调整方法的流程图。
图5为本发明实施例五提供的数据同步周期的调整装置的结构示意图。
图6为本发明实施例五提供的数据同步周期的调整装置的优选结构示意图。
图7为本发明实施例六提供的数据同步周期的调整装置的结构示意图。
图8为本发明实施例七提供的终端的结构示意图。
图9为本发明实施例提供的数据同步周期的调整系统的结构示意图。
本发明的最佳实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
随着移动终端用户的持续增长,服务器的访问压力也随之增大。如果仍然采用现有的同步方式,则容易导致云服务器超负荷运行,进而导致部分用户无法访问的情况,甚至会使云服务器瘫痪。由此可见,现有的同步方法的容易增大云服务器的访问压力。
本发明实施例提供一种数据同步周期的调整方法,其包括以下步骤:
向服务器发送同步请求;
当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
根据所述提示信息延长当前的同步周期。
在一些实施例中,所述根据所述提示信息延长当前的同步周期的步骤包括:
根据所述提示信息获取当前待同步数据的容量;
根据所述待同步数据的容量延长当前的同步周期。
在一些实施例中,所述根据所述待同步数据的容量延长当前的同步周期的步骤包括:
在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;
根据所述时间调整量延长所述当前的同步周期。
在一些实施例中,所述根据所述提示信息延长当前的同步周期的步骤包括:
根据所述提示信息获取预设调整量;
按照所述预设调整量延长当前的同步周期。
在一些实施例中,所述按照该预设调整量延长当前的同步周期的步骤包括:
当所述预设调整量为增量时间时,将所述当前的同步周期延长所述增量时间。
在一些实施例中,所述按照该预设调整量延长当前的同步周期的步骤包括:
当所述预设调整量为增量因子时,将所述当前的同步周期乘以所述增量因子。
本发明实施例一提供的数据同步周期的调整方法的执行主体,可以为本发明实施例提供六的数据同步周期的调整装置,或者集成了该数据同步周期的调整装置的服务器,该数据同步周期的调整装置可以采用硬件或者软件的方式实现。
请参照图1,图1为本发明实施例一提供的数据同步周期的调整方法的流程图。
本优选实施例的数据同步周期的调整方法,包括:
步骤S101,接收至少一个终端发送的同步请求,并获取该同步请求的数量。
例如,服务器(也即云服务器)接收一个或者一个以上的终端发送的同步请求。之后,服务器统计接收到的同步请求的数量,也即待同步的终端的数量。
步骤S102,判断该同步请求的数量是否超过预设阈值。
例如,服务器将该待同步的终端的数量与预设阈值进行比较,其中该预设阈值具体可以根据经验值设定。优选地,该预设阈值可以根据服务器的负荷进行设定。如果服务器判定该待同步的终端的数量小于等于该预设阈值,则服务器可以返回步骤S101。如果服务器判定该待同步的终端的数量大于该预设阈值,则服务器执行步骤S103。
步骤S103,若该同步请求的数量超过预设阈值,则生成提示信息,并向该终端发送该提示信息。
例如,当服务器判定该待同步的终端的数量大于该预设阈值时,服务器生成当前服务器访问压力较大的,指示终端延长同步周期的标识信息,并将该信息发送至每个待同步的终端。其中该提示信息用于提示每个终端延长其当前的同步周期。
比如,该预设阈值为50,若有100个终端向服务器发送了同步请求,则同步请求的数量为100。由于100大于50,也即同步请求的数量超过了该预设阈值,因此服务器分别向上述100个终端分别发送提示信息,以使每个终端延长其当前的同步周期。
优选地,在当该同步请求的数量超过预设阈值时,生成提示信息,并向该终端发送该提示信息的步骤之后,该方法还包括:
(1)接收该终端根据该提示信息返回的同步周期信息;
例如,当终端对当前的同步周期进行延长后,终端将延长后的周期发送至服务器,服务器接收该延长后的同步周期。
进一步地,服务器接收该终端根据该提示信息返回的同步周期信息和设备标识,也即终端在向服务器返回延长后的同步周期时,还返回设备标识。之后,服务器将同步周期信息与该设备标识建立关联并存储。也即服务器将该延长后的同步周期与终端的设备标识建立关联并存储。
(2)根据该同步周期信息对该同步请求进行处理。
具体地,当服务器再次接收到终端发送的同步请求时,获取本次同步请求距离上一次同步请求之间的时间间隔,并判断该时间间隔是否与延长后的同步周期一致。如果该时间间隔与上述的延长后的同步周期一致,则响应终端的同步请求,比如服务器将待同步的数据发送至终端。否则,服务器可以不响应终端的同步请求。
本实施例的数据同步周期的调整方法,通过接收至少一个终端发送的同步请求,并获取该同步请求的数量;判断该同步请求的数量是否超过预设阈值;若该同步请求的数量超过预设阈值,则生成提示信息,并向该终端发送该提示信息。由于在检测到待同步终端的数量较多时,提醒终端延长当前的同步周期,避免同一时段过多的终端访问服务器,从而可以降低服务器的访问压力,避免服务器瘫痪,提高了数据同步的灵活性。
本发明实施例二至四提供的数据同步周期的调整方法的执行主体,可以为本发明实施例五提供的数据同步周期的调整装置,或者集成了该数据同步周期的调整装置的移动终端(譬如笔记本、平板电脑、手机、可穿戴设备等),该数据同步周期的调整装置可以采用硬件或者软件的方式实现。
请参照图2,图2为本发明实施例二提供的数据同步周期的调整方法的流程图。
本优选实施例的数据同步周期的调整方法,包括:
步骤S201,向服务器发送同步请求。
例如,终端向服务器(也即云服务器)发送数据同步的请求。
步骤S202,当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息。
例如,当服务器接收终端的请求后,如果服务器判定接收到的请求的数量超过预设阈值时,向终端发送提示信息。之后终端接收该提示信息。可以理解的,该提示信息为当前服务器访问压力较大的,指示终端延长同步周期的信息。
步骤S203,根据该提示信息延长当前的同步周期。
例如,在终端接收到该提示信息后,延长或者增大当前的同步周期。可以理解的,延长后的同步周期大于当前的同步周期。
本实施例的数据同步周期的调整方法,通过向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;根据该提示信息延长当前的同步周期。由于在服务器检测到待同步终端的数量比较多时,向终端发送提示信息。之后终端延长当前的同步周期,避免同一时段过多的终端访问服务器,从而降低了云服务器的访问压力。
请参照图3,图3为本发明实施例三提供的数据同步周期的调整方法的流程图。
本优选实施例的数据同步周期的调整方法,包括:
步骤S301,向服务器发送同步请求。
例如,终端向服务器(也即云服务器)发送数据同步的请求。
步骤S302,当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息。
例如,当服务器接收终端的请求后,如果服务器判定接收到的请求的数量超过预设阈值时,向终端发送提示信息,之后终端接收该提示信息。其可以理解的,该提示信息为当前服务器访问压力较大的,指示终端延长同步周期的信息。
步骤S303,根据该提示信息获取当前待同步数据的容量。
例如,在终端接收到该提示信息后,终端获取其当前需要同步到服务器上的数据大小,也即待同步数据的容量。
步骤S304,根据该待同步数据的容量延长当前的同步周期。
例如,终端根据当前需要同步到服务器上的数据大小,延长当前的同步周期。可以理解的,延长后的同步周期大于当前的同步周期。比如,当待同步数据的容量较大时,将当前的同步周期延迟的多一些。当待同步数据的容量较小时,将当前的同步周期延迟的少一些。比如,当前的待同步数据的大小为300M,则终端将当前的同步周期延长一周;如果当前的待同步数据的大小为100M,则终端将当前的同步周期延长三天。
在另一实施例中,终端还可以查找与当前的待同步容量匹配的预设时间值,将当前的同步周期增加该预设时间值,也即该根据该待同步数据的容量延长当前的同步周期的步骤包括:
C、在预设数据库中查找与该待同步数据的容量匹配的预设容量样本,获取该预设容量样本对应的时间调整量。
D、根据该时间调整量延长该当前的同步周期。
例如,终端预先存储有对多个预设数据大小以及与该预设数据大小对应的预设时间值。具体地,终端在预设数据库中查找与当前需要同步到服务器上的数据大小对应的预设数据大小,并获取该预设数据大小对应的预设时间值。终端将当前的同步周期延长该预设时间值。
比如,预设数据库中的预设数据大小和预设时间值的关系如下:数据量为200M-500M,将同步周期延长一天;数据量为500M-800M,将同步周期延长三天。若当前待同步的数据量为300M,则将当前的备份周期延长一天。
本实施例的数据同步周期的调整方法,通过向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;根据该提示信息获取当前待同步数据的容量;根据该待同步数据的容量延长当前的同步周期。由于在服务器检测到待同步终端的数量比较多时,终端获取待同步数据的容量,并根据待同步数据的容量延长当前的同步周期,避免同一时段过多的终端访问服务器。因此在降低了云服务器的访问压力的同时,提高了备份的效率。
请参照图4,图4为本发明实施例四提供的数据同步周期的调整方法的流程图。
本优选实施例的数据同步周期的调整方法,包括:
步骤S401,向服务器发送同步请求。
例如,终端向服务器(也即云服务器)发送数据同步的请求。
步骤S402,当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息。
例如,当服务器接收终端的请求后,如果服务器判定接收到的请求的数量超过预设阈值时,向终端发送提示信息,之后终端接收该提示信息。其可以理解的,该提示信息为当前服务器访问压力较大的,指示终端延长同步周期的信息。
步骤S403,根据该提示信息获取预设调整量。
例如,在终端接收到提示信息时,终端在数据库中获取预先存储的增量时间,也即预设调整量为增量时间。当然该预设增量时间也可为增量因子,比如该增量因子大于1。可以理解的,预设调整量不局限于时间值和常数,其他能够实现时间延长的方式均在本发明的保护范围内。
步骤S404,按照该预设调整量延长当前的同步周期。
例如,当该预设调整量为增量时间时,终端将当前的同步周期延长该增量时间。比如当前的同步周期为1周,该增量时间为1周,具体地将当前的同步周期与该增量时间进行加法运算,也即延长后的同步周期为2周。之后,终端每2周将待同步数据同步至服务器。
可以理解的,该增量时间能够使得调整后的同步周期与当前的同步周期之间的差值大于预设值。
当该预设调整量为增量因子时,终端还可以将当前的同步周期乘以该增量因子。比如当前的同步周期为1周,该增量因子为3,则延长后的同步周期为3周。之后,终端每3周将待同步数据同步至服务器。
本实施例的数据同步周期的调整方法,通过向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;根据该提示信息获取预设调整量;按照该预设调整量延长当前的同步周期。由于在服务器检测到待同步终端的数量比较多时,终端根据预先设置一个增量参数,延长当前的同步周期,因此在降低了云服务器的访问压力的同时,提高了备份的效率。
本发明实施例还提供一种数据同步周期的调整装置,其包括:
发送模块,用于向服务器发送同步请求;
接收模块,用于当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
调整模块,用于根据所述提示信息延长当前的同步周期。
在一些实施例中,所述调整模块包括:
容量获取子模块,用于根据所述提示信息获取当前待同步数据的容量;
第一调整子模块,用于根据所述待同步数据的容量延长当前的同步周期。
在一些实施例中,所述第一调整子模块,具体用于:
在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;以及根据所述时间调整量延长所述当前的同步周期。
在一些实施例中,所述调整模块包括:
参数获取子模块,用于根据所述提示信息获取预设调整量;
第二调整子模块,用于按照所述预设调整量延长当前的同步周期。
在一些实施例中,当该预设调整量为增量时间时,所述第二调整子模块具体用于:将所述当前的同步周期延长所述增量时间。
在一些实施例中,当所述预设调整量为增量因子时,所述第二调整子模块具体用于:将所述当前的同步周期乘以所述增量因子。
请参照图5,图5为本发明实施例五提供的数据同步周期的调整装置的结构示意图。本优选实施例的数据同步周期的调整装置40包括:发送模块41、接收模块42、调整模块43。
该发送模块41,用于向服务器发送同步请求。
例如,终端向服务器(也即云服务器)发送数据同步的请求。该同步请求用于进行数据同步。
该接收模块42,用于当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息。
例如,当服务器接收终端的请求后,如果服务器判定接收到的请求的数量超过预设阈值时,向终端发送提示信息。之后终端接收该提示信息。可以理解的,该提示信息为当前服务器访问压力较大的,指示终端延长同步周期的信息。
该调整模块43,用于根据该提示信息延长当前的同步周期。
例如,在终端接收到该提示信息后,对当前的同步周期进行延长。可以理解的,延长后的同步周期大于当前的同步周期。
在一些实施例中,如图6所示,该调整模块43包括:容量获取子模块431和第一调整子模块432。
该容量获取子模块431,用于根据该提示信息获取当前待同步数据的容量。
例如,在终端接收到该提示信息后,终端获取其当前需要同步到服务器上的数据大小,也即待同步数据的容量。
该第一调整子模块432,用于根据该待同步数据的容量延长当前的同步周期。
例如,终端根据当前需要同步到服务器上的数据大小,延长当前的同步周期。可以理解的,延长后的同步周期大于当前的同步周期。比如,当待同步数据的容量较大时,将当前的同步周期延迟的多一些。当待同步数据的容量较小时,将当前的同步周期延迟的少一些。
在一些实施例中,该第一调整子模块432具体用于:
在预设数据库中查找与该待同步数据的容量匹配的预设容量样本,获取该预设容量样本对应的时间调整量;以及根据该时间调整量延长该当前的同步周期。
例如,终端预先存储有对多个预设数据大小以及与该预设数据大小对应的预设时间值。具体地,终端在预设数据库中查找与当前需要同步到服务器上的数据大小对应的预设数据大小,并获取该预设数据大小对应的预设时间值。终端将当前的同步周期延长该预设时间值。
在一些实施例中,该调整模块43还包括:参数获取子模块433和第二调整子模块434。
该参数获取子模块433,用于根据该提示信息获取预设调整量。
该第二调整子模块434,用于按照该预设调整量延长当前的同步周期。
例如,在终端接收到提示信息时,终端在数据库中获取预先存储的增量时间,也即预设调整量。之后终端将当前的同步周期延长该增量时间。比如当前的同步周期为1周,该增量时间为1周,也即延长后的同步周期为2周,之后终端每2周将待同步数据同步至服务器。可以理解的,该增量时间能够使得调整后的同步周期与当前的同步周期之间的差值大于预设值。
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。
本优选实施例的数据同步周期的调整装置,通过向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;根据该提示信息延长当前的同步周期。由于在服务器检测到待同步终端的数量比较多时,向终端发送提示信息,之后终端延长当前的同步周期,从而降低了云服务器的访问压力。
本发明实施例还提供一种数据同步周期的调整装置,其包括:
接收模块,用于接收至少一个终端发送的同步请求,并获取所述同步请求的数量;
判断模块,用于判断所述同步请求的数量是否超过预设阈值;
发送模块,用于当所述同步请求的数量超过预设阈值时,生成提示信息,并向所述终端发送所述提示信息;所述提示信息用于提示所述终端延长其当前的同步周期。
请参照图7,图7为本发明实施例六提供的数据同步周期的调整装置的结构示意图。本优选实施例的数据同步周期的调整装置50包括:接收模块51、判断模块52、发送模块53。
接收模块51,用于接收至少一个终端发送的同步请求,并获取该同步请求的数量。
例如,服务器(也即云服务器)接收一个或者一个以上的终端发送的同步请求。之后,服务器统计接收到的同步请求的数量,也即待同步的终端的数量。
判断模块52,用于判断该同步请求的数量是否超过预设阈值。
例如,服务器将该待同步的终端的数量与预设阈值进行比较,其中该预设阈值具体可以根据经验值设定。优选地,该预设阈值可以根据服务器的负荷进行设定。
发送模块53,用于当该同步请求的数量超过预设阈值时,生成提示信息,并向该终端发送该提示信息;该提示信息用于提示该终端延长其当前的同步周期。
例如,当服务器判定该待同步的终端的数量大于该预设阈值时,服务器生成当前服务器访问压力较大的,指示每个上述终端延长同步周期的标识信息,并发送至每个待同步的终端。其中该提示信息用于提示每个终端延长其当前的同步周期。
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。
本实施例的数据同步周期的调整装置,通过接收至少一个终端发送的同步请求,并获取该同步请求的数量;判断该同步请求的数量是否超过预设阈值;若该同步请求的数量超过预设阈值,则生成提示信息,并向该终端发送该提示信息。由于在检测到待同步终端的数量较多时,提醒终端延长当前的同步周期,从而可以降低服务器的访问压力,避免服务器瘫痪,提高了数据同步的灵活性。
本发明实施例还提供一种电子设备,其包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
向服务器发送同步请求;
当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
根据所述提示信息延长当前的同步周期。
在一些实施例中,根据所述提示信息延长当前的同步周期时,所述处理器用于执行以下步骤:
根据所述提示信息获取当前待同步数据的容量;
根据所述待同步数据的容量延长当前的同步周期。
在一些实施例中,根据所述待同步数据的容量延长当前的同步周期时,所述处理器用于执行以下步骤:
在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;
根据所述时间调整量延长所述当前的同步周期。
在一些实施例中,所述根据所述提示信息延长当前的同步周期时,所述处理器用于执行以下步骤:
根据所述提示信息获取预设调整量;
按照所述预设调整量延长当前的同步周期。
在一些实施例中,所述按照该预设调整量延长当前的同步周期时,所述处理器用于执行以下步骤:
当该预设调整量为增量时间时,将所述当前的同步周期延长所述增量时间。
请参照图8,图8为本发明实施例七提供的终端的结构示意图。
本实施例提供一种终端,该终端可以包括上述的数据同步周期的调整装置,该数据同步周期的调整装置具体请参见实施例五的具体描述,在此不再赘述。
本发明实施例还提供一种电子设备,该电子设备可以是智能手机、平板电脑等终端。如图8所示,该电子设备60可以包括射频(RF,Radio Frequency)电路61、包括有一个或一个以上计算机可读存储介质的存储器62、输入单元63、显示单元64、传感器65、音频电路66、无线保真(WiFi,Wireless Fidelity)模块67、包括有一个或者一个以上处理核心的处理器68、以及电源69等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
射频电路61可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器68处理;另外,将涉及上行的数据发送给基站。通常,射频电路61包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM, Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路61还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统 (GSM,Global System of Mobile communication)、通用分组无线服务(GPRS ,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。
存储器62可用于存储软件程序以及模块。处理器68通过运行存储在存储器62的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器62可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器62可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器62还可以包括存储器控制器,以提供处理器68和输入单元63对存储器62的访问。
输入单元63可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一些实施例中,输入单元63可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器68,并能接收处理器68发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元63还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元64可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元64可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器68以确定触摸事件的类型,随后处理器68根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图8中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。
电子设备60还可包括至少一种传感器65,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路66可通过扬声器、传声器提供用户与电子设备之间的音频接口。音频电路66可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路66接收后转换为音频数据,再将音频数据输出处理器68处理后,经射频电路61以发送给比如另一电子设备,或者将音频数据输出至存储器62以便进一步处理。音频电路66还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。
无线保真(WiFi)属于短距离无线传输技术,电子设备通过无线保真模块67可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了无线保真模块67,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器68是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器62内的软件程序和/或模块,以及调用存储在存储器62内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器68可包括一个或多个处理核心;优选的,处理器68可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器68中。
电子设备60还包括给各个部件供电的电源69(比如电池)。优选的,电源可以通过电源管理系统与处理器68逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源69还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管图8中未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。
具体在本实施例中,电子设备中的处理器68会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器62中,并由处理器68来运行存储在存储器62中的应用程序,从而实现各种功能:
向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;以及根据该提示信息延长当前的同步周期。
优选地,处理器68具有发送模块、接收模块、调整模块。
处理器68,用于向服务器发送同步请求。
处理器68,用于当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息。
处理器68,用于根据该提示信息延长当前的同步周期。
在一些实施例中,根据所述提示信息延长当前的同步周期时,所述处理器68用于执行以下步骤:
根据所述提示信息获取当前待同步数据的容量;
根据所述待同步数据的容量延长当前的同步周期。
在一些实施例中,根据所述待同步数据的容量延长当前的同步周期时,所述处理器68用于执行以下步骤:
在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;
根据所述时间调整量延长所述当前的同步周期。
在一些实施例中,所述根据所述提示信息延长当前的同步周期时,所述处理器68用于执行以下步骤:
根据所述提示信息获取预设调整量;
按照所述预设调整量延长当前的同步周期。
在一些实施例中,所述按照该预设调整量延长当前的同步周期时,所述处理器68用于执行以下步骤:
当该预设调整量为增量时间时,将所述当前的同步周期延长所述增量时间。
上述操作具体可参见前面的方法实施例,在此不再赘述。
本优选实施例的电子设备,通过向服务器发送同步请求;当服务器的同步请求数量超过阈值时,接收该服务器根据该同步请求返回的提示信息;根据该提示信息延长当前的同步周期。由于在服务器检测到待同步电子设备的数量比较多时,向电子设备发送提示信息,之后电子设备延长当前的同步周期,从而降低了云服务器的访问压力。
本发明实施例还提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述任一实施例所述的数据同步周期的调整方法。
另外,如图9所示,本发明还提供一种数据同步周期的调整系统100包括服务器70以及至少一个终端60,该终端60与服务器70之间建立网络连接。
其中该终端60可以包括实施例五所提供的任一数据同步周期的调整装置,该服务器70包括实施例六提供的数据同步周期的调整装置,该终端60可具体为如平板电脑、手机等设备。
具体地,工作时,至少一个终端60向服务器70发送同步请求,服务器70接收至少一个终端60发送的同步请求,并获取该同步请求的数量;之后服务器70判断该同步请求的数量是否超过预设阈值;当服务器70判定该同步请求的数量超过预设阈值时,生成提示信息,并向每个终端60发送该提示信息;该提示信息用于提示该终端60延长其当前的同步周期。之后终端60接收该服务器根据该同步请求返回的提示信息;并根据该提示信息延长当前的同步周期,从而降低了服务器的访问压力。
尽管图9给出一个终端的示意图,但是可以理解的,该系统还可以包括2个或者2个以上的终端。
可以理解的是,其中该数据同步周期的调整装置的结构以及功能实现可以参见上文的详细描述,此处不再赘述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
以上对本发明实施例所提供的一种数据同步周期的调整方法、装置、电子设备、存储介质及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种数据同步周期的调整方法,其中,包括:
    向服务器发送同步请求;
    当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
    根据所述提示信息延长当前的同步周期。
  2. 根据权利要求1所述的数据同步周期的调整方法,其中,所述根据所述提示信息延长当前的同步周期的步骤包括:
    根据所述提示信息获取当前待同步数据的容量;
    根据所述待同步数据的容量延长当前的同步周期。
  3. 根据权利要求2所述的数据同步周期的调整方法,其中,所述根据所述待同步数据的容量延长当前的同步周期的步骤包括:
    在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;
    根据所述时间调整量延长所述当前的同步周期。
  4. 根据权利要求1所述的数据同步周期的调整方法,其中,所述根据所述提示信息延长当前的同步周期的步骤包括:
    根据所述提示信息获取预设调整量;
    按照所述预设调整量延长当前的同步周期。
  5. 根据权利要求4所述的数据同步周期的调整方法,其中,所述按照该预设调整量延长当前的同步周期的步骤包括:
    当所述预设调整量为增量时间时,将所述当前的同步周期延长所述增量时间。
  6. 根据权利要求4所述的数据同步周期的调整方法,其中,所述按照该预设调整量延长当前的同步周期的步骤包括:
    当所述预设调整量为增量因子时,将所述当前的同步周期乘以所述增量因子。
  7. 一种数据同步周期的调整装置,其中,包括:
    发送模块,用于向服务器发送同步请求;
    接收模块,用于当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
    调整模块,用于根据所述提示信息延长当前的同步周期。
  8. 根据权利要求7所述的数据同步周期的调整装置,其中,所述调整模块包括:
    容量获取子模块,用于根据所述提示信息获取当前待同步数据的容量;
    第一调整子模块,用于根据所述待同步数据的容量延长当前的同步周期。
  9. 根据权利要求8所述的数据同步周期的调整装置,其中,所述第一调整子模块,具体用于:
    在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;以及根据所述时间调整量延长所述当前的同步周期。
  10. 根据权利要求7所述的数据同步周期的调整装置,其中,所述调整模块包括:
    参数获取子模块,用于根据所述提示信息获取预设调整量;
    第二调整子模块,用于按照所述预设调整量延长当前的同步周期。
  11. 根据权利要求10所述的数据同步周期的调整装置,其中,当该预设调整量为增量时间时,所述第二调整子模块具体用于:将所述当前的同步周期延长所述增量时间。
  12. 根据权利要求10所述的数据同步周期的调整装置,其中,当所述预设调整量为增量因子时,所述第二调整子模块具体用于:将所述当前的同步周期乘以所述增量因子。
  13. 一种数据同步周期的调整装置,其中,包括:
    接收模块,用于接收至少一个终端发送的同步请求,并获取所述同步请求的数量;
    判断模块,用于判断所述同步请求的数量是否超过预设阈值;
    发送模块,用于当所述同步请求的数量超过预设阈值时,生成提示信息,并向所述终端发送所述提示信息;所述提示信息用于提示所述终端延长其当前的同步周期。
  14. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行如权利要求1至6任一项所述的数据同步周期的调整方法。
  15. 一种数据同步周期的调整系统,包括服务器以及终端,其中所述终端包括如权利要求7至12任一项所述的数据同步周期的调整装置。
  16. 一种电子设备,其包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
    向服务器发送同步请求;
    当服务器的同步请求数量超过阈值时,接收所述服务器根据所述同步请求返回的提示信息;
    根据所述提示信息延长当前的同步周期。
  17. 如权利要求16所述的电子设备,其中,根据所述提示信息延长当前的同步周期时,所述处理器用于执行以下步骤:
    根据所述提示信息获取当前待同步数据的容量;
    根据所述待同步数据的容量延长当前的同步周期。
  18. 根据权利要求17所述的电子设备,其中,根据所述待同步数据的容量延长当前的同步周期时,所述处理器用于执行以下步骤:
    在预设数据库中查找与所述待同步数据的容量匹配的预设容量样本,获取所述预设容量样本对应的时间调整量;
    根据所述时间调整量延长所述当前的同步周期。
  19. 根据权利要求16所述的电子设备,其中,所述根据所述提示信息延长当前的同步周期时,所述处理器用于执行以下步骤:
    根据所述提示信息获取预设调整量;
    按照所述预设调整量延长当前的同步周期。
  20. 根据权利要求19所述的电子设备,其中,所述按照该预设调整量延长当前的同步周期时,所述处理器用于执行以下步骤:
    当该预设调整量为增量时间时,将所述当前的同步周期延长所述增量时间。
PCT/CN2017/094188 2016-10-25 2017-07-24 数据同步周期的调整方法、装置、电子设备、存储介质及系统 WO2018076830A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610949145.5 2016-10-25
CN201610949145.5A CN106453597B (zh) 2016-10-25 2016-10-25 数据同步周期的调整方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2018076830A1 true WO2018076830A1 (zh) 2018-05-03

Family

ID=58178624

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094188 WO2018076830A1 (zh) 2016-10-25 2017-07-24 数据同步周期的调整方法、装置、电子设备、存储介质及系统

Country Status (2)

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

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453597B (zh) * 2016-10-25 2019-08-06 Oppo广东移动通信有限公司 数据同步周期的调整方法、装置及系统
CN106937372A (zh) * 2017-04-05 2017-07-07 深圳天珑无线科技有限公司 一种信息同步的方法及装置
CN107450710B (zh) * 2017-07-31 2021-02-26 Oppo广东移动通信有限公司 应用周期同步管理方法、装置、存储介质及电子设备
CN109547983B (zh) * 2017-08-11 2024-05-28 浙江绍兴苏泊尔生活电器有限公司 烹饪器具及其控制方法和系统、服务器
CN110830548B (zh) * 2019-09-23 2023-12-26 深圳市果壳跳动科技有限公司 物联网卡运营平台、数据更新方法、装置及存储介质
CN113315875B (zh) * 2021-05-25 2022-12-02 中国平安财产保险股份有限公司 通话信息同步方法、装置、通话信息同步设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841168A (zh) * 2012-11-27 2014-06-04 中国电信股份有限公司 数据副本更新方法及元数据服务器
CN103856517A (zh) * 2012-11-30 2014-06-11 英业达科技有限公司 同步均衡系统及其方法
CN104253868A (zh) * 2014-09-24 2014-12-31 无锡清华信息科学与技术国家实验室物联网技术中心 一种云存储数据同步的方法及装置
CN104798069A (zh) * 2012-09-18 2015-07-22 诺基亚技术有限公司 用于提供协议以解决当在多个设备之间进行同步时的同步冲突的方法、装置和计算机程序产品
CN105210039A (zh) * 2013-03-14 2015-12-30 三星电子株式会社 终端和用于同步其应用的方法
CN106453597A (zh) * 2016-10-25 2017-02-22 广东欧珀移动通信有限公司 数据同步周期的调整方法、装置及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3070619B1 (en) * 2015-03-16 2023-08-16 Canon Kabushiki Kaisha Information processing apparatuses performing synchronization of data and data synchronization methods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104798069A (zh) * 2012-09-18 2015-07-22 诺基亚技术有限公司 用于提供协议以解决当在多个设备之间进行同步时的同步冲突的方法、装置和计算机程序产品
CN103841168A (zh) * 2012-11-27 2014-06-04 中国电信股份有限公司 数据副本更新方法及元数据服务器
CN103856517A (zh) * 2012-11-30 2014-06-11 英业达科技有限公司 同步均衡系统及其方法
CN105210039A (zh) * 2013-03-14 2015-12-30 三星电子株式会社 终端和用于同步其应用的方法
CN104253868A (zh) * 2014-09-24 2014-12-31 无锡清华信息科学与技术国家实验室物联网技术中心 一种云存储数据同步的方法及装置
CN106453597A (zh) * 2016-10-25 2017-02-22 广东欧珀移动通信有限公司 数据同步周期的调整方法、装置及系统

Also Published As

Publication number Publication date
CN106453597B (zh) 2019-08-06
CN106453597A (zh) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2018076818A1 (zh) 数据的备份方法、装置、电子设备、存储介质及系统
WO2018076866A1 (zh) 数据处理方法、装置、存储介质、电子设备及服务器
WO2018076830A1 (zh) 数据同步周期的调整方法、装置、电子设备、存储介质及系统
WO2018076819A1 (zh) 数据的上传方法、装置、存储介质、电子设备及系统
WO2015180013A1 (zh) 一种终端的触摸操作方法及装置
WO2018076864A1 (zh) 一种数据同步方法、装置、存储介质及电子设备
WO2018129977A1 (zh) 一种充电控制方法、装置、存储介质和计算机设备
WO2018161578A1 (zh) 动态调节屏幕刷新率的方法、装置、存储介质及电子设备
WO2018076888A1 (zh) 移动终端数据的同步方法、装置及系统、存储介质及移动终端
WO2018090823A1 (zh) 一种系统分区关键数据的保护方法及系统、终端
WO2018076889A1 (zh) 数据备份的方法、装置、系统、存储介质及服务器
WO2018076812A1 (zh) 数据请求的响应方法、装置、存储介质、服务器及系统
WO2018161602A1 (zh) 电子设备帧率的控制方法、装置、存储介质及电子设备
WO2018161585A1 (zh) 电子设备帧率的控制方法、装置、存储介质及电子设备
WO2018129972A1 (zh) 充电处理方法、装置、存储介质及电子设备
WO2017071324A1 (zh) 传输文件的加密和解密方法及加密和解密装置
WO2017071330A1 (zh) 数据的加密和解密方法及加密和解密装置
WO2018166199A1 (zh) 定位精度等级调整方法、装置、存储介质及电子设备
WO2018129973A1 (zh) 供电控制方法、装置、存储介质和电子设备
WO2018076842A1 (zh) 一种数据备份方法、装置、系统、存储介质及电子设备
WO2018076811A1 (zh) 数据分享方法、装置、存储介质及电子设备
WO2018090822A1 (zh) 基于智能手表的移动终端相机控制方法及控制系统
WO2017071326A1 (zh) 一种终端的控制方法、装置和系统
WO2018049715A1 (zh) 一种信息处理方法及其相关设备
WO2017206867A1 (zh) 一种传感器的关闭方法、装置、存储介质及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17865268

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17865268

Country of ref document: EP

Kind code of ref document: A1