CN106648391B - Handwriting synchronization method, device and system - Google Patents

Handwriting synchronization method, device and system Download PDF

Info

Publication number
CN106648391B
CN106648391B CN201611184585.2A CN201611184585A CN106648391B CN 106648391 B CN106648391 B CN 106648391B CN 201611184585 A CN201611184585 A CN 201611184585A CN 106648391 B CN106648391 B CN 106648391B
Authority
CN
China
Prior art keywords
track
picture
synchronization
coordinate
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611184585.2A
Other languages
Chinese (zh)
Other versions
CN106648391A (en
Inventor
张奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201611184585.2A priority Critical patent/CN106648391B/en
Publication of CN106648391A publication Critical patent/CN106648391A/en
Priority to PCT/CN2017/103285 priority patent/WO2018113366A1/en
Application granted granted Critical
Publication of CN106648391B publication Critical patent/CN106648391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43074Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of additional data with content streams on the same device, e.g. of EPG data or interactive icon with a TV program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The invention discloses a method, a device and a system for handwriting synchronization, and relates to the technical field of communication. The method comprises the following steps: when the first picture is displayed on the synchronous equipment, the second picture is displayed on the second equipment, and the first picture is the same as the second picture; acquiring operation information of the first picture by the synchronization equipment; executing the operation information on the second picture, and updating the second picture according to the execution result; and if the updated second picture has a second track without an identifier, creating a second identifier of the second track according to the identifier generation method on the synchronization equipment, so that the second identifier is the same as the first identifier created by the synchronization equipment for the corresponding first track in the updated first picture. By adopting the method, the technical problem that higher communication network bandwidth is needed when the IDs of the synchronized devices are synchronized can be solved.

Description

Handwriting synchronization method, device and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for handwriting synchronization.
Background
After synchronization, the plurality of remote devices can simultaneously perform synchronous operations such as displaying pictures, writing tracks and erasing tracks. The specific process is that when the first device is operated by a user, the first device sends synchronous operation information to the other synchronous second devices, and the second devices can execute the same operation as the first device according to the synchronous operation information so as to ensure that the picture displayed by the second device is the same as the picture displayed by the first device.
to better manage the tracks in the frame, an identity or Identification (ID) is usually created for each track after the synchronization operation is completed. When creating the identity, the first device typically creates an ID for the newly generated track, and sends the newly generated track and the created ID to the second device, so that the second device synchronizes the ID of the newly generated track.
It can be seen that after the first device generates the ID, in order to ensure that the ID of the track in the first device is the same as the ID of the track in the second device, after the synchronization operation is completed, it is necessary to synchronize all newly generated tracks once again, and send the corresponding ID during synchronization. This increases the bandwidth requirements of the communication network and increases network overhead.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a system for trace synchronization, so as to solve the technical problem that a higher communication network bandwidth is required when synchronizing IDs of traces between devices.
in a first aspect, an embodiment of the present invention provides a method for handwriting synchronization, including:
when a first picture is displayed on the synchronous equipment, a second picture is displayed on second equipment, and the first picture is the same as the second picture;
Acquiring operation information of the synchronization equipment on the first picture;
Executing the operation information on the second picture, and updating the second picture according to an execution result;
and if the updated second picture has a second track without an identifier, creating a second identifier of the second track according to an identifier generation method on the synchronization equipment, so that the second identifier is the same as a first identifier created by the synchronization equipment for a corresponding first track in the updated first picture.
in a second aspect, an embodiment of the present invention further provides a device for handwriting synchronization, including:
the display module is used for displaying a first picture on the synchronous equipment and displaying a second picture on the second equipment, wherein the first picture is the same as the second picture;
An obtaining module, configured to obtain operation information of the synchronization device on the first picture;
the execution module is used for executing the operation information on the second picture and updating the second picture according to an execution result;
And the identifier creating module is used for creating a second identifier of the second track according to an identifier generating method on the synchronization equipment if the second track without the identifier exists in the updated second picture, so that the second identifier is the same as the first identifier created by the synchronization equipment on the corresponding first track in the updated first picture.
In a third aspect, an embodiment of the present invention further provides a system for handwriting synchronization, including the apparatus for handwriting synchronization of the second aspect, and a synchronization device connected to the apparatus for handwriting synchronization through a network.
the handwriting synchronization method, the handwriting synchronization device and the handwriting synchronization system provided by the embodiment of the invention display a second picture which is the same as the first picture on the second device when the first picture is displayed on the synchronization device, acquire the operation information when the synchronization device operates the first picture, and execute the operation information in the second picture, so that the second picture which is updated according to the execution result is the same as the first picture which is updated according to the operation information in the synchronization device, if a second track without an identifier exists in the updated second picture, a second identifier is created for the second track according to an identifier generation method on the synchronization device, and the second identifier is the same as a first identifier which corresponds to the first track in the updated first picture, thereby realizing the technical means that after the synchronization operation with the synchronization device is carried out, an identifier is automatically created for the track without the identifier, and the identifier is ensured to be the same as the identifier of the corresponding track in the synchronization device, the track synchronization information and the identification information do not need to be sent by the synchronization equipment, so that the requirement on the communication network bandwidth between the synchronization equipment is reduced, and the network overhead is reduced.
Drawings
other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 is a flow chart of a handwriting synchronous erasing method in the prior art;
FIG. 2a is a flowchart of a method for handwriting synchronization according to an embodiment of the present invention;
FIG. 2b is a flowchart of a method for handwriting synchronization according to an embodiment of the present invention;
FIG. 3a is a flowchart of a method for handwriting synchronization according to a second embodiment of the present invention;
FIG. 3b is a schematic diagram illustrating a second frame;
FIG. 3c is a diagram illustrating the display of an updated second frame;
FIG. 3d is a flow chart of a second identifier creation method;
fig. 4 is a schematic structural diagram of a handwriting synchronization apparatus according to a third embodiment of the present invention;
Fig. 5 is a schematic structural diagram of a system for handwriting synchronization according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
The intelligent device A and the intelligent device B are interactive devices which have already finished synchronization. The conventional track synchronization operation will be described below by taking an erase track as an example. FIG. 1 is a flowchart illustrating a method for synchronously erasing a note in the prior art. As can be seen from fig. 1, after the user starts the erasing operation, the smart device a generates erasing information according to the erasing operation, where the erasing information includes the ID of the track to be erased and the erasing coordinate point, and the smart device a sends the erasing information to the smart device B, so that the smart device B and the smart device a perform the same erasing operation. And after the erasing is finished, generating a new track, establishing a corresponding ID for the newly generated track by the intelligent device A, and sending the newly generated track and the corresponding ID to the intelligent device B. After the intelligent device B finishes erasing, the erasing result of the local storage is deleted, namely the ID of the erased track is deleted, and after the erasing result is deleted, the intelligent device B realizes the synchronization with the track in the intelligent device A according to the newly generated track and the corresponding ID sent by the intelligent device A. If the intelligent device B does not receive the synchronization information sent by the intelligent device A, the synchronization of the new track cannot be realized. Meanwhile, if the number of the intelligent devices B is too large or the number of the newly generated tracks is too large, the requirement on the network bandwidth is increased.
Therefore, in order to reduce the requirement on network bandwidth and better realize the synchronization between the intelligent device B and the track in the intelligent device A, the invention provides a method for track synchronization.
Example one
Fig. 2a is a flowchart of a method for handwriting synchronization according to an embodiment of the present invention. The method for handwriting synchronization provided by the embodiment may be executed by a device for handwriting synchronization, and the device for handwriting synchronization may be implemented in a software and/or hardware manner and integrated in the second device. The second device can be an intelligent tablet, an intelligent mobile phone, a video conference device and other intelligent devices.
Referring to fig. 2a, the method specifically includes:
and S110, when the first picture is displayed on the synchronous equipment, displaying a second picture on the second equipment.
Wherein the synchronization device is connected with the second device through a network. When receiving the operation of the user, the synchronization device may send the operation information to the second device in synchronization, so that the second device and the synchronization device execute the corresponding operation in synchronization. The synchronous equipment can be a smart tablet, a smart phone, video conference equipment and the like.
for example, the synchronization device may send synchronization information to the second device when displaying the first screen, and the second device displays the second screen after receiving the synchronization information. Wherein the first picture and the second picture are the same. I.e. picture synchronization of the second device and the synchronization device is achieved. In the present embodiment, the first screen and the second screen are preferably screens on which a writing trace can be displayed.
And S120, acquiring the operation information of the first picture by the synchronization equipment.
Illustratively, the operation information is specific information of the user operating the synchronization device. The operation information may specifically include: operation content and operation trajectory coordinates, and the like. The operation content may include: select, erase, or write, etc.
Specifically, after the second device is synchronized with the synchronization device, the second device may acquire the operation information in real time.
And S130, executing the operation information on the second picture, and updating the second picture according to the execution result.
Specifically, the corresponding operation is executed according to the operation information, and in the execution process, the process of executing the operation is displayed in the second screen. At this time, the second screen and the first screen are displayed in the same operation process. Of course, since a certain time is consumed for obtaining the operation information, a certain delay time exists between the first image and the second image when the operation process is displayed, and generally speaking, the delay time does not affect the subsequent operation process.
Further, after the operation is completed, an updated second picture is obtained. That is, the current second screen is the screen after the operation is completed. Meanwhile, the synchronous equipment is updated into a first picture after the operation is finished. The two operation screens remain the same.
for example, the operation information includes a write operation, write trajectory coordinates, and trajectory display parameters (color, line thickness). The written track can be displayed in the second picture according to the operation information. At this time, the same written trajectory is displayed in the first screen.
As another example, the operation information includes the track ID to be erased, the coordinates of the erase track, and the size of the erase unit. And finding a corresponding track to be erased in the second picture according to the operation information, and erasing the display point corresponding to the coordinates of the erasing track in the track to be erased. Further, an erasing process is displayed, and the second image after erasing is determined. The track ID to be erased is sent to prevent an erroneous erase operation from occurring when two tracks exist on the coordinates of the erase track.
And S140, judging whether the second track without the mark exists in the updated second picture. If there is a second trajectory that is not identified in the updated second picture, S150 is performed. Otherwise, S160 is executed.
Generally, the updated second frame is different from the original second frame, such as adding a certain track, deleting a certain track, or changing the shape and/or length of a certain track. And if the original track in the updated second picture is changed, correspondingly deleting the ID of the original track. For example, if a certain portion of the original track is erased, the ID of the original track is deleted, and the remaining track is confirmed as a newly generated track.
Specifically, ID identification is performed on all tracks in the updated second screen to determine whether a track without an ID exists, where the track without an ID is the second track.
Further, after updating the first picture, the synchronization device determines whether a first track without an ID exists in the updated first picture, and the determination process is the same as the above process.
s150, creating a second identifier of the second track according to the identifier generation method on the synchronous equipment.
Specifically, a second ID is created for the second track. At the same time, the synchronization device creates a first ID for the first track. And the first ID and the second ID have the same creation rule so as to ensure that the first ID and the second ID are the same. That is, the second identifier is the same as the first identifier created by the synchronization device for the corresponding first track in the updated first picture.
Since the second ID is the same as the first ID, synchronization of the track and its ID can be achieved without the synchronization device sending the first track and the corresponding first ID to the second device. If the first ID exists in the operation information acquired from the synchronization device subsequently, the same second ID and the corresponding track can be found.
And S160, completing the synchronous operation.
The technical solution provided in this embodiment is to display a second screen identical to the first screen on the second device when the first screen is displayed on the synchronization device, obtain operation information when the synchronization device operates the first screen, and execute the operation information in the second screen, so that the second screen updated according to the execution result is identical to the first screen updated according to the operation information in the synchronization device, and if there is a second track without an ID in the updated second screen, create a second ID for the second track according to the identification generation method on the synchronization device, so that the second ID is identical to a first ID corresponding to the first track in the updated first screen, thereby implementing automatic creation of an identification for a track without an ID after performing a synchronization operation with the synchronization device, and ensuring that the ID is identical to the ID of a corresponding track in the synchronization device, without the synchronization device sending track synchronization information and ID information, the requirement on the communication network bandwidth between the synchronous devices is reduced, and the network overhead is reduced.
the method of the present embodiment is described below by way of example. A synchronization device and a second device are included in this example. The synchronous equipment is intelligent equipment for acquiring operation information sent by user operation, and the second equipment is intelligent equipment for realizing synchronous operation with the synchronous equipment according to the operation information. The operation of erasing the track is described in this example as an example. Referring to fig. 2b, the method specifically includes:
and S1, the synchronous equipment receives an erasing instruction sent by the user.
Before this step, the same picture is displayed in the synchronization device and the second device.
And S2, the synchronous device obtains the operation information according to the erasing instruction and sends the operation information to the second device.
the operation information comprises an ID of a track to be erased and an erasing coordinate point.
specifically, the synchronization device sends the corresponding operation information to the second device in real time in the process of receiving the user erasing operation.
And S3, the synchronous equipment performs an erasing operation. S5 is executed.
And S4, the second equipment performs erasing operation according to the operation information. S7 is executed.
Wherein S3 and S4 may be performed simultaneously.
S5, the synchronization apparatus determines that the erase operation is complete. S6 is executed.
Specifically, it may be determined whether the erase operation is completed before S5. If it is completed, execution proceeds to S5, and if not, execution returns to S1.
S6, the synchronization device creates an ID for the newly generated track.
wherein, the synchronization device can firstly confirm whether a newly generated track exists. The newly generated track is a track without an ID.
S7, the second device determines that the erase operation is complete. S8 is executed.
Specifically, it may be determined whether the erase operation is completed before S7. If it is completed, execution proceeds to S7, and if not, execution returns to S4.
Wherein, S5 and S7 are different operation subjects, and have no strict time sequence relation in time.
And S8, the second device creates an ID for the newly generated track.
Wherein, the second device may first confirm whether there is a newly generated track. The newly generated track is a track without an ID. Further, the newly generated trajectory in the second device is the same as the newly generated trajectory in the synchronization device. Meanwhile, the ID creation rules of the second device and the synchronization device are the same, and the obtained ID values are also the same.
In the above example, the second device may determine whether a new track is generated, and when a new generated track exists, create an ID for the new generated track, where the ID is the same as the ID created for the corresponding new generated track in the synchronization device, so as to ensure synchronization of the track between the second device and the synchronization device, and meanwhile, the synchronization device does not need to send the synchronization track and the corresponding ID to the second device again, thereby reducing a requirement for a network bandwidth.
example two
Fig. 3a is a flowchart of a method for handwriting synchronization according to a second embodiment of the present invention. The present embodiment is further described in the step of creating the second identifier of the second track on the basis of the above embodiments. Referring to fig. 3a, the method provided in this embodiment specifically includes:
S210, when the first picture is displayed on the synchronous equipment, the second picture is displayed on the second equipment.
S220, acquiring operation information of the first picture by the synchronization equipment.
and S230, executing the operation information on the second picture, and updating the second picture according to the execution result.
S240, if the second track without the mark exists in the updated second picture, acquiring a coordinate set of the second track.
Specifically, coordinates of each track point in the second track are obtained. And the coordinate is the coordinate of the track point in the second picture. Optionally, rounding the coordinates of each track point to obtain rounded coordinates. And forming a coordinate set of the second track by the rounding coordinates of the track points.
Optionally, if the updated tracks in the second screen all have corresponding IDs, the operation is ended.
And S250, combining the coordinates in the coordinate set, and expressing a combination result in a coordinate character string mode.
Specifically, when the coordinates in the coordinate set are combined, the coordinates of each trace point in the coordinate set may be combined first to obtain a combined value of each trace point. For example, if the coordinates of a track point are (100,200), the combined value of the track point is 100200 or 200100, and the combination rule of other track points in the coordinate set is the same as the combination rule of the track point. Further, the merged values of the track points are merged again, and the merged result is expressed in the form of a character string.
Optionally, the step specifically includes: determining the sum of coordinate values of all coordinate points in the coordinate set; and combining the coordinates in the coordinate set according to the sorting result of the sum of the coordinate values, and representing the combined result in a coordinate character string mode.
For example, if the coordinates of the trace point in the coordinate set are (10,21), the sum of the coordinate values of the coordinates is 31, i.e., 10+ 21.
Specifically, the sum of the coordinate values of each coordinate in the coordinate set is determined in sequence, and the coordinates are sorted according to the sum of the coordinate values of the coordinates. The order may be from large to small of the sum of the coordinate values, or from small to large of the sum of the coordinate values. And merging the sorted coordinates, and expressing the merging result in a character string form.
For example, the coordinate sets are [ (10, 20), (11, 22) and (11, 21) ], and the sum of the coordinate values of the respective points is 30, 33 and 32 in this order. The coordinate values are combined in descending order of their sum to obtain 102011211122 as a character string, which is a coordinate character string.
And sorting and combining according to the sum of the coordinate values, so that the repetition rate of the combining result among all tracks can be reduced, and further the repetition rate when the second ID is determined subsequently is reduced.
Optionally, when the operation information is track erasure information, merging the coordinates in the coordinate set according to the sorting result of the sum of the coordinate values, and after the merging result is expressed in the form of a coordinate character string, the method further includes: and determining the identity of the erased track, and placing the identity of the erased track at the tail of the coordinate character string.
The track erasing information is information for erasing the track. For example, fig. 3b is a schematic display diagram of the second screen. Wherein, the track 201 is a track to be erased. That is, the ID corresponding to the track 201 is the ID included in the track erasure information. FIG. 3c is a diagram illustrating the display of the updated second frame. Specifically, after executing the track erasing information, the partial area 202 of the track 201 in fig. 3b is erased, and two new tracks, namely the track 203 and the track 204, are obtained. Further, when determining the second IDs of the track 203 and the track 204, the ID of the original track 201 is placed at the end of the coordinate character strings of the track 203 and the track 204, respectively. To further reduce the repetition rate of the second ID upon subsequent calculations.
And S260, carrying out random calculation on the coordinate character string to obtain a second identifier of the second track.
Further, the coordinate character string is randomly calculated, wherein a specific random calculation rule is not limited in this embodiment. And taking the result of the random calculation as the second ID of the second track.
Optionally, to further reduce the repetition rate of the second ID, the step may include: calculating the coordinate character string by using an information-abstract algorithm 5; and taking the random number generated according to the calculation result as a second identifier of the second track.
The Message Digest Algorithm 5 (MD 5) is a hash function widely used in the field of computer security to provide integrity protection for messages. MD5 is also commonly referred to as a digest algorithm or a hash algorithm.
Specifically, the coordinate character string is calculated by using MD5, and the calculation result is used as a seed of random calculation. In general, since the calculation results obtained by the MD5 for each coordinate string are different, that is, the seed of the random calculation is different, the results obtained after the random calculation are also different. And taking the obtained result of random calculation as the second ID of the second track. The uniqueness of the second ID is further ensured.
it should be noted that, when the synchronization apparatus creates the first ID for the first track in the first screen, the creation rule is the same as the creation rule for the second apparatus to create the second ID for the second track of the second screen. Since the coordinates of the first track and the second track are the same and the creation rule is the same, the first ID and the second ID are also the same. When the tracks are subsequently operated, the corresponding operation tracks can be found in the synchronous equipment and the second equipment only by inputting the specific value of the ID.
According to the technical scheme provided by the embodiment, after the updated second picture is obtained by executing the operation information sent by the synchronization equipment, if the updated second picture has the second track without the ID, the coordinate set of the second track is obtained, the coordinates in the coordinate set are combined to obtain the coordinate character string, the coordinate character string is randomly calculated to determine the random calculation result as the second ID, so that the ID is automatically created for the track without the ID after the synchronization operation is carried out on the synchronization equipment, the ID is ensured to be the same as the ID of the corresponding track in the synchronization equipment, the track synchronization information and the ID information do not need to be sent by the synchronization equipment, the requirement on the bandwidth of a communication network between the synchronization equipment is reduced, the network overhead is reduced, and when the ID is determined, the repetition rate between the IDs can be reduced by calculating the coordinates of the track to obtain the corresponding ID, further, the error rate in identifying the track from each ID is reduced.
A method of creating the second ID is described as an example below. In this example, the track in the second screen is erased, and a second track without an ID is obtained. Referring to fig. 3d, the method specifically includes:
And S310, acquiring coordinates of all points of the second track.
And S320, rounding the coordinate values of the coordinates to obtain a coordinate set.
If (9.9, 18.8) is rounded up, (10, 19) is obtained.
S330, calculating the sum of the coordinate values of all the coordinate points in the coordinate set, and sequencing all the coordinate points according to the sum of the coordinate values.
And S340, representing each coordinate in the coordinate set in a character string form.
Such as (20, 100) to 20100.
And S350, combining the character strings of the coordinate points in the coordinate set according to a coordinate sorting rule to obtain a coordinate character string.
And S360, splicing the ID value of the erased track to the end of the coordinate character string.
if the ID of the erased track has a value of 123 and the coordinate string is 1011121012, the spliced coordinate string is 1011121012123.
And S370, performing MD5 calculation on the spliced coordinate character strings to obtain a calculation result.
And S380, taking the calculation result as a seed of random calculation, and performing random calculation.
And S390, determining the random calculation result as a second ID of the second track.
EXAMPLE III
fig. 4 is a schematic structural diagram of a handwriting synchronization apparatus according to a third embodiment of the present invention. Referring to fig. 4, the apparatus for handwriting synchronization provided in this embodiment specifically includes: a display module 401, an acquisition module 402, an execution module 403, and an identity creation module 404.
The display module 401 is configured to display a first picture on the synchronization device and a second picture on the second device, where the first picture is the same as the second picture; an obtaining module 402, configured to obtain operation information of a first screen by a synchronization device; an executing module 403, configured to execute the operation information on the second screen and update the second screen according to an execution result; an identifier creating module 404, configured to create, if there is a second track without an identifier in the updated second picture, a second identifier of the second track according to the identifier generation method on the synchronization device, so that the second identifier is the same as the first identifier created by the synchronization device for the corresponding first track in the updated first picture.
In the technical solution provided in this embodiment, when the first screen is displayed on the synchronization device, the second screen that is the same as the first screen is displayed on the second device, the operation information when the synchronization device operates the first screen is obtained, and the operation information is executed in the second screen, so that the second screen updated according to the execution result is the same as the first screen updated according to the operation information in the synchronization device, and if there is a second track without an identifier in the updated second screen, a second identifier is created for the second track according to the identifier generation method on the synchronization device, so that the second identifier is the same as the first identifier corresponding to the first track in the updated first screen, thereby implementing a technical means that after the synchronization operation is performed with the synchronization device, an identifier is automatically created for the operation track without an identifier, and the identifier is guaranteed to be the same as the identifier corresponding to the track in the synchronization device, the track synchronization information and the identification information do not need to be sent by the synchronization equipment, so that the requirement on the communication network bandwidth between the synchronization equipment is reduced, and the network overhead is reduced.
On the basis of the above embodiment, the identifier creating module 404 includes: the coordinate acquisition submodule is used for acquiring a coordinate set of the second track; the merging submodule is used for merging the coordinates in the coordinate set and expressing a merging result in a coordinate character string mode; and the random calculation submodule is used for performing random calculation on the coordinate character string to obtain a second identifier of the second track.
on the basis of the above embodiment, the merging submodule includes: a sum value determination unit for determining a sum of coordinate values of the respective coordinate points in the coordinate set: and the merging unit is used for merging the coordinates in the coordinate set according to the sorting result of the sum of the coordinate values and expressing the merging result in a coordinate character string mode.
On the basis of the above embodiment, the operation information is track erasure information, and the merging submodule is specifically configured to: and determining the identity of the erased track, and placing the identity of the erased track at the tail of the coordinate character string.
On the basis of the above embodiment, the random computation sub-module includes: a calculation unit for calculating the coordinate character string by using an information-abstract algorithm 5; and the identification generation unit is used for taking the random number generated according to the calculation result as a second identification of the second track.
the handwriting synchronization device provided by the embodiment can be used for executing the handwriting synchronization method provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
fig. 5 is a schematic structural diagram of a system for handwriting synchronization according to a fourth embodiment of the present invention. Wherein, the system for handwriting synchronization comprises: a handwriting synchronization device 501, and a synchronization device 502 connected with the handwriting synchronization device 501 through a network.
The number of the handwriting synchronization devices 501 is at least one, and each handwriting synchronization device 501 is connected with the synchronization equipment 502 through a network. Fig. 5 shows only one apparatus 501 for handwriting synchronization.
Specifically, the synchronization device 502 is configured to display a first image, send information of the first image to the handwriting synchronization device 501, determine operation information according to an operation of a user on the first image, send the operation information to the handwriting synchronization device 501, and after the operation is executed to update the first image, if a first trajectory without an identifier exists in the updated first image, create a first identifier for the first trajectory.
the handwriting synchronization apparatus 501 is configured to display a second picture identical to the first picture on the second device according to the information of the first picture, and is further configured to, after the second picture is updated according to the execution operation information, create a second identifier for the second track if there is a second track without the identifier in the updated second picture. The second track is the same as the first track, and the second mark is the same as the first mark.
The system for handwriting synchronization provided by the embodiment can be used for executing the method for handwriting synchronization provided by any embodiment, and has corresponding functions and beneficial effects.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of handwriting synchronization, comprising:
When a first picture is displayed on the synchronous equipment, a second picture is displayed on second equipment, wherein the first picture is the same as the second picture, and the track identification of the track in the first picture is the same as the track identification of the corresponding track in the second picture;
Acquiring operation information of the synchronization equipment on the first picture;
Executing the operation information on the second picture, and updating the second picture according to an execution result;
And if the updated second picture has a second track without an identifier, creating a second identifier of the second track according to an identifier generation method on the synchronization equipment, so that the second identifier is the same as a first identifier created by the synchronization equipment for a corresponding first track in the updated first picture.
2. A method of handwriting synchronization according to claim 1, wherein creating a second identity of said second trace according to an identity generation method on a synchronization device comprises:
acquiring a coordinate set of a second track;
Combining the coordinates in the coordinate set, and expressing a combination result in a coordinate character string form;
And carrying out random calculation on the coordinate character string to obtain a second identifier of a second track.
3. A method of handwriting synchronization according to claim 2 and wherein said combining coordinates in said set of coordinates and said representing the result of said combining in the form of a string of coordinates comprises:
Determining the sum of coordinate values of all coordinate points in the coordinate set;
and combining the coordinates in the coordinate set according to the sorting result of the sum of the coordinate values, and expressing the combination result in a coordinate character string mode.
4. A method of handwriting synchronization according to claim 3, wherein said operational information is track wipe information,
Combining the coordinates in the coordinate set according to the sorting result of the sum of the coordinate values, and after the combining result is expressed in a form of a coordinate character string, the method further comprises the following steps:
And determining the identity of the erased track, and placing the identity of the erased track at the tail end of the coordinate character string.
5. a method of handwriting synchronization according to claim 2 and wherein said randomly computing said string of coordinates to obtain a second identity of a second trace comprises:
Calculating the coordinate character string by using an information-abstract algorithm 5;
And taking the random number generated according to the calculation result as a second identifier of the second track.
6. a device for handwriting synchronization, comprising:
The display module is used for displaying a first picture on the synchronous equipment and displaying a second picture on the second equipment, wherein the first picture is the same as the second picture, and the track identifier of the track in the first picture is the same as the track identifier of the corresponding track in the second picture;
an obtaining module, configured to obtain operation information of the synchronization device on the first picture;
the execution module is used for executing the operation information on the second picture and updating the second picture according to an execution result;
and the identifier creating module is used for creating a second identifier of the second track according to an identifier generating method on the synchronization equipment if the second track without the identifier exists in the updated second picture, so that the second identifier is the same as the first identifier created by the synchronization equipment on the corresponding first track in the updated first picture.
7. Apparatus for handwriting synchronization according to claim 6 and wherein said identity creation module comprises:
The coordinate acquisition submodule is used for acquiring a coordinate set of the second track;
the merging submodule is used for merging the coordinates in the coordinate set and expressing a merging result in a coordinate character string mode;
and the random calculation submodule is used for performing random calculation on the coordinate character string to obtain a second identifier of a second track.
8. Apparatus for handwriting synchronization according to claim 7, characterised in that said merging submodule comprises:
a sum value determination unit for determining the sum of coordinate values of each coordinate point in the coordinate set;
And the merging unit is used for merging the coordinates in the coordinate set according to the sorting result of the sum of the coordinate values and expressing the merging result in a coordinate character string mode.
9. Apparatus for handwriting synchronization according to claim 8 and wherein said operational information is track erasure information,
the merge sub-module is specifically configured to:
And determining the identity of the erased track, and placing the identity of the erased track at the tail end of the coordinate character string.
10. A system for handwriting synchronization, comprising a device for handwriting synchronization according to any one of claims 6 to 9, and a synchronization apparatus connected to said device for handwriting synchronization via a network.
CN201611184585.2A 2016-12-20 2016-12-20 Handwriting synchronization method, device and system Active CN106648391B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611184585.2A CN106648391B (en) 2016-12-20 2016-12-20 Handwriting synchronization method, device and system
PCT/CN2017/103285 WO2018113366A1 (en) 2016-12-20 2017-09-25 Method, device and system for handwriting synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611184585.2A CN106648391B (en) 2016-12-20 2016-12-20 Handwriting synchronization method, device and system

Publications (2)

Publication Number Publication Date
CN106648391A CN106648391A (en) 2017-05-10
CN106648391B true CN106648391B (en) 2019-12-10

Family

ID=58834108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611184585.2A Active CN106648391B (en) 2016-12-20 2016-12-20 Handwriting synchronization method, device and system

Country Status (2)

Country Link
CN (1) CN106648391B (en)
WO (1) WO2018113366A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648391B (en) * 2016-12-20 2019-12-10 广州视源电子科技股份有限公司 Handwriting synchronization method, device and system
CN108595027B (en) * 2018-04-02 2021-03-05 昆山中骏博研互联网科技有限公司 Handwriting image jitter reducing method for digital synchronous pen
CN110096209A (en) * 2019-04-01 2019-08-06 北京新界教育科技有限公司 Handwriting trace display methods and device
CN110851097B (en) * 2019-10-18 2023-09-29 北京字节跳动网络技术有限公司 Control method, device, medium and electronic equipment for consistency of handwriting data
CN112312185A (en) * 2020-11-20 2021-02-02 广州欢网科技有限责任公司 Intelligent drawing method, device, equipment and system
CN112698773B (en) * 2020-12-29 2022-05-06 深圳市康冠商用科技有限公司 Track generation method based on display screen and related components thereof
CN113242455A (en) * 2021-04-16 2021-08-10 深圳市凝趣科技有限公司 Method and system for synchronizing handwriting and video and audio of paper screen
CN113316011B (en) * 2021-05-25 2022-07-29 广州市奥威亚电子科技有限公司 Control method, system, equipment and storage medium of electronic whiteboard system
CN113312017B (en) * 2021-05-25 2023-02-21 广州市奥威亚电子科技有限公司 Terminal handwriting synchronization method, system, equipment and storage medium
CN113608646B (en) * 2021-10-08 2022-01-07 广州文石信息科技有限公司 Method and device for erasing strokes, readable storage medium and electronic equipment
CN115937861B (en) * 2022-11-30 2023-09-08 广东保伦电子股份有限公司 Multi-user synchronous writing identification method and system based on touch screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981793A (en) * 2012-11-22 2013-03-20 Tcl集团股份有限公司 Screen synchronization method and device
CN104571992A (en) * 2014-12-30 2015-04-29 广东威创视讯科技股份有限公司 Simultaneous multi-screen marking method and device
CN105930121A (en) * 2016-04-19 2016-09-07 广州视睿电子科技有限公司 Chirography synchronization method and system of multiple client sides

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110080377A1 (en) * 2009-10-02 2011-04-07 Everett Simons Virtual image feedback for input devices
CN105743949A (en) * 2014-12-11 2016-07-06 厦门雅迅网络股份有限公司 Method for realizing double-screen synchronization between two devices
CN105357207B (en) * 2015-11-19 2019-01-29 广州视睿电子科技有限公司 A kind of synchronous Writing method, mobile terminal, server and system
CN106128194B (en) * 2016-07-11 2019-02-15 西京学院 A kind of method and device that the information of tutoring system is sent
CN106648391B (en) * 2016-12-20 2019-12-10 广州视源电子科技股份有限公司 Handwriting synchronization method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981793A (en) * 2012-11-22 2013-03-20 Tcl集团股份有限公司 Screen synchronization method and device
CN104571992A (en) * 2014-12-30 2015-04-29 广东威创视讯科技股份有限公司 Simultaneous multi-screen marking method and device
CN105930121A (en) * 2016-04-19 2016-09-07 广州视睿电子科技有限公司 Chirography synchronization method and system of multiple client sides

Also Published As

Publication number Publication date
CN106648391A (en) 2017-05-10
WO2018113366A1 (en) 2018-06-28

Similar Documents

Publication Publication Date Title
CN106648391B (en) Handwriting synchronization method, device and system
CN110942031B (en) Game picture abnormality detection method and device, electronic equipment and storage medium
CN109104586B (en) Special effect adding method and device, video call equipment and storage medium
CN108718243B (en) User terminal grouping method, conference server and conference system
US20210295015A1 (en) Method and apparatus for processing information, device, and medium
CN115205925A (en) Expression coefficient determining method and device, electronic equipment and storage medium
CN112163993A (en) Image processing method, device, equipment and storage medium
CN105407313A (en) Video calling method, equipment and system
CN113344776B (en) Image processing method, model training method, device, electronic equipment and medium
CN110445667A (en) A kind of link delay detection method, device, storage medium and terminal
CN110415318B (en) Image processing method and device
CN104717280A (en) Data synchronism marking method and device
CN109816670B (en) Method and apparatus for generating image segmentation model
JP2010026701A (en) Information sharing system
CN104808976B (en) File sharing method
CN112231023A (en) Information display method, device, equipment and storage medium
CN115619904A (en) Image processing method, device and equipment
CN106548501B (en) Image drawing method and device
CN111199519B (en) Method and device for generating special effect package
CN113709584A (en) Video dividing method, device, server, terminal and storage medium
CN114339356B (en) Video recording method, device, equipment and storage medium
CN111565325B (en) Information pushing method and device, server and storage medium
CN113014955B (en) Video frame processing method and device, electronic equipment and computer readable storage medium
CN111738415B (en) Model synchronous updating method and device and electronic equipment
CN107800618B (en) Picture recommendation method and device, terminal and computer-readable storage medium

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