CN109067885A - painting line synchronization system and method - Google Patents
painting line synchronization system and method Download PDFInfo
- Publication number
- CN109067885A CN109067885A CN201810925377.6A CN201810925377A CN109067885A CN 109067885 A CN109067885 A CN 109067885A CN 201810925377 A CN201810925377 A CN 201810925377A CN 109067885 A CN109067885 A CN 109067885A
- Authority
- CN
- China
- Prior art keywords
- action
- action type
- event
- painting line
- operation information
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/403—Arrangements for multi-party communication, e.g. for conferences
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention relates to multimedia technology fields, in order to solve the problems, such as service performance loss in painting line operation, the invention discloses a kind of painting line synchronization system and methods, wherein, painting line synchronization system includes first terminal, second terminal and server, first terminal, the action event generated for sending the operation based on the drawing interface for acting on first terminal, the action event includes operation information and action type;Server broadcasts the operation information according to the action type or stores and broadcast to the operation information for receiving the action event;Second terminal, the operation information for synchronized broadcast.The present invention greatly improves high concurrent write-in bring service performance loss problem.
Description
Technical field
The present invention relates to multimedia technology field, in particular to a kind of painting line synchronization system and method.
Background technique
The present invention belongs to the relevant technologies related to the present invention for the description of background technique, be only used for explanation and just
In understanding summary of the invention of the invention, it should not be construed as applicant and be specifically identified to or estimate applicant being considered of the invention for the first time
The prior art for the applying date filed an application.
With the development of network, provided a great convenience for meeting and give lessons etc..Meeting or equal activities of giving lessons may require that
Interaction, therefore any one end carries out operation and to synchronize.But during existing operation synchronizes, such as the related behaviour of painting line
Make, service performance can be brought to be lost since database manipulation is written in high concurrent.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of painting line synchronization system, main purpose is to reduce high concurrent to write
Enter the problem of bringing.
In order to achieve the above objectives, present invention generally provides following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of painting line synchronization system, including first terminal, second terminal
And server, wherein
First terminal, the action event generated for sending the operation based on the drawing interface for acting on first terminal, institute
Stating action event includes operation information and action type;
Server broadcasts the operation information according to the action type or for receiving the action event to institute
State operation information storage and broadcast;
Second terminal, the operation information for synchronized broadcast.
Second aspect, the embodiment of the invention provides a kind of painting line synchronous method, include the following steps:
First terminal sends the action event that the operation based on the drawing interface for acting on first terminal generates, the operation
Event includes operation information and action type;
Server receives the action event, is broadcasted according to the action type the operation information or to the operation
Message storage and broadcast;
The operation information of second terminal synchronized broadcast.
The third aspect, the embodiment of the invention provides a kind of painting line synchronous terminal, the terminal includes:
Monitoring unit, for monitoring the operation for acting on the drawing interface of the terminal;
Response unit, for responding the operation;
Action event generation unit, for based on the operation generation action event is responded, the action event to include behaviour
Make message and action type;
Transmission unit, for sending the action event, in order to wide to the operation information according to the action type
It broadcasts or the operation information is stored and is broadcasted.
Fourth aspect, the embodiment of the invention provides a kind of painting line synchronous method, include the following steps:
Monitoring acts on the operation of the drawing interface of terminal;
Respond the operation;
Action event is generated based on the operation is responded, the action event includes operation information and action type;
The action event is sent, in order to broadcast according to the action type the operation information or to the operation
Message storage and broadcast.
5th aspect, the embodiment of the invention provides a kind of remote control description sync server, the server includes:
Receiving unit, the action event generated for receiving the operation based on the drawing interface for acting on terminal, operates thing
Part includes operation information and action type;
Action type judging unit, for judging the action type;
Radio unit, for broadcasting the operation information, to synchronize;
Storage unit, for storing corresponding operation message when action type is that the second action type is made.
6th aspect, the embodiment of the invention provides a kind of painting line synchronous method, include the following steps:
Receive based on act on drawing interface operation generate action event, the action event include operation information and
Action type;
The operation information is broadcasted according to the action type or the operation information is stored and is broadcasted.
7th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
The step of sequence, which realizes above-mentioned method when being executed by processor.
Eighth aspect the embodiment of the invention provides a kind of computer equipment, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the processor realize above-mentioned method when executing described program
Step.
Compared with prior art, the beneficial effect of the embodiment of the present invention is:
Painting line synchronization system provided in an embodiment of the present invention is by classifying to operation, according to different operation classes
Type carries out different disposal to operation information and is only broadcasted operation information such as certain action types and be not written into data
Library, and for other some action types, operation information write-in database simultaneously broadcasts the message, to reduce server
Pressure is greatly improved due to high concurrent write-in data bring service performance loss.
Detailed description of the invention
Fig. 1 shows the schematic diagram of an embodiment of painting line synchronization system of the present invention.
Fig. 2 shows the schematic diagrames of an embodiment of painting line synchronous terminal of the present invention.
Fig. 3 shows the flow chart of an embodiment of painting line synchronous terminal of the present invention.
Fig. 4 shows the flow chart of an embodiment of painting line synchronous method of the present invention.
Fig. 5 shows the schematic diagram of an embodiment of painting line sync server of the present invention.
Specific embodiment
Present invention is further described in detail combined with specific embodiments below, but not as a limitation of the invention.?
In following the description, what different " embodiment " or " embodiment " referred to is not necessarily the same embodiment.In addition, one or more are implemented
Special characteristic, structure or feature in example can be combined by any suitable form.
The embodiment of the invention provides a kind of painting line synchronization system, Fig. 1 shows the synchronous system of painting line of the present invention
The schematic diagram of one embodiment of system.Referring to Fig. 1, the painting line synchronization system of the embodiment of the present invention includes first terminal 10,
Two terminals 20 and server 30, wherein
First terminal 10, the action event generated for sending the operation based on the drawing interface for acting on first terminal,
Action event includes operation information and action type;
Server 30 is broadcasted operation information according to action type or is stored to operation information for receiving action event
And broadcast;
Second terminal 20, the operation information for synchronized broadcast.
Painting line synchronization system provided in an embodiment of the present invention is by classifying to operation, according to different operation classes
Type carries out different disposal to operation information and is only broadcasted operation information such as certain action types and be not written into data
Library, to other some action types, operation information write-in database simultaneously broadcasts the message, to reduce the pressure of server
Power is greatly improved due to high concurrent write-in data bring service performance loss.
In the embodiment of the present invention, action type can be divided into two kinds, for example, action type includes the first action type and the
Two action types, server 30 broadcast the operation information of the action event of the first action type, the storage of server 30 and broadcast the
The operation information of the action event of two action types.A part of division of operations is the first action type by the embodiment of the present invention, the
One action type is write-not type, and the type corresponding operation message is only broadcasted without storing, and reduces data write-in, drop
Low server stress greatly improves high concurrent write-in bring service performance loss.Second action type is once-type, with
The type corresponding operation message not only needs broadcast synchronization, but also needs that database is written.
In the embodiment of the present invention, which can be operated according to the actual situation and be divided into the first action type, which operation is drawn
Enter the second action type.For example, the first action type includes the process operation of action event;Second action type includes operation thing
The results operation of part.The data that operating process generates only can store result data without storage.
In the embodiment of the present invention, draw lines be it is lasting, at this time just need constantly transmission data, influence service performance.
The present embodiment setting operation event sends condition, and the action event being only currently generated is completed, and just sends the operation being currently generated
The problem of event reduces action event and sends frequency, realize throttling, further avoids service performance loss.In the present invention
One embodiment in, after the completion of the action event being currently generated, obtain the lines data painted out, and carry out to lines data
The lines of former drawing are deleted in compression, are generated lines according to lines data after compression and are sent the lines, are carried out to the data of lines
Compression, the writing of data when reducing interactive transmission are greatly improved due to height simultaneously to reduce the pressure of server
Hair write-in data bring service performance loss.
First terminal in the embodiment of the present invention is either the terminal that teacher controls, is also possible to the end of student's control
End.
Second aspect, the embodiment of the invention provides a kind of painting line synchronous method, the method for the present embodiment can pass through
Above-mentioned system is realized.Therefore, the declaratives of the above system embodiment can be used for understanding the method for the present invention.The present invention is implemented
The painting line synchronous method of example includes the following steps:
First terminal sends the action event that the operation based on the drawing interface for acting on first terminal generates, action event
Including operation information and action type;
Server receives action event, is broadcasted according to action type operation information or stores and broadcast to operation information;
The operation information of second terminal synchronized broadcast.
Painting line synchronous method provided in an embodiment of the present invention is by classifying to operation, according to different operation classes
Type carries out different disposal to operation information and is only broadcasted operation information such as the first action type and be not written into data
Library is written the second action type and database and broadcasts the message, to reduce the pressure of server, greatly improve due to
The loss of data bring service performance is written in high concurrent.
In the embodiment of the present invention, action type can be divided into two kinds, for example, action type includes the first action type and the
Two action types, server 30 broadcast the operation information of the action event of the first action type, the storage of server 30 and broadcast the
The operation information of the action event of two action types.A part of division of operations is the first action type by the embodiment of the present invention, right
The operation information of the type is only broadcasted without storing, and is reduced data write-in, is reduced server stress, greatly improve high concurrent
The loss of bring service performance is written.
In the embodiment of the present invention, which can be operated according to the actual situation and be divided into the first action type, which operation is drawn
Enter the second action type.For example, the first action type includes the process operation of action event;Second action type includes operation thing
The results operation of part.The data that operating process generates only can store result data without storage.
In the embodiment of the present invention, draw lines be it is lasting, at this time just need constantly transmission data, influence service performance.
The present embodiment setting operation event sends condition, and the action event that the action event being only currently generated is sent with upper one is complete
At the action event that just transmission is currently generated reduces action event and sends frequency, realizes throttling, further avoid service
The problem of performance is lost.In one embodiment of the invention, after the completion of the action event being currently generated, the line painted out is obtained
Data, and lines data are compressed, the lines of former drawing are deleted, lines is generated according to lines data after compression and sends
The lines compress the data of lines, the writing of data when reducing interactive transmission, to reduce server
Pressure is greatly improved due to high concurrent write-in data bring service performance loss.
The third aspect, the embodiment of the invention provides a kind of painting line synchronous terminals, and Fig. 2 shows drawing lines of the present invention
The schematic diagram of one embodiment of synchronous terminal, referring to fig. 2, the painting line synchronous terminal of the embodiment of the present invention includes:
Monitoring unit 11, for monitoring the operation for acting on the drawing interface of terminal;
Response unit 12, for responding operation;
Action event generation unit 13, for generating action event based on response operation, action event includes operation information
And action type;
Transmission unit 14, for sending action event, in order to be broadcasted according to action type operation information or to operation
Message storage and broadcast.
Painting line synchronous terminal provided in an embodiment of the present invention is by classifying to operation, in the action event of transmission
Including action type information, in order to carry out different disposal to operation information according to different action types, such as only to operation
Message is broadcasted and is not written into database, and database is written to operation information and broadcasts the message, due to will part with
Action type corresponding operation message reduces the pressure of server without write-in, greatly improves due to high concurrent
The loss of data bring service performance is written.
In the embodiment of the present invention, action type can be divided into two kinds, for example, action type includes the first action type and the
Two action types broadcast the operation information of the action event of the first action type, the operation of the second action type of storage and broadcast
The operation information of event.A part of division of operations is the first action type by the embodiment of the present invention, in order to the behaviour to the type
Make message only to broadcast without storing, reduce data write-in, reduce server stress, greatly improves high concurrent write-in bring
Service performance loss.
In the embodiment of the present invention, which can be operated according to the actual situation and be divided into the first action type, which operation is drawn
Enter the second action type.For example, the first action type includes the process operation of action event;Second action type includes operation thing
The results operation of part.The data that operating process generates only can store result data without storage.
In the embodiment of the present invention, draw lines be it is lasting, at this time just need constantly transmission data, influence service performance.
Fig. 3 shows the flow chart of an embodiment of painting line synchronous terminal of the present invention.Referring to Fig. 3, one embodiment of the present of invention
In, which further includes judging unit 15, and judging unit 15 judges the event that the action event generated is operated based on painting line
Whether complete, the action event being only currently generated and the action event of upper one transmission are completed, and the behaviour being currently generated just is sent
The problem of making event, reducing action event and send frequency, realize throttling, further avoid service performance loss.In this hair
In bright one embodiment, after the completion of the action event being currently generated, obtain the lines data painted out, and to lines data into
The lines of former drawing are deleted in row compression, are generated lines according to lines data after compression and are sent the lines, to the data of lines into
Row compression, the writing of data when reducing interactive transmission greatly improve to reduce the pressure of server due to height
Concurrently write-in data bring service performance loss.
Fourth aspect, the embodiment of the invention provides a kind of painting line synchronous method, the method for the present embodiment can pass through
The terminal of above-mentioned any embodiment realizes that Fig. 4 shows the process of an embodiment of painting line synchronous method of the present invention
Figure, referring to fig. 4, the painting line synchronous method of the embodiment of the present invention includes the following steps:
Monitoring acts on the operation of the drawing interface of terminal;
Respond the operation monitored;
It is operated based on response and generates action event, action event includes operation information and action type;
Action event is sent, in order to broadcast according to action type operation information or operation information is stored and broadcasted.
Painting line synchronous terminal provided in an embodiment of the present invention is by classifying to operation, in the action event of transmission
Including action type information, in order to carry out different disposal to operation information according to different action types, such as only to operation
Message is broadcasted and is not written into database, and database is written to operation information and broadcasts the message, due to will be with part
Action type corresponding operation message reduces the pressure of server without write-in, greatly improves due to high concurrent
The loss of data bring service performance is written.
In the embodiment of the present invention, action type can be divided into two kinds, for example, action type includes the first action type and the
Two action types broadcast the operation information of the action event of the first action type, the operation of the second action type of storage and broadcast
The operation information of event.A part of division of operations is the first action type by the embodiment of the present invention, in order to the behaviour to the type
Make message only to broadcast without storing, reduce data write-in, reduce server stress, greatly improves high concurrent write-in bring
Service performance loss.
In the embodiment of the present invention, which can be operated according to the actual situation and be divided into the first action type, which operation is drawn
Enter the second action type.For example, the first action type includes the process operation of action event;Second action type includes operation thing
The results operation of part.The data that operating process generates only can store result data without storage.
In the embodiment of the present invention, draw lines be it is lasting, at this time just need constantly transmission data, influence service performance.
The present embodiment setting operation event sends condition, and the action event being only currently generated is complete with the action event of upper one transmission
At the action event that just transmission is currently generated reduces action event and sends frequency, realizes throttling, further avoid service
The problem of performance is lost.In one embodiment of the invention, after the completion of the action event being currently generated, the line painted out is obtained
Data, and lines data are compressed, the lines of former drawing are deleted, lines is generated according to lines data after compression and sends
The lines compress the data of lines, the writing of data when reducing interactive transmission, to reduce server
Pressure is greatly improved due to high concurrent write-in data bring service performance loss.
5th aspect, the embodiment of the invention provides a kind of painting line sync server, Fig. 5 shows drawing of the present invention
The flow chart of one embodiment of lines sync server, referring to Fig. 5, the server of the embodiment of the present invention includes:
Receiving unit 31, the action event generated for receiving the operation based on the drawing interface for acting on terminal, operation
Event includes operation information and action type;
Action type judging unit 32, for judging action type;
Radio unit 33 is used for broadcast operation message, to synchronize;
Storage unit 34, for storing corresponding operation message when action type is that the second action type is made.
Painting line sync server provided in an embodiment of the present invention carries out operation information according to different action types
Different disposal, such as only operation information is broadcasted and is not written into database, and database and wide is written to operation information
The message is broadcast, due to without write-in, thus reducing the pressure of server, greatly improving due to height part operation type
Concurrently write-in data bring service performance loss.
In the embodiment of the present invention, action type can be divided into two kinds, for example, action type includes the first action type and the
Two action types, server 30 broadcast the operation information of the action event of the first action type, the storage of server 30 and broadcast the
The operation information of the action event of two action types.A part of division of operations is the first action type by the embodiment of the present invention, right
The operation information of the type is only broadcasted without storing, and is reduced data write-in, is reduced server stress, greatly improve high concurrent
The loss of bring service performance is written.
6th aspect, the embodiment of the invention provides a kind of painting line synchronous method, include the following steps:
The action event generated based on the operation for acting on drawing interface is received, action event includes operation information and operation
Type;
Operation information is broadcasted according to action type or operation information is stored and is broadcasted.
Painting line sync server provided in an embodiment of the present invention carries out operation information according to different action types
Different disposal, such as only operation information is broadcasted and is not written into database, and database and wide is written to operation information
The message is broadcast, since thus the pressure of server will be reduced with part operation type corresponding operation message without write-in,
It greatly improves due to high concurrent write-in data bring service performance loss.
In the embodiment of the present invention, action type can be divided into two kinds, for example, action type includes the first action type and the
Two action types, server 30 broadcast the operation information of the action event of the first action type, the storage of server 30 and broadcast the
The operation information of the action event of two action types.A part of division of operations is the first action type by the embodiment of the present invention, right
The operation information of the type is only broadcasted without storing, and is reduced data write-in, is reduced server stress, greatly improve high concurrent
The loss of bring service performance is written.
In the embodiment of the present invention, specific operation without limitation, can be according to whether there is or not write-ins to synchronize.Wherein, one
In a embodiment,
7th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
The step of sequence, which realizes above-mentioned method when being executed by processor.
Eighth aspect the embodiment of the invention provides a kind of computer equipment, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the processor realize above-mentioned method when executing described program
Step.
Those skilled in the art can be understood that the embodiment of the present invention technical solution can by software and/or
Hardware is realized." unit " or " module " in this specification is to refer to complete independently or complete with other component cooperation specific
The software and/or hardware of function, wherein hardware for example can be FPGA, and (Field-Programmable Gate Array shows
Field programmable gate array), IC (Integrated Circuit, integrated circuit) etc..
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey
The step of any of the above-described embodiment method is realized when sequence is executed by processor.Wherein, computer readable storage medium may include
But be not limited to any kind of disk, including floppy disk, CD, DVD, CD-ROM, mini drive and magneto-optic disk, ROM, RAM,
EPROM, EEPROM, DRAM, VRAM, flash memory device, magnetic or optical card, nanosystems (including molecular memory IC),
Or it is suitable for any kind of medium or equipment of store instruction and/or data.
The embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, the step of realizing any of the above-described embodiment method when processor executes program.
In embodiments of the present invention, processor is the control centre of computer system, can be the processor of physical machine, is also possible to void
The processor of quasi- machine.
In the present invention, term " first ", " second " etc. are only used for the purpose of description, are not understood to indicate or imply
Relative importance or sequence;Term " multiple " then refers to two or more, unless otherwise restricted clearly.Term " installation ",
The terms such as " connected ", " connection ", " fixation " shall be understood in a broad sense, for example, " connection " may be a fixed connection, being also possible to can
Dismantling connection, or be integrally connected;" connected " can be directly connected, can also be indirectly connected through an intermediary.For this
For the those of ordinary skill in field, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In description of the invention, it is to be understood that the orientation or positional relationship of the instructions such as term " on ", "lower" be based on
Orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than indication or suggestion institute
The device or unit of finger must have specific direction, be constructed and operated in a specific orientation, it is thus impossible to be interpreted as to this hair
Bright limitation.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (28)
1. a kind of painting line synchronization system, including first terminal, second terminal and server, wherein
First terminal, the action event generated for sending the operation based on the drawing interface for acting on first terminal, the behaviour
It include operation information and action type as event;
Server broadcasts the operation information according to the action type or for receiving the action event to the behaviour
Make message storage and broadcast;
Second terminal, the operation information for synchronized broadcast.
2. painting line synchronization system according to claim 1, which is characterized in that the action type includes the first operation
Type and the second action type, the operation information of the action event of the first action type described in the server broadcast, the clothes
Business device stores and broadcasts the operation information of the action event of second action type.
3. painting line synchronization system according to claim 2, which is characterized in that first action type includes described
The process of action event operates;Second action type includes the results operation of the action event.
4. painting line synchronization system according to claim 2, which is characterized in that the action event of painting line is completed
Afterwards, first terminal transmission is currently generated lines.
5. painting line synchronization system according to claim 4, which is characterized in that the action event of painting line is completed
Afterwards, first terminal obtains the lines data painted out, and compresses to lines data, the lines of former drawing is deleted, according to pressure
Lines data generate lines and send the lines after contracting.
6. a kind of painting line synchronous method, includes the following steps:
First terminal sends the action event that the operation based on the drawing interface for acting on first terminal generates, the action event
Including operation information and action type;
Server receives the action event, is broadcasted according to the action type the operation information or to the operation information
Storage and broadcast;
The operation information of second terminal synchronized broadcast.
7. painting line synchronous method according to claim 6, which is characterized in that the action type includes the first operation
Type and the second action type, the operation information of the action event of the first action type described in the server broadcast, the clothes
Business device stores and broadcasts the operation information of the action event of second action type.
8. painting line synchronous method according to claim 7, which is characterized in that first action type includes described
The process of action event operates;Second action type includes the results operation of the action event.
9. painting line synchronous method according to claim 7, which is characterized in that the action event of painting line is completed
Afterwards, first terminal sends the lines being currently generated.
10. painting line synchronous method according to claim 7, which is characterized in that the action event of painting line is completed
Afterwards, first terminal obtains the lines data painted out, and compresses to lines data, the lines of former drawing is deleted, according to pressure
Lines data generate lines and send the lines after contracting.
11. a kind of painting line synchronous terminal, the terminal include:
Monitoring unit, for monitoring the operation for acting on the drawing interface of the terminal;
Response unit, for responding the operation;
Action event generation unit, for based on the operation generation action event is responded, the action event to include that operation disappears
Breath and action type;
Transmission unit, for sending the action event, in order to being broadcasted according to the action type the operation information or
The operation information is stored and is broadcasted.
12. painting line synchronous terminal according to claim 11, which is characterized in that the action type includes the first behaviour
Make type and the second action type, broadcast the operation information of the action event of first action type, described in storage and broadcast
The operation information of the action event of second action type.
13. painting line synchronous terminal according to claim 12, which is characterized in that first action type includes institute
State the process operation of action event;Second action type includes the results operation of the action event.
14. painting line synchronous terminal according to claim 12, which is characterized in that it further include judging unit, it is described to sentence
Whether disconnected unit judges are completed based on the event for the action event that painting line operation generates, if the operation thing of current drawing lines
Part is completed, and the lines being currently generated are sent.
15. painting line synchronous terminal according to claim 14, which is characterized in that it further include judging unit, it is described to sentence
Whether disconnected unit judges are completed based on the event for the action event that painting line operation generates, if the operation thing of current drawing lines
Part is completed, and obtains the lines data painted out, and compress to lines data, the lines of former drawing is deleted, after compression
Lines data generate lines and send the lines.
16. a kind of painting line synchronous method, includes the following steps:
Monitoring acts on the operation of the drawing interface of terminal;
Respond the operation;
Action event is generated based on the operation is responded, the action event includes operation information and action type;
The action event is sent, in order to broadcast according to the action type the operation information or to the operation information
Storage and broadcast.
17. painting line synchronous method according to claim 16, which is characterized in that the action type includes the first behaviour
Make type and the second action type, the operation information of the action event of the first action type described in the server broadcast is described
Server stores and broadcasts the operation information of the action event of second action type.
18. painting line synchronous method according to claim 17, which is characterized in that first action type includes institute
State the process operation of action event;Second action type includes the results operation of the action event.
19. painting line synchronous method according to claim 17, which is characterized in that judgement is based on painting line operation life
At the time interval of action event whether complete, if the action event of current drawing lines is completed, send the line being currently generated
Item.
20. painting line synchronous method according to claim 19, which is characterized in that judgement is based on painting line operation life
At the time interval of action event whether complete, if the action event of current drawing lines is completed, obtain the lines painted out
Data, and lines data are compressed, the lines of former drawing are deleted, lines is generated according to lines data after compression and transmission should
Lines.
21. a kind of painting line synchronous terminal, comprising:
Receiving unit, the action event generated for receiving the operation based on the drawing interface for acting on terminal, action event packet
Include operation information and action type;
Action type judging unit, for judging the action type;
Radio unit, for broadcasting the operation information, to synchronize;
Storage unit, for storing corresponding operation message when action type is that the second action type is made.
22. painting line synchronous terminal according to claim 21, which is characterized in that the action type includes the first behaviour
Make type and the second action type, the operation information of the action event of the first action type described in the server broadcast is described
Server stores and broadcasts the operation information of the action event of second action type.
23. painting line synchronous terminal according to claim 22, which is characterized in that first action type includes institute
State the process operation of action event;Second action type includes the results operation of the action event.
24. a kind of painting line synchronous method, includes the following steps:
The action event generated based on the operation for acting on drawing interface is received, the action event includes operation information and operation
Type;
The operation information is broadcasted according to the action type or the operation information is stored and is broadcasted.
25. painting line synchronous method according to claim 24, which is characterized in that the action type includes the first behaviour
Make type and the second action type, the operation information of the action event of the first action type described in the server broadcast is described
Server stores and broadcasts the operation information of the action event of second action type.
26. painting line synchronous method according to claim 25, which is characterized in that first action type includes institute
State the process operation of action event;Second action type includes the results operation of the action event.
27. a kind of computer readable storage medium, is stored thereon with computer program, power is realized when which is executed by processor
Benefit requires the step of any one of 6-10,16-20,24-26 the method.
28. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, the processor realize any one of claim 6-10,16-20,24-26 the method when executing described program
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810925377.6A CN109067885B (en) | 2018-08-14 | 2018-08-14 | Drawing line synchronization system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810925377.6A CN109067885B (en) | 2018-08-14 | 2018-08-14 | Drawing line synchronization system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067885A true CN109067885A (en) | 2018-12-21 |
CN109067885B CN109067885B (en) | 2021-09-17 |
Family
ID=64683978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810925377.6A Active CN109067885B (en) | 2018-08-14 | 2018-08-14 | Drawing line synchronization system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067885B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020034652A1 (en) * | 2018-08-14 | 2020-02-20 | 北京大米科技有限公司 | System and method for synchronizing user interface, terminal, and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164256A (en) * | 2011-12-08 | 2013-06-19 | 深圳市快播科技有限公司 | Processing method and system capable of achieving one machine supporting high concurrency |
CN103188334A (en) * | 2011-12-30 | 2013-07-03 | 宏碁股份有限公司 | Synchronizing system and method thereof |
US20140300537A1 (en) * | 2013-04-08 | 2014-10-09 | Jani Turkia | Device Relay Control System and Method |
CN105069142A (en) * | 2015-08-18 | 2015-11-18 | 山大地纬软件股份有限公司 | System and method for extraction, transformation and distribution of data increments |
CN106375296A (en) * | 2016-08-30 | 2017-02-01 | 杭州施强教育科技有限公司 | Multimedia courseware teaching live broadcast method |
CN108156502A (en) * | 2018-01-05 | 2018-06-12 | 创盛视联数码科技(北京)有限公司 | A kind of method for improving paintbrush and word net cast synchronism |
-
2018
- 2018-08-14 CN CN201810925377.6A patent/CN109067885B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164256A (en) * | 2011-12-08 | 2013-06-19 | 深圳市快播科技有限公司 | Processing method and system capable of achieving one machine supporting high concurrency |
CN103188334A (en) * | 2011-12-30 | 2013-07-03 | 宏碁股份有限公司 | Synchronizing system and method thereof |
US20140300537A1 (en) * | 2013-04-08 | 2014-10-09 | Jani Turkia | Device Relay Control System and Method |
CN105069142A (en) * | 2015-08-18 | 2015-11-18 | 山大地纬软件股份有限公司 | System and method for extraction, transformation and distribution of data increments |
CN106375296A (en) * | 2016-08-30 | 2017-02-01 | 杭州施强教育科技有限公司 | Multimedia courseware teaching live broadcast method |
CN108156502A (en) * | 2018-01-05 | 2018-06-12 | 创盛视联数码科技(北京)有限公司 | A kind of method for improving paintbrush and word net cast synchronism |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020034652A1 (en) * | 2018-08-14 | 2020-02-20 | 北京大米科技有限公司 | System and method for synchronizing user interface, terminal, and server |
Also Published As
Publication number | Publication date |
---|---|
CN109067885B (en) | 2021-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542865B (en) | Method, device, system and medium for synchronizing configuration files of distributed cluster system | |
CN112597249B (en) | Synchronous distribution storage method and system for service data | |
CN103838226A (en) | Trouble locating device and method for control and monitoring system of railway vehicle | |
KR20080052341A (en) | Automatic-testing system and method for embedded system software and test scenario composing method | |
CN109067885A (en) | painting line synchronization system and method | |
CN109240780A (en) | Audio operation contents synchronization system and method | |
CN111651320A (en) | High-concurrency connection method and system | |
CN101387949A (en) | Customer terminal interface display method and system for emergency system | |
CN110704148A (en) | Method and device for acquiring device page elements, server and storage medium | |
CN108111921B (en) | A kind of barrage processing method, electronic equipment and computer readable storage medium | |
CN106200804A (en) | The display packing of intelligent terminal and system | |
CN109167821A (en) | A kind of system and method that remote control description is synchronous | |
CN106777755B (en) | Verification device and system for spacer layer locking logic | |
CN109246196A (en) | Remote control description synchronization system and method | |
CN109257414A (en) | Clear screen synchronization system and method | |
CN109032452A (en) | Page operation contents synchronization system and method | |
CN109117287A (en) | Match selection operation content synchronization system and method | |
CN202956664U (en) | Trouble locating device of rail vehicle control and monitor system | |
CN109032451A (en) | Picture library operation content synchronization system and method | |
CN115412597A (en) | Real-time data communication method | |
CN110061893A (en) | A kind of fault information acquisition method, server and storage medium | |
CN112217712A (en) | Message multi-terminal synchronization method and client | |
CN109286658A (en) | Remote Selection operates synchronization system, method, equipment and storage medium | |
CN109284158A (en) | Long-range drag operation contents synchronization system, method, equipment and storage medium | |
CN113746931A (en) | Data synchronization method and device |
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 |