Data synchronization method and system, computer equipment and readable storage medium

By obtaining user operation instructions and using timing and buried triggering mechanisms to perform silent data synchronization, the lag and interference problems caused by user active triggering in traditional data synchronization methods are solved, and a seamless data synchronization process is achieved.

CN120256524APending Publication Date: 2025-07-04BEIJING ZIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510430507.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Traditional data synchronization methods rely on users to actively trigger, resulting in data lag and user operations interference, and data synchronization cannot be completed without the user being aware of it.

Method used

By obtaining user operation instructions, determining the data synchronization task type according to the instruction type, and using data timing triggering and data buried triggering mechanisms for silent synchronization, ensuring that data is automatically synchronized in the background and avoiding user perception.

Benefits of technology

It realizes real-time synchronization of data during user operations, reduces the risk of data lag, ensures accurate data collection, and does not affect the normal operation of the page.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0005348005230000011
    Figure HDA0005348005230000011
  • Figure HDA0005348005230000021
    Figure HDA0005348005230000021
  • Figure HDA0005348005230000022
    Figure HDA0005348005230000022
Patent Text Reader

Abstract

The invention provides a data synchronization method and system, computer equipment and a readable storage medium. The data synchronization method comprises the steps of obtaining a first operation instruction of operating a browser by a user, and determining a data synchronization task type according to a task type corresponding to the first operation instruction; triggering conditions are determined according to the data synchronization task type, data silent synchronization processing of the current task type is executed based on the triggering conditions, and the triggering conditions comprise data timing triggering and data burying point triggering. By the adoption of the mode, interaction behaviors of the user can be monitored and captured in real time, in the process that the user processes work, the system can synchronize user data in real time, it is ensured that after the user completes corresponding webpage operation, related data are accurately collected by the system, the risk of data lag is effectively reduced, and the user experience is improved. Meanwhile, by implementing silent data synchronization processing and isolation from a main thread, it is ensured that the data synchronization process is conducted in the background, a user does not need to perceive, and therefore normal operation of a page is not affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of software technology, and particularly to a data synchronization method, system, computer device, and readable storage medium. Background Art

[0002] With the continuous evolution of Web applications, user operations in browsers have become more complex, and the demand for data synchronization has also been increasing. Especially for data synchronization with external third-party systems, traditional data synchronization methods often require users to actively trigger, and some require users to manually enter data; or rely on users to initiate or schedule the use of Web automation tools to execute data synchronization tasks and then wait for the tasks to complete.

[0003] The above methods rely on users to actively execute (such as clicking to submit a form, refreshing the page) to trigger data synchronization, which cannot be completed when users are unaware, and there are problems of over-reliance on display operations and information lag. Summary of the Invention

[0004] Based on this, it is necessary to provide a data synchronization method, system, computer device, and readable storage medium for the above technical problems.

[0005] A data synchronization method includes:

[0006] Obtain a first operation instruction for a user to operate a browser, and determine a data synchronization task type according to the task type corresponding to the first operation instruction;

[0007] Determine a trigger condition according to the data synchronization task type, and perform data silent synchronization processing for the current task type based on the trigger condition, where the trigger condition includes data timing trigger and data buried point trigger.

[0008] In one embodiment, the step of obtaining a first operation instruction for a user to operate a browser and determining a data synchronization task type according to the task type corresponding to the first operation instruction includes:

[0009] Obtain a first operation instruction for a user to operate a browser, and determine an operation task type according to the operation requirement of the first operation instruction;

[0010] Obtain the data synchronization task type corresponding to the browser page according to the operation task type.

[0011] In one embodiment, the step of determining a trigger condition according to the data synchronization task type and performing data silent synchronization processing for the current task type based on the trigger condition includes:

[0012] Determine the trigger condition according to the data synchronization task type, and determine whether the trigger condition is satisfied according to a preset rule;

[0013] If the trigger condition has been satisfied, perform data silent synchronization processing for the current task type;

[0014] If the trigger condition is not satisfied, return to the step of determining the trigger condition according to the data synchronization task type and determining whether the trigger condition is satisfied according to a preset rule.

[0015] In one embodiment, the data synchronization method further includes:

[0016] If the trigger condition has been satisfied and the number of data synchronization task types is multiple, determine whether to immediately perform data silent synchronization processing for the current task type according to the priority of the current task type and the current synchronization resources of the system.

[0017] In one embodiment, the data synchronization method further includes:

[0018] Obtain the current synchronization resources of the system, and determine whether the synchronization condition is satisfied according to the priority of the current task type;

[0019] If the synchronization condition is satisfied, immediately perform data silent synchronization processing for the current task type;

[0020] If the synchronization condition is not satisfied, enter the synchronization processing queue sequence to wait according to the priority of the current task type.

[0021] In one embodiment, the data synchronization method further includes:

[0022] Obtain a second operation instruction for the user to operate the browser, and determine whether the task type corresponding to the second operation instruction enters the queue sequence to wait. The second operation instruction is different from the first operation instruction;

[0023] If it is necessary to enter the queue sequence to wait, enter the queue sequence to wait according to the priority of the task type corresponding to the second operation instruction;

[0024] If it is not necessary to enter the queue sequence to wait, determine the data synchronization task type according to the task type corresponding to the second operation instruction.

[0025] In one embodiment, the data buried point is implemented by a JavaScript script.

[0026] A data synchronization system, including:

[0027] An acquisition module, configured to acquire a first operation instruction for a user to operate a browser, and determine a data synchronization task type according to a task type corresponding to the first operation instruction;

[0028] A processing module, connected to the acquisition module, configured to determine a trigger condition according to the data synchronization task type, and perform silent data synchronization processing of the current task type based on the trigger condition, where the trigger condition includes data timing trigger and data buried point trigger.

[0029] A computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in any one of the above embodiments are implemented.

[0030] A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in any one of the above embodiments are implemented.

[0031] Compared with the prior art, the above-mentioned data synchronization method, system, computer device and readable storage medium. The data synchronization method includes: acquiring a first operation instruction for a user to operate a browser, and determining a data synchronization task type according to a task type corresponding to the first operation instruction; determining a trigger condition according to the data synchronization task type, and performing silent data synchronization processing of the current task type based on the trigger condition, where the trigger condition includes data timing trigger and data buried point trigger. By adopting the above method, the present application can monitor and capture the user's interaction behavior in real time. During the process of the user handling work, the system will synchronize the user data in real time to ensure that after the user completes the corresponding web page operation, the relevant data has been accurately collected by the system, effectively reducing the risk of data lag. At the same time, by implementing silent data synchronization processing and isolation from the main thread, it is ensured that the data synchronization process is carried out in the background without the user's perception, thus not affecting the normal operation of the page. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0033] Figure 1 It is a flowchart of the data synchronization method provided by an embodiment of the present application;

[0034] Figure 2 It is a module schematic diagram of the data synchronization method provided by an embodiment of the present application;

[0035] Figure 3 The structural block diagram of the data synchronization system provided by an embodiment of the present application;

[0036] Figure 4 The internal structure diagram of the computer device provided by an embodiment of the present application.

[0037] Explanation of the reference numerals in the drawings:

[0038] 10. Data synchronization system; 100. Acquisition module; 200. Processing module. Detailed implementation manners

[0039] To make the above objects, features, and advantages of the present application more obvious and understandable, the following will describe the detailed implementation manners of the present application with reference to the accompanying drawings. Many specific details are set forth in the following description to fully understand the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without departing from the connotation of the present application. Therefore, the present application is not limited by the specific implementations disclosed below.

[0040] The serial numbers assigned to the components in this article, such as "first", "second", etc., are only used to distinguish the described objects and do not have any sequential or technical meanings. The "connection" and "coupling" mentioned in the present application, unless otherwise clearly defined and limited, both include direct and indirect connections (couplings). In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present application.

[0041] In the present application, unless otherwise clearly defined and limited, the first feature being "on" or "under" the second feature can be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on" the second feature can be that the first feature is directly above or obliquely above the second feature, or simply means that the first feature has a higher horizontal height than the second feature. The first feature being "under", "below" and "beneath" the second feature can be that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower horizontal height than the second feature.

[0042] It should be noted that when an element is referred to as "fixed to" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time.

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used in the description of this application herein are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0044] Please refer to Figure 1 , an embodiment of this application provides a data synchronization method. The data synchronization method includes:

[0045] S102: Obtain a first operation instruction for the user to operate the browser, and determine the data synchronization task type according to the task type corresponding to the first operation instruction.

[0046] In some embodiments, when the user starts the first specific work operation, the hidden browser can obtain the first operation instruction for the user to operate the browser. Then, determine the data synchronization task type according to the task type corresponding to the first operation instruction. Among them, the task type can be divided according to user needs, and each task type uses a browser object to queue and execute silently in the background to avoid interference between tasks.

[0047] S104: Determine the trigger condition according to the data synchronization task type, and perform data silent synchronization processing of the current task type based on the trigger condition. The trigger condition includes data timing trigger and data buried point trigger.

[0048] In some embodiments, the hidden browser can determine the trigger condition according to the data synchronization task type, that is, the user continues their subsequent work on the visual front end. At this time, the hidden browser will determine the trigger condition according to the previously set trigger mechanism according to the data synchronization task type, and then perform data silent synchronization processing of the current task type based on the trigger condition, so as to automatically instantiate and execute a specific task type to complete the data synchronization processing. This embodiment does not require an additional login process, and the front-end and back-end browsers can share the login state to achieve seamless connection.

[0049] In some embodiments, the data logging can be implemented using JavaScript (JS) scripts. Specifically, when the trigger condition is data logging trigger, when the browser is launched and the user enters a certain page, a JS script corresponding to this page will be executed to embed the set script into the page. Later, when the user performs a certain operation on the page (such as clicking the save button) and meets the pre-set JS logging, this JS logging will trigger data synchronization, and the background will start silent data synchronization.

[0050] Similarly, when the trigger condition is timed trigger, after the browser is launched and the user enters a certain page, when the user does not modify data on the current page, the timed synchronization mechanism is started to trigger data synchronization at regular intervals, and the background will start silent data synchronization. Specifically, the timing can be set to 1 minute, 2 minutes, etc. When the time without data modification on the current page exceeds the timed time, data synchronization will be automatically triggered, that is, the background will start silent data synchronization. It should be noted that the execution mechanism of silent data synchronization minimizes the interference to the user's daily operations while ensuring the data synchronization efficiency. The user can still freely switch to other tasks and enjoy a smooth browsing experience.

[0051] By adopting the above method in this embodiment, it is possible to monitor and capture the user's interaction behavior in real time. During the process of the user handling work, the user data will be synchronized in real time to ensure that after the user completes the corresponding web page operation, the relevant data has been accurately collected by the system, effectively reducing the risk of data lag. At the same time, through the implementation of silent data synchronization processing and isolation from the main thread, it is ensured that the data synchronization process occurs in the background and the user does not need to perceive it, thus not affecting the normal operation of the page.

[0052] In some embodiments, the step of obtaining the first operation instruction for the user to operate the browser and determining the data synchronization task type according to the task type corresponding to the first operation instruction includes: obtaining the first operation instruction for the user to operate the browser, determining the operation task type according to the operation requirement of the first operation instruction; obtaining the data synchronization task type corresponding to the browser page according to the operation task type.

[0053] In some embodiments, the task type can be divided according to user needs, such as Figure 2 As shown, the task types include trigger task A1, trigger task A2, trigger task B1, and trigger task B2. When the trigger task corresponding to the operation requirement of the first operation instruction is trigger task A2, the data synchronization task type corresponding to the browser page can be obtained as A1 execution, that is, obtain task A corresponding to the browser and hide A1 execution corresponding to the browser.

[0054] If the trigger task corresponding to the operation requirement of the first operation instruction is trigger task B2, the data synchronization task type corresponding to the browser page can be obtained according to the operation task type and executed as B1, that is, the task B corresponding to the browser page is obtained to hide the execution of B1 corresponding to the browser.

[0055] In some embodiments, the step of determining the trigger condition according to the data synchronization task type and performing data silent synchronization processing of the current task type based on the trigger condition includes: determining the trigger condition according to the data synchronization task type, and determining whether the trigger condition is satisfied according to a preset rule. In some embodiments, if the trigger condition is data buried point trigger, when the user performs a certain operation on the page (such as clicking the save button) and meets the preset JS buried point, this JS buried point will trigger data synchronization, at this time it means that the trigger condition has been satisfied, and the background starts to perform data silent synchronization processing of the current task type. By using JS buried point trigger, accurate data trigger can be achieved.

[0056] Similarly, if the trigger condition is timing trigger, when the user does not modify data on the current page, a timing synchronization mechanism is started to trigger data synchronization at a fixed time. When the fixed time arrives, it means that the trigger condition has been satisfied, and the background starts to perform data silent synchronization processing of the current task type. Otherwise, continue to judge whether the trigger condition is satisfied until the trigger condition is satisfied, and then the background starts to perform data silent synchronization processing of the current task type.

[0057] In some embodiments, the data synchronization method further includes: if the trigger condition has been satisfied and the number of data synchronization task types is multiple, determine whether to immediately perform data silent synchronization processing of the current task type according to the priority of the current task type and the current synchronization resources of the system.

[0058] In some embodiments, when the trigger condition is satisfied but the number of data synchronization task types is multiple, the system will perform unified scheduling according to the current synchronization resources of the system and the priority of the current task type.

[0059] In some embodiments, the data synchronization method further includes: obtaining the current synchronization resources of the system, and determining whether the synchronization condition is satisfied according to the priority of the current task type. Specifically, if there are free resources in the current synchronization resources of the system, then the data silent synchronization processing of the current task type can be sequentially executed according to the priority of the current task type. If there are no free resources in the current synchronization resources of the system, that is, the synchronization condition is not satisfied, then enter the synchronization processing queue sequence to wait according to the priority of the current task type until there are free resources in the current synchronization resources of the system, and then start to execute the data silent synchronization processing. This embodiment uses a priority queue based on task types and a concurrent control strategy for task classification to limit the number of synchronization tasks and improve the stability and efficiency of the system.

[0060] In some embodiments, the data synchronization method further includes: obtaining a second operation instruction for the user to operate the browser, and determining whether the task type corresponding to the second operation instruction enters the queue sequence to wait, where the second operation instruction is different from the first operation instruction; if it needs to enter the queue sequence to wait, then enter the queue sequence to wait according to the priority of the task type corresponding to the second operation instruction; if it does not need to enter the queue sequence to wait, then determine the data synchronization task type according to the task type corresponding to the second operation instruction.

[0061] In some embodiments, when the user starts the next specific work again, the hidden browser will judge again whether the task type enters the queue sequence to wait, that is, when the data synchronization task corresponding to the previous specific work has not ended, the task type corresponding to the next specific work needs to enter the queue sequence to wait according to the priority of the task type. Or a hidden browser for automatically instantiating a new specific task type can be directly performed to ensure that the data synchronization process can continue seamlessly. In this way, this embodiment can not only be applied to Web applications, but also support communication of hybrid applications, and can meet the data synchronization requirements in a variety of complex scenarios.

[0062] Please refer to Figure 3 Another embodiment of the present application provides a data synchronization system 10. The data synchronization system 10 includes: an obtaining module 100 and a processing module 200. The obtaining module 100 is used to obtain a first operation instruction for the user to operate the browser, and determine the data synchronization task type according to the task type corresponding to the first operation instruction. The processing module 200 is connected to the obtaining module 100. The processing module 200 is used to determine a trigger condition according to the data synchronization task type, and perform data silent synchronization processing of the current task type based on the trigger condition, where the trigger condition includes data timing trigger and data buried point trigger.

[0063] In some embodiments, the specific structure of the obtaining module 100 is not limited as long as it has the function of obtaining a first operation instruction for a user to operate a browser and determining a data synchronization task type according to the task type corresponding to the first operation instruction. Specifically, the obtaining module 100 may be a processor or a collector, etc. The specific structure of the obtaining module 100 can be selected according to actual needs and will not be specifically limited here.

[0064] In some embodiments, the specific structure of the processing module 200 is not limited as long as it has the function of determining a trigger condition according to the data synchronization task type and performing data silent synchronization processing for the current task type based on the trigger condition. Specifically, the processing module 200 may be a processor or an integrated controller, etc. The specific structure of the processing module 200 can be selected according to actual needs and will not be specifically limited here.

[0065] The data synchronization system 10 in this embodiment adopts the above method, can monitor and capture the user's interaction behavior in real time. During the process of the user handling work, the user data will be synchronized in real time to ensure that after the user completes the corresponding web page operation, the relevant data has been accurately collected by the system, effectively reducing the risk of data lag. At the same time, by implementing silent data synchronization processing and isolation from the main thread, it is ensured that the data synchronization process is carried out in the background and the user does not need to perceive it, thus not affecting the normal operation of the page.

[0066] In some embodiments, a computer device is provided. This computer device can be a terminal, and its internal structure diagram can be as Figure 4 shown. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a data synchronization method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the outer shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0067] Those skilled in the art can understand that Figure 4The structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0068] Please refer to Figure 4 , Another embodiment of this application provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the data synchronization method described in any one of the above embodiments.

[0069] In one embodiment, when the processor executes the computer program, the following steps are implemented:

[0070] S102: Obtain a first operation instruction for the user to operate the browser, and determine the data synchronization task type according to the task type corresponding to the first operation instruction;

[0071] S104: Determine the trigger condition according to the data synchronization task type, and perform data silent synchronization processing of the current task type based on the trigger condition. The trigger condition includes data timing trigger and data buried point trigger.

[0072] One embodiment of this application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the data synchronization method described in any one of the above embodiments.

[0073] In one embodiment, when the computer program is executed by a processor, the following steps are implemented:

[0074] S102: Obtain a first operation instruction for the user to operate the browser, and determine the data synchronization task type according to the task type corresponding to the first operation instruction;

[0075] S104: Determine the trigger condition according to the data synchronization task type, and perform data silent synchronization processing of the current task type based on the trigger condition. The trigger condition includes data timing trigger and data buried point trigger.

[0076] The above computer device and computer-readable storage medium, in the above manner, can monitor and capture the user's interaction behavior in real time. During the process of the user handling work, the user data will be synchronized in real time to ensure that after the user completes the corresponding web page operation, the relevant data has been accurately collected by the system, effectively reducing the risk of data lag. At the same time, by implementing silent data synchronization processing and isolation from the main thread, it ensures that the data synchronization process is carried out in the background and the user does not need to perceive it, thus not affecting the normal operation of the page.

[0077] Receive the current data information of at least one intelligent seal 100 corresponding to each of the metering devices 200 through the information collection device 300. If any of the received current data information is an error message, trigger an alarm corresponding to the intelligent seal 100, so as to monitor each of the intelligent seals 100 and improve the security of the metering device 200.

[0078] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0079] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0080] The above embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A data synchronization method, characterized in that, Including: Obtain a first operation instruction for the user to operate the browser, and determine the data synchronization task type according to the task type corresponding to the first operation instruction; Determine the trigger condition according to the data synchronization task type, and perform data silent synchronization processing of the current task type based on the trigger condition, where the trigger condition includes data timing trigger and data buried point trigger.

2. The data synchronization method according to claim 1, wherein The step of obtaining a first operation instruction for the user to operate the browser and determining the data synchronization task type according to the task type corresponding to the first operation instruction includes: Obtain a first operation instruction for the user to operate the browser, and determine the operation task type according to the operation requirement of the first operation instruction; Obtain the data synchronization task type corresponding to the browser page according to the operation task type.

3. The data synchronization method according to claim 1, wherein The step of determining the trigger condition according to the data synchronization task type and performing data silent synchronization processing of the current task type based on the trigger condition includes: Determine the trigger condition according to the data synchronization task type, and determine whether the trigger condition is satisfied according to a preset rule; If the trigger condition is satisfied, perform data silent synchronization processing of the current task type; If the trigger condition is not satisfied, return to the step of determining the trigger condition according to the data synchronization task type and determining whether the trigger condition is satisfied according to a preset rule.

4. The data synchronization method according to claim 3, wherein The method further includes: If the trigger condition is satisfied and the number of data synchronization task types is multiple, determine whether to immediately perform data silent synchronization processing of the current task type according to the priority of the current task type and the current synchronization resources of the system.

5. The data synchronization method according to claim 4, characterized in that The method further includes: Obtain the current synchronization resources of the system, and determine whether the synchronization condition is satisfied according to the priority of the current task type; If the synchronization condition is satisfied, immediately perform data silent synchronization processing of the current task type; If the synchronization condition is not satisfied, enter the synchronization processing queue sequence to wait according to the priority of the current task type.

6. The data synchronization method according to claim 1, wherein The method further includes: Obtain a second operation instruction for the user to operate the browser, and determine whether the task type corresponding to the second operation instruction enters the queue sequence to wait, where the second operation instruction is different from the first operation instruction; If it is necessary to enter the queue sequence to wait, enter the queue sequence to wait according to the priority of the task type corresponding to the second operation instruction; If it is not necessary to enter the queue sequence to wait, determine the data synchronization task type according to the task type corresponding to the second operation instruction.

7. The data synchronization method according to claim 1, wherein The data buried point is implemented through a JavaScript script.

8. A data synchronization system, characterized in that, Including: An obtaining module, configured to obtain a first operation instruction for the user to operate the browser, and determine the data synchronization task type according to the task type corresponding to the first operation instruction; A processing module, connected to the obtaining module, where the processing module is configured to determine the trigger condition according to the data synchronization task type, and perform data silent synchronization processing of the current task type based on the trigger condition, where the trigger condition includes data timing trigger and data buried point trigger.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.