CN110910469A - Method, device, medium and electronic equipment for drawing handwriting - Google Patents

Method, device, medium and electronic equipment for drawing handwriting Download PDF

Info

Publication number
CN110910469A
CN110910469A CN201910994060.2A CN201910994060A CN110910469A CN 110910469 A CN110910469 A CN 110910469A CN 201910994060 A CN201910994060 A CN 201910994060A CN 110910469 A CN110910469 A CN 110910469A
Authority
CN
China
Prior art keywords
handwriting
information
sequence
preset
acquisition
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
Application number
CN201910994060.2A
Other languages
Chinese (zh)
Inventor
张雪峰
杨磊
王红生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910994060.2A priority Critical patent/CN110910469A/en
Publication of CN110910469A publication Critical patent/CN110910469A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a method, a device, a medium and an electronic device for drawing handwriting. The method comprises the following steps: acquiring handwriting information corresponding to the acquisition sequence information in sequence according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period; segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval to obtain a plurality of sequentially arranged first handwriting information; and in a display device at a receiving end, drawing first handwriting based on a preset drawing time interval and the first handwriting information sequence. The method and the device have the advantages that the handwriting distribution layer is provided at the receiving end, and the effect of smoothly displaying the handwriting is achieved by controlling the frame rate of handwriting drawing.

Description

Method, device, medium and electronic equipment for drawing handwriting
Technical Field
The present disclosure relates to the field of drawing, and in particular, to a method, an apparatus, a medium, and an electronic device for drawing handwriting.
Background
On-line education is one of the very fierce industries at present, and the whiteboard is a very important teaching tool.
Generally, a whiteboard is a writing surface made of a white metal plate material. The whiteboard has a similar function to a blackboard and is a writing tool capable of being repeatedly erased and written. It is often used for teaching, conference discussion, or personal and home recording.
In online education, a whiteboard is divided into a teaching end and a learning end. The teaching end writes the blackboard writing, and the learning end synchronously displays the blackboard writing. In the synchronization process, the teaching end collects data, sends the data to the server end through the network request message, and then distributes the data to the learning end through the server end. The intermediate data needs to go through multiple network transmissions to reach the learning end.
Because the data volume of the original handwriting data is too large, the handwriting points need to be segmented into data packets, and the data packets are sent to the learning end in batches. When the network transmission is unstable, the data packets may arrive at the learning end at different frequencies, so that the display handwriting may be out of order. If the learning end draws immediately after receiving the data of the data packet, the phenomenon of drawing a plurality of handwriting at one time can be generated, and the user can feel obtrusive and uncomfortable. The method is characterized in that the phenomenon that the whiteboard handwriting at the learning end is stuck is shown from the visual experience.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
An object of the present disclosure is to provide a method, an apparatus, a medium, and an electronic device for drawing handwriting, which can solve at least one of the above-mentioned technical problems. The specific scheme is as follows:
according to a specific embodiment of the present disclosure, in a first aspect, the present disclosure provides a method for drawing handwriting, including:
acquiring handwriting information corresponding to the acquisition sequence information in sequence according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period;
segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval to obtain a plurality of sequentially arranged first handwriting information;
and in a display device at a receiving end, drawing first handwriting based on a preset drawing time interval and the first handwriting information sequence.
According to a second aspect, the present disclosure provides an apparatus for drawing handwriting, including:
the handwriting information acquisition unit is used for sequentially acquiring handwriting information corresponding to the acquisition sequence information according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period;
the handwriting information segmentation unit is used for segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval to obtain a plurality of sequentially arranged first handwriting information;
and the drawing unit is used for drawing the first handwriting based on a preset drawing time interval and the first handwriting information sequence in a display device at the receiving end.
According to a third aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for drawing handwriting as described in any one of the first aspects.
According to a fourth aspect thereof, the present disclosure provides an electronic device, comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of drawing handwriting as described in any one of the first aspects.
Compared with the prior art, the scheme of the embodiment of the disclosure at least has the following beneficial effects:
the disclosure provides a method, a device, a medium and an electronic device for drawing handwriting. The method comprises the following steps: acquiring handwriting information corresponding to the acquisition sequence information in sequence according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period; segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval to obtain a plurality of sequentially arranged first handwriting information; and in a display device at a receiving end, drawing first handwriting based on a preset drawing time interval and the first handwriting information sequence. The method and the device have the advantages that the handwriting distribution layer is provided at the receiving end, and the effect of smoothly displaying the handwriting is achieved by controlling the frame rate of handwriting drawing.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 shows a flow diagram of a method of drawing handwriting in accordance with an embodiment of the present disclosure;
FIG. 2 illustrates a system structure diagram of a method of drawing handwriting according to an embodiment of the present disclosure;
FIG. 3 shows a block diagram of elements of an apparatus for drawing handwriting, in accordance with an embodiment of the present disclosure;
fig. 4 shows an electronic device connection structure schematic according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Alternative embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The first embodiment provided for the present disclosure is an embodiment of a method for drawing handwriting.
The embodiment of the disclosure is described in detail below with reference to fig. 1 and fig. 2, where fig. 1 is a flowchart of a method for drawing handwriting provided by the embodiment of the disclosure; FIG. 2 is a system block diagram illustrating a method of drawing handwriting according to an embodiment of the present disclosure.
And S101, sequentially acquiring handwriting information corresponding to the acquisition sequence information according to a preset drawing sequence rule.
When a plurality of handwriting information is sequentially transmitted to a receiving end by a transmitting end, the handwriting information received by the receiving end may be out of order due to network transmission instability. To prevent the problem of misordering, embodiments of the present disclosure provide acquisition order information for each transmitted handwriting information. And informing the receiving end of the drawing sequence of the handwriting information.
The embodiment of the disclosure sets a handwriting distribution layer at the handwriting receiving end, and controls the display speed of the handwriting on the display device at the receiving end through the handwriting distribution layer, thereby achieving the effect of smooth display.
The method is applied to a handwriting distribution layer, wherein the handwriting distribution layer comprises a note buffer area.
The acquisition sequence information and the corresponding handwriting information received by the receiving end each time are stored in the note buffer area. The handwriting information is information collected in a preset handwriting collecting period. For example, the preset handwriting capture period is 200 ms, which provides the following advantages: firstly, 200 milliseconds of a sending end sends a note message to accord with the actual application environment of a network, and 200 milliseconds is also exactly equal to the transmission time interval of data from the sending end to a receiving end, so that the handwriting message of the sending end cannot cause serious congestion; secondly, a handwriting message is sent within 200 milliseconds, and a receiving end can definitely know that the handwriting information in the handwriting message is generated within 200 milliseconds, so that the subsequent distribution of the handwriting information is facilitated.
The disclosed embodiment provides two application scenarios for step 101.
Scene one
The collection sequence information is a collection sequence number, and the preset drawing sequence rule is a sequence of the preset collection sequence numbers arranged from small to large.
The method for sequentially acquiring the handwriting information corresponding to the acquisition sequence information according to the preset drawing sequence rule comprises the following steps of:
and S101-11, sequentially acquiring handwriting information corresponding to the acquisition sequence numbers according to the sequence of the preset acquisition sequence numbers from small to large.
Scene two
The acquisition sequence information is acquisition start time, and the preset drawing sequence rule is a sequence of the preset acquisition start time from far to near.
The method for sequentially acquiring the handwriting information corresponding to the acquisition sequence information according to the preset drawing sequence rule comprises the following steps of:
and S101-21, sequentially acquiring handwriting information corresponding to the acquisition starting time according to the preset acquisition starting time from far to near arrangement sequence.
To improve information processing efficiency. Optionally, the sequentially acquiring the handwriting information corresponding to the acquisition sequence information according to the preset drawing sequence rule includes the following steps:
and S101-31, sequentially acquiring handwriting information corresponding to the acquisition sequence information which is regularly arranged according to a preset drawing sequence.
That is, in the note buffer, there are multiple sets of acquisition sequence information and corresponding handwriting information. And the acquisition sequence information forms a sequencing team of the acquisition sequence information according to a preset drawing sequence rule. And the handwriting distribution layer sequentially acquires the acquisition sequence information and acquires corresponding handwriting information from the sequencing team of the acquisition sequence information according to a preset drawing sequence rule.
And S102, segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval, and acquiring a plurality of sequentially arranged first handwriting information.
For example, the preset handwriting acquisition period is 200 milliseconds, the preset drawing time interval is 20 milliseconds, that is, the handwriting distribution layer draws the handwriting in the display device at the receiving end every 20 milliseconds; since each handwriting information is the information collected by the sending end within the preset handwriting collecting period (i.e. 200 ms), it can be calculated that each handwriting information should be divided into 10 pieces of sequentially arranged first handwriting information.
And S103, drawing the first handwriting in the display device of the receiving end based on a preset drawing time interval and the first handwriting information sequence.
For example, continuing the above example, the handwriting distribution layer draws a first handwriting associated with the first handwriting information in the display device at the receiving end every 20 milliseconds; and drawing the handwriting for 50 times in the display device at the receiving end every second, thereby achieving the effect of smoothly displaying the handwriting in the display device at the receiving end.
The method further comprises the steps of:
and step S111, receiving the handwriting message sent by the sending end.
A message is a unit of data that is transferred between two computers. The handwriting message comprises second acquisition sequence information and corresponding second handwriting information.
And the second handwriting information is information collected by the sending end in a preset handwriting collection period.
And step S112, analyzing the handwriting message, and acquiring the second handwriting information and the second acquisition sequence information.
Different data to be transmitted are usually encapsulated in the message body of the message according to a preset encapsulation rule before the message is transmitted.
After receiving the message, the data encapsulated in the message body needs to be restored to each independent data according to the preset parsing rule.
And S113, storing the second handwriting information and the second acquisition sequence information into the note buffer area.
That is, the receiving end does not draw the handwriting in the display device immediately after receiving the second handwriting information, but waits for the handwriting distribution layer to further process the data stored in the note buffer area.
Optionally, the step of storing the second handwriting information and the second acquisition sequence information into the note buffer area includes the following steps:
step S113-1, in the note buffer area, acquiring the sorting position of the second collecting sequence information in the sorting queue of the collecting sequence information based on a preset drawing sequence rule.
That is, in the note buffer, all the collection sequence information is sorted according to a preset drawing sequence rule to form a sorting queue of the collection sequence information. When the second acquisition sequence information is acquired, the sorting position of the second acquisition sequence information in the sorting queue of the acquisition sequence information needs to be found.
For example, if the collection sequence information in the sorting team is: a1, A2, A3 and A5, and the second acquisition order information is A4, the sorting position of A4 is between A3 and A5; if the acquisition sequence information in the sequencing team is respectively as follows: a1, a2, A3 and a4, and the second acquisition order information is a5, the ranking position of a5 is after a 4.
And S113-2, respectively storing the second acquisition sequence information and the second handwriting information into a sorting queue of the acquisition sequence information and a sorting queue of the handwriting information corresponding to the sorting position.
That is, in the note buffer area, all handwriting information is sorted according to a preset drawing sequence rule to form a sorting queue of the handwriting information. And when the second acquisition sequence information is acquired, storing the second acquisition sequence information into the sequencing position in the sequencing team of the acquisition sequence information. And when the second handwriting information is acquired, storing the second handwriting information into the sequencing position in the sequencing team of the handwriting information.
The embodiment of the disclosure provides a handwriting distribution layer at the receiving end, and achieves the effect of smoothly displaying the handwriting by controlling the frame rate of handwriting drawing.
The present disclosure also provides a second embodiment, namely an apparatus for drawing handwriting, corresponding to the first embodiment provided by the present disclosure. Since the second embodiment is basically similar to the first embodiment, the description is simple, and the relevant portions should be referred to the corresponding description of the first embodiment. The device embodiments described below are merely illustrative.
FIG. 3 shows an embodiment of an apparatus for drawing handwriting provided by the present disclosure. FIG. 3 is a block diagram of a device for drawing handwriting according to an embodiment of the present disclosure.
Referring to fig. 3, the present disclosure provides an apparatus for drawing handwriting, including: acquiring a handwriting information unit 301, dividing the handwriting information unit 302 and drawing the handwriting information unit 303.
A handwriting information acquiring unit 301, configured to sequentially acquire handwriting information corresponding to the acquisition sequence information according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period;
a handwriting information dividing unit 302, configured to divide the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval, and obtain a plurality of sequentially arranged first handwriting information;
the drawing unit 303 is configured to draw the first handwriting based on a preset drawing time interval and the first handwriting information in the display device at the receiving end.
Optionally, the handwriting information obtaining unit 301 includes:
and the handwriting information acquisition subunit is used for sequentially acquiring handwriting information corresponding to the acquisition sequence information which is regularly arranged according to a preset drawing sequence.
Optionally, the method further includes: a holding unit;
in the saving unit, the method includes:
the handwriting receiving sub-unit is used for receiving the handwriting message sent by the sending end; the handwriting message comprises second acquisition sequence information and corresponding second handwriting information;
the handwriting information analyzing subunit is used for analyzing the handwriting information to acquire the second handwriting information and the second acquisition sequence information;
and the storage subunit is used for storing the second handwriting information and the second acquisition sequence information into the note buffer area.
Optionally, the saving subunit includes:
the acquiring ordering position subunit is configured to acquire, in the note buffer area, an ordering position of the second acquisition order information in an ordering queue of the acquisition order information based on a preset drawing order rule;
and the storage ordering position subunit is used for respectively storing the second acquisition sequence information and the second handwriting information into an ordering queue of the acquisition sequence information and an ordering queue of the handwriting information corresponding to the ordering position.
Optionally, the collection sequence information is a collection sequence number, and the preset drawing sequence rule is a sequence of the preset collection sequence numbers arranged from small to large.
Optionally, the collection sequence information is collection start time, and the preset drawing sequence rule is a sequence of the preset collection start time arranged from far to near.
Optionally, the preset handwriting collecting period is 200 milliseconds.
The embodiment of the disclosure provides a handwriting distribution layer at the receiving end, and achieves the effect of smoothly displaying the handwriting by controlling the frame rate of handwriting drawing.
The third embodiment of the present disclosure provides an electronic device, which is a method for drawing handwriting, and the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the one processor to cause the at least one processor to perform a method of drawing handwriting as described in the first embodiment.
The disclosed embodiments provide a fourth embodiment, which is a computer storage medium for drawing handwriting, the computer storage medium storing computer-executable instructions, the computer-executable instructions being capable of executing the method for drawing handwriting as described in the first embodiment.
Referring now to FIG. 4, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method of drawing handwriting, comprising:
acquiring handwriting information corresponding to the acquisition sequence information in sequence according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period;
segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval to obtain a plurality of sequentially arranged first handwriting information;
and in a display device at a receiving end, drawing first handwriting based on a preset drawing time interval and the first handwriting information sequence.
2. The method according to claim 1, wherein the sequentially acquiring handwriting information corresponding to the collection sequence information according to a preset drawing sequence rule comprises:
and sequentially acquiring handwriting information corresponding to the acquisition sequence information which is regularly arranged according to a preset drawing sequence.
3. The method of claim 1, further comprising:
receiving a handwriting message sent by a sending end; the handwriting message comprises second acquisition sequence information and corresponding second handwriting information;
analyzing the handwriting message to acquire the second handwriting information and the second acquisition sequence information;
and storing the second handwriting information and the second acquisition sequence information into the note buffer area.
4. The method of claim 3, wherein storing the second handwriting information and the second capture order information in the note buffer comprises:
in the note buffer area, acquiring the sorting position of the second acquisition sequence information in a sorting queue of the acquisition sequence information based on a preset drawing sequence rule;
and respectively storing the second acquisition sequence information and the second handwriting information into a sorting queue of the acquisition sequence information and a sorting queue of the handwriting information corresponding to the sorting position.
5. The method according to any one of claims 1 to 4, wherein the collection sequence information is a collection sequence number, and the predetermined drawing sequence rule is a sequence of the collection sequence numbers arranged from small to large.
6. The method according to any one of claims 1 to 4, wherein the acquisition order information is acquisition start times, and the preset drawing order rule is a sequence of the preset acquisition start times arranged from far to near.
7. A method according to any of claims 1-4, characterized in that the preset handwriting acquisition period is 200 milliseconds.
8. An apparatus for drawing handwriting, comprising:
the handwriting information acquisition unit is used for sequentially acquiring handwriting information corresponding to the acquisition sequence information according to a preset drawing sequence rule; wherein, the collecting sequence information and the corresponding handwriting information are stored in a note buffer area; the handwriting information is information collected in a preset handwriting collecting period;
the handwriting information segmentation unit is used for segmenting the handwriting information according to a preset handwriting acquisition period and a preset drawing time interval to obtain a plurality of sequentially arranged first handwriting information;
and the drawing unit is used for drawing the first handwriting based on a preset drawing time interval and the first handwriting information sequence in a display device at the receiving end.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method of any one of claims 1 to 7.
CN201910994060.2A 2019-10-18 2019-10-18 Method, device, medium and electronic equipment for drawing handwriting Pending CN110910469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910994060.2A CN110910469A (en) 2019-10-18 2019-10-18 Method, device, medium and electronic equipment for drawing handwriting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910994060.2A CN110910469A (en) 2019-10-18 2019-10-18 Method, device, medium and electronic equipment for drawing handwriting

Publications (1)

Publication Number Publication Date
CN110910469A true CN110910469A (en) 2020-03-24

Family

ID=69814607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910994060.2A Pending CN110910469A (en) 2019-10-18 2019-10-18 Method, device, medium and electronic equipment for drawing handwriting

Country Status (1)

Country Link
CN (1) CN110910469A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022099871A1 (en) * 2020-11-10 2022-05-19 深圳市鹰硕教育服务有限公司 Handwriting data processing method and apparatus, and electronic device
CN114629884A (en) * 2022-01-27 2022-06-14 通彩视听科技(上海)有限公司 Method for realizing remote multi-person handwriting writing, client and server
WO2024046284A1 (en) * 2022-09-01 2024-03-07 北京字跳网络技术有限公司 Drawing animation generation method and apparatus, and device, readable storage medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system based on dual systems, storage medium and equipment
CN108132754A (en) * 2017-12-28 2018-06-08 广州视源电子科技股份有限公司 Handwriting playback display method and device, mobile terminal and storage medium
CN110113649A (en) * 2019-03-14 2019-08-09 北京暄暄科技有限公司 A kind of synchronous system and method for paper screen in video teaching
CN110321054A (en) * 2019-06-20 2019-10-11 广州视源电子科技股份有限公司 Writing brush handwriting drawing method, device, equipment and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system based on dual systems, storage medium and equipment
CN108132754A (en) * 2017-12-28 2018-06-08 广州视源电子科技股份有限公司 Handwriting playback display method and device, mobile terminal and storage medium
CN110113649A (en) * 2019-03-14 2019-08-09 北京暄暄科技有限公司 A kind of synchronous system and method for paper screen in video teaching
CN110321054A (en) * 2019-06-20 2019-10-11 广州视源电子科技股份有限公司 Writing brush handwriting drawing method, device, equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022099871A1 (en) * 2020-11-10 2022-05-19 深圳市鹰硕教育服务有限公司 Handwriting data processing method and apparatus, and electronic device
CN114629884A (en) * 2022-01-27 2022-06-14 通彩视听科技(上海)有限公司 Method for realizing remote multi-person handwriting writing, client and server
WO2024046284A1 (en) * 2022-09-01 2024-03-07 北京字跳网络技术有限公司 Drawing animation generation method and apparatus, and device, readable storage medium and product

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN111580718A (en) Page switching method and device of application program, electronic equipment and storage medium
CN112311656B (en) Message aggregation and display method and device, electronic equipment and computer readable medium
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN110910469A (en) Method, device, medium and electronic equipment for drawing handwriting
EP4145835A1 (en) Livestreaming room setup method and apparatus, electronic device, and storage medium
CN112035030A (en) Information display method and device and electronic equipment
CN110633126A (en) Information display method and device and electronic equipment
CN111246228A (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN111209432A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN110768861A (en) Method, device, medium and electronic equipment for obtaining overtime threshold
CN111246273B (en) Video delivery method and device, electronic equipment and computer readable medium
CN111324405A (en) Character display method and device and electronic equipment
CN111258582A (en) Window rendering method and device, computer equipment and storage medium
CN111273884A (en) Image display method and device and electronic equipment
CN115134254B (en) Network simulation method, device, equipment and storage medium
CN112231023A (en) Information display method, device, equipment and storage medium
CN112307393A (en) Information issuing method and device and electronic equipment
CN111143740B (en) Information processing method and device and electronic equipment
CN111259287B (en) Page content display method and device, electronic equipment and storage medium
CN113435528A (en) Object classification method and device, readable medium and electronic equipment
CN114089891A (en) Display control method and device and electronic equipment
CN113163483A (en) Timestamp updating method and device and electronic equipment
CN111399730A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN110708425A (en) Message display method and device and electronic equipment

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

Application publication date: 20200324

RJ01 Rejection of invention patent application after publication