CN114297989B - Writing and recording synchronization method and device, electronic equipment and storage medium - Google Patents
Writing and recording synchronization method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114297989B CN114297989B CN202111547391.5A CN202111547391A CN114297989B CN 114297989 B CN114297989 B CN 114297989B CN 202111547391 A CN202111547391 A CN 202111547391A CN 114297989 B CN114297989 B CN 114297989B
- Authority
- CN
- China
- Prior art keywords
- synchronous
- synchronization
- server
- record
- production end
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 104
- 230000001360 synchronised effect Effects 0.000 claims abstract description 476
- 238000004519 manufacturing process Methods 0.000 claims abstract description 256
- 238000004364 calculation method Methods 0.000 claims abstract description 16
- 230000002860 competitive effect Effects 0.000 claims abstract description 7
- 230000015654 memory Effects 0.000 claims description 32
- 238000004891 communication Methods 0.000 claims description 28
- 238000012545 processing Methods 0.000 claims description 22
- 230000002159 abnormal effect Effects 0.000 claims description 18
- 238000013515 script Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 9
- 238000012795 verification Methods 0.000 description 9
- 230000007246 mechanism Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000001737 promoting effect Effects 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000007306 turnover Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method and a device for synchronizing strokes, electronic equipment and a storage medium. The method comprises the following steps: sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task; receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is determined by performance calculation of the synchronous scheduling terminal according to the current state of each synchronous server; and according to the election result of the synchronous server, realizing the stroke record synchronization of the production end and the consumption end of the synchronous server. According to the invention, the synchronous scheduling terminal carries out performance calculation according to the current state of each synchronous server to obtain the competitive selection result of the synchronous servers, so that the record synchronization of the production end and the consumption end of the synchronous servers is realized based on the synchronous server with the optimal performance, the probability of fault events of a single-point synchronous server is reduced, and the record synchronization efficiency is improved.
Description
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a method and a device for synchronizing strokes and records, electronic equipment and a storage medium.
Background
The court trial record is a judicial document which records the statement made by the party and other litigant participants in the court and is made by a bookmarker. The content of the record relates to facts and bases related to the case. In the court trial system, all the personnel participating in the court trial can check the operation of the bookmarker on the court trial record in real time on different terminal equipment.
In the intelligent court trial, the record synchronization technology is commonly used, and plays a positive role in the development and the promotion of the intelligent court trial. In the prior art, a record operation protocol generated by a bookkeeper client is transferred through a synchronization server, so that record synchronization is realized at a user client.
However, with the increase of the personnel and the terminal devices participating in the court trial, the probability of the fault event of the synchronization server is higher and higher, and once the synchronization server has an abnormal fault in the court process, all receivers participating in the court trial cannot check the operation of the bookkeeper in time, which is not beneficial to the smooth progress of the intelligent court trial and reduces the stroke-recording synchronization efficiency.
Disclosure of Invention
The invention provides a method and a device for synchronizing a note, electronic equipment and a storage medium, which are used for solving the problems that a synchronization server in the prior art has higher probability of fault events and is not beneficial to the smooth promotion of intelligent court trial, and improving the note synchronization efficiency.
The invention provides a note synchronization method, which is applied to a production end of a synchronization server and comprises the following steps:
sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task;
receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is determined by performance calculation of the synchronous scheduling terminal according to the current state of each synchronous server;
and according to the election result of the synchronous server, realizing the stroke record synchronization of the production end and the consumption end of the synchronous server.
Optionally, according to the election result of the synchronization server, the method for synchronizing the production end and the consumption end of the synchronization server includes:
sending a synchronous message to a synchronous server corresponding to the election result of the synchronous server, so that the synchronous server realizes the stroke record synchronization of the production end and the consumption end according to the synchronous message; the synchronous message carries the record operation and the record content of the production end, and the production end and the consumption end adopt the same set of network communication protocol.
Optionally, the entry operation is obtained by detecting, by the production end, the total text paragraph number and the cursor position of the entry document in the entry process;
wherein the writing operation comprises: space key operation, backSpace key operation, delete key operation, enter key operation, ctrl + v paste key operation, cursor selection operation, and cursor click operation.
Optionally, the method further includes:
receiving a request message of a record document sent by the synchronous server;
and sending the current record document to the synchronous server according to the record document request message.
The invention also provides a stroke record synchronization method, which is applied to a synchronous scheduling terminal and comprises the following steps:
after online notification messages sent by a production end and a consumption end of a synchronous server are received, the current state of each synchronous server is obtained; the online notification message carries a task identifier of the current synchronous task;
calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the Internet protocol address of the synchronous server with the highest performance score to the production end and the consumption end corresponding to the same task identifier as the competitive selection result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server.
Optionally, the method further includes:
after the production end and the consumption end are connected with the synchronous server, monitoring heartbeat abnormal messages sent by the production end and the consumption end;
and according to the heartbeat abnormal message, re-determining the synchronous server with the highest performance score, and sending the internet protocol address of the synchronous server to the production end and the consumption end.
The invention also provides a stroke record synchronization method, which is applied to a synchronization server and comprises the following steps:
receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message;
receiving a synchronization failure message sent by the consumption end, and if the storage time of a local record document is less than a preset threshold value, sending the local record document to the consumption end so that the consumption end performs secondary synchronization update according to the local record document;
if the storage time of the local record document is greater than a preset threshold value, sending a record document request message to the production end, receiving a current record document sent by the production end according to the record document request message, and sending the current record document to the consumption end, so that the consumption end performs secondary synchronous updating according to the current record document; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
The invention also provides a stroke record synchronization method, which is applied to a consumption end of a synchronization server and comprises the following steps:
sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task;
receiving a synchronization message sent by a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
according to the record operation and the record content of the production end, synchronously updating the local record document;
after the local bibliographic document is synchronously updated, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local record document is updated synchronously, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by the user terminal.
The invention also provides a stroke record synchronizing device, which is applied to a production end of a synchronization server and comprises the following components:
the system comprises a first sending module, a second sending module and a synchronization scheduling terminal, wherein the first sending module is used for sending an online notification message to the synchronization scheduling terminal, and the online notification message carries a task identifier of a current synchronization task;
the first receiving module is used for receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is determined by performance calculation of the synchronous scheduling terminal according to the current state of each synchronous server;
and the first processing module is used for realizing the record synchronization of the production end and the consumption end of the synchronous server according to the election result of the synchronous server.
The invention also provides a stroke record synchronizing device, which is applied to a synchronous scheduling terminal and comprises:
the second processing module is used for acquiring the current state of each synchronous server after receiving online notification messages sent by a production end and a consumption end of the synchronous server; the online notification message carries a task identifier of a current synchronous task;
the third processing module is used for calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the internet protocol address of the synchronous server with the maximum performance score to the production end and the consumption end corresponding to the same task identifier as the election result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server.
The invention also provides a stroke record synchronizing device, which is applied to a synchronization server and comprises:
the second receiving module is used for receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
the second sending module is used for sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message;
the fourth processing module is used for receiving the synchronization failure message sent by the consumption end, and if the storage time of the local record document is smaller than a preset threshold value, the local record document is sent to the consumption end, so that the consumption end performs secondary synchronous updating according to the local record document;
a fifth processing module, configured to send a record document request message to the production end, receive a current record document sent by the production end according to the record document request message, and send the current record document to the consumption end, so that the consumption end performs secondary synchronous update according to the current record document, if storage time of a local record document is greater than a preset threshold; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
The invention also provides a stroke record synchronizing device, which is applied to a consumption end of a synchronization server and comprises the following components:
a third sending module, configured to send an online notification message to the synchronous scheduling terminal, where the online notification message carries a task identifier of a current synchronous task;
a third receiving module, configured to receive a synchronization message sent by a synchronization server, where the synchronization message carries the record operation and the record content of the production end;
the sixth processing module is used for synchronously updating the local record document according to the record operation and the record content of the production end;
after the local bibliographic document is updated synchronously, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local record document is updated synchronously, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by the user terminal.
The invention also provides a production end device of the synchronous server, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:
sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task;
receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is determined by performance calculation of the synchronous scheduling terminal according to the current state of each synchronous server;
and according to the election result of the synchronous server, realizing the stroke record synchronization of the production end and the consumption end of the synchronous server.
The invention also provides a synchronous scheduling terminal device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:
after online notification messages sent by a production end and a consumption end of a synchronous server are received, the current state of each synchronous server is obtained; the online notification message carries a task identifier of a current synchronous task;
calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the Internet protocol address of the synchronous server with the highest performance score to the production end and the consumption end corresponding to the same task identifier as a competition result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server.
The present invention also provides a synchronization server device, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the following steps when executing the computer program:
receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message;
receiving a synchronization failure message sent by the consumption end, and if the storage time of a local record document is less than a preset threshold value, sending the local record document to the consumption end so that the consumption end performs secondary synchronization update according to the local record document;
if the storage time of the local record document is greater than a preset threshold value, sending a record document request message to the production end, receiving a current record document sent by the production end according to the record document request message, and sending the current record document to the consumption end so that the consumption end performs secondary synchronous updating according to the current record document; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
The invention also provides a consumer device of a synchronization server, comprising:
sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task;
receiving a synchronization message sent by a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
according to the record operation and the record content of the production end, synchronously updating the local record document;
after the local bibliographic document is synchronously updated, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local record document is updated synchronously, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by the user terminal.
The present invention also provides a processor-readable storage medium storing a computer program for causing the processor to execute the steps of the method for synchronizing a record applied to a production side of a synchronization server or the method for synchronizing a record applied to a synchronization scheduling terminal or the method for synchronizing a record applied to a synchronization server or the method for synchronizing a record applied to a consumption side of a synchronization server as described above.
The invention provides a method, a device, electronic equipment and a storage medium for stroke record synchronization. And finally, according to the competitive selection result of the synchronous server, the record synchronization of the production end and the consumption end of the synchronous server is realized. Therefore, the method and the system calculate the performance of each synchronous server through the synchronous scheduling terminal according to the current state of each synchronous server, select the synchronous server with the optimal performance to realize the record synchronization of the production end and the consumption end of the synchronous server, and further reduce the probability of the fault event of the selected synchronous server to the maximum extent, thereby improving the record synchronization efficiency and promoting the smooth operation of the intelligent court trial.
Drawings
In order to more clearly illustrate the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic flow chart of a method for synchronizing a script according to the present invention;
FIG. 2 is a second flowchart illustrating a record synchronization method according to the present invention;
FIG. 3 is a third schematic flow chart of a method for synchronizing a script according to the present invention;
FIG. 4 is a fourth flowchart illustrating a method for synchronizing a script according to the present invention;
FIG. 5 is a diagram illustrating a synchronization scheduling terminal calculating a performance score of a synchronization server according to the present invention;
FIG. 6 is a schematic diagram of a process for synchronizing the notes provided by the present invention;
FIG. 7 is a schematic diagram of a verification mechanism of the entry synchronization method provided in the present invention;
FIG. 8 is a schematic structural diagram of a handwriting synchronization apparatus provided in the present invention;
fig. 9 is a second schematic structural diagram of a record synchronization apparatus provided in the present invention;
fig. 10 is a third schematic structural diagram of a record synchronization apparatus provided in the present invention;
FIG. 11 is a fourth schematic view illustrating a structure of a record synchronizer according to the present invention;
FIG. 12 is a schematic diagram of a structure of a production-side device of a synchronization server provided in the present invention;
fig. 13 is a schematic structural diagram of a synchronous scheduling terminal device provided by the present invention;
fig. 14 is a schematic structural diagram of a synchronization server apparatus provided by the present invention;
fig. 15 is a schematic structural diagram of a consumer device of a synchronization server provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the method for synchronizing a directory provided by the present invention is applied to a production end of a synchronization server, and includes:
step 101: sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task;
in this step, it should be noted that the production end of the synchronization server is responsible for editing the bibliographic document, and constructs the operations of the bibliographic document into synchronization messages, which are sent to the synchronization server, such as the bookmarker client, in a manner of a network communication protocol TCP/IP protocol. The synchronous scheduling terminal is used for recording the current state of a synchronous task in the synchronous server, appointing the production end and the consumption end to use a certain synchronous server, and informing the production end and the consumption end to switch the synchronous server after the synchronous service is abnormal.
In this step, the production end sends an online notification message to the synchronous scheduling terminal, and the online notification message carries the task identifier of the current synchronous task. It should be noted that, before sending the online notification message to the synchronous scheduling terminal, the production end first detects the registry and obtains all editor software installed in the current computer. And then loading different types of editors by using a dynamic library loading technology of the dynamic library, and finding out the first editor which can be normally loaded. Optionally, the loading can be performed according to an editor specified by a user, and a registry does not need to be queried. After the editor loading is completed, a document needing to be operated is opened. Editors are installed in different versions and types of software due to the computers used by judges and parties, as well as those watching live online. For example, microsoft office software office editor is used in court, and the jinshan word processing system WPS (wordprocessing system) is used in computers that view live broadcasts outside the court. Resulting in the inability of personnel using different types of editors to view the actions of the bookmarker in real time. In order to solve the problem, the production end and the consumption end of the invention adopt the same set of network communication protocol, thereby ensuring that different types of editors of the production end and the consumption end can be mutually synchronized.
Step 102: receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is determined by performance calculation of the synchronous scheduling terminal according to the current state of each synchronous server;
in this step, after receiving the online notification messages of the production end and the consumption end, the synchronous scheduling terminal firstly judges the recorded performance scores of each synchronous server, and finds out the synchronous server with the best current performance. Specifically, as shown in fig. 5, the synchronization server starts up and records the number of tasks currently performing synchronization. And awaits a new connection. The synchronous dispatching terminal configures the IP and ports of a plurality of synchronous servers, and after the synchronous dispatching terminal is started, the current state of each synchronous server is inquired in a traversing mode. And (3) giving the maximum value of the load bearing of the synchronization server and the current task amount value by analyzing the sizes of the CPU and the memory of the synchronization server and the use condition. And find the best performing server (the greater the maximum load bearing score/current task score, the better the current performance of the synchronization server). The consuming side is used for receiving the protocol of the synchronous message, analyzing the protocol and operating the document according to the protocol, such as a judge client. The synchronous server is used for recording the current task number, receiving the synchronous message protocol sent by the production end and forwarding the synchronous message protocol to the consumption end.
Step 103: and according to the election result of the synchronous server, realizing the record synchronization of the production end and the consumption end of the synchronous server.
In this step, the synchronous scheduling terminal sends the election result of the synchronous server (the IP information and the port of the synchronous server) to the production end and the consumption end which are online and have the same task identifier. After receiving the IP information and the port of the synchronization server sent by the synchronization scheduling terminal, the producer and the consumer send a heartbeat protocol (carrying the task identifier and the type identifier of the producer of the synchronization task) and a synchronization task protocol (synchronization message protocol) to the corresponding synchronization server, as shown in fig. 6. When the heartbeat between the production end or the consumption end and the synchronous server is abnormal and reaches a certain preset number of times (for example, 3 times), the synchronous server is considered to have a fault, and a fault report is generated and uploaded to the synchronous dispatching terminal. When the fault reports are uploaded by both the production end and the consumption end, the synchronous dispatcher searches the optimal server again according to the method. Therefore, when the heartbeat between the production end or the consumption end and the synchronous server is abnormal and reaches the preset times, the fault report is generated and uploaded to the synchronous scheduling terminal. The optimal server is searched again by the synchronous scheduling terminal, the problem of synchronous interruption after a single server fails in the prior art is solved, and the stroke-recording synchronization efficiency is further improved.
In this step, the synchronization server forwards the synchronization message protocol sent by the production end to each consumption end corresponding to the same task identifier, so that each consumption end resolves the protocol after receiving the synchronization message forwarded by the synchronization server, and performs a synchronization update operation on the record document according to the protocol.
The invention provides a stroke record synchronization method, which comprises the steps of firstly sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task, receiving a synchronous server election result sent by the synchronous scheduling terminal after the synchronous scheduling terminal is online, and determining the synchronous server election result by the synchronous scheduling terminal through performance calculation according to the current state of each synchronous server. And finally, according to the election result of the synchronous server, realizing the stroke record synchronization of the production end and the consumption end of the synchronous server. Therefore, the method and the system calculate the performance of each synchronous server through the synchronous scheduling terminal according to the current state of each synchronous server, select the synchronous server with the optimal performance to realize the record synchronization of the production end and the consumption end of the synchronous server, and can reduce the probability of fault events of the selected synchronous server to the maximum extent, thereby improving the record synchronization efficiency and promoting the smooth implementation of intelligent court trial.
Based on the content of the foregoing embodiment, in this embodiment, according to the election result of the synchronization server, the method for synchronizing the records of the production end and the consumption end of the synchronization server includes:
sending a synchronous message to a synchronous server corresponding to the competition result of the synchronous server, so that the synchronous server realizes the record synchronization of the production end and the consumption end according to the synchronous message; the synchronous message carries the record operation and the record content of the production end, and the production end and the consumption end adopt the same network communication protocol.
In this embodiment, it should be noted that the production end combines the entry operation and the MD5 value of the entry content around the operation area and the MD5 value of the full text (for example, the first 3 pieces of content and the last 3 pieces of content of the current entry position) together to form a synchronization message, and sends the synchronization message to the synchronization server, and the synchronization server receives the synchronization message protocol and forwards the synchronization message protocol to each consumption end corresponding to the same task identifier. And the consumer terminal analyzes the protocol after receiving the synchronous message protocol forwarded by the synchronous server, and performs synchronous updating operation on the record document according to the protocol.
Based on the content of the above embodiment, in this embodiment, the entry operation is obtained by the production end detecting according to the total text paragraph number and the cursor position of the entry document in the entry process;
wherein the writing operation comprises: space key operation, backSpace key operation, delete key operation, enter key operation, ctrl + v paste key operation, cursor selection operation, and cursor click operation.
In this embodiment, the present invention adds a set of algorithm module for cursor position change at the production end. Detecting the number of the total paragraphs of the text and the position of a cursor at preset time intervals (default 200 ms), and calculating the current writing operation of the bookkeeping personnel according to the number of the total paragraphs of the text and the change of the position of the cursor. As shown in table 1 below:
TABLE 1
In table 1, it should be noted that the cursor position is divided into a start position and an end position, where the start position is equal to the end position when the cursor does not select the content, and the start position is not equal to the end position when the cursor selects the content. The forward position of the cursor is the position where the cursor is located, which is calculated from the document starting position to the document ending position, and the reverse position of the cursor represents the position where the cursor is located, which is calculated from the document ending position to the document starting position. For example, when the number of paragraphs in the text group and the paragraph where the cursor is located are not changed, the position of the cursor is decreased from front to back, but the position of the cursor is not changed from back to front. This operation is considered to be a backspace key operation. Most common operations can be obtained through the algorithm module. For another example, when the number of paragraphs in the total text and the number of paragraphs in which the cursor is located are both increased, and the position of the cursor is zero, it can be considered that the current writing operation of the bookkeeper is the Enter key operation. Therefore, the invention can solve the problems of abnormal synchronization of the notes or inconsistent synchronization time and the like caused by the fact that keyboard information cannot be acquired in a special application scene, for example, non-keyboard input, through the algorithm of the cursor position change.
Based on the content of the foregoing embodiment, in this embodiment, the method further includes:
receiving a request message of a record document sent by the synchronous server;
and sending the current record document to the synchronous server according to the record document request message.
In this embodiment, it should be noted that, in the prior art, after the bibliography synchronization, a situation that contents of a consuming side and a producing side are still inconsistent occurs, so as to trigger a full-text verification mechanism, a principle is that a document of the producing side is stored to a synchronization server, and then the consuming side downloads the document from the synchronization server, and performs forced replacement on the current document contents. According to the mechanism, when the network fluctuates and the contents of a plurality of consumption ends are inconsistent at different time, verification is sent for a plurality of times, and the pressure of the server and the network is increased seriously. In order to solve the problem, when the synchronization server receives a synchronization failure message sent by a consumer, in order to avoid the situation that the server and the network have excessive pressure and the latest document to be replaced is marked with validity and temporarily stored in the synchronization server, when the synchronization server receives the synchronization failure message sent by the consumer, the invention can avoid the situation that the server and the network have excessive pressure. As shown in fig. 7, it is first determined whether the local storage file includes a valid local bibliographic document at the production end (the time after the bibliographic document is sent and saved is less than 1 minute). If yes, the new record document is not required to be obtained from the production end again, and the effective record document is directly sent to the consumption end through the document transmission tool. And if not, sending a record document request message to the production end to inform the production end of uploading a latest record document. And when the production end receives the notice of uploading the record document of the synchronous server, the current record document is stored, and then the record document is uploaded to the synchronous server through a document transmission tool. After receiving the record document uploaded by the production end, the synchronous server stores the record document locally, updates the storage time of the record document, and forwards the record document to the corresponding consumption end through a document transmission tool to perform record synchronous updating operation. Therefore, the method and the device solve the problem of synchronization delay caused by overlarge task quantity of the synchronization server due to frequent verification by optimizing the storage mechanism of the synchronization server for the verification document.
As shown in fig. 2, the method for synchronizing the entries provided by the present invention is applied to a synchronous scheduling terminal, and includes:
step 201: after online notification messages sent by a production end and a consumption end of a synchronous server are received, the current state of each synchronous server is obtained; the online notification message carries a task identifier of the current synchronous task;
in this step, after receiving the online notification messages of the production end and the consumption end, the synchronous scheduling terminal firstly acquires the recorded current state of each synchronous server; the current state may include the CPU, memory size, and current number of tasks of the sync server.
Step 202: calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the Internet protocol address of the synchronous server with the highest performance score to the production end and the consumption end corresponding to the same task identifier as a competition result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server.
In this step, the recorded performance scores of the synchronization servers are judged first, and the synchronization server with the best current performance is found out. Specifically, as shown in fig. 5, the synchronization server starts up and records the number of tasks currently executing synchronization. And waits for a new connection. The synchronous dispatching terminal configures the IP and ports of a plurality of synchronous servers, and traverses and inquires the current state of each synchronous server after starting. The maximum value of load bearing of the synchronization server and the current task quantity value are given by analyzing the sizes and the use conditions of a CPU and a memory of the synchronization server. And find the best performing server (the greater the maximum load bearing score/current task score, the better the current performance of the synchronization server). The consuming side is used for receiving the protocol of the synchronous message, analyzing the protocol and operating the document according to the protocol, such as a judge client. The synchronous server is used for recording the current task number, receiving the synchronous message protocol sent by the production end and forwarding the synchronous message protocol to the consumption end.
The invention provides a method for synchronizing a record, which comprises the steps of obtaining the current state of each synchronous server after receiving online notification messages sent by a production end and a consumption end of the synchronous servers; the online notification message carries a task identifier of the current synchronous task; then calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the Internet protocol address of the synchronous server with the highest performance score to a production end and a consumption end corresponding to the same task identifier as the election result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server. Therefore, the method and the system calculate the performance of each synchronous server through the synchronous scheduling terminal according to the current state of each synchronous server, select the synchronous server with the optimal performance to realize the record synchronization of the production end and the consumption end of the synchronous server, and can reduce the probability of fault events of the selected synchronous server to the maximum extent, thereby improving the record synchronization efficiency and promoting the smooth implementation of intelligent court trial.
Based on the content of the foregoing embodiment, in this embodiment, the method further includes:
after the production end and the consumption end are connected with the synchronous server, monitoring heartbeat abnormal messages sent by the production end and the consumption end;
and according to the heartbeat abnormal message, re-determining the synchronous server with the highest performance score, and sending the internet protocol address of the synchronous server to the production end and the consumption end.
In this embodiment, it should be noted that after the production end and the consumption end establish a connection with the synchronization server, the production end and the consumption end detect the operating state of the synchronization server by sending a heartbeat protocol. When the heartbeat between the production end or the consumption end and the synchronous server is abnormal and the accumulation of the abnormal times reaches a preset threshold value, the synchronous server can be considered to have a fault, and the fault is sent to the synchronous scheduling terminal in the form of heartbeat abnormal information. And when the synchronous scheduling terminal receives the heartbeat abnormal messages of the production end and the consumption end, searching the server with the optimal current performance based on the method again. The synchronous scheduling terminal can realize the function of automatically switching the synchronous server, does not influence the record synchronization task, does not bring the bad experience of server fault blocking and the like to a synchronization user, and further improves the stability in the record synchronization process.
As shown in fig. 3, the method for synchronizing a directory provided by the present invention is applied to a synchronization server, and includes:
step 301: receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
step 302: sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message;
in this step, the synchronization server forwards the synchronization message protocol sent by the production end to each consumption end corresponding to the same task identifier, so that each consumption end resolves the protocol after receiving the synchronization message forwarded by the synchronization server, and performs a synchronization update operation on the record document according to the protocol.
Step 303: receiving a synchronization failure message sent by the consumption end, and if the storage time of a local record document is less than a preset threshold value, sending the local record document to the consumption end so that the consumption end performs secondary synchronization update according to the local record document;
in this step, as shown in fig. 7, it is first determined whether the local storage file includes a valid local bibliographic document of the production end (the time after the bibliographic document is sent and saved is less than 1 minute). And if so, the production end does not need to ask for a new record document again, and the effective record document is directly sent to the consumption end through the document transmission tool.
Step 304: if the storage time of the local record document is greater than a preset threshold value, sending a record document request message to the production end, receiving a current record document sent by the production end according to the record document request message, and sending the current record document to the consumption end, so that the consumption end performs secondary synchronous updating according to the current record document; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
In this step, if the local storage file does not include a valid local entry document of the production end (the time after the local storage file is stored after being sent is less than 1 minute), a entry document request message is sent to the production end, and the production end is notified to upload a latest entry document. And when the production end receives the notice of uploading the record document of the synchronous server, the current record document is stored, and then the record document is uploaded to the synchronous server through a document transmission tool. After receiving the record document uploaded by the production end, the synchronous server stores the record document locally, updates the storage time of the record document, and forwards the record document to the corresponding consumption end through a document transmission tool to perform record synchronous updating operation.
Therefore, the method for synchronizing the notes provided by the invention solves the problem of synchronization delay caused by overlarge task quantity of the synchronization server due to frequent verification by optimizing the storage mechanism of the synchronization server for the verification document.
Based on the content of the foregoing embodiment, in this embodiment, after receiving the heartbeat protocols of the production end and the consumption end, the synchronization server identifies according to the task identifier and the client. And (3) forming a group (a production end and a plurality of consumption ends) by the clients with the same task identifier, taking the task identifier as the group identifier of the group, and adding 1 to the number of the currently executed synchronous tasks.
As shown in fig. 4, the method for synchronizing a directory provided by the present invention is applied to a consumer side of a synchronization server, and includes:
step 401: sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task;
in this step, the consumer side starts the logic with the producer side. It should be noted that, in order to implement synchronization, the task identifier carried in the protocol for sending the online notification message to the synchronous scheduling terminal by the consuming terminal needs to be consistent with the task identifier of the producing terminal.
Step 402: receiving a synchronization message sent by a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
in this step, the production end combines the record operation and the MD5 value of the record content around the operation area with the MD5 value of the current full text to form a synchronization message, and sends the synchronization message to the synchronization server, and the synchronization server receives the synchronization message protocol and forwards the synchronization message protocol to each consumption end corresponding to the same task identifier.
Step 403: synchronously updating local record documents according to the record operation and the record contents of the production end;
after the local bibliographic document is updated synchronously, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local record document is updated synchronously, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by the user terminal.
In this step, the consumption end receives the synchronization message protocol forwarded by the synchronization server, analyzes the protocol, and performs a synchronization update operation on the record document according to the protocol. And the consumption end calculates the text MD5 value of the operation area (such as the current paragraph and the first 3 paragraphs and the last 3 paragraphs) after synchronously updating the script document according to the protocol. Compared with the operating area content MD5 value carried in the protocol. If the two are consistent, the synchronization is successful. If not, the contents of the operating region (e.g., the first 3 segments to the last 3 segments) are replaced. And after replacement, calculating again and judging whether the MD5 value of the full text is consistent with the MD5 value of the full text in the protocol, and if so, successfully synchronizing. And if the data is inconsistent with the data, sending a synchronization updating failure message to the server. Receiving a local record document sent by the synchronization server according to the synchronization update failure message, or receiving a current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; and performing secondary synchronous updating according to the local record document or the current record document of the production end.
In this step, it should be noted that, in the existing record synchronization technology, the bookkeeper inputs in the record, and other people participating in the court trial can only passively check the current operation area of the bookkeeper in the record, and cannot freely turn over the records of the first pages or the second pages. After the judge or the party turns the page of the record, once the writer continues to operate the record, the view of the record jumps back to the operation area of the writer. To solve this problem, the present invention sets the view-following parameters at the consuming side. When the user selects a view not to follow, the document is operated according to the protocol only, but the view of the current editor is not affected. Only when the user selects the view follow-up and operates on the document, the operation area is jumped to. Therefore, the invention solves the problem that the view can only follow when the document is checked by expanding the interface parameters.
The following describes the record synchronization apparatus applied to the production end of the synchronization server, where the record synchronization apparatus applied to the production end of the synchronization server described below and the record synchronization method applied to the production end of the synchronization server described above may be referred to in correspondence.
As shown in fig. 8, the device for synchronizing the notes applied to the production end of the synchronization server provided by the present invention includes:
a first sending module 1, configured to send an online notification message to a synchronous scheduling terminal, where the online notification message carries a task identifier of a current synchronous task;
a first receiving module 2, configured to receive a synchronous server election result sent by the synchronous scheduling terminal, where the synchronous server election result is determined by performing performance calculation by the synchronous scheduling terminal according to a current state of each synchronous server;
and the first processing module 3 is used for realizing the record synchronization of the production end and the consumption end of the synchronous server according to the competitive selection result of the synchronous server.
In this embodiment, it should be noted that the production end of the synchronization server is responsible for editing the bibliographic document, and constructs the operations of the bibliographic document as synchronization messages to be sent to the synchronization server, such as the bookmarker client, in a manner of a network communication protocol TCP/IP protocol. The synchronous scheduling terminal is used for recording the current state of a synchronous task in the synchronous server, appointing the production end and the consumption end to use a certain synchronous server, and informing the production end and the consumption end to switch the synchronous server after the synchronous service is abnormal.
In this embodiment, a production end sends an online notification message to a synchronous scheduling terminal, where the online notification message carries a task identifier of a current synchronous task. It should be noted that, before sending the online notification message to the synchronous scheduling terminal, the production end first detects the registry and obtains all the editor software installed in the current computer. And then loading different editors by using a dynamic library loading technology of a dynamic library, and finding out a first editor which can be normally loaded. Optionally, the loading can be performed according to an editor specified by a user, and a registry does not need to be queried. After the editor loading is completed, a document needing to be operated is opened. Editors are installed in different versions and types of software due to the computers used by judges and parties, as well as those watching live online. For example, microsoft office editor is used in court, while the Jinshan word processing System WPS is used in computers that view live outside the court. Resulting in the inability of personnel using different types of editors to view the actions of the bookkeeper in real time. In order to solve the problem, the production end and the consumption end of the invention adopt the same set of network communication protocol, thereby ensuring that different types of editors of the production end and the consumption end can be mutually synchronized.
In this embodiment, after receiving the online notification messages of the production end and the consumption end, the synchronous scheduling terminal first determines the recorded performance scores of the synchronization servers to find out the synchronization server with the best current performance. Specifically, as shown in fig. 5, the synchronization server starts up and records the number of tasks currently performing synchronization. And awaits a new connection. The synchronous dispatching terminal configures the IP and ports of a plurality of synchronous servers, and after the synchronous dispatching terminal is started, the current state of each synchronous server is inquired in a traversing mode. And (3) giving the maximum value of the load bearing of the synchronization server and the current task amount value by analyzing the sizes of the CPU and the memory of the synchronization server and the use condition. And find the best performing server (the greater the maximum load bearing score/current task score, the better the current performance of the synchronization server). The consuming side is used for receiving the protocol of the synchronous message, analyzing the protocol and operating the document according to the protocol, such as a judge client. The synchronous server is used for recording the current task number, receiving the synchronous message protocol sent by the production end and forwarding the synchronous message protocol to the consumption end.
In this embodiment, the synchronous scheduling terminal sends the election result of the synchronous server (the IP information and the port of the synchronous server) to the production side and the consumption side that are online and have the same task identifier. After receiving the IP information and the port of the synchronization server sent by the synchronization scheduling terminal, the producer and the consumer send a heartbeat protocol (carrying the task identifier and the type identifier of the producer of the synchronization task) and a synchronization task protocol (synchronization message protocol) to the corresponding synchronization server, as shown in fig. 6. When the heartbeat between the production end or the consumption end and the synchronous server is abnormal and reaches a certain preset number of times (for example, 3 times), the synchronous server is considered to be in fault, and a fault report is generated and uploaded to the synchronous scheduling terminal. When the fault reports are uploaded by both the production end and the consumption end, the synchronous dispatcher re-searches the optimal server according to the method. Therefore, when the heartbeat between the production end or the consumption end and the synchronous server is abnormal and reaches the preset times, the fault report is generated and uploaded to the synchronous scheduling terminal. The optimal server is searched again by the synchronous scheduling terminal, the problem of synchronous interruption after a single server fails in the prior art is solved, and the record synchronization efficiency is further improved.
In this embodiment, the synchronization server forwards a synchronization message protocol sent by the production end to each consumption end corresponding to the same task identifier, so that each consumption end parses the protocol after receiving the synchronization message forwarded by the synchronization server, and performs a synchronization update operation on the record document according to the protocol.
The invention provides a note synchronization device, which firstly sends an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task, and receives a synchronous server election result sent by the synchronous scheduling terminal after the synchronous scheduling terminal is online, and the synchronous server election result is determined by the synchronous scheduling terminal through performance calculation according to the current state of each synchronous server. And finally, according to the competitive selection result of the synchronous server, the record synchronization of the production end and the consumption end of the synchronous server is realized. Therefore, the method and the system calculate the performance of each synchronous server through the synchronous scheduling terminal according to the current state of each synchronous server, select the synchronous server with the optimal performance to realize the record synchronization of the production end and the consumption end of the synchronous server, and can reduce the probability of fault events of the selected synchronous server to the maximum extent, thereby improving the record synchronization efficiency and promoting the smooth implementation of intelligent court trial.
The following describes the entry synchronization device applied to the synchronous scheduling terminal according to the present invention, and the entry synchronization device applied to the synchronous scheduling terminal described below and the entry synchronization method applied to the synchronous scheduling terminal described above may be referred to in a corresponding manner.
As shown in fig. 9, the record synchronizing apparatus applied to the synchronous scheduling terminal provided by the present invention includes:
the second processing module 4 is configured to obtain a current state of each synchronization server after receiving an online notification message sent by a production end and a consumption end of the synchronization server; the online notification message carries a task identifier of a current synchronous task;
the third processing module 5 is configured to calculate performance scores of the synchronization servers according to current states of the synchronization servers, and send an internet protocol address of the synchronization server with the largest performance score as an election result of the synchronization server to the production end and the consumption end corresponding to the same task identifier; the internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and establishing connection between the consumption end and the synchronous server.
In this embodiment, after receiving the online notification messages of the production end and the consumption end, the synchronous scheduling terminal first obtains the recorded current state of each synchronous server; the current state may include the CPU, memory size, and current number of tasks of the sync server.
In this embodiment, the recorded performance scores of the synchronization servers are first determined, and the synchronization server with the best current performance is found. Specifically, as shown in fig. 5, the synchronization server starts up and records the number of tasks currently executing synchronization. And awaits a new connection. The synchronous dispatching terminal configures the IP and ports of a plurality of synchronous servers, and after the synchronous dispatching terminal is started, the current state of each synchronous server is inquired in a traversing mode. And (3) giving the maximum value of the load bearing of the synchronization server and the current task amount value by analyzing the sizes of the CPU and the memory of the synchronization server and the use condition. And find the best performing server (the greater the maximum load bearing score/current task score, the better the current performance of the synchronization server). The consuming side is used for receiving the protocol of the synchronous message, analyzing the protocol and operating the document according to the protocol, such as a judge client. The synchronous server is used for recording the current task number, receiving the synchronous message protocol sent by the production end and forwarding the synchronous message protocol to the consumption end.
The record synchronizing device provided by the invention obtains the current state of each synchronous server after receiving the online notification message sent by the production end and the consumption end of the synchronous server; the online notification message carries a task identifier of the current synchronous task; then calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the Internet protocol address of the synchronous server with the highest performance score to a production end and a consumption end corresponding to the same task identifier as the election result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server. Therefore, the method and the system calculate the performance of each synchronous server through the synchronous scheduling terminal according to the current state of each synchronous server, select the synchronous server with the optimal performance to realize the record synchronization of the production end and the consumption end of the synchronous server, and further reduce the probability of the fault event of the selected synchronous server to the maximum extent, thereby improving the record synchronization efficiency and promoting the smooth operation of the intelligent court trial.
The following describes the entry synchronization device applied to the synchronization server, and the entry synchronization device applied to the synchronization server and the entry synchronization method applied to the synchronization server described above may be referred to in correspondence with each other.
As shown in fig. 10, the record synchronization apparatus applied to the synchronization server provided by the present invention includes:
a second receiving module 6, configured to receive a synchronization message sent by a production end of a synchronization server, where the synchronization message carries a record operation and record content of the production end;
the second sending module 7 is configured to send the synchronization message to a consuming end of the synchronization server, so that the consuming end performs synchronous update on a local record document according to the synchronization message;
the fourth processing module 8 is configured to receive a synchronization failure message sent by the consuming end, and send the local record document to the consuming end if the storage time of the local record document is less than a preset threshold, so that the consuming end performs secondary synchronization update according to the local record document;
a fifth processing module 9, configured to send a record document request message to the production end, receive a current record document sent by the production end according to the record document request message, and send the current record document to the consumption end, so that the consumption end performs secondary synchronous update according to the current record document, if the storage time of the local record document is greater than a preset threshold; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
In this embodiment, the synchronization server forwards a synchronization message protocol sent by the production end to each consumption end corresponding to the same task identifier, so that each consumption end resolves the protocol after receiving the synchronization message forwarded by the synchronization server, and performs a synchronization update operation on the record document according to the protocol.
In this embodiment, as shown in fig. 7, it is first determined whether the local storage file includes a valid local bibliographic document of the production end (the time after the bibliographic document is sent to be saved is less than 1 minute). If yes, the new record document is not required to be obtained from the production end again, and the effective record document is directly sent to the consumption end through the document transmission tool.
In this embodiment, if the local storage file does not include a valid local entry document of the production end (the time after the local storage file is sent to the production end for saving is less than 1 minute), a entry document request message is sent to the production end, and the production end is notified to upload a latest entry document. And when the production end receives the notice of uploading the record document of the synchronous server, the current record document is stored, and then the record document is uploaded to the synchronous server through a document transmission tool. After receiving the record document uploaded by the production end, the synchronous server stores the record document locally, updates the storage time of the record document, and forwards the record document to the corresponding consumption end through a document transmission tool to perform record synchronous updating operation.
Therefore, the record synchronizing device provided by the invention solves the problem of synchronization delay caused by overlarge task quantity of the synchronization server due to frequent verification by optimizing the storage mechanism of the synchronization server for the verification document.
The following describes the record synchronization apparatus applied to the consumption end of the synchronization server, and the record synchronization apparatus applied to the consumption end of the synchronization server described below and the record synchronization method applied to the consumption end of the synchronization server described above may be referred to in correspondence.
As shown in fig. 11, the device for synchronizing a record applied to a consumption end of a synchronization server provided by the present invention includes:
a third sending module 10, configured to send an online notification message to the synchronous scheduling terminal, where the online notification message carries a task identifier of a current synchronous task;
a third receiving module 11, configured to receive a synchronization message sent by a synchronization server, where the synchronization message carries the record operation and the record content of the production end;
a sixth processing module 12, configured to perform synchronous update on a local record document according to the record operation and the record content of the production end;
after the local bibliographic document is updated synchronously, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local record document is updated synchronously, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by the user terminal.
In this embodiment, the consumer side start-up logic is the same as the producer side. It should be noted that, in order to implement synchronization, the task identifier carried in the protocol for sending the online notification message to the synchronous scheduling terminal by the consuming terminal needs to be consistent with the task identifier of the producing terminal.
In this embodiment, the production end combines the record operation and the MD5 value of the record content around the operation area and the MD5 value of the full text (for example, the first 3 pieces of content and the last 3 pieces of content of the current recording position) together to form a synchronization message protocol, and sends the synchronization message protocol to the synchronization server, and the synchronization server receives the synchronization message protocol and forwards the synchronization message protocol to each consumption end corresponding to the same task identifier.
In this embodiment, the consumer receives the synchronization message protocol forwarded by the synchronization server, parses the protocol, and performs a synchronization update operation on the record document according to the protocol. After the local record document is synchronously updated, optionally, judging whether the MD5 values of the first 3 segments and the second 3 segments of the current record position are consistent with the record contents (the MD5 values of the first 3 segments and the second 3 segments) in the synchronous message forwarded by the synchronous server, if the contents are consistent, indicating that the synchronous update is successful, if the contents are inconsistent, comparing the full-text MD5 values, if the contents are inconsistent, sending a synchronous update failure message to the synchronous server, receiving the local record document sent by the synchronous server according to the synchronous update failure message, or receiving the current record document of a production end forwarded by the synchronous server according to the synchronous update failure message; and performing secondary synchronous updating according to the local record document or the current record document of the production end.
In this embodiment, it should be noted that, in the existing record synchronization technology, a bookkeeper inputs in a record, and other people participating in court trial can only passively view the area currently operated by the bookkeeper in the record, and cannot freely turn over the records of the first pages or the second pages. After the judge or the party turns the page of the record, once the writer continues to operate the record, the view of the record jumps back to the operation area of the writer. To solve this problem, the invention sets the parameters of view following at the consuming side. When the user selects a view not to follow, the document is operated according to the protocol only, but the view of the current editor is not affected. Only when the user selects the view follow-up to operate on the document, the operation area is jumped to. Therefore, the invention solves the problem that the view can only follow when the document is checked by expanding the interface parameters.
Fig. 12 illustrates a physical structure diagram of a production-side device of a synchronization server, and as shown in fig. 12, the electronic device may include: a processor (processor) 1210, a communication Interface (Communications Interface) 1220, a memory (memory) 1230, and a communication bus 1240, wherein the processor 1210, the communication Interface 1220, and the memory 1230 communicate with each other via the communication bus 1240. Processor 1210 may invoke logic instructions in memory 1230 to perform a script synchronization method applied to a production side of a synchronization server, the method comprising: sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task; receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is determined by performance calculation of the synchronous scheduling terminal according to the current state of each synchronous server; and according to the election result of the synchronous server, realizing the stroke record synchronization of the production end and the consumption end of the synchronous server.
Fig. 13 illustrates a schematic entity structure diagram of a synchronously scheduled terminal device, and as shown in fig. 13, the electronic device may include: a processor (processor) 1310, a communication Interface (Communications Interface) 1320, a memory (memory) 1330 and a communication bus 1340, wherein the processor 1310, the communication Interface 1320 and the memory 1330 communicate with each other via the communication bus 1340. The processor 1310 may call logic instructions in the memory 1330 to perform a transcript synchronization method applied to a synchronized scheduling terminal, the method comprising: after online notification messages sent by a production end and a consumption end of a synchronous server are received, the current state of each synchronous server is obtained; the online notification message carries a task identifier of a current synchronous task; calculating the performance score of each synchronous server according to the current state of each synchronous server, and sending the Internet protocol address of the synchronous server with the highest performance score to the production end and the consumption end corresponding to the same task identifier as a competition result of the synchronous server; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server.
Fig. 14 illustrates a physical structure diagram of a synchronization server device, and as shown in fig. 14, the electronic device may include: a processor (processor) 1410, a communication Interface (Communications Interface) 1420, a memory (memory) 1430 and a communication bus 1440, wherein the processor 1410, the communication Interface 1420 and the memory 1430 communicate with each other via the communication bus 1440. Processor 1410 may invoke logic instructions in memory 1430 to perform a script synchronization method applied to a synchronization server, the method comprising: receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end; sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message; receiving a synchronization failure message sent by the consumption end, and if the storage time of a local record document is less than a preset threshold value, sending the local record document to the consumption end so that the consumption end performs secondary synchronization update according to the local record document; if the storage time of the local record document is greater than a preset threshold value, sending a record document request message to the production end, receiving a current record document sent by the production end according to the record document request message, and sending the current record document to the consumption end, so that the consumption end performs secondary synchronous updating according to the current record document; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
Fig. 15 illustrates a physical structure diagram of a consumer device of a synchronization server, and as shown in fig. 15, the electronic device may include: a processor (processor) 1510, a communication Interface (Communications Interface) 1520, a memory (memory) 1530 and a communication bus 1540, wherein the processor 1510, the communication Interface 1520 and the memory 1530 communicate with each other via the communication bus 1540. The processor 1510 may invoke logic instructions in the memory 1530 to perform a script synchronization method applied to a consuming side of a synchronization server, the method comprising: sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task; receiving a synchronization message sent by a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end; synchronously updating local record documents according to the record operation and the record contents of the production end; after the local bibliographic document is synchronously updated, the method further comprises the following steps: if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful; if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end; when the local bibliographic document is synchronously updated, the method further comprises the following steps: and switching the views of the local record document according to view following operation triggered by a user terminal.
Furthermore, the logic instructions in the memories 1230, 1330, 1430 and 1530 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor implements a method for synchronizing a record applied to a production side of a synchronization server, provided by the methods above, or steps of a method for synchronizing a record applied to a synchronization scheduling terminal, provided by the methods above, or steps of a method for synchronizing a record applied to a synchronization server, provided by the methods above, or steps of a method for synchronizing a record applied to a consumption side of a synchronization server, provided by the methods above.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (13)
1. A method for synchronizing a note is applied to a production end of a synchronization server, and comprises the following steps:
sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task, so that the synchronous scheduling terminal performs performance calculation according to the current state of each synchronous server to determine a synchronous server with optimal performance, and sending an internet protocol address of the optimal synchronous server as a competition result of the synchronous server to a production end and a consumption end corresponding to the same task identifier, wherein the performance is optimal when the maximum load bearing value/the current task value of the synchronous server is larger;
receiving a synchronous server election result sent by the synchronous scheduling terminal;
according to the election result of the synchronous server, the stroke record synchronization of the production end and the consumption end of the synchronous server is realized,
wherein, according to the competitive selection result of the synchronous server, the method realizes the record synchronization of the production end and the consumption end of the synchronous server, and comprises the following steps:
sending a synchronous message to a synchronous server corresponding to the competition result of the synchronous server, so that the synchronous server realizes the record synchronization of the production end and the consumption end according to the synchronous message; the synchronous message carries the record operation and the record content of the production end, and the production end and the consumption end adopt the same network communication protocol.
2. The method for synchronizing the notes according to claim 1, wherein the note operation is detected by the production end according to the total text paragraph number and the cursor position of a note document in the entry process;
wherein the writing operation comprises: space key operation, backSpace key operation, delete key operation, enter key operation, ctrl + v paste key operation, cursor selection operation, and cursor click operation.
3. The method for synchronizing the scripts of claim 1, further comprising:
receiving a record document request message sent by the synchronous server;
and sending the current record document to the synchronous server according to the record document request message.
4. A stroke synchronization method is applied to a synchronous scheduling terminal and comprises the following steps:
after online notification messages sent by a production end and a consumption end of a synchronous server are received, the current state of each synchronous server is obtained; the online notification message carries a task identifier of a current synchronous task;
calculating the performance score of each synchronous server according to the current state of each synchronous server, wherein the larger the maximum load bearing score/current task score of the synchronous server is, the highest performance score is, and the internet protocol address of the synchronous server with the highest performance score is used as a competition result of the synchronous server and is sent to the production end and the consumption end corresponding to the same task identifier; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server, so that the production end sends a synchronous message to the consumption end through the synchronous server with the highest performance score to realize the record synchronization of the production end and the consumption end, and the synchronous message carries record operation and record content of the production end.
5. The method for synchronizing the bibliographies according to claim 4, further comprising:
after the production end and the consumption end are connected with the synchronous server, monitoring heartbeat abnormal messages sent by the production end and the consumption end;
and re-determining the synchronous server with the highest performance score according to the heartbeat abnormal message, and sending the internet protocol address of the synchronous server to the production end and the consumption end.
6. A note synchronization method is characterized in that the method is applied to a synchronization server, the synchronization server is a synchronization server with optimal performance determined by a synchronization scheduling terminal through performance calculation according to the current state of each synchronization server, the synchronization scheduling terminal sends an internet protocol address of the synchronization server as a competition result of the synchronization server to a production end and a consumption end corresponding to the same task identifier, and the performance is optimal when the maximum load bearing value/the current task value of the synchronization server are larger, the method comprises the following steps:
receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message;
receiving a synchronization failure message sent by the consumption end, and if the storage time of a local record document is less than a preset threshold value, sending the local record document to the consumption end so that the consumption end performs secondary synchronization update according to the local record document;
if the storage time of the local record document is greater than a preset threshold value, sending a record document request message to the production end, receiving a current record document sent by the production end according to the record document request message, and sending the current record document to the consumption end so that the consumption end performs secondary synchronous updating according to the current record document; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
7. A method for synchronizing a stroke record is applied to a consumption end of a synchronization server, and comprises the following steps:
sending an online notification message to a synchronous scheduling terminal, wherein the online notification message carries a task identifier of a current synchronous task, so that the synchronous scheduling terminal performs performance calculation according to the current state of each synchronous server to determine a synchronous server with optimal performance, and sending an internet protocol address of the optimal synchronous server as a competitive selection result of the synchronous server to a production end and a consumption end corresponding to the same task identifier, wherein the higher the maximum load bearing value/the current task value of the synchronous server is, the optimal performance is obtained;
receiving a synchronization message sent by a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
according to the record operation and the record content of the production end, synchronously updating the local record document;
after the local bibliographic document is updated synchronously, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local record document is updated synchronously, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by the user terminal.
8. The utility model provides a stroke record synchronizer, is applied to synchronization server's production end, its characterized in that includes:
the system comprises a first sending module, a second sending module and a synchronization scheduling terminal, wherein the first sending module is used for sending an online notification message to the synchronization scheduling terminal, and the online notification message carries a task identifier of a current synchronization task;
the first receiving module is used for receiving a synchronous server election result sent by the synchronous scheduling terminal, wherein the synchronous server election result is that the synchronous scheduling terminal carries out performance calculation according to the current state of each synchronous server so as to determine a synchronous server with optimal performance, and the performance is optimal when the maximum load bearing value/the current task value of the synchronous server is larger;
the first processing module is used for realizing the record synchronization of the production end and the consumption end of the synchronous server according to the election result of the synchronous server,
the first processing module is specifically configured to send a synchronization message to a synchronization server corresponding to the election result of the synchronization server, so that the synchronization server realizes the record synchronization of the production end and the consumption end according to the synchronization message; the synchronous message carries the record operation and the record content of the production end, and the production end and the consumption end adopt the same network communication protocol.
9. A stroke record synchronizer is applied to a synchronous scheduling terminal and is characterized by comprising:
the second processing module is used for acquiring the current state of each synchronous server after receiving online notification messages sent by a production end and a consumption end of the synchronous server; the online notification message carries a task identifier of a current synchronous task;
the third processing module is used for calculating the performance score of each synchronous server according to the current state of each synchronous server, the larger the maximum load bearing score/current task score of the synchronous server is, the highest performance score is, and the internet protocol address of the synchronous server with the maximum performance score is used as a competition result of the synchronous servers and is sent to the production end and the consumption end corresponding to the same task identifier; the Internet protocol address of the synchronous server is used for establishing connection between the production end and the synchronous server and between the consumption end and the synchronous server, so that the production end sends a synchronous message to the consumption end through the synchronous server with the highest performance score to realize the record synchronization of the production end and the consumption end, and the synchronous message carries record operation and record content of the production end.
10. A kind of note synchronizer, characterized by that, apply to the synchronous server, the said synchronous server is the synchronous server that the synchronous scheduling terminal carries on the best performance that the performance calculation confirms according to the present state of every synchronous server, the maximum score of load bearing/present task score of the synchronous server are bigger, the performance is the best, the apparatus includes:
the second receiving module is used for receiving a synchronization message sent by a production end of a synchronization server, wherein the synchronization message carries the record operation and the record content of the production end;
the second sending module is used for sending the synchronous message to a consumption end of a synchronous server so that the consumption end can synchronously update the local record document according to the synchronous message;
the fourth processing module is configured to receive a synchronization failure message sent by the consuming end, and send the local record document to the consuming end if the storage time of the local record document is less than a preset threshold, so that the consuming end performs secondary synchronization update according to the local record document;
the fifth processing module is used for sending a record document request message to the production end, receiving a current record document sent by the production end according to the record document request message, and sending the current record document to the consumption end so as to enable the consumption end to perform secondary synchronous updating according to the current record document if the storage time of the local record document is greater than a preset threshold value; and after receiving the current record document sent by the production end according to the record document request message, updating the storage time of the current record document.
11. A kind of stroke record synchronizer, characterized by, apply to the consumption end of the synchronous server, comprising:
a third sending module, configured to send an online notification message to the synchronous scheduling terminal, where the online notification message carries a task identifier of a current synchronous task;
a third receiving module, configured to receive a synchronization message sent by a synchronization server, where the synchronization message carries a record operation and a record content of a production end, and the synchronization server is a synchronization server with optimal performance determined by a synchronization scheduling terminal through performance calculation according to a current state of each synchronization server, and the performance is optimal when a maximum load bearing score/a current task score of the synchronization server is larger;
the sixth processing module is used for synchronously updating the local record document according to the record operation and the record content of the production end;
after the local bibliographic document is updated synchronously, the method further comprises the following steps:
if the record content in the updated local record document is consistent with the record content of the production end carried in the synchronization message, the synchronization update is successful;
if the record content in the updated local record document is inconsistent with the record content of the production end carried in the synchronization message, sending a synchronization update failure message to the synchronization server, receiving the local record document sent by the synchronization server according to the synchronization update failure message, or receiving the current record document of the production end forwarded by the synchronization server according to the synchronization update failure message; performing secondary synchronous updating according to the local record document or the current record document of the production end;
when the local bibliographic document is synchronously updated, the method further comprises the following steps:
and switching the views of the local record document according to view following operation triggered by a user terminal.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for synchronizing a script applied to a production side of a synchronization server according to any one of claims 1 to 3, or the steps of the method for synchronizing a script applied to a synchronization scheduling terminal according to claim 4 or 5, or the steps of the method for synchronizing a script applied to a synchronization server according to claim 6, or the steps of the method for synchronizing a script applied to a consumption side of a synchronization server according to claim 7 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method for book synchronization as claimed in any one of claims 1 to 3, applied to a production side of a synchronization server, or the steps of the method for book synchronization as claimed in claim 4 or 5, applied to a synchronization scheduling terminal, or the steps of the method for book synchronization as claimed in claim 6, or the steps of the method for book synchronization as claimed in claim 7, applied to a consumption side of a synchronization server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111547391.5A CN114297989B (en) | 2021-12-16 | 2021-12-16 | Writing and recording synchronization method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111547391.5A CN114297989B (en) | 2021-12-16 | 2021-12-16 | Writing and recording synchronization method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114297989A CN114297989A (en) | 2022-04-08 |
CN114297989B true CN114297989B (en) | 2023-02-21 |
Family
ID=80967309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111547391.5A Active CN114297989B (en) | 2021-12-16 | 2021-12-16 | Writing and recording synchronization method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114297989B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1532723A (en) * | 2003-03-21 | 2004-09-29 | ض� | Polymerization of service registraion form |
CN104753994A (en) * | 2013-12-27 | 2015-07-01 | 杭州海康威视系统技术有限公司 | Method and device for data synchronization based on cluster server system |
CN105227349A (en) * | 2015-08-27 | 2016-01-06 | 北京泰乐德信息技术有限公司 | Nomadic MANET dispatching patcher and dispatching method thereof |
CN109688434A (en) * | 2018-12-12 | 2019-04-26 | 北京东土科技股份有限公司 | Offline open a court session processing method, device, terminal, system and storage medium |
CN110888719A (en) * | 2019-09-18 | 2020-03-17 | 广州市巨硅信息科技有限公司 | Distributed task scheduling system and method based on web service |
CN111682959A (en) * | 2015-11-24 | 2020-09-18 | 华为技术有限公司 | A method for determining a mapping server, routing node and autonomous system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101815326B1 (en) * | 2012-01-31 | 2018-01-04 | 삼성전자주식회사 | Apparatus and method for providing target service based on d2d |
CN110415704A (en) * | 2019-06-14 | 2019-11-05 | 平安科技(深圳)有限公司 | Trial record data processing method, device, computer equipment and storage medium |
CN110795503A (en) * | 2019-10-18 | 2020-02-14 | 北京达佳互联信息技术有限公司 | Multi-cluster data synchronization method and related device of distributed storage system |
CN113765774B (en) * | 2020-11-16 | 2023-05-02 | 西安京迅递供应链科技有限公司 | Method, device, electronic equipment and medium for synchronizing messages in real time |
-
2021
- 2021-12-16 CN CN202111547391.5A patent/CN114297989B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1532723A (en) * | 2003-03-21 | 2004-09-29 | ض� | Polymerization of service registraion form |
CN104753994A (en) * | 2013-12-27 | 2015-07-01 | 杭州海康威视系统技术有限公司 | Method and device for data synchronization based on cluster server system |
CN105227349A (en) * | 2015-08-27 | 2016-01-06 | 北京泰乐德信息技术有限公司 | Nomadic MANET dispatching patcher and dispatching method thereof |
CN111682959A (en) * | 2015-11-24 | 2020-09-18 | 华为技术有限公司 | A method for determining a mapping server, routing node and autonomous system |
CN109688434A (en) * | 2018-12-12 | 2019-04-26 | 北京东土科技股份有限公司 | Offline open a court session processing method, device, terminal, system and storage medium |
CN110888719A (en) * | 2019-09-18 | 2020-03-17 | 广州市巨硅信息科技有限公司 | Distributed task scheduling system and method based on web service |
Non-Patent Citations (1)
Title |
---|
网络计算机服务器集群的设计研究;张普;《中国优秀硕士论文数据库》;20050515;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114297989A (en) | 2022-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10455014B2 (en) | Method and apparatus for synchronizing content | |
US20170034264A1 (en) | Application Information Sharing Method and Apparatus | |
US20120323990A1 (en) | Efficient state reconciliation | |
WO2019154353A1 (en) | System running parameter query method, matching method and apparatus, and node device | |
TW201830986A (en) | Method for withdrawing and modifying instant communication message, instant communication client side and server side | |
CN103281798A (en) | Method, device and system for achieving modification synchronization | |
WO2013170343A1 (en) | Method and system relating to salient content extraction for electronic content | |
CN110493122B (en) | Session information synchronization method and device, computing equipment and storage medium | |
CN110413978B (en) | Data paging export method, device, computer equipment and storage medium | |
CN109669795A (en) | Crash info processing method and processing device | |
CN112363871B (en) | Data recovery method, device and storage medium | |
CN113014608B (en) | Flow distribution control method and device, electronic equipment and storage medium | |
CN111641554A (en) | Message processing method and device and computer readable storage medium | |
CN114896960A (en) | Document processing method, apparatus, computer device, readable storage medium and product | |
US10938773B2 (en) | Method and apparatus for synchronizing contact information and medium | |
WO2014121629A1 (en) | Method and system for displaying literal contents, mobile terminal, cloud typesetting server, and storage medium | |
CN114090288B (en) | A data push method and device | |
CN114297989B (en) | Writing and recording synchronization method and device, electronic equipment and storage medium | |
CN109600423B (en) | Data synchronization method and device, electronic equipment and storage medium | |
WO2017185631A1 (en) | Data downloading method and device | |
CN109739883B (en) | Method and device for improving data query performance and electronic equipment | |
CN104023056B (en) | The method and relevant device updated the data | |
CN110491386A (en) | A kind of method, apparatus and computer readable storage medium generating meeting summary | |
US9558167B2 (en) | Method, system and web server for adding related microblogs on webpage | |
CN110990360A (en) | File synchronization method based on network storage device and related components |
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 |