Data synchronization control method and device, storage medium and electronic device

A technology for data synchronization and electronic equipment, applied in branch equipment, telephone communication, electrical components, etc., can solve the problems of reducing the running speed of electronic equipment and increasing battery power consumption, so as to reduce power consumption and improve running speed. Effect

Active Publication Date: 2017-10-10
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
7 Cites 2 Cited by

AI-Extracted Technical Summary

Problems solved by technology

However, if the cycle synchronization of the application is too frequent, it will incre...
View more

Method used

In summary, the data synchronization control method provided by the present invention first obtains the application to be synchronized in the electronic device and the synchronization parameters of the application to be synchronized; then screens out the target application from the application to be synchronized according to the synchronization parameter, and the target application It is an application for periodic synchronization; match the target application with the application in the preset white list; when there is a target application that matches successfully, allow the target application that matches successfully to perform data synchronization; when there is a target application that fails to match, prohibits matching Failed target application for data synchronization. The embodiment of the present invention can prohibit periodic synchronization of some applications that do not need to be synchronized, especially prohibit data synchronization of applications with a high synchronization frequency, effectively control the periodic synchronization of applications, reduce power consumption of electronic devices, and increase the operating speed of electronic devices.
In the actual detection process, the daily average interception synchronization times of more than 20% electronic equipment is more than 500 times through big data statistics, causing the electric power of electronic equipment to be consumed by 100% in the standby process of 12 hours Fourth, some applications even perform malicious synchronization, which poses threats to users and reduces security. However, in the embodiment of the present invention, when no corresponding periodic synchronization application is matched in the preset white list, the unmatched application is prohibited from performing data synchronization, and the operating speed of the electronic device can be improved on the premise of saving the power of the electronic device. Improve the security of electronic equipment and enhance the user experience.
Please refer to Fig. 1, this Fig. 1 is the scene schematic diagram of the data synchronous management and control method that the embodiment of the present invention provides, this scene can comprise electronic equipment 10, and this electronic equipment 10 can comprise tablet, PC (personal computer, PersonalComputer), Mobile phone etc., the electronic device 10 has a storage unit and is equipped with a microprocessor to have computing capability. The electronic device 10 is described by taking a mobile phone as an example. The mobile phone 10 obtains the white list 11 locally. The mobile phone 10 may have the white list 11 stored in advance. established rules. Of course, the white list 11 may also be downloaded from the server in advance. After the mobile phone 10 obtains the white list 11, it matches the application cycle synchronization applications in the white list 11, and when the application that matches successfully is stored, the application that successfully matches is allowed to be synchronized; and when ther...
View more

Abstract

The invention discloses a data synchronization control method and device, a storage medium and an electronic device. The data synchronization control method comprises the steps that applications to be synchronized in the electronic device and synchronization parameters of the applications to be synchronized are obtained; according to the synchronization parameters, target applications are screened out from the applications to be synchronized, and the target applications are period synchronization applications; the target applications are matched with applications in a preset white list; when successfully matched target applications exist, the successfully matched target applications are allowed to be subjected to data synchronization; when mismatched target applications exist, the mismatched target applications are prohibited from being subjected to data synchronization. The data synchronization control device can prevent some applications which do not need synchronization from being subjected to period synchronization, reduces the power consumption of the electronic device and improves the running speed of the electronic device.

Application Domain

Substation equipmentTransmission +1

Technology Topic

Computer hardwarePower consumption +2

Image

  • Data synchronization control method and device, storage medium and electronic device
  • Data synchronization control method and device, storage medium and electronic device
  • Data synchronization control method and device, storage medium and electronic device

Examples

  • Experimental program(1)

Example Embodiment

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0035] The terms "first" and "second" in the present invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally also includes steps or modules that are not listed, or optionally includes For other steps or modules inherent in these processes, methods, products or devices.
[0036] Embodiments of the present invention provide a data synchronization management and control method, device, storage medium and electronic equipment.
[0037] see figure 1 ,Should figure 1 It is a schematic diagram of a scenario of a data synchronization control method provided by an embodiment of the present invention. The scenario may include an electronic device 10, which may include a tablet, a PC (Personal Computer, Personal Computer), a mobile phone, etc., and the electronic device 10 has a storage unit and It is equipped with a microprocessor and has computing power. The electronic device 10 is described by taking a mobile phone as an example. The mobile phone 10 obtains the white list 11 locally. The mobile phone 10 may have the white list 11 stored in advance. established rules. Of course, the white list 11 may also be downloaded from the server in advance. After the mobile phone 10 obtains the white list 11, it matches the application cycle synchronization applications in the white list 11, and when the application that matches successfully is stored, the application that successfully matches is allowed to be synchronized; and when there is an application that fails to match, the application is prohibited. App synchronization that failed to match. Therefore, some applications that do not need to be synchronized can be prohibited from performing periodic synchronization, especially applications with a high synchronization frequency are prohibited from performing data synchronization, effectively controlling the periodic synchronization of applications, reducing power consumption of electronic devices, and improving the operating speed of electronic devices.
[0038] This scenario may include a data synchronization management and control apparatus 300 , and the data synchronization management and control apparatus 300 may specifically be integrated in the electronic device 10 . The data synchronization management and control device 300 is mainly used to acquire the applications to be synchronized and the synchronization parameters of the applications to be synchronized in the electronic equipment; select the target application from the applications to be synchronized according to the synchronization parameters, and the target application is a periodic synchronization application; The applications in the preset white list are matched; when there is a target application that is successfully matched, the target application that is successfully matched is allowed to perform data synchronization; when there is a target application that fails to match, the target application that fails to match is prohibited from performing data synchronization.
[0039] see figure 2 ,Should figure 2 It is a schematic diagram of another scenario of the data synchronization management and control method provided by the embodiment of the present invention. This scenario may include an electronic device 10 and a server 20. This scenario is the same as figure 1 The difference is that the electronic device 10 obtains the white list 11 directly from the server 20 . After the electronic device 10 obtains the white list 11, please refer to the above content, and details will not be repeated here. This scenario can also include a data synchronization management and control device 300, which can be integrated into the electronic device 10, for details, please refer to figure 1 The data synchronization management and control device in , will not be described in detail here.
[0040] The details will be described respectively below.
[0041] In the embodiment of the present invention, it will be described from the perspective of a data synchronization management and control device. The data synchronization management and control device can be integrated in a tablet, PC, mobile phone and other electronic devices with a storage unit and a microprocessor installed with computing capabilities. .
[0042] A data synchronization management and control method applied to electronic equipment. The data synchronization management and control method includes: obtaining an application to be synchronized in the electronic device and synchronization parameters of the application to be synchronized; selecting a target application from the applications to be synchronized according to the synchronization parameter, and the target application It is an application for periodic synchronization; match the target application with the application in the preset white list; when there is a target application that matches successfully, allow the target application that matches successfully to perform data synchronization; when there is a target application that fails to match, prohibits matching Failed target application for data synchronization.
[0043] see image 3 , image 3 It is a schematic flowchart of the data synchronization management and control method provided by the embodiment of the present invention. The data synchronization control method may include:
[0044] In step S101, an application to be synchronized and a synchronization parameter of the application to be synchronized in the electronic device are acquired.
[0045]It should be noted that there are various application synchronization methods, and the application synchronization methods mainly include the following three methods: a periodic synchronization method, a user-manually controlled synchronization method, and a synchronization method set by a synchronization switch. The application of each synchronization method has different synchronization parameters, and different synchronization methods carry different synchronization parameters during the synchronization process. For example, an app that performs periodic synchronization carries synchronization parameter 1 when performing periodic synchronization; an application that synchronizes according to the synchronization switch setting carries synchronization parameter 2 when performing synchronization; an application that manually controls synchronization by the user carries synchronization parameter 3 when performing synchronization. The data synchronization mechanism (Syncmanager) determines different synchronization methods according to different synchronization parameters while controlling the application.
[0046] Wherein, the application to be synchronized is an application waiting for data synchronization. For example, a WeChat application in an electronic device needs to perform data synchronization. Specifically, if the WeChat application sends a data synchronization request, the WeChat application is an application to be synchronized. Wherein, the synchronization parameter of the application to be synchronized is a parameter carried by the application to be synchronized.
[0047] In the embodiment of the present invention, when the application to be synchronized needs to be synchronized, the application to be synchronized is obtained, and at the same time, the synchronization parameter carried by the application to be synchronized is obtained, so as to determine the synchronization mode of the application to be synchronized.
[0048] In step S102, a target application is screened out from the applications to be synchronized according to the synchronization parameter, and the target application is a periodic synchronization application.
[0049] In the embodiment of the present invention, the synchronization mode of the application to be synchronized can be determined according to the synchronization parameter carried by the application to be synchronized, or the synchronization type of the application to be synchronized can be determined according to the synchronization parameter carried by the application to be synchronized. In the embodiment of the present invention, only target applications for periodic synchronization are screened out according to synchronization parameters carried by applications to be synchronized.
[0050] In step S103, the target application is matched with the applications in the preset white list.
[0051] Wherein, the preset whitelist includes at least one cycle-synchronized application, and the applications in the preset whitelist in this embodiment of the present invention are all cycle-synchronized applications. In some embodiments, the preset whitelist can be obtained from the server. Specifically, the method of obtaining the preset whitelist from the server includes the following steps:
[0052] (1) Obtain the original whitelist from the server;
[0053] (2) Determining the original white list as the preset white list.
[0054] It should be noted that, in some embodiments, the preset whitelist can also be obtained directly from the electronic device. The preset whitelist on the electronic device side can be downloaded from the server in advance, can also be formed according to manual control by the user, or can be created according to the preset whitelist. Set rules to form. Specifically, the way of obtaining the preset white list from the electronic device side includes the following steps:
[0055] (11) Obtain all cycle-synchronized applications in the electronic device;
[0056] (12) Generate a preset white list according to the application of cycle synchronization.
[0057] In some embodiments, obtaining all cycle-synchronized applications in the electronic device, and generating a preset whitelist according to the cycle-synchronized applications specifically includes the following steps:
[0058] (13) Obtain the synchronization period of the application synchronized in each period;
[0059] (14) Write the application whose synchronization period is longer than the preset period into the preset white list, so as to generate the preset white list.
[0060] Wherein, the cycle-synchronized application in the embodiment of the present invention is the same as the target application, and the cycle-synchronized application or the target application may be referred to as an application for short here, and the synchronization cycle of the application is the time interval between two synchronizations of the application. It should be noted that the cycle synchronization application performs data synchronization at an elapsed time interval, for example, if the time interval is 24 hours, then the synchronization cycle is once every 24 hours. If the time interval is 1 hour, the synchronization cycle is 1 time per hour.
[0061] Wherein, the preset period can be set according to the needs of the user, for example, the preset period is synchronized once every 12 hours.
[0062] In the embodiment of the present invention, when the synchronization period of the application with periodic synchronization is greater than the preset period, the application with the synchronization period greater than the preset period is written into the preset whitelist, so as to generate the preset whitelist. For example, for an application that is synchronized at a certain period, its synchronization period is once every 24 hours, and the preset period is once every 12 hours, then the synchronization period of this application is greater than the preset period, and the application that is synchronized at this period is written to in the default whitelist. And when the synchronization period is shorter than the preset period, the corresponding application is not written into the white list.
[0063] In some embodiments, obtaining all cycle-synchronized applications in the electronic device, and generating a preset whitelist according to the cycle-synchronized applications specifically further includes the following steps:
[0064] (15) Obtain the historical running time of the application synchronized in each cycle;
[0065] (16) Write the applications whose historical running time is longer than the preset time into the preset white list, so as to generate the preset white list.
[0066] Specifically, the historical running time of the cycle-synchronized application may be obtained, or the historical running time of the cycle-synchronized application may be obtained within a period of time. For example, within one month, the historical running time of the cycle-synchronized application is acquired, and the historical running time may be 1 hour, 10 hours, 20 hours, 50 hours, etc.
[0067] Wherein, the preset duration can be set according to user requirements, for example, the preset duration is set to 25 hours.
[0068] In the embodiment of the present invention, the historical running time of the period synchronization application is compared with the preset time, and when the historical running time of the application is longer than the preset time, the application whose historical running time is longer than the preset time is written into the preset white space. list to generate a preset whitelist. For example, if the historical running time is 41 hours and the preset time is 25 hours, then the historical running time is longer than the preset time, and then the corresponding application will be written into the preset white list. And when the historical running time is shorter than the preset time, the application shorter than the preset time is not written into the preset white list.
[0069] In some embodiments, obtaining all cycle-synchronized applications in the electronic device, and generating a preset whitelist according to the cycle-synchronized applications specifically further includes the following steps:
[0070] (17) Obtain the historical running times of the application synchronized in each cycle;
[0071] (18) Write the applications whose historical running times are greater than the preset times into the preset white list, so as to generate the preset white list.
[0072] Specifically, the historical running times of the period-synchronized application may be acquired, or the historical running times of the period-synchronized application may be acquired within a period of time. For example, within one month, the historical running times of the cycle-synchronized application are acquired, and the historical running times may be 1 time, 10 times, 30 times, 50 times, 60 times, etc.
[0073] Wherein, the preset number of times can be set according to user's requirements, for example, the preset number of times is set to 15 times.
[0074] In the embodiment of the present invention, the historical running times of cycle synchronization applications are compared with the preset times, and when the historical running times of the applications are greater than the preset times, the applications whose historical running times are greater than the preset times are written into the preset white space. list to generate a preset whitelist. For example, if the historical running times are 30 and the preset times are 15, then the historical running times are greater than the preset times, and then the corresponding application is written into the preset white list. And when the historical running times are less than the preset times, the applications with less than the preset times are not written into the preset white list.
[0075] In step S104, when there is a successfully matched target application, the successfully matched target application is allowed to perform data synchronization.
[0076] In the embodiment of the present invention, in the process of matching the target application with the applications in the preset whitelist, when the target application matches the corresponding cycle synchronization application in the preset whitelist, that is, when there is a target application that is successfully matched, then The target application that is successfully matched is allowed to perform data synchronization, thereby invoking and starting a data synchronization mechanism, through which the target program is controlled to perform data synchronization.
[0077] In step S105, when there is a target application that fails to match, the target application that fails to match is prohibited from performing data synchronization.
[0078] In the embodiment of the present invention, in the process of matching the target application with the applications in the preset whitelist, when the target application is not matched with the corresponding periodic synchronization application in the preset whitelist, that is, when there is a target application that fails to match, The target application that fails to match is prohibited from performing data synchronization, so that the data synchronization mechanism is not invoked or activated, so that the target application that fails to match does not perform data synchronization, and some applications that synchronize too frequently are prohibited from performing data synchronization, effectively controlling cycle synchronization The application of electronic equipment can reduce the power consumption of electronic equipment and improve the operation speed of electronic equipment.
[0079] In the actual testing process, according to big data statistics, more than 20% of the electronic devices intercept and synchronize more than 500 times a day, resulting in the consumption of 4% of the power of the electronic devices during the 12-hour standby process. Some applications even perform malicious synchronization, which poses a threat to the user's use and reduces security. However, in the embodiment of the present invention, when no corresponding periodic synchronization application is matched in the preset white list, the unmatched application is prohibited from performing data synchronization, and the operating speed of the electronic device can be improved on the premise of saving the power of the electronic device. Improve the security of electronic equipment and enhance the user experience.
[0080] In some embodiments, when the corresponding cycle synchronization application is not matched in the preset white list, a prompt message is issued to indicate that the target application is an abnormal application, so that the user can know that there are applications that perform cycle synchronization too frequently in the electronic device , effectively preventing applications from performing malicious synchronization. The prompt information may be a prompt message, a prompt voice, and the like.
[0081] To sum up, the data synchronization management and control method provided by the present invention first obtains the application to be synchronized in the electronic device and the synchronization parameters of the application to be synchronized; then selects the target application from the applications to be synchronized according to the synchronization parameter, and the target application is periodic synchronization Match the target application with the application in the preset white list; when there is a target application that matches successfully, allow the target application that matches successfully to perform data synchronization; when there is a target application that fails to match, prohibit the target that fails to match The application performs data synchronization. The embodiment of the present invention can prohibit periodic synchronization of some applications that do not need to be synchronized, especially prohibit data synchronization of applications with a high synchronization frequency, effectively control the periodic synchronization of applications, reduce power consumption of electronic devices, and increase the operating speed of electronic devices.
[0082] see Figure 4 , Figure 4 Another schematic flowchart of the data synchronization management and control method provided by the embodiment of the present invention. The data synchronization control method includes the following steps:
[0083] In step S201, an application to be synchronized and a synchronization parameter of the application to be synchronized in the electronic device are acquired. Please refer to step S101 for details, which will not be repeated here.
[0084] In step S202, a target application is screened out from the applications to be synchronized according to the synchronization parameter, and the target application is a periodic synchronization application. Please refer to step S102 for details, which will not be repeated here.
[0085] In step S203, the target application is matched with the applications in the preset white list. Please refer to step S103 for details, which will not be repeated here.
[0086]In step S204, when there is a successfully matched target application, the successfully matched target application is allowed to perform data synchronization. Please refer to step S104 for details, which will not be repeated here.
[0087] In step S205, different priorities are set for all applications in the preset whitelist according to preset rules.
[0088] Wherein, the application is a period synchronization application. In some embodiments, the preset rule may be the historical running time of all applications, and further, may be the historical running time of all applications within a period of time. All periodic synchronous applications are sorted according to their historical running time, from long to short historical running time, and applications with longer historical running time are set with higher priority.
[0089] see Figure 5 , Figure 5 The priority list of the preset whitelist provided by the embodiment of the present invention. In the embodiment of the present invention, the setting with the longest historical running time has the highest priority, and then the priority levels are set in sequence. For example, the historical running time of application A is 50 hours, specifically, the running time of one month. The historical running time of application B is 45 hours, the historical running time of application C is 40 hours, the historical running time of application D is 35 hours, the historical running time of application E is 30 hours, and the historical running time of application F is 25 hours. Then the priorities of application A, application B, application C, application D, application E and application F in the preset white list 12 are application A, application B, application C, application D, application E and application F from high to low. . It should be noted, Figure 5 Only some applications are shown, and the number of applications in the preset white list 12 is not limited.
[0090] In some embodiments, the preset rule can be the synchronization period of all applications, sort the applications with synchronization periods according to their respective synchronization periods, and sort them from the longest to the shortest synchronization periods, and sort the applications with longer synchronization periods Setting priority is high.
[0091] see Image 6 , Image 6 Another priority list of the preset whitelist provided by the embodiment of the present invention. In the embodiment of the present invention, the one with the longest synchronization period is set with the highest priority, and then the priority levels are set sequentially. For example, the synchronization period of application A is 12 hours, the synchronization period of application B is 10 hours, the synchronization period of application C is 8 hours, the synchronization period of application D is 6 hours, the synchronization period of application E is 5 hours, and the synchronization period of application F is 5 hours. If the synchronization period is 4 hours, the priorities of application A, application B, application C, application D, application E and application F in the preset white list 13 are application A, application B, application C, and application D from high to low. , application E and application F. It should be noted, Image 6 Only some applications are shown, and the number of applications in the preset white list 13 is not limited.
[0092] In some embodiments, the preset rule can also be the number of running times of all applications. The applications that are synchronized in all cycles are sorted according to their running times, and the applications with more running times are sorted at least according to the number of running times. Setting priority is high. In the embodiment of the invention, the priority of the setting with the most running times is the highest, and then the priority levels are set in turn. For details, please refer to Figure 5 and Image 6 , no more examples will be given here.
[0093] In some embodiments, setting different priorities for all applications in the preset whitelist according to preset rules may specifically include the following steps:
[0094] (21) Setting different levels according to the types of applications in the preset whitelist, and assigning the applications in the preset whitelist to corresponding levels;
[0095] (22) Different priorities are set for different levels according to the types of applications in the preset white list.
[0096] see Figure 7 , Figure 7 Another priority list of the preset whitelist provided by the embodiment of the present invention. Different levels 141 are set according to the different types of applications in the preset white list 14. For example, the application type in a level 141 is a bank type application, and the bank type application includes application A, application B, and application C. The priority of the application is set to the highest. An application type in a layer 142 is an instant messaging application, and the instant messaging application includes application D and application E. The priority of the instant messaging application is lower than that of the application in the layer 141 . Applications in other levels will not be illustrated one by one, but can be set according to user needs. The hierarchy priority in the preset whitelist 14 is arranged from high to low as level 141 , level 142 , level 143 , level 144 , level 145 , level 146 and level 147 . It should be noted, Figure 7 Only some applications are shown, and the number of applications in the preset white list 14 is not limited.
[0097] In step S206, when the operating condition of the electronic device does not meet the preset operating condition, applications with a priority higher than the preset priority are allowed to perform data synchronization, applications with a priority lower than the preset priority are prohibited from performing data synchronization, and Store the data to be synchronized in applications with a priority lower than the preset priority in a buffer, and allow the data to be synchronized stored in the buffer to be synchronized until the current operating condition of the electronic device meets the preset operating condition.
[0098] Wherein, the operating status of the electronic device may include multiple applications performing data synchronization in the electronic device at a certain time, low battery power, slow operating speed, and the like. The preset condition corresponds to the operating condition of the electronic device. For example, when the operating condition of the electronic device is that the battery power is low, the preset condition is the preset battery power. Specifically, when the battery power of the electronic device is 5% , the preset battery power can be set to 8%, and if the battery power of the electronic device is less than 8% and the preset condition is not met, the data synchronization will be performed for applications with a priority lower than the preset priority. However, applications with a priority lower than the preset priority are prohibited from performing data synchronization. Therefore, applications with high priority can be synchronized first, ensuring that important applications can be prioritized for data synchronization; unimportant applications do not affect the user's use of electronic devices, staggering the peak use period of electronic devices, and improving the efficiency of data synchronization.
[0099] Wherein, the preset priority can be set according to user requirements, for example, the preset priority is located in the middle of all priorities, and the preset priority can also only limit a few applications with higher priority.
[0100] In step S207, when there is a target application that fails to match, the target application that fails to match is prohibited from performing data synchronization. Please refer to step S105 for details, which will not be repeated here.
[0101] In order to better implement the data synchronization management and control method provided by the embodiment of the present invention, the embodiment of the present invention further provides a device based on the data synchronization management and control method. The meanings of the nouns are the same as those in the above data synchronization management and control method, and for specific implementation details, please refer to the description in the method embodiments.
[0102] see Figure 8 , Figure 8 It is a schematic structural diagram of a data synchronization management and control device provided by an embodiment of the present invention. The data synchronization management and control device 300 of the embodiment of the present invention includes a first acquisition module 301 , a screening module 302 , a matching module 303 and a management and control module 304 .
[0103] Wherein, the first acquiring module 301 is configured to acquire the application to be synchronized and the synchronization parameters of the application to be synchronized in the electronic device.
[0104] It should be noted that there are various application synchronization methods, and the application synchronization methods mainly include the following three methods: a periodic synchronization method, a user-manually controlled synchronization method, and a synchronization method set by a synchronization switch. The application of each synchronization method has different synchronization parameters, and different synchronization methods carry different synchronization parameters during the synchronization process. For example, an app that performs periodic synchronization carries synchronization parameter 1 when performing periodic synchronization; an application that synchronizes according to the synchronization switch setting carries synchronization parameter 2 when performing synchronization; an application that manually controls synchronization by the user carries synchronization parameter 3 when performing synchronization. The data synchronization mechanism (Syncmanager) determines different synchronization methods according to different synchronization parameters while controlling the application.
[0105] Wherein, the application to be synchronized is an application waiting for data synchronization. For example, a WeChat application in an electronic device needs to perform data synchronization. Specifically, if the WeChat application sends a data synchronization request, the WeChat application is an application to be synchronized. Wherein, the synchronization parameter of the application to be synchronized is a parameter carried by the application to be synchronized.
[0106] In the embodiment of the present invention, when the application to be synchronized needs to be synchronized, the first obtaining module 301 obtains the application to be synchronized and the synchronization parameters carried by the application to be synchronized, so as to determine the synchronization mode of the application to be synchronized.
[0107] Wherein, the screening module 302 is configured to screen out a target application from the applications to be synchronized according to the synchronization parameters, and the target application is a cycle-synchronized application.
[0108] In the embodiment of the present invention, the synchronization mode of the application to be synchronized can be determined according to the synchronization parameter carried by the application to be synchronized, or the synchronization type of the application to be synchronized can be determined according to the synchronization parameter carried by the application to be synchronized. In the embodiment of the present invention, only target applications for periodic synchronization are screened out by the synchronization parameter screening module 302 carried by the application to be synchronized.
[0109] Wherein, the matching module 303 is configured to match the target application with the applications in the preset white list. For the specific matching method and process of the target application and the preset whitelist, please refer to the above content, and will not repeat them here.
[0110] Wherein, the management and control module 304 is configured to allow the successfully matched target application to perform data synchronization when there is a successfully matched target application. After the target application and the preset whitelist are successfully matched, please refer to the above content for specific data synchronization, and will not repeat them here.
[0111] Wherein, the management and control module 304 is further configured to prohibit the target application that fails to match from performing data synchronization when there is a target application that fails to match. If the target application fails to match the preset whitelist, please refer to the above content for details, and will not repeat it here.
[0112] see Figure 9 , Figure 9 Another schematic structural diagram of the data synchronization management and control device provided by the embodiment of the present invention. The data synchronization management and control apparatus 300 may also include a second acquiring module 305 and a determining module 306 .
[0113] Wherein, the second obtaining module 305 is configured to obtain the original white list from the server. For details, please refer to the above content, which will not be repeated here.
[0114] Wherein, the determining module 306 is configured to determine the original white list as the preset white list. For details, please refer to the above content, which will not be repeated here.
[0115] see Figure 10 , Figure 10 Another schematic structural diagram of the data synchronization management and control device provided by the embodiment of the present invention. The data synchronization management and control apparatus 300 may also include a third acquiring module 307 and a generating module 308 .
[0116] Wherein, the third acquiring module 307 is configured to acquire all periodic synchronization applications in the electronic device. Please refer to the above content for details, and will not repeat them here.
[0117] Wherein, the generation module 308 is configured to generate a preset white list according to the application of cycle synchronization. Please refer to the above content for details, and will not repeat them here.
[0118] In some embodiments, the generating module 308 includes a fourth obtaining module 3081 and a first writing module 3082 .
[0119] Wherein, the fourth acquiring module 3081 is configured to acquire a synchronization period of an application synchronized at each period. Please refer to the above content for details, and will not repeat them here.
[0120] Wherein, the first writing module 3082 is configured to write the application whose synchronization period is longer than the preset period into the preset whitelist, so as to generate the preset whitelist. Please refer to the above content for details, and will not repeat them here.
[0121] see Figure 11 , Figure 11 Another schematic structural diagram of the data synchronization management and control device provided by the embodiment of the present invention. In some embodiments, the generating module 308 may further include a fifth obtaining module 3083 and a second writing module 3084 .
[0122] Among them, the fifth obtaining module 3083 is used to obtain the historical running time of the application synchronized in each cycle. Please refer to the above content for details, and will not repeat them here.
[0123] Wherein, the second writing module 3084 is configured to write the applications whose historical operation duration is longer than the preset duration into the preset whitelist, so as to generate the preset whitelist. Please refer to the above content for details, and will not repeat them here.
[0124] see Figure 12 , Figure 12 Another schematic structural diagram of the data synchronization management and control device provided by the embodiment of the present invention. The data synchronization management and control apparatus 300 may also include a first setting module 309 .
[0125] Wherein, the first setting module 309 is configured to set different priorities for all applications in the preset whitelist according to preset rules. Please refer to the above content for details, and will not repeat them here.
[0126] In some embodiments, the management and control module 304 is also used to allow applications with a priority higher than the preset priority to perform data synchronization when the operating status of the electronic device does not meet the preset operating status, and prohibit applications with a priority lower than the preset priority from performing data synchronization. Data synchronization for applications with a priority level lower than the preset priority is stored in a buffer until the current operating status of the electronic device meets the preset operating status, allowing storage in the buffer The data to be synchronized is synchronized. Please refer to the above content for details, and will not repeat them here.
[0127] In some embodiments, the first setting module 309 includes a second setting module 3091 and a third setting module 3092 .
[0128] Wherein, the second setting module 3091 is configured to set different levels according to the types of applications in the preset whitelist, and assign the applications in the preset whitelist to corresponding levels. Please refer to the above content for details, and will not repeat them here.
[0129] Wherein, the third setting module 3092 is configured to set different priorities for the different levels according to the types of applications in the preset white list. Please refer to the above content for details, and will not repeat them here.
[0130] In summary, in the data synchronization management and control device 300 provided by the present invention, the first acquisition module 301 acquires the applications to be synchronized and the synchronization parameters of the applications to be synchronized in the electronic device; the screening module 302 screens out the target from the applications to be synchronized according to the synchronization parameters application, the target application is a cycle-synchronized application; the matching module 303 matches the target application with the application in the preset white list; when there is a successfully matched target application, the management and control module 304 allows the successfully matched target application to perform data synchronization; When there is a target application that fails to match, the management and control module 304 prohibits the target application that fails to match from performing data synchronization. The embodiment of the present invention can prohibit periodic synchronization of some applications that do not need to be synchronized, especially prohibit data synchronization of applications with a high synchronization frequency, effectively control the periodic synchronization of applications, reduce power consumption of electronic devices, and increase the operating speed of electronic devices.
[0131] The embodiment of the present invention also provides an electronic device 400 . The electronic device 400 may be a smart phone, a tablet computer and other devices. like Figure 13 as shown, Figure 13 A schematic structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 400 includes: a processor 401 and a memory 402 . Wherein, the processor 401 is electrically connected with the memory 402 .
[0132] The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device 400. By running or loading the application program stored in the memory 402 and calling the data stored in the memory 402, the processor 401 executes Various functions and processing data of the electronic device 400 , so as to monitor the electronic device 400 as a whole.
[0133] In this embodiment, the processor 401 in the electronic device 400 will follow the steps below to load the instructions corresponding to the process of one or more application programs into the memory 402, and the instructions stored in the memory 402 will be executed by the processor 401. in the application, so as to realize various functions:
[0134] Acquiring the application to be synchronized in the electronic device and the synchronization parameters of the application to be synchronized;
[0135] Screen out the target application from the applications to be synchronized according to the synchronization parameters, and the target application is a periodic synchronization application;
[0136] Match the target application with the applications in the preset white list;
[0137] When there is a successfully matched target application, allow the successfully matched target application to perform data synchronization;
[0138] When there is a target application that fails to match, the target application that fails to match is prohibited from performing data synchronization.
[0139] Memory 402 may be used to store applications and data. The application programs stored in the memory 402 include instructions executable by the processor 401 . Applications can be composed of various functional modules. The processor 401 executes various functional applications and data processing by running the application programs stored in the memory 402 .
[0140] In some examples, please also refer to Figure 14 , Figure 14 Another structural schematic diagram of the electronic device, the electronic device 400 further includes: a radio frequency circuit 403 , a display screen 404 , a control circuit 405 , an input unit 406 , an audio circuit 407 , a sensor 408 and a power supply 409 . Wherein, the processor 401 is electrically connected to the radio frequency circuit 403 , the display screen 404 , the control circuit 405 , the input unit 406 , the audio circuit 407 , the sensor 408 and the power supply 409 .
[0141] The radio frequency circuit 403 is used to send and receive radio frequency signals to communicate with servers or other electronic devices through the wireless communication network.
[0142] The display screen 404 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal. These graphical user interfaces may be composed of images, texts, icons, videos and any combination thereof.
[0143] The control circuit 405 is electrically connected to the display screen 404 for controlling the display screen 404 to display information.
[0144] The input unit 406 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0145] The audio circuit 407 can provide an audio interface between the user and the terminal through a speaker or a microphone.
[0146] The sensor 408 is used to collect external environment information. The sensor 408 may include one or more of sensors such as an ambient brightness sensor, an acceleration sensor, and a gyroscope.
[0147] The power supply 409 is used to supply power to various components of the electronic device 400 . In some embodiments, the power supply 409 may be logically connected to the processor 401 through a power management system, so that functions such as charging, discharging, and power consumption management may be implemented through the power management system.
[0148] although Figure 14 Not shown in , the electronic device 400 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0149] It can be known from the above that the embodiment of the present invention provides an electronic device. The electronic device first acquires the applications to be synchronized and the synchronization parameters of the applications to be synchronized in the electronic device; The application is a periodic synchronization application; match the target application with the application in the preset white list; when there is a target application that is successfully matched, allow the target application that is successfully matched to perform data synchronization; when there is a target application that fails to match, prohibit The target application that fails to match performs data synchronization. The embodiment of the present invention can prohibit periodic synchronization of some applications that do not need to be synchronized, especially prohibit data synchronization of applications with a high synchronization frequency, effectively control the periodic synchronization of applications, reduce power consumption of electronic devices, and increase the operating speed of electronic devices.
[0150] An embodiment of the present invention also provides a storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute the data synchronization management method described in any of the above-mentioned embodiments.
[0151] It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable medium. The medium may include but not limited to: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
[0152] The data synchronization management and control method, device, storage medium and electronic equipment provided by the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used To help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as a limitation of the invention.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Semiconductor device including capacitorless ram

ActiveUS20090310431A1reduce power consumptionretention time be lengthen
Owner:LONGITUDE LICENSING LTD

Lighted bollard

InactiveUS20060109667A1reduce power consumption
Owner:LEADER MFG

Classification and recommendation of technical efficacy words

  • reduce power consumption
  • run fast

Electrode array for use in medical stimulation and methods thereof

InactiveUS20050038489A1reduce power consumptionincrease battery life
Owner:CASE WESTERN RESERVE UNIV

Method of reselecting a cell based on priorities

ActiveUS20090181676A1ensure quality of servicereduce power consumption
Owner:LG ELECTRONICS INC

Display apparatus and display method

ActiveUS20060214904A1reduce power consumptionincrease quality
Owner:SATURN LICENSING LLC

City regional railway signal system and control method thereof

Owner:CHINA RAILWAY SIYUAN SURVEY & DESIGN GRP

Method for identifying information of image tag

InactiveCN101807257AStrong noise immunityrun fast
Owner:SHANGHAI JIAO TONG UNIV

Robot positioning and mapping method, computer device and computer readable storage medium

PendingCN109816696AAchieve high-precision positioningrun fast
Owner:西安全志科技有限公司

Multi-layer anomaly detection method based on network traffic

ActiveCN108632279AEliminate negative effectsrun fast
Owner:BEIJING INSTITUTE OF TECHNOLOGYGY +1
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products