CN109150992A - Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android - Google Patents
Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android Download PDFInfo
- Publication number
- CN109150992A CN109150992A CN201810851414.3A CN201810851414A CN109150992A CN 109150992 A CN109150992 A CN 109150992A CN 201810851414 A CN201810851414 A CN 201810851414A CN 109150992 A CN109150992 A CN 109150992A
- Authority
- CN
- China
- Prior art keywords
- android
- synchronization
- mapping operation
- class
- paintbrush
- 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.)
- Pending
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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Abstract
The invention discloses a kind of synchronization drawing practice based on Android, the synchronization drawing practice based on Android includes: when detecting that target application has mapping operation, and source Android device calls default object to store the pictorial information that class records the mapping operation;Class is stored according to the default object for having recorded the pictorial information, the default object is stored into class formation sequence object;By the generated serializing object transfer to corresponding target Android device, so that the pictorial information of mapping operation described in the serializing object synchronization is called in target Android device application.The invention also discloses a kind of synchronization plotting unit, readable storage medium storing program for executing and system based on Android.The present invention is by the mapping operation that need to be synchronized with formation sequence object after default storage object class wrapper, and pass through serializing transmission mode transmission, picture transfer efficiency can be improved to transmit the track data of serializing in transmission process, and then realize the beneficial effect for improving mapping operation synchronous efficiency.
Description
Technical field
The present invention relates to software application technology field more particularly to a kind of synchronization drawing practice based on Android, it is based on
Synchronization plotting unit, readable storage medium storing program for executing and the system of Android.
Background technique
The prior art encounters synchronous efficiency when developing a function and being synchronous app (computer applied algorithm) drawn
Lower problem, which includes that A-Android equipment is connected with B-Android equipment by the app, in A-Android
It draws in equipment, simultaneous display is in B-Android equipment, and vice versa.
The existing method of synchronization is after mapping operation each time, by the image data overall transfer of drawing to connection
On app, and in practical applications, if the Android platform configuration of equipment where app is too low, using such method of synchronization
Synchronous efficiency it is lower, draw data tends not to be synchronized to equipment where other app in time, and android virtual machine is silent
Recognizing does not allow the EMS memory occupation of a certain picture to be more than 8m (memory size unit), because its storehouse default only has 8m, adopts
It is also possible to cause stack overflow that app is caused to exit extremely with the mode of direct transmission picture.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of synchronization drawing practice based on Android, it is intended to solve existing skill
In art in synchronous mapping operation, as the Android platform system configuration of Android device it is low caused by draw simultaneously operating
The technical issues of low efficiency.
To achieve the above object, the present invention provides a kind of synchronization drawing practice based on Android, including the following contents:
When detecting that target application has mapping operation, source Android device is called described in default object storage class record
The pictorial information of mapping operation;
Class is stored according to the default object for having recorded the pictorial information, the default object is stored into class formation sequence
Object;
By the generated serializing object transfer to corresponding target Android device, so that the target
The pictorial information of mapping operation described in the serializing object synchronization is called in Android device application.
Preferably, described when detecting that target application has mapping operation, source Android device calls default object storage
Class records the step of pictorial information of the mapping operation, comprising:
Extract the paintbrush information and paintbrush sequence of the pictorial information;
The paintbrush information is recorded with the type of foundation of the default object storage class, and stores class in the default object
Preset function in add the paintbrush information paintbrush sequence.
Preferably, the source Android device calls default object to store the pictorial information that class records the mapping operation
The step of after, further includes:
After detecting the operation of the mapping operation, the default object for the mapping operation that will have been recorded is executed
The step of storing class formation sequence object.
Preferably, described by the generated serializing object transfer to corresponding target Android device, so that institute
After stating the step of pictorial information of mapping operation described in the serializing object synchronization is called in the application of target Android device,
Further include:
When receiving the serializing object of source Android device transmission, the serializing object is reduced to default pair
As storing class;
The pictorial information of the default object storage class storage is plotted in current painting canvas to synchronize the mapping operation
Pictorial information.
Preferably, it is described to synchronize to be plotted in current painting canvas for the pictorial information by the default object storage class storage
The step of pictorial information of mapping operation, comprising:
The paintbrush information of the default object storage class type of foundation is extracted, and calls the pre- of the default object storage class
If function restores the paintbrush sequence of the paintbrush information;
The paintbrush information is plotted in current painting canvas with the paintbrush sequence.
Preferably, described when detecting that target application has mapping operation, it calls and is drawn described in default object storage class record
Before the step of pictorial information of graphic operation, further includes:
The default object storage class is defined, and constructs the type of foundation and preset function of the default object storage class.
In addition, to achieve the above object, the present invention also provides a kind of synchronization plotting unit based on Android, the base
Include: memory, processor in the synchronization plotting unit of Android and is stored on the memory and can be in the processor
The computer program of upper operation is realized when the computer program is executed by the processor as described above based on Android's
The step of synchronous drawing practice.
The present invention also provides a kind of readable storage medium storing program for executing, it is stored on the readable storage medium storing program for executing based on the same of Android
Drawing application program is walked, the synchronization drawing application program based on Android realizes base as described above when being executed by processor
In the synchronization drawing practice of Android the step of.
The present invention also provides a kind of synchronization drafting system based on Android, the synchronous system that draws based on Android
System realizes the step of synchronization drawing practice based on Android as described above when being executed.
A kind of synchronization drawing practice based on Android that the embodiment of the present invention proposes is detecting that target application draws
When graphic operation, source Android device calls default object to store the pictorial information that class records the mapping operation;According to having recorded
The default object of the pictorial information stores class, and the default object is stored class formation sequence object;By generated institute
Serializing object transfer is stated to corresponding target Android device, so that the sequence is called in target Android device application
The pictorial information of mapping operation described in columnization object synchronization.By the mapping operation that need to be synchronized with shape after default storage object class wrapper
It, can be with the track data for transmitting serializing in transmission process at serializing object, and by serializing transmission mode transmission
Picture transfer efficiency is improved, and then realizes the beneficial effect for improving mapping operation synchronous efficiency.
Detailed description of the invention
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to Android device apparatus structure schematic diagram;
Fig. 2 is that the present invention is based on the flow diagrams of the synchronization drawing practice first embodiment of Android;
Fig. 3 is that the present invention is based on the flow diagrams of the synchronization drawing practice second embodiment of Android.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting that target application has mapping operation, source Android is set
The standby pictorial information for calling default object storage class to record the mapping operation;According to having recorded default pair of the pictorial information
As storing class, the default object is stored into class formation sequence object;By the generated serializing object transfer to right
The target Android device answered is drawn described in the serializing object synchronization so that target Android device application is called
The pictorial information of operation.
Since the prior art is when drawing synchronous, using in the image data overall transfer to the app of connection that will be drawn
Mode realizes that drawing synchronizes, in practical applications, if the Android platform configuration of Android device where app is too low,
Synchronous efficiency using such method of synchronization is lower, and draw data tends not to Android where being synchronized to other app in time and sets
It is standby, influence the synchronous efficiency of mapping operation.
The present invention provides a solution, by the mapping operation that need to be synchronized to form sequence after default storage object class wrapper
Columnization object, and by serializing transmission mode transmission, it can be improved in transmission process with the track data for transmitting serializing
Picture transfer efficiency, and then realize the beneficial effect for improving mapping operation synchronous efficiency.
As shown in Figure 1, the Android device structure that Fig. 1 is the hardware running environment that the embodiment of the present invention is related to is shown
It is intended to.
Android device of the embodiment of the present invention can be smart television, be also possible to PC, smart phone, tablet computer, electricity
Philosophical works reader, portable computer etc. have packaged type/irremovable formula terminal of display function and application android system
Equipment.As shown in Figure 1, the Android device 100 includes: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.
It will be understood by those skilled in the art that Android device structure shown in Fig. 1 is not constituted and is set to Android
Standby restriction may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and the synchronization drawing application program based on Android.
In Android device shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with backstage
Business device carries out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;
And processor 1001 can be used for calling the synchronization drawing application program based on Android stored in memory 1005, and hold
The following operation of row:
When detecting that target application has mapping operation, source Android device is called described in default object storage class record
The pictorial information of mapping operation;
Class is stored according to the default object for having recorded the pictorial information, the default object is stored into class formation sequence
Object;
By the generated serializing object transfer to corresponding target Android device, so that the target
The pictorial information of mapping operation described in the serializing object synchronization is called in Android device application.
Further, processor 1001 can call synchronous draw based on Android stored in memory 1005 to answer
With program, following operation is also executed:
Extract the paintbrush information and paintbrush sequence of the pictorial information;
The paintbrush information is recorded with the type of foundation of the default object storage class, and stores class in the default object
Preset function in add the paintbrush information paintbrush sequence.
Further, processor 1001 can call synchronous draw based on Android stored in memory 1005 to answer
With program, following operation is also executed:
After detecting the operation of the mapping operation, the default object for the mapping operation that will have been recorded is executed
The step of storing class formation sequence object.
Further, processor 1001 can call synchronous draw based on Android stored in memory 1005 to answer
With program, following operation is also executed:
When receiving the serializing object of source Android device transmission, the serializing object is reduced to default pair
As storing class;
The pictorial information of the default object storage class storage is plotted in current painting canvas to synchronize the mapping operation
Pictorial information.
Further, processor 1001 can call synchronous draw based on Android stored in memory 1005 to answer
With program, following operation is also executed:
The paintbrush information of the default object storage class type of foundation is extracted, and calls the pre- of the default object storage class
If function restores the paintbrush sequence of the paintbrush information;
The paintbrush information is plotted in current painting canvas with the paintbrush sequence.
Further, processor 1001 can call synchronous draw based on Android stored in memory 1005 to answer
With program, following operation is also executed:
The default object storage class is defined, and constructs the type of foundation and preset function of the default object storage class.
It is that the present invention is based on the flow diagram of the synchronization drawing practice first embodiment of Android, institutes referring to Fig. 2, Fig. 2
Stating the synchronization drawing practice based on Android includes:
Step S10, when detecting that target application has mapping operation, source Android device calls default object to store class
Record the pictorial information of the mapping operation;
Based on the target application of current source Android device, confirming that the target application is drawing application and described draws
Figure application is when having synchronisation requirement, detects whether the source Android device with target Android device has realized that equipment is connect,
And whether the synchronous applications of the source Android device and the target Android device have data transmission relations, wherein
In the methods of the invention, involved Android device includes the Android device using android system, such as intelligently
The Android devices such as mobile phone, smart television.It is connect in the confirmation source Android device with the target Android device,
And the synchronous applications of the drawing application of the source Android device and the target Android device have data transmission relations
When, execute the drawing simultaneously operating of the method for the present invention.Detection is based on the source Android device under current sync connection status
The mapping operation of target application, the mapping operation include being compiled on the painting canvas of the drawing application using the picture that paintbrush carries out
The paintbrush operation collecting, is newly-increased, deleting.When detecting that the target application currently has mapping operation, default object storage is called
Class records the pictorial information of the target application mapping operation.The default object storage class is to have constructed based on storage drawing
The method class of object, it is therefore, described when detecting that target application has mapping operation, it calls described in default object storage class record
Before the step of pictorial information of mapping operation, further includes:
The default object storage class is defined, and constructs the type of foundation and preset function of the default object storage class.
Based on current equipment drawing synchronisation requirement, inherits the route of existing path type and draw operating function, building
It is applied to the source Android device default object storage class synchronous with the target Android device drawing.Described pre-
If object stores in class, type of foundation and preset function are constructed, the type of foundation is used to record the paintbrush letter of drawing operation
Breath (draw lines, draw a circle, draws a little etc.), the preset function are used to record the paintbrush of the paintbrush sequentially, in realization, pass through calling
The paintbrush sequence of the preset function reduction mapping operation.
Wherein, the pictorial information is in preservation to the default object storage class, i.e., described to detect target application
When having mapping operation, source Android device calls default object to store the step of class records the pictorial information of the mapping operation,
Include:
Extract the paintbrush information and paintbrush sequence of the pictorial information;
The paintbrush information is recorded with the type of foundation of the default object storage class, and stores class in the default object
Preset function in add the paintbrush information paintbrush sequence.
It, in the default object storage class, is obtained by the present figure operation note of source Android device target application
The pictorial information of the mapping operation is taken, and extracts in the pictorial information paintbrush information of the mapping operation and is based on
The paintbrush sequence of the paintbrush information states the content of paintbrush track and start writing sequence of the paintbrush in drawing.Meanwhile it applying
The paintbrush information for the pictorial information that the type of foundation record of default object storage class extracts, it is corresponding, by what is extracted
Paintbrush sequence based on the paintbrush information is added in the preset function of the default object storage class.Wherein, the basis
Type is a part in the default object storage class, for storing paintbrush information.While recording the paintbrush information,
The paintbrush sequence of the paintbrush information is added to the preset function of the default object storage class.To guarantee that data record is same
Step, the preset function are synchronous realize with the operation of the record of the type of foundation.
Step S20 stores class according to the default object for having recorded the pictorial information, and the default object storage class is raw
At serializing object;
Class is stored the default object is recorded in the pictorial information of source Android device target application mapping operation
Afterwards, the default object for having recorded the drawing factor and drawing object is stored into class formation sequence object, the serializing pair
As being the data object of existing serializing, the operation of the serializing includes being converted to the status information of object to deposit
The process of the form of storage or transmission.During serializing, its current state is written to interim or persistent storage area by object.With
Afterwards, which can be re-created by the state of reading or unserializing object from memory block.It serializes object and generates
Mode is existing serializing object constructing technology, not described here any more.Based on generated serializing object, wherein described
In serializing object generation, refers to the pictorial information serializing object of present single mapping operation, and application mode is that raising drawing is synchronous
Instantaneity.Therefore, when the pictorial information of mapping operation is recorded in the default object storage class, to guarantee the source
Android device is synchronous with the drawing of the target Android device immediately, using the simultaneously operating of single mapping operation, i.e.,
After the step of source Android device calls default object storage class to record the pictorial information of the mapping operation, also wrap
It includes:
After detecting the operation of the mapping operation, the default object for the mapping operation that will have been recorded is executed
The step of storing class formation sequence object.
In the operating process of source Android device target application mapping operation, detecting that the mapping operation terminates
Afterwards, the pictorial information of class minute book secondary source Android device target application mapping operation is stored by presetting object.Such application
Mode is to avoid the pictorial information data of single mapping operation excessive, records drawing for the mapping operation in default object storage class
When figure information, influences record efficiency and then influence synchronous efficiency.Wherein, the mode that the operation of mapping operation terminates is detected, can be led to
The data volume spent the Define Brush dead time or count the pictorial information of this drawing operation realizes the behaviour of confirmation mapping operation
Whether terminate.When the mode that the operation for defining mapping operation terminates is the paintbrush dead time, can set greater than preset time
The paintbrush dead time be that the operation of this mapping operation terminates, after confirming the operation of this drawing operation, execute
The step of default object of the mapping operation recorded is stored into class formation sequence object;It is grasped alternatively, drawing in definition
The mode that the operation of work terminates is when counting the data volume of the pictorial information of this drawing operation, to be operated based on current drawing, system
Count this drawing operate brought by pictorial information data volume size, do not stop and count in confirmation current drawing operation
When the pictorial information data volume of the drawing operation is greater than preset quantity, operated the pictorial information of critical value as this drawing
Synchronous transfer information, execute will record the mapping operation default object storage class formation sequence object step
Suddenly.
Step S30, by the generated serializing object transfer to corresponding target Android device, so that described
The pictorial information of mapping operation described in the serializing object synchronization is called in the application of target Android device.
The pictorial information of source Android device target application drawing operation is recorded in default object storage class, and by institute
State after the pictorial information recorded in default object storage class is converted into serializing object, using existing serializing transmission will described in
Serializing object transfer is to the target Android device connecting with the source Android device, so that the target Android
The synchronous applications of equipment receive the serializing object and call, and the pictorial information of the serializing object is plotted in the mesh
On the painting canvas for marking Android device synchronous applications, the source Android device target application and the target Android are realized
The drawing simultaneously operating of equipment synchronous applications.
In the present embodiment, by the mapping operation that need to be synchronized to preset formation sequence object after storage object class wrapper,
And by serializing transmission mode transmission, picture transfer effect can be improved to transmit the track data of serializing in transmission process
Rate, and then realize the beneficial effect for improving mapping operation synchronous efficiency.
It is based on reference to Fig. 3, Fig. 3 the present invention is based on the flow diagram of the synchronization drawing practice second embodiment of Android
First embodiment described above, it is described by the generated serializing object transfer to corresponding target Android device,
So that the step of pictorial information of mapping operation described in the serializing object synchronization, is called in the target Android device application
Later, further includes:
Step S40 restores the serializing object when receiving the serializing object of source Android device transmission
Class is stored for default object;
The pictorial information of the default object storage class storage is plotted in current painting canvas to synchronize described draw by step S50
The pictorial information of graphic operation.
In the present embodiment, the transmission operation of target Android device detection sequenceization is examined in the target Android device
When having measured serializing object transfer, the default sub thread executed is called to receive the serializing object of transmission.According to connecing
The serializing object is reduced to default object storage class by the serializing object received, and described default by reading
The storage content of object storage class shows the pictorial information of the default object storage in current painting canvas, wherein described to receive in advance
If object stores class synchronous can carry out with the operation for restoring the default object storage class;Alternatively, by the serializing object
After finishing receiving, the serializing object is reduced to default object storage class, and the default object read after reduction is deposited
Class is stored up, shows that the session information stored in the default object storage class in current painting canvas.It is transmitted and transmission reading
Mode can be arranged by the correlation function of the target Android device synchronous applications and be set.It is described pre- after reading reduction
It is if the pictorial information in object storage class is shown in the painting canvas of the synchronous applications, i.e., described that the default object is stored into class
The pictorial information of storage is plotted in the step of pictorial information of the current painting canvas to synchronize the mapping operation, comprising:
The paintbrush information of the default object storage class type of foundation is extracted, and calls the pre- of the default object storage class
If function restores the paintbrush sequence of the paintbrush information;
The paintbrush information is plotted in current painting canvas with the paintbrush sequence.
The type of foundation for extracting the default object storage class is based on obtaining the paintbrush information of this drawing operation
The paintbrush editor of picture, modification, deletion paintbrush content;Simultaneously, the preset function for calling the serializing object, reads
The paintbrush sequence of this drawing operation paintbrush information, the i.e. sequence of paintbrush track and paintbrush track.According to the picture read
Information shows in current painting canvas with the paintbrush sequence of the paintbrush information, in this manner will the default object storage
The pictorial information of class storage is shown in the show canvas of the target Android device synchronous applications, realizes the source
Android device target application is synchronous with the drawing of the target Android device synchronous applications.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, it is stored with and is based on the readable storage medium storing program for executing
The synchronization drawing application program of Android, realization when the synchronization drawing application program based on Android is executed by processor
Following operation:
When detecting that target application has mapping operation, source Android device is called described in default object storage class record
The pictorial information of mapping operation;
Class is stored according to the default object for having recorded the pictorial information, the default object is stored into class formation sequence
Object;
By the generated serializing object transfer to corresponding target Android device, so that the target
The pictorial information of mapping operation described in the serializing object synchronization is called in Android device application.
Further, following behaviour is also realized when the synchronization drawing application program based on Android is executed by processor
Make:
Extract the paintbrush information and paintbrush sequence of the pictorial information;
The paintbrush information is recorded with the type of foundation of the default object storage class, and stores class in the default object
Preset function in add the paintbrush information paintbrush sequence.
Further, following behaviour is also realized when the synchronization drawing application program based on Android is executed by processor
Make:
After detecting the operation of the mapping operation, the default object for the mapping operation that will have been recorded is executed
The step of storing class formation sequence object.
Further, following behaviour is also realized when the synchronization drawing application program based on Android is executed by processor
Make:
When receiving the serializing object of source Android device transmission, the serializing object is reduced to default pair
As storing class;
The pictorial information of the default object storage class storage is plotted in current painting canvas to synchronize the mapping operation
Pictorial information.
Further, following behaviour is also realized when the synchronization drawing application program based on Android is executed by processor
Make:
The paintbrush information of the default object storage class type of foundation is extracted, and calls the pre- of the default object storage class
If function restores the paintbrush sequence of the paintbrush information;
The paintbrush information is plotted in current painting canvas with the paintbrush sequence.
Further, following behaviour is also realized when the synchronization drawing application program based on Android is executed by processor
Make:
The default object storage class is defined, and constructs the type of foundation and preset function of the default object storage class.
The present invention also provides a kind of synchronization drafting system based on Android, the synchronous system that draws based on Android
The step of system realizes the embodiment of the synchronization drawing practice based on Android as described above when being executed.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (9)
1. a kind of synchronization drawing practice based on Android, which is characterized in that the synchronization drawing practice based on Android
The following steps are included:
When detecting that target application has mapping operation, source Android device calls default object storage class to record the drawing
The pictorial information of operation;
Class is stored according to the default object for having recorded the pictorial information, the default object is stored into class formation sequenceization pair
As;
By the generated serializing object transfer to corresponding target Android device, so that the target Android is set
The pictorial information of mapping operation described in the serializing object synchronization is called in standby application.
2. the synchronization drawing practice based on Android as described in claim 1, which is characterized in that described to detect target
When using there is mapping operation, the default object storage class of source Android device calling records the pictorial information of the mapping operation
Step, comprising:
Extract the paintbrush information and paintbrush sequence of the pictorial information;
The paintbrush information is recorded with the type of foundation of the default object storage class, and in the pre- of the default object storage class
If adding the paintbrush sequence of the paintbrush information in function.
3. the synchronization drawing practice based on Android as described in claim 1, which is characterized in that the source Android device
After the step of calling default object storage class to record the pictorial information of the mapping operation, further includes:
After detecting the operation of the mapping operation, the default object for executing the mapping operation that will have been recorded is stored
The step of class formation sequence object.
4. the synchronization drawing practice based on Android as described in claim 1, which is characterized in that described by generated institute
Serializing object transfer is stated to corresponding target Android device, so that the sequence is called in target Android device application
After the step of pictorial information of mapping operation described in columnization object synchronization, further includes:
When receiving the serializing object of source Android device transmission, the serializing object is reduced to default object and is deposited
Store up class;
The pictorial information of the default object storage class storage is plotted in current painting canvas to synchronize the drawing of the mapping operation
Information.
5. the synchronization drawing practice based on Android as claimed in claim 4, which is characterized in that described by described default pair
The step of being plotted in pictorial information of the current painting canvas to synchronize the mapping operation as the pictorial information of storage class storage, comprising:
The paintbrush information of the default object storage class type of foundation is extracted, and calls the default letter of the default object storage class
Number restores the paintbrush sequence of the paintbrush information;
The paintbrush information is plotted in current painting canvas with the paintbrush sequence.
6. such as the synchronization drawing practice described in any one of claim 1 to 5 based on Android, which is characterized in that described to examine
When measuring target application has mapping operation, the step of calling default object storage class to record the pictorial information of the mapping operation it
Before, further includes:
The default object storage class is defined, and constructs the type of foundation and preset function of the default object storage class.
7. a kind of synchronization plotting unit based on Android, which is characterized in that the synchronization plotting unit based on Android
Include: memory, processor and is stored in the computer program that can be run on the memory and on the processor, it is described
Such as the synchronization described in any one of claims 1 to 6 based on Android is realized when computer program is executed by the processor
The step of drawing practice.
8. a kind of readable storage medium storing program for executing, which is characterized in that be stored with synchronizing based on Android on the readable storage medium storing program for executing and draw
Figure application program realizes such as claim 1 to 6 when the synchronization drawing application program based on Android is executed by processor
Any one of described in synchronization drawing practice based on Android the step of.
9. a kind of synchronization drafting system based on Android, which is characterized in that the synchronization drafting system based on Android
The step of realizing the synchronization drawing practice described in figure any one of claims 1 to 6 based on Android when being executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810851414.3A CN109150992A (en) | 2018-07-27 | 2018-07-27 | Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810851414.3A CN109150992A (en) | 2018-07-27 | 2018-07-27 | Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109150992A true CN109150992A (en) | 2019-01-04 |
Family
ID=64799280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810851414.3A Pending CN109150992A (en) | 2018-07-27 | 2018-07-27 | Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109150992A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083324A (en) * | 2019-04-30 | 2019-08-02 | 华为技术有限公司 | Method, apparatus, electronic equipment and the computer storage medium of Image Rendering |
CN110147334A (en) * | 2019-05-08 | 2019-08-20 | 北京百度网讯科技有限公司 | A kind of storage method and terminal of content of edit |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1555197A (en) * | 2003-12-24 | 2004-12-15 | 清华大学深圳研究生院 | Video frequency meeting shared white plate realizing method based on Internet |
US7952500B2 (en) * | 2009-01-27 | 2011-05-31 | Tatu Ylonen Oy | Serialization of shared and cyclic data structures using compressed object encodings |
CN102646235A (en) * | 2012-04-01 | 2012-08-22 | 杭州格畅科技有限公司 | Method, client and server for online collaborative drawing |
CN104518941A (en) * | 2013-09-26 | 2015-04-15 | 北京新媒传信科技有限公司 | Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board |
CN104851118A (en) * | 2015-05-25 | 2015-08-19 | 滁州学院 | Method for sharing CorelDraw point symbol in ArcGIS |
CN105554157A (en) * | 2016-01-21 | 2016-05-04 | 广州视睿电子科技有限公司 | Data synchronizing method, device and system |
CN106484348A (en) * | 2016-09-20 | 2017-03-08 | Tcl集团股份有限公司 | A kind of animation method for drafting based on synchronizing signal and system |
CN107918538A (en) * | 2017-11-29 | 2018-04-17 | 南京邮电大学 | A kind of drafting system based on Andriod operating systems |
-
2018
- 2018-07-27 CN CN201810851414.3A patent/CN109150992A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1555197A (en) * | 2003-12-24 | 2004-12-15 | 清华大学深圳研究生院 | Video frequency meeting shared white plate realizing method based on Internet |
US7952500B2 (en) * | 2009-01-27 | 2011-05-31 | Tatu Ylonen Oy | Serialization of shared and cyclic data structures using compressed object encodings |
CN102646235A (en) * | 2012-04-01 | 2012-08-22 | 杭州格畅科技有限公司 | Method, client and server for online collaborative drawing |
CN104518941A (en) * | 2013-09-26 | 2015-04-15 | 北京新媒传信科技有限公司 | Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board |
CN104851118A (en) * | 2015-05-25 | 2015-08-19 | 滁州学院 | Method for sharing CorelDraw point symbol in ArcGIS |
CN105554157A (en) * | 2016-01-21 | 2016-05-04 | 广州视睿电子科技有限公司 | Data synchronizing method, device and system |
CN106484348A (en) * | 2016-09-20 | 2017-03-08 | Tcl集团股份有限公司 | A kind of animation method for drafting based on synchronizing signal and system |
CN107918538A (en) * | 2017-11-29 | 2018-04-17 | 南京邮电大学 | A kind of drafting system based on Andriod operating systems |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083324A (en) * | 2019-04-30 | 2019-08-02 | 华为技术有限公司 | Method, apparatus, electronic equipment and the computer storage medium of Image Rendering |
CN110147334A (en) * | 2019-05-08 | 2019-08-20 | 北京百度网讯科技有限公司 | A kind of storage method and terminal of content of edit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9161238B2 (en) | Mobile device monitoring and testing | |
EP2890088A1 (en) | Method for displaying schedule reminding information, terminal device and cloud server | |
CN107622000A (en) | A kind of collection of application crash information and report method, device | |
CN103338235B (en) | On mobile phone, realize the method for dynamic wallpaper interactive mode, personalized creation | |
CN107357718A (en) | One kind structure method of testing and device | |
EP2355472A2 (en) | Apparatus and method for transmitting and receiving handwriting animation message | |
CN104484486B (en) | A kind of information recommendation method and electronic equipment | |
CN101547252A (en) | Communication device and information inputting method | |
CN109150992A (en) | Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android | |
CN106445199A (en) | Touch pen, mobile terminal and method for realizing data continuous application | |
CN104615662B (en) | A kind of method, apparatus and terminal device handling data | |
CN107704388A (en) | For the method and apparatus for the startup time for determining application | |
US20210144197A1 (en) | Method for Presenting Schedule Reminder Information, Terminal Device, and Cloud Server | |
CN112995418A (en) | Video color ring playing method, sending method and related equipment | |
CN109194689A (en) | Abnormal behaviour recognition methods, device, server and storage medium | |
CN106454195A (en) | Anti-peeping method and system for video chats based on VR | |
CN109324776A (en) | The synchronous method of person's handwriting, device and system | |
CN103902040A (en) | Processing device and method for mobile terminal and electronic device | |
CN103986759A (en) | Multi-person real-time synchronous graphic edition and display method based on network transmission | |
CN106528098A (en) | Data processing method and device among multi-open applications and terminal | |
CN104424306B (en) | A kind of log recording method, device and terminal device | |
CN109656826A (en) | Application testing method, system, equipment and computer readable storage medium | |
WO2022247222A1 (en) | Holographic projection system, holographic projection picture processing method and related apparatus | |
CN114373186A (en) | Social software information interaction method, device and medium | |
CN109062644B (en) | The method and apparatus of processing information for terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |