CN111400639B - Real-time webpage synchronization method and system - Google Patents

Real-time webpage synchronization method and system Download PDF

Info

Publication number
CN111400639B
CN111400639B CN202010261397.5A CN202010261397A CN111400639B CN 111400639 B CN111400639 B CN 111400639B CN 202010261397 A CN202010261397 A CN 202010261397A CN 111400639 B CN111400639 B CN 111400639B
Authority
CN
China
Prior art keywords
webpage
data
web page
synchronous
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010261397.5A
Other languages
Chinese (zh)
Other versions
CN111400639A (en
Inventor
路九阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hope Bird Technology Co ltd
Original Assignee
Qingdao Hope Bird Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hope Bird Technology Co ltd filed Critical Qingdao Hope Bird Technology Co ltd
Priority to CN202311305977.XA priority Critical patent/CN117473193A/en
Priority to CN202010261397.5A priority patent/CN111400639B/en
Publication of CN111400639A publication Critical patent/CN111400639A/en
Application granted granted Critical
Publication of CN111400639B publication Critical patent/CN111400639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Abstract

The application provides a real-time webpage synchronization method and a system, wherein after monitoring webpage operation in a first webpage, when judging that the running environment of a second webpage meets the necessary condition for executing the webpage operation, the webpage operation is converted into webpage operation instruction data and is used as first synchronization data to be sent, otherwise, the first webpage performs differential analysis on webpage data after executing the webpage operation and latest synchronization reference webpage data to obtain differential webpage data and is used as the first synchronization data to be sent; the second webpage receives the first synchronous data and judges the type of the first synchronous data, and when the judging result is webpage operation instruction data, the webpage operation instruction data is restored into webpage operation instruction for execution; when the judgment result is the differential webpage data, analyzing the differential webpage data and updating the second webpage data based on the differential part, so that the second webpage data is consistent with the webpage data of the first webpage for displaying part. The application is applicable to static and dynamic web pages at the same time.

Description

Real-time webpage synchronization method and system
Technical Field
The application relates to the field of communication, in particular to a real-time webpage synchronization method and system.
Background
On the premise of rapid development of web pages and application programs based on the web pages, the web page synchronization provides great convenience for communication among users, and the users can communicate in a state that web page pictures are kept synchronous, so that the method is very good in experience and widely applied to the fields of client communication, network conferences and the like.
However, in the existing webpage synchronization technology, when the webpage with interaction with the server is synchronized, a plurality of problems exist, such as a mode of transmitting webpage operation instructions to realize webpage synchronization is adopted, the technology acquires the operation of the synchronizer on the webpage, then converts the acquired operation into instructions to the synchronized, the synchronized executes the same instructions to achieve the same webpage browsing effect, and when the transmitted instructions comprise the operation instructions of the calling server, the operation instructions of the related server are called by the synchronized for the second time, thereby causing operation confusion; if the mode of transferring the webpage data is adopted, the mode achieves the synchronization effect by synchronizing the webpage data, if the synchronizer sends partial webpage data to the synchronized, the synchronized cannot execute certain operations due to the fact that the synchronized does not obtain the complete authority, and if the synchronizer sends all the webpage data to the synchronized, the data and the authority of the synchronizer are completely leaked. Therefore, the problem of web page synchronization for dynamic web pages is needed to be solved.
Disclosure of Invention
In view of the above-mentioned existing situations, the present application provides a method and a system for real-time web page synchronization, which solve the problem of dynamic web page and static web page (including web page requested by server).
In a first aspect, the present application provides a method for real-time synchronizing a web page, which is applied to a real-time web page synchronizing system, where the real-time web page synchronizing system includes a first web page and at least one second web page, and the method for synchronizing the first web page to the second web page includes:
monitoring the webpage operation in the first webpage, and executing the following judgment according to the webpage operation:
A. when judging that the current running environment (local data, webpage resources and the like) of the second webpage meets the necessary conditions for executing the webpage operation in the second webpage, converting the webpage operation into webpage operation instruction data and sending the webpage operation instruction data to the second webpage as first synchronous data;
B. when judging that the current running environment (local data, webpage resources and the like) of the second webpage does not meet the necessary conditions for executing the webpage operation in the second webpage, reading the latest synchronous reference webpage data, performing differential analysis on the webpage data after executing the webpage operation and the latest synchronous reference webpage data, calculating to obtain differential webpage data, and sending the differential webpage data to the second webpage as first synchronous data;
Meanwhile, the current webpage data of the first webpage are stored as the latest synchronous reference webpage data;
the second webpage receives the first synchronous data and judges the type of the first synchronous data, and when the judging result is webpage operation instruction data, the webpage operation instruction data is restored into a webpage operation instruction and executed; when the judgment result is the differential webpage data, analyzing the differential webpage data, and updating the second webpage data based on the differential part, so that the webpage data of the second webpage and the webpage data of the first webpage for the display part are kept consistent.
By the scheme provided by the embodiment of the application, after the first webpage executes the operation, the second webpage and the first webpage can keep a synchronous effect.
In one implementation manner of the present application, the step of obtaining differentiated web page data through calculation further includes extracting local data or all data including the differentiated portion as the differentiated web page data according to a result of a differential analysis of the web page data after the first web page operation is performed and the latest synchronous reference web page data.
In one implementation manner of the present application, after the step of monitoring the web page operation in the first web page, the method further includes, when the web page operation includes a web page resource file request and the web page resource file request needs to be authorized for access, obtaining a resource file according to the web page request and storing the resource file at a server side, generating a new resource file website, and in the step of generating the differential web page data, replacing an original resource file website with the new resource file website.
In one implementation of the present application, before the first webpage sends the first synchronization data, the method may further include:
processing the first synchronization data, wherein the processing comprises one or more of deletion, modification and addition;
checking the synchronous control switch states of the first webpage and the second webpage, and allowing the first webpage to send the first synchronous data when the first webpage and the second webpage are both on;
adding synchronization state identification information into the first synchronization data, wherein the synchronization identification information is used for identifying the synchronization operation, has sequence and is not repeated;
adding a synchronous switch control instruction into the first synchronous data;
adding a local network page data deleting instruction into the first synchronous data; the method comprises the steps of carrying out a first treatment on the surface of the
Adding a synchronous control authorization instruction into the first synchronous data;
and adding notification information into the first synchronous data.
In one implementation of the present application, after the second web page receives the first synchronization data, the method further includes:
reading the synchronous identification information from the first synchronous data;
reading the synchronous switch control instruction from the first synchronous data, and setting a synchronous switch of the second webpage;
Reading the local network page data deleting instruction from the first synchronous data, and deleting the second webpage local network page data;
reading the synchronous control authorization instruction from the first synchronous data, and authorizing the second webpage to carry out synchronous control;
reading notification information from the first synchronous data and displaying the notification information;
and receiving and caching the first synchronous data.
In a second aspect, the present application provides a method for real-time synchronizing a web page, which is applied to a real-time web page synchronizing system, where the real-time web page synchronizing system includes a first web page and at least one second web page, and the method further includes:
monitoring webpage operation in the second webpage, wherein the webpage operation types comprise user operation and non-user operation, and when the webpage operation type is judged to be the user operation, executing the following steps:
capturing the user operation and stopping the execution of the user operation in the second webpage, converting the user operation into webpage operation instruction data and sending the webpage operation instruction data to the first webpage as second synchronous data, or further judging whether the current running environment (local data, webpage resources and the like) of the second webpage meets the necessary conditions for the execution of the webpage operation in the second webpage after capturing the user operation, if so, executing the webpage operation, converting the webpage operation into webpage operation instruction data and sending the webpage operation instruction data to the first webpage as second synchronous data, and carrying a notification that the execution of the second webpage is completed, and if not, converting the webpage operation into webpage operation instruction data and sending the webpage operation instruction data to the first webpage as second synchronous data;
And the first webpage receives the second synchronous data, restores webpage instruction data in the second synchronous data into webpage operation instructions and executes the webpage operation instructions.
By the scheme provided by the embodiment, after the user executes the operation on the second webpage, the first webpage and the second webpage can keep a synchronous effect.
In one implementation of the present application, before the second webpage sends the second synchronization data, the method may further include:
adding a control right application instruction into the second synchronous data;
adding a control right handover instruction into the second synchronous data;
adding synchronous switch state information into the second synchronous data;
and adding synchronous execution result data into the second synchronous data, wherein the synchronous execution result data comprises one or more of synchronous identification information, synchronous execution results and synchronous execution result related data.
In one implementation of the present application, after the first web page receives the second synchronization data, the method further includes:
reading a control right application instruction from the second synchronous data, and executing whether to grant the control right operation of the second webpage;
reading a control right handover instruction from the second synchronous data, and executing control right operation for recovering the second webpage;
Reading synchronous switch state information from the second synchronous data, and updating the second webpage synchronous switch state information stored in the first webpage;
and reading synchronous execution result data from the second synchronous data, analyzing the execution result, and updating the synchronous execution result data of the second webpage stored in the first webpage.
In a third aspect, the present application provides a real-time web page synchronization system, the system comprising: the first webpage comprises a first synchronization unit and first webpage content, at least one second webpage comprises a second synchronization unit and second webpage content, and a synchronization server, wherein,
the system comprises a first synchronization unit, a second synchronization unit and a third synchronization unit, wherein the first synchronization unit comprises a webpage operation monitoring module, a webpage operation analysis module, a webpage operation instruction conversion module, a webpage data differentiation analysis module, a webpage data synchronization management module and a first synchronization data communication module, and the webpage operation monitoring module monitors webpage operation of the first webpage; the webpage operation analysis module analyzes the webpage operation, when judging that the current running environment (local data, webpage resources and the like) of a second webpage meets the necessary conditions for executing the webpage operation in the second webpage, the webpage operation instruction conversion module is called to convert the webpage operation into webpage operation instruction data and serve as first synchronous data, otherwise, the webpage data difference analysis module reads the latest synchronous reference webpage data, compares and analyzes the latest synchronous reference webpage data with the current webpage data, and calculates to obtain difference webpage data and serve as the first synchronous data; meanwhile, the current webpage data of the first webpage are stored as the latest synchronous reference webpage data; the first synchronous data communication module sends the first synchronous data to the synchronous server;
The synchronization server is used for receiving the first synchronization data from the first webpage and sending the first synchronization data to the second webpage;
the second synchronization unit comprises a second synchronization data communication module, a synchronization data analysis module, a webpage operation instruction conversion module, a webpage operation instruction execution module and a webpage differentiation data updating module, wherein the second synchronization data communication module receives the first synchronization data from the synchronization server and is analyzed by the synchronization data analysis module, when the analysis result contains webpage operation instruction data, the webpage operation instruction conversion module converts the webpage operation instruction data into a webpage operation instruction and is called and executed by the webpage operation instruction execution module, and when the analysis result contains differentiated webpage data, the webpage differentiation data updating module updates the second webpage data based on the differentiated webpage data, so that the second webpage is consistent with the webpage data used for displaying the first webpage.
In one implementation manner of the present application, the second synchronization unit further includes a web page operation monitoring module and a web page operation analysis module, after the web page operation monitoring module monitors the web page operation in the second web page, judging the synchronous control authority and the web page operation execution authority of the second web page, stopping the execution in the second web page when the synchronous control authority is provided but the web page operation execution authority is not provided, calling the web page operation instruction conversion module to convert the user operation into web page operation instruction data and send the web page operation instruction data to a synchronization server as second synchronous data, when the synchronous control authority is provided and the web page operation execution authority is provided, further calling the web page operation analysis module to judge whether the current running environment of the second web page meets the necessary condition that the web page operation is executed in the web page operation, if yes, firstly executing the web page operation and calling the web page operation instruction conversion module to convert the web page operation instruction data into second synchronous data and send the second synchronous data to the synchronization server as second synchronous data;
The synchronization server is further configured to receive the second synchronization data from the second web page and send the second synchronization data to the first web page;
after the first webpage receives the second synchronous data, the webpage operation instruction conversion module converts the webpage operation instruction data into a webpage operation instruction, and the first synchronous unit further comprises a webpage operation instruction execution module used for executing the webpage operation instruction.
Any implementation manner of the third aspect or any implementation manner of the third aspect is any implementation manner of the first aspect or any implementation manner of the first aspect, the second aspect or any implementation manner of the second aspect, and is not described herein.
Therefore, in the aspects, when the webpage operation is monitored, the property, the dependence and the action effect of the webpage operation are analyzed, and then the webpage operation instruction or the webpage data form is selected to be adopted to be synchronized to the webpage at the other end, so that the minimum and most effective data transmission is realized, the private part of the webpage data at the execution operation end is protected from being leaked, and the safety is improved.
Drawings
FIG. 1 is an activity diagram of a real-time web page synchronization method provided by the application;
FIG. 2 is an activity diagram of a real-time web page synchronization method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of dividing operation types of a web page according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating the division of the operation property of a web page according to the requirements of the operation execution of the web page according to the embodiment of the present application;
FIG. 5 is a schematic diagram of a classification scheme of web page data according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an HTMLDOM tree structure;
FIG. 7 is a schematic diagram of a data structure for recording synchronous reference web page data according to an embodiment of the present application;
FIG. 8 is an activity diagram of another method for real-time synchronization of web pages according to an embodiment of the present application;
FIG. 9 is an activity diagram of another method for real-time synchronization of web pages according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a real-time web page synchronization system according to an embodiment of the present application;
Detailed Description
The description of the embodiments of the application is intended to be illustrative of the application and is not intended to be limiting.
Hereinafter, preferred embodiments of the present application will be described in detail with reference to the accompanying drawings.
In a first embodiment, as shown in fig. 2, the present application provides a method for real-time synchronization of web pages, the method comprising:
Step S201, the first webpage monitors webpage operation;
step S202, analyzing the monitored webpage operation property, wherein the webpage operation property analysis comprises two parts, namely a necessary condition for executing the webpage operation and an action effect (namely, changing webpage data) after the webpage operation is executed;
according to the analysis of the web page operation property in the step S202, executing the step S203 to determine, when it is determined that the current running environment (local data, available web page resources, etc.) of the second web page meets the requirement that the web page operation is executed in the second web page, that is, meets the condition S2031, executing the step S204 to convert the web page operation into web page operation instruction data; when it is determined that the current running environment (local data, available web page resources, etc.) of the second web page does not meet the necessary conditions for executing the web page operation in the second web page, that is, meets the condition S2032, executing the operation of step S205, reading the latest synchronous reference web page data, then executing the operation of step S206, performing differential analysis on the web page data after executing the web page operation and the latest synchronous reference web page data read in step S205, and calculating to obtain differential web page data;
According to the webpage operation instruction data generated in the step S204 and the differentiated webpage data generated in the step S206, executing the operations of the step S207 and the step S208 on the basis that the webpage operation is completed;
step S207, saving the current webpage data of the first webpage as the latest synchronous reference webpage data;
step S208, generating first synchronous data according to the webpage operation instruction data generated in the step S204 and the differentiated webpage data generated in the step S206, and adding a synchronous data type identifier;
step S209, transmitting the first synchronization data to a synchronization server;
step S210, the synchronization server receives the first synchronization data and sends the first synchronization data to the second web page;
step S211, the second web page receives the first synchronization data;
step S212, the second web page receives the first synchronization data and determines the type of the first synchronization data, and when the determination result is web page operation instruction data, that is, when the determination result meets a condition S2121, performs an operation in step S213, restores the web page operation instruction data to a web page operation instruction, further performs an operation in step S214, and performs the web page operation instruction; when the result is differentiated web page data, that is, when the condition S2122 is met, the operation of step S215 is executed, the differentiated web page data is parsed, the operation of step S216 is further executed, and the second web page data is updated based on the differentiated portion.
According to the steps, the first webpage is operated, and the aim of keeping the second webpage synchronous with the first webpage is fulfilled.
The web page operation includes any web page operation that can cause web page display and web page data change (but does not include web page operation formed by related implementation in the application, such as web page operation formed by communication between the first web page and the synchronization server or the second web page, web page operation formed by execution of the web page operation instruction, web page operation formed by the synchronization switch control, and the like, and the web page operation is not in a synchronization range and should be directly processed by the method of the application), and as shown in fig. 3, the web page operation types are classified into user operation types and non-user operation types, wherein the user operation types refer to operations of a user on a web page, including clicking, dragging, inputting, and the like; the non-user operation type refers to a webpage operation automatically executed by a webpage program caused by a non-user, and comprises a timer execution program, a webpage loading triggering execution program, a browser triggering execution program, an asynchronous execution program, an external triggering execution program, a callback execution program and the like, such as: the timer triggers the execution of a program according to the timing, the loading of the webpage completes the execution of the program, the execution of the program triggered by the change of the network connection state, the automatic execution of the program caused by the external data transmission, the execution of a callback program after the execution of the server instruction is completed, and the like.
In addition, the analysis of the web page operation property in step S202 is mainly performed with respect to the necessary condition required for executing the web page operation, in order to determine whether the web page operation occurring in the first web page, if executed in the second web page, the current running environment (including local data, available network resources, etc.) of the second web page can reach the necessary condition for execution. Regarding the division of the web page operation property with respect to the requirement for executing the web page operation, a web page operation property judgment manner shown in fig. 4 is divided into: two types of the method can be executed in the current running environment of the second webpage and can not be executed in the current running environment of the second webpage, wherein the execution in the current running environment of the second webpage comprises the steps of not sending any request to a server (namely, only relying on the local data of the second webpage to execute), sending a resource class request to the server and sending the request without using the first webpage authority to make the request; the non-executable execution in the current running environment of the second webpage comprises the steps of sending a network resource class request to a server, requesting by using the authority of the first webpage, sending a non-network resource class request to the server, and the like.
The web page data in step S206 refers to all data related to the web page, and refers to a web page data classification method shown in fig. 5, wherein the web page data is divided into three categories, namely web page Elements (Elements), web page resources (Sources), and local web page data, the web page Elements include HTML, script, and other web page Elements, the HTML is an HTML document acquired by a browser, and referring to fig. 6, the HTML document can be expressed as a tree structure by DOM; the web page resources refer to web page resource files which can be obtained when the web page runs, and the general web page resources have corresponding websites (part of web page resources do not adopt website forms, such as picture Base64 codes, video streams and the like), and the web page resources comprise picture resources, CSS resources, JS file resources, sound resources, video resources, text resources and the like; the local webpage data is internal data of a webpage program in the webpage running process and data stored in a browser running environment, such as: cookies, local program internal variables, local storage (LocalStorage, sessionStorage, cacheStorage), local databases, application related data (Manifest, applicationCache), and the like.
In step S205, the synchronization reference web page data in step S207 is web page data recorded in a certain synchronization stage in the synchronization process, and the first web page and the second web page are synchronized based on the synchronization reference web page data in the synchronization stage. In the synchronization process, when the web page operation is judged to cause the web page data to change, the new web page data is counted into the synchronization reference web page data and the web page synchronization identification information is updated, wherein the web page synchronization identification information is used for identifying one-time synchronization operation. In practical implementations, the synchronization reference web page data may be updated before or after the web page operation is performed, optionally after the web page operation is completed. In a possible implementation manner, as shown in fig. 7, a data structure for recording synchronous reference web page data is provided, which is a tree structure including three branches of web page elements, web page resources and local data, wherein the branches of the web page elements adopt an HTMLDOM tree structure; the web resource branches can establish sub-branches according to the resource types (such as CSS, jog, png) or the sources of the web resources (namely, domain names contained in websites), and detailed web resource data are generally stored in the form of websites; the local data establishes sub-branches according to the type of the local data, including Cookies, application, cache, storage, database, local program internal variable branches, etc. And building a node identification for each node on the tree according to the data structure reference. The method of the application stores the synchronous reference webpage data variable in the first webpage, and the variable stores the latest webpage data for each node based on the data structure and the corresponding current webpage synchronous identification information. Optionally, before the synchronization reference web page data is updated, the node identifier of the update node, the web page data content stored before the update node is updated, the web page synchronization identifier information and the like are counted into historical synchronization web page data (which can be recorded in a cache manner), and the historical synchronization web page data is used for providing data support for calculating the differentiated web page data between different synchronization stages.
In step S206, the differentiated web page data is a differentiated portion or a set including the differentiated portion between the current web page data and the latest synchronization reference web page data after the web page operation occurs. In a possible implementation manner, in combination with the above provided synchronous reference web page data storage structure, the obtained differentiated web page data is a changed node set, and the differentiated content at least includes node identification, changed property and changed web page data content, as shown in fig. 7, where the content stored in node 0011221 is changed, variable a stored in node 00361 is deleted, and node 00222 is newly added in node 0022, and then the differentiated web page data includes the following table contents:
node Changing properties Changed web page data content
0011221 Modification of <div class=″ReraBd″>abc</div>
00361 Deletion of -
00222 Increase in 0022
The changed webpage data content is stored according to the changing property and the corresponding rule, wherein the changing property of the nodes in the table 0011221 is 'modified', and the changed webpage data content is modified content; the changed property of the node 00361 is "delete", and the changed web page data content is empty; node 00222 has the changed nature of "add," then the changed web page data content parent node is identified.
In addition, in the step S209, the first web page sends the first synchronization data, in the step S210, the synchronization server receives the first synchronization data, in the step S211, the second web page receives the first synchronization data, and the WebSocket communication protocol is adopted for communication.
The second web page in step S212 receives the first synchronization data and determines the type thereof, where the determining manner includes determining according to the synchronization data type identifier added in step S208 in advance or determining according to the content of the first synchronization data.
In step S213, the web page operation instruction data is restored to a web page operation instruction, and the restoring mode corresponds to the generating mode of the web page operation instruction data generated by the web page operation instruction.
In step S214, the web page operation instruction is executed, that is, a function corresponding to the web page operation instruction is called by Javascript, so as to achieve an effect completely consistent with the first web page operation, for example: the clicking operation of the first web page on a button may be implemented in step S214 by calling an additional onclick function in the attribute of the button, calling a click event of the button (e.g., document. Getelement byid ("XX"). Click ()), etc.
Analyzing the differentiated web page data in step S215, obtaining the differentiated web page data from the first synchronous data, analyzing according to a method corresponding to the generation mode of the differentiated data, in one embodiment, analyzing that the obtained result at least includes a node, a changing property and a changed web page data content, then, in step S216, analyzing and obtaining an operation node position, an operation function and operation parameter data according to information contained in the node, the changing property and the changed web page data content, and calling the operation function to execute updating operation according to the operation parameter data for the node position, wherein after searching for the obtained node 0011221 position, a modification method is called, and the existing node content is replaced by content "< div class" = "ReraBd" </div > "; searching an obtained node 00361, calling a deleting method and deleting the node; the find parent node 0022 under which the new node 00222 is inserted.
In an alternative embodiment, in response to step S206, calculating the differentiated web page data further includes extracting local data or all data including the differentiated portion as the differentiated web page data, and any of 0011221 node, 001122 node, 00112 node, 0011 node, 001 node, and all web page data may be extracted as the differentiated web page data as the table node 0011221 is differentiated due to modification.
In an alternative embodiment, the analysis of the web page operation property is performed in step S202, when it is determined that the web page operation includes a web page resource file request and the web page resource file request needs to be authorized for access, that is, the web page resource can only be accessed by the first web page using authority, and the second web page cannot be directly accessed, the following processes are performed: and the first webpage utilization authority acquires a resource file according to the webpage request, sends the resource file to a server terminal which is accessed by a second webpage with authority for storage, generates a new resource file website, and replaces the original resource file website with the new resource file website in the differentiated webpage data. The processing provides new webpage resources for the second webpage, replaces the webpage resources which are not authorized to be accessed, and can utilize the browser to cache the new webpage resources after the second webpage is accessed, so that a large amount of webpage resource content data are prevented from being frequently transmitted in the synchronization process.
In an alternative embodiment, step S208 of generating the first synchronization data further includes the following:
i. processing the first synchronization data, wherein the processing comprises one or more of deleting, modifying and adding. The first web page has control right for synchronizing content, such as shielding synchronizing operation of some content, replacing (manually or automatically) privacy information such as password contained in the synchronizing data before synchronizing, adding synchronizing data type identifier (for identifying web page instruction data and web page differentiated data type) in the first synchronizing data, etc.
And ii, checking the synchronous switch states of the first webpage and the second webpage, and allowing the first webpage to send the first synchronous data when the first webpage and the second webpage are both on. The first webpage can acquire synchronous switch state information of the first webpage and all second webpages, and when the first webpage synchronous switch is closed, synchronization of current webpage operation is canceled; and when the second webpage synchronous switch is closed, canceling the synchronous information transmission of the second webpage.
Adding synchronization state identification information into the first synchronization data, wherein the synchronization state identification information is used for identifying the synchronization operation, and the synchronization operation is sequential and not repeated.
And iv, adding a synchronous switch control instruction into the first synchronous data. Adding the instruction can realize the opening and closing of the synchronous switch aiming at the second webpage.
And v, adding an instruction for deleting the local network page data into the first synchronous data. The instruction is added to realize partial or complete deletion of the webpage data stored locally in the second webpage.
Adding a synchronous control authorization instruction into the first synchronous data. When the second webpage applies for the control right of the synchronous operation in the synchronous process, adding the instruction to carry out the authorization or cancel the authorization operation; and when the second webpage returns control right, the authorization is released through the instruction.
Adding notification information to the first synchronization data.
In an alternative embodiment, item i, ii, iii, iv, v, vi, vii above may be sent in the form of separate data or instructions independent of the first synchronization data.
In an alternative embodiment, the second web page further includes the following processing after receiving the data in step S211:
i. and reading the synchronous identification information from the first synchronous data. According to the synchronization identification information and the synchronization identification information of the synchronization operation completed by the second webpage for the last time, whether a certain synchronization operation is missing in the synchronization process or not can be judged, and the missing synchronization data is further requested to the first webpage; after the synchronization operation is completed, the synchronization identification information is stored in the second webpage as the latest synchronization identification information of the second webpage.
And ii, reading the synchronous switch control instruction from the first synchronous data, and controlling the synchronous switch of the second webpage.
And reading the local page data deleting instruction from the first synchronous data, and deleting the local page data of the second webpage, wherein the deleting operation comprises a part or all of local page data deleting operation.
Reading the synchronous control authorization instruction from the first synchronous data, and authorizing the second webpage to carry out synchronous control.
And v. reading notification information from the first synchronous data and displaying the notification information.
Receiving and caching the first synchronous data. When the buffer memory is used, reading and processing according to the synchronization identification sequence, if the condition that the synchronization process lacks synchronous data for a certain time is judged in the above step i, firstly buffering the received synchronous data, and then initiating a request aiming at the missing synchronous data.
In a second embodiment, as shown in fig. 8, the present application provides a method for real-time synchronization of web pages, where the method includes:
step S801, the second web page monitors a web page operation;
step S802, analyzing the monitored webpage operation type, judging whether the webpage operation type is user operation or non-user operation, and executing step S803 to stop the webpage operation when judging that the current webpage operation of the second webpage is non-user operation, namely meeting the condition S8022; when it is determined that the current web page operation of the second web page is a user operation, that is, the condition S8021 is met, step S804 is executed to stop the execution of the web page operation, step S805 is executed at the same time, the web page operation is converted into web page operation instruction data, and step S806 is executed to generate second synchronization data according to the web page operation instruction data;
Step S807, transmitting the second synchronization data to a synchronization server;
step S808, the synchronization server receives the second synchronization data and sends the second synchronization data to the first web page;
step S809, the first web page receives the second synchronization data;
step 810, restoring the webpage operation instruction data contained in the second synchronous data into a webpage operation instruction;
step S811, executing the web page operation instruction in the first web page.
According to the above steps, the present embodiment achieves the purpose that the second web page executes the web page operation, and the first web page and the second web page keep synchronous. In this embodiment, the web page operation in the second web page is not directly executed in the second web page, and when the web page operation is monitored, if it is determined that the web page operation belongs to a non-user operation, execution is terminated; if the operation belongs to the user operation, the operation is sent to the first webpage for execution besides terminating the execution of the user webpage operation, and the first webpage executes the webpage operation and starts the second webpage synchronization according to the synchronization mode in the first embodiment. In addition, in this embodiment, the second web page does not record the synchronous reference web page data, and after the first web page receives the second web page operation instruction data, the maintenance of the synchronous reference web page data is performed according to the complete steps of the first embodiment. It can be seen that, in this embodiment, the user operation effect of the second web page is indirectly completed through the synchronization of the first web page.
The operation of the web page and the operation type of the web page are the same as those in the first embodiment, and are not described herein again.
In a third embodiment, as shown in fig. 9, the present application provides a method for real-time synchronization of web pages, where the method includes:
step S901, the second web page monitors a web page operation;
step S902, analyzing the monitored operation type of the web page, and executing step S903 to stop the execution of the web page operation when judging that the current web page operation of the second web page is a non-user operation, namely, when the operation meets the condition S9021; when the current webpage operation of the second webpage is judged to be the user operation, namely, when the condition S9022 is met, the judgment operation of the step S904 is executed;
step S904, further determining whether the current running environment (local data, available web page resources, etc.) of the second web page meets the requirement for executing the web page operation in the second web page, and executing step S903 to stop executing the web page operation when it is determined that the requirement is not met, i.e., when it is determined that the requirement is met S9041; when it is determined that the necessary condition is satisfied, that is, when the condition S9042 is satisfied, the operation of step S905 is performed, the operation of the web page is performed and the synchronization identification information is generated, and simultaneously the operation of step S906 is performed, to convert the operation of the web page into web page operation instruction data.
Based on the operation of step S906, performing the operation of step S907, generating second synchronization data from the web page operation instruction data, and adding notification and synchronization identification information that the web page operation has been performed in the second web page into the second synchronization data;
step S908, transmitting the second synchronization data to a synchronization server;
step S909, the synchronization server receives the second synchronization data and sends the second synchronization data to the first web page;
step S910, the first web page receives the second synchronization data;
step S911, restoring the web page operation instruction data contained in the second synchronization data into a web page operation instruction;
step S912, executing the web page operation instruction in the first web page.
According to the above steps, the second web page executing operation is achieved in the same manner as in the second embodiment, and the first web page and the second web page keep synchronous, which is different in that the web page operation in the second web page is determined, and when the determination is not the user operation, the execution in the second web page is terminated; when the user operation is judged to be unable to be executed in the running environment of the second webpage, terminating the user operation execution, and simultaneously sending the operation to the first webpage for execution, wherein the first webpage executes and starts to synchronize with the second webpage in the synchronization mode in the first embodiment; when the user operation is judged and the operation can be executed in the running environment of the second webpage, executing the webpage operation, generating synchronous identification information, additionally sending the operation to the first webpage for execution, carrying notification that the current second webpage is executed and the synchronous identification information, and executing the webpage operation by the first webpage, and starting synchronization with other second webpages by using the synchronous identification information according to the synchronous mode in the first embodiment. Likewise, in this embodiment, the second web page does not record the synchronization reference web page data, and after the first web page receives the second web page operation instruction data, the first web page executes and maintains the reference web page data according to the first embodiment, so as to complete the synchronization step with other second web pages. It can be seen that in this embodiment, a part of the user operations are direct, and another part of the user operation effects are indirectly completed through the synchronization of the first web page.
The operation of the web page, the operation type of the web page, and the operation property of the web page are the same as those in the first embodiment, and will not be described herein again.
According to the implementation step of this embodiment, the second web page has the authority of synchronous control, but for some user operations and all non-user operations, the second web page does not have the authority of executing the web page operations, so in another specific implementation scenario, the first web page firstly sends the web page data related to the authority in the first web page to the second web page, then grants the second web page complete authority of synchronous control and web page operation execution, and the second web page can temporarily replace the function of the first web page. In addition, when the first webpage receives the synchronous control right, a command for deleting the local webpage data is sent at the same time to delete the webpage data related to the right in the second webpage.
Based on the above-mentioned real-time webpage synchronization method according to the embodiment of the present application, the embodiment of the present application further provides a real-time webpage synchronization system, please refer to fig. 10, which includes: a first web page 1001, at least one second web page 1002, a synchronization server 1003, the first web page comprising a first synchronization unit 10011, a first web page content 10012, the second web page comprising a second synchronization unit 10021, a second web page content 10022, wherein,
The first synchronization unit 10011 includes a web operation monitor module 100111, a web operation analysis module 100112, a web operation instruction conversion module 100113, a web data differential analysis module 100114, a web data synchronization management module 100115, and a first synchronization data communication module 100116;
module 100111 listens for web page operations of web page content 10012;
the module 100112 analyzes the web page operation, when judging that the current running environment (local data, web page resources, etc.) of the web page 1002 meets the necessary conditions for executing the web page operation in the web page 1002, the calling module 100113 converts the web page operation into web page operation instruction data and uses the web page operation instruction data as first synchronous data, otherwise, the module 100114 reads the latest synchronous reference web page data, performs comparison analysis with the current web page data of 10012, and calculates to obtain differentiated web page data and uses the differentiated web page data as the first synchronous data; meanwhile, the module 100115 stores 10012 current webpage data as the latest synchronous reference webpage data;
a module 100116 for sending the first synchronization data to the synchronization server 1003;
the server 1003 includes a synchronization data communication module 10031 for receiving first synchronization data from the web page 1001 and transmitting the first synchronization data to the web page 1002;
The second synchronization unit 10021 includes a second synchronization data communication module 100211, a synchronization data analysis module 100212, a web page operation instruction conversion module 100213, a web page operation instruction execution module 100214, and a web page differential data update module 100215; the module 100211 receives the first synchronization data from the server 1003 and parses the first synchronization data by the module 100212, when the parsing result includes web page operation instruction data, the module 100213 converts the web page operation instruction data into web page operation instruction and invokes the web page operation instruction to execute the web page operation instruction by the module 100214, and when the parsing result includes differentiated web page data, the module 100215 performs an update operation on the web page data of 10022 based on the differentiated web page data, so that the synchronization between 10022 and 10012 is maintained (especially, the web page data for the web page display portion is kept consistent).
The embodiment of the present application further provides another real-time synchronization system based on the above real-time synchronization system, referring also to fig. 10, where, on the basis of the previous real-time synchronization system embodiment, the unit 10021 further includes a web operation monitor module 100216 and a web operation analysis module 100217, and after the module 100216 monitors the web operation in the web content 10022, determines the synchronization control authority of the web 1002, stops executing in 10022 when there is no control authority, and when there is control authority, further invokes the module 100217 to determine whether the current running environment (local data, web resource, etc.) of the web 1002 meets the necessary conditions for executing in 10022, if yes, executes the web operation in 10022 first, invokes the module 100213 to convert it into web operation instruction data as second synchronization data to be sent to the server 1003, and meanwhile carries a notification that the web 1002 has completed executing, if no, invokes the module 100213 converts the web operation into the web operation instruction data as second synchronization data to be sent to the server 1003;
Module 10031 further includes means for receiving the second synchronization data from the web page 1002 and transmitting the second synchronization data to the web page 1001;
the first synchronization unit 10011 further includes a web page operation instruction execution module 100117, and after the web page 1001 receives the second synchronization data, the module 100113 converts the web page operation instruction data into a web page operation instruction and the web page operation instruction is executed by the module 100117.
In another implementation scenario, the unit 10011 may further include a synchronization control module 100118 for performing synchronization control on the web page 1001, for example: display of synchronization status, detection of synchronization on-off status, turning on or off synchronization, etc., and further includes synchronization control processing for the web page 1002, such as: the synchronous control authorization processing, sending and deleting the local network page data instruction of the webpage 1002 and processing synchronous execution result data returned by the webpage 1002; the unit 10011 may further include a first synchronization data calculation generation module 100119, which is configured to generate synchronization data according to the data output by the module 100113 or the module 100114, and process (add, delete, modify, etc.) the synchronization data, and further add synchronization identification information, add notification information processing to the web page 1002, and so on.
In another implementation scenario, the unit 10021 may further include a synchronization control module 100218 for performing synchronization control on the web page 1002, such as writing or generating synchronization identification information, updating a synchronization status, displaying a synchronization status, turning on or off synchronization, deleting local web page data, receiving control rights, handing over control rights, buffering synchronization data, and the like, and sending synchronization result data and synchronization status, control rights application instructions, and the like to the web page 1001; the unit 10021 may further include a second synchronization data calculation generation module 100219 for generating synchronization data according to the data output by the module 100213, and processing (adding, deleting, modifying, etc.) the synchronization data, and adding synchronization identification information, etc.
In another implementation scenario, the synchronization server 1003 further includes a synchronization data processing module 10032, configured to process (e.g. add, delete, modify, filter, etc.) the synchronization data sent by the module 100116 or the module 100211; the synchronization server 1003 further includes a synchronization data storage module 10033, configured to store synchronization data at a server side.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A method for real-time synchronization of web pages, characterized in that it is applied to a real-time web page synchronization system, said real-time web page synchronization system comprising a first web page and at least one second web page, said method being used for implementing synchronization from said first web page to said second web page, said method comprising:
monitoring the webpage operation in the first webpage, and executing the following judgment according to the webpage operation:
A. when judging that the current running environment of the second webpage meets the necessary conditions for executing the webpage operation in the second webpage, converting the webpage operation into webpage operation instruction data and sending the webpage operation instruction data to the second webpage as first synchronous data; wherein the requisite conditions include satisfaction of the following conditions: the method comprises the steps that a non-network resource class request is not sent to a server, the resource class request is sent to the server, the sent request does not need to be requested by using a first webpage authority, and the current local environment of a second webpage meets the condition that the webpage operation is normally executed;
B. when judging that the current running environment of the second webpage does not meet the necessary conditions for executing the webpage operation in the second webpage, reading the latest synchronous reference webpage data, performing differential analysis on the webpage data after executing the webpage operation and the latest synchronous reference webpage data, calculating to obtain differential webpage data, and sending the differential webpage data to the second webpage as first synchronous data;
Meanwhile, the current webpage data of the first webpage are stored as the latest synchronous reference webpage data;
the second webpage receives the first synchronous data and judges the type of the first synchronous data, and when the judging result is webpage operation instruction data, the webpage operation instruction data is restored into a webpage operation instruction and executed; when the judgment result is the differential webpage data, analyzing the differential webpage data, and updating the second webpage data based on the differential part, so that the webpage data of the second webpage and the webpage data of the first webpage for the display part are kept consistent.
2. The method of claim 1, wherein the step of computing the differential web page data further comprises extracting local data or all data including the differential portion as differential web page data according to a result of differential analysis of the web page data after the first web page operation is performed and the latest synchronous reference web page data.
3. The method according to claim 1, further comprising, after the step of monitoring the web page operation in the first web page, when the web page operation includes a web page resource file request and the web page resource file request requires authorized access, obtaining a resource file according to the web page request and storing the resource file at a server side, generating a new resource file website, and in the step of generating the differential web page data, replacing an original resource file website with the new resource file website.
4. The method of claim 1, wherein before the first web page transmits the first synchronization data, further comprising:
processing the first synchronization data, wherein the processing comprises one or more of deletion, modification and addition;
checking the synchronous control switch states of the first webpage and the second webpage, and allowing the first webpage to send the first synchronous data when the first webpage and the second webpage are both on;
adding synchronization identification information into the first synchronization data, wherein the synchronization identification information is used for identifying the synchronization operation, has sequence and is not repeated;
adding a synchronous switch control instruction into the first synchronous data;
adding a local network page data deleting instruction into the first synchronous data;
adding a synchronous control authorization instruction into the first synchronous data;
and adding notification information into the first synchronous data.
5. The method of claim 1, wherein after the second web page receives the first synchronization data, further comprising:
reading synchronous identification information from the first synchronous data;
reading a synchronous switch control instruction from the first synchronous data, and setting a synchronous switch of the second webpage;
Reading a local network page data deleting instruction from the first synchronous data, and deleting the second webpage local network page data;
reading a synchronous control authorization instruction from the first synchronous data, and authorizing the second webpage to carry out synchronous control;
reading notification information from the first synchronous data and displaying the notification information;
and receiving and caching the first synchronous data.
6. A method for real-time synchronization of web pages, characterized in that it is applied to a real-time web page synchronization system, said real-time web page synchronization system comprising a first web page and at least one second web page, said method being used for implementing synchronization from said second web page to said first web page, said method comprising:
monitoring webpage operation in the second webpage, wherein the webpage operation types comprise user operation and non-user operation, and when the webpage operation type is judged to be the user operation, executing the following steps:
after capturing the user operation, judging whether the current running environment of a second webpage meets the requirement that the webpage operation is executed in the second webpage, if so, executing the webpage operation, converting the webpage operation into webpage operation instruction data and sending the webpage operation instruction data to the first webpage as second synchronous data, carrying a notification that the second webpage is completed to be executed, and if not, terminating the user operation, and simultaneously converting the webpage operation into webpage operation instruction data and sending the webpage operation instruction data to the first webpage as second synchronous data, wherein the requirement comprises the following conditions: the method comprises the steps that a non-network resource class request is not sent to a server, the resource class request is sent to the server, the sent request does not need to be requested by using a first webpage authority, and the current local environment of a second webpage meets the condition that the webpage operation is normally executed;
Stopping the execution of the webpage operation when judging that the webpage operation type is non-user operation;
and the first webpage receives the second synchronous data, restores webpage instruction data in the second synchronous data into webpage operation instructions and executes the webpage operation instructions.
7. The method of claim 6, wherein before the second web page transmits the second synchronization data, further comprising:
adding a control right application instruction into the second synchronous data;
adding a control right handover instruction into the second synchronous data;
adding synchronous switch state information into the second synchronous data;
and adding synchronous execution result data into the second synchronous data, wherein the synchronous execution result data comprises one or more of synchronous identification information, synchronous execution results and synchronous execution result related data.
8. The method of claim 6, wherein after the first web page receives the second synchronization data, further comprising:
reading a control right application instruction from the second synchronous data, and executing whether to grant the control right operation of the second webpage;
reading a control right handover instruction from the second synchronous data, and executing control right operation for recovering the second webpage;
Reading synchronous switch state information from the second synchronous data, and updating the second webpage synchronous switch state information stored in the first webpage;
and reading synchronous execution result data from the second synchronous data, analyzing the execution result, and updating the synchronous execution result data of the second webpage stored in the first webpage.
9. A web page real-time synchronization system, the system comprising: the first webpage comprises a first synchronization unit and first webpage content, at least one second webpage comprises a second synchronization unit and second webpage content, and a synchronization server, wherein,
the system comprises a first synchronization unit, a second synchronization unit and a third synchronization unit, wherein the first synchronization unit comprises a webpage operation monitoring module, a webpage operation analysis module, a webpage operation instruction conversion module, a webpage data differentiation analysis module, a webpage data synchronization management module and a first synchronization data communication module, and the webpage operation monitoring module monitors webpage operation of the first webpage; the webpage operation analysis module analyzes the webpage operation, when judging that the current running environment of a second webpage meets the necessary condition of the webpage operation executed in the second webpage, the webpage operation instruction conversion module is called to convert the webpage operation into webpage operation instruction data and serve as first synchronous data, otherwise, the webpage data difference analysis module reads the latest synchronous reference webpage data, compares and analyzes the latest synchronous reference webpage data with the current webpage data, and calculates and obtains difference webpage data and serves as first synchronous data; meanwhile, the current webpage data of the first webpage are stored as the latest synchronous reference webpage data; the first synchronization data communication module sends the first synchronization data to the synchronization server, wherein the requisite conditions include that: the method comprises the steps that a non-network resource class request is not sent to a server, the resource class request is sent to the server, the sent request does not need to be requested by using a first webpage authority, and the current local environment of a second webpage meets the condition that the webpage operation is normally executed;
The synchronization server is used for receiving the first synchronization data from the first webpage and sending the first synchronization data to the second webpage;
the second synchronization unit comprises a second synchronization data communication module, a synchronization data analysis module, a webpage operation instruction conversion module, a webpage operation instruction execution module and a webpage differentiation data updating module, wherein the second synchronization data communication module receives the first synchronization data from the synchronization server and is analyzed by the synchronization data analysis module, when an analysis result contains webpage operation instruction data, the webpage operation instruction conversion module converts the webpage operation instruction data into a webpage operation instruction and is called and executed by the webpage operation instruction execution module, and when the analysis result contains differentiated webpage data, the webpage differentiation data updating module updates the second webpage data based on the differentiated webpage data, so that the second webpage is consistent with the webpage data used for displaying the first webpage.
10. The web page real-time synchronization system of claim 9, wherein,
The second synchronization unit further comprises a webpage operation monitoring module and a webpage operation analysis module, after the webpage operation monitoring module monitors webpage operation in the second webpage, judging that the synchronous control authority and the webpage operation execution authority of the second webpage stop executing in the second webpage when the synchronous control authority is provided but the webpage operation execution authority is not provided, calling the webpage operation instruction conversion module to convert the webpage operation into webpage operation instruction data and send the webpage operation instruction data to the synchronization server as second synchronous data, when the synchronous control authority is provided and the webpage operation execution authority is provided, further calling the webpage operation analysis module to judge whether the current running environment of the second webpage meets the necessary condition that the webpage operation is executed in the webpage operation, if yes, firstly executing the webpage operation and calling the webpage operation instruction conversion module to convert the webpage operation instruction data into the webpage operation instruction data to be sent to the synchronization server as second synchronous data, and carrying a notification that the second webpage is completed to be executed, otherwise, calling the webpage operation instruction conversion module to convert the webpage operation instruction data into the webpage operation instruction data to be sent to the synchronization server as second synchronous data, wherein the necessary condition is met: the method comprises the steps that a non-network resource class request is not sent to a server, the resource class request is sent to the server, the sent request does not need to be requested by using a first webpage authority, and the current local environment of a second webpage meets the condition that the webpage operation is normally executed;
The synchronization server is further configured to receive the second synchronization data from the second web page and send the second synchronization data to the first web page;
after the first webpage receives the second synchronous data, the webpage operation instruction conversion module converts the webpage operation instruction data into a webpage operation instruction, and the first synchronous unit further comprises a webpage operation instruction execution module used for executing the webpage operation instruction.
CN202010261397.5A 2020-04-04 2020-04-04 Real-time webpage synchronization method and system Active CN111400639B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311305977.XA CN117473193A (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system
CN202010261397.5A CN111400639B (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010261397.5A CN111400639B (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311305977.XA Division CN117473193A (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system

Publications (2)

Publication Number Publication Date
CN111400639A CN111400639A (en) 2020-07-10
CN111400639B true CN111400639B (en) 2023-12-08

Family

ID=71429497

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311305977.XA Pending CN117473193A (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system
CN202010261397.5A Active CN111400639B (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202311305977.XA Pending CN117473193A (en) 2020-04-04 2020-04-04 Real-time webpage synchronization method and system

Country Status (1)

Country Link
CN (2) CN117473193A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187848A (en) * 2020-07-13 2021-01-05 青岛窗外科技有限公司 Webpage synchronization implementation method
CN112015409A (en) * 2020-07-16 2020-12-01 深圳市大富网络技术有限公司 Webpage editing data synchronization method, device and system and computer storage medium
CN115033335B (en) * 2022-08-11 2023-01-10 青岛中正合力软件有限公司 Display processing method applied to same screen of webpage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024043A (en) * 2012-12-14 2013-04-03 腾讯科技(深圳)有限公司 Method, server and system for sharing data
CN103116585A (en) * 2011-11-16 2013-05-22 联想(北京)有限公司 Method for webpage synchronization and synchronization device
CN103310009A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 Method, device and terminal for updating webpage data
CN103378996A (en) * 2012-04-26 2013-10-30 中国银联股份有限公司 Comparison test device and method
JP2019139276A (en) * 2018-02-06 2019-08-22 ニューロネット株式会社 Web sharing system and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9495081B2 (en) * 2012-07-13 2016-11-15 SaleMove, Inc. Co-browsing between one or more operators and one or more visitors

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116585A (en) * 2011-11-16 2013-05-22 联想(北京)有限公司 Method for webpage synchronization and synchronization device
CN103378996A (en) * 2012-04-26 2013-10-30 中国银联股份有限公司 Comparison test device and method
CN103024043A (en) * 2012-12-14 2013-04-03 腾讯科技(深圳)有限公司 Method, server and system for sharing data
CN103310009A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 Method, device and terminal for updating webpage data
JP2019139276A (en) * 2018-02-06 2019-08-22 ニューロネット株式会社 Web sharing system and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Android的视频会议系统中若干关键技术的研究与实现;卢伟平;《中国优秀硕士学位论文全文数据库信息科技辑》(第02期);第I136-1841页 *

Also Published As

Publication number Publication date
CN117473193A (en) 2024-01-30
CN111400639A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111400639B (en) Real-time webpage synchronization method and system
US9077681B2 (en) Page loading optimization using page-maintained cache
US11765048B2 (en) Declarative and reactive data layer for component-based user interfaces
US20150363504A1 (en) Dynamically identifying and evaluating component hierarchy for rendering content components on a webpage
JP6329082B2 (en) User status display method, display terminal, and server
US10291738B1 (en) Speculative prefetch of resources across page loads
AU2012225130A1 (en) System and methods for facilitating the synchronization of data
JP2011018314A (en) Method, system and computer program for sharing web page
CN111612639B (en) Synchronous communication method and system applied to insurance scheme
WO2019161337A1 (en) Information aggregator and analytic monitoring system and method
CN112637361B (en) Page proxy method, device, electronic equipment and storage medium
US11800201B2 (en) Method and apparatus for outputting information
CN112905928A (en) Webpage refreshing method and device, electronic equipment and storage medium
US20080244293A1 (en) Methods, Systems, And Computer Program Products For Providing For Automatically Closing Application Widgets Based On Markup Language Elements
CN100401777C (en) Method for broadcast of an HTML application
Bakariya et al. An inclusive survey on data preprocessing methods used in web usage mining
CN113347052B (en) Method and device for counting user access data through access log
US9858250B2 (en) Optimized read/write access to a document object model
KR20170125665A (en) Semantic Information Management Method for a M2M/IoT platform
US20180218061A1 (en) Unknown
CN117290840B (en) Browser auditing method, device, computer equipment and storage medium
US10929497B2 (en) Replacing a web page while maintaining a communication link
CN116760823A (en) File access method and device, electronic equipment and storage medium
CN112988263A (en) Method and system for synchronizing web pages
KR20140012752A (en) Controlling the processing of a multimedia object by a software application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant