CN113625889A - Touch handwriting generating method and device based on touch screen - Google Patents

Touch handwriting generating method and device based on touch screen Download PDF

Info

Publication number
CN113625889A
CN113625889A CN202111178949.7A CN202111178949A CN113625889A CN 113625889 A CN113625889 A CN 113625889A CN 202111178949 A CN202111178949 A CN 202111178949A CN 113625889 A CN113625889 A CN 113625889A
Authority
CN
China
Prior art keywords
touch
adjustment request
coding
state
touch switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111178949.7A
Other languages
Chinese (zh)
Other versions
CN113625889B (en
Inventor
杜汝全
王明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Xinkong Electronic Technology Co ltd
Original Assignee
Guangdong Xinkong Electronic 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 Guangdong Xinkong Electronic Technology Co ltd filed Critical Guangdong Xinkong Electronic Technology Co ltd
Priority to CN202111178949.7A priority Critical patent/CN113625889B/en
Publication of CN113625889A publication Critical patent/CN113625889A/en
Application granted granted Critical
Publication of CN113625889B publication Critical patent/CN113625889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry

Landscapes

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

Abstract

The embodiment of the application provides a touch handwriting generating method and device based on a touch screen, and relates to the field of human-computer interaction, wherein the touch handwriting generating method based on the touch screen comprises the following steps: generating a touch state according to the received touch instruction; judging whether a touch switch adjustment request is received or not; when a touch switch adjustment request is received, coding a touch state according to the touch switch adjustment request to obtain a coding result; and generating touch handwriting in the touch screen according to the coding result. By implementing the implementation mode, the adjustment can be carried out according to the touch switch adjustment request of the touch screen, so that the problem of synchronous failure of touch handwriting in the screen projection process is avoided, and the problem of redundant data accumulation of screen projection equipment is solved.

Description

Touch handwriting generating method and device based on touch screen
Technical Field
The application relates to the field of human-computer interaction, in particular to a touch handwriting generating method and device based on a touch screen.
Background
At present, more and more electronic devices are beginning to add touch screens, so that the electronic devices can be directly operated, and the use efficiency and the use effect of the electronic devices are improved. The existing television sets are all started to be provided with touch screens for touch operation. On the basis, in the screen projection process of the existing touch control television, the writing handwriting of the user can be synchronized to the screen-projected PC.
However, in practice, it is found that the handwriting synchronization method described above may cause the handwriting synchronization failure due to the touch switch of the touch television, so that the touch state in the PC for screen projection and the touch state in the touch television are different from each other, and further the touch state in the PC conflicts, and the commands can be cleared for resetting only after waiting for a period of time, so as to avoid the redundant data accumulation in the PC.
Disclosure of Invention
An object of the embodiments of the present application is to provide a touch-control handwriting generating method and device based on a touch screen, which can adjust according to a touch switch adjustment request of the touch screen, thereby avoiding a problem of synchronous failure of touch-control handwriting during a screen projection process, and further solving a problem of redundant data accumulation of screen projection equipment.
A first aspect of the embodiments of the present application provides a touch handwriting generating method based on a touch screen, including:
generating a touch state according to the received touch instruction;
judging whether a touch switch adjustment request is received or not;
when the touch switch adjustment request is received, coding the touch state according to the touch switch adjustment request to obtain a coding result;
and generating touch handwriting in the touch screen according to the coding result.
In the implementation process, the method can be used in a touch television which is performing PC screen projection work, so that a touch instruction received by a touch screen of the touch television is converted into a touch state, and the touch state is coded according to the actual switching condition of a touch switch; and after the touch television encodes the touch instruction to obtain an encoding result, generating touch handwriting according to the encoding result. Therefore, by implementing the implementation mode, the touch note can be accurately and effectively generated in the electronic equipment (such as the PC) for screen projection, and meanwhile, the generation of wrong touch state records due to the change of the touch switch state of the touch television is avoided, so that the touch state records are prevented from being recorded in the electronic equipment for screen projection, the redundant data of the type is prevented from appearing in the electronic equipment, and the stability and the accuracy of the touch operation logic of the electronic equipment are ensured.
Further, before the step of generating the touch handwriting in the touch screen according to the encoding result, the method further includes:
and when the touch switch adjustment request is not received, coding is carried out according to the touch state to obtain a coding result.
Further, after the step of encoding according to the touch state to obtain an encoding result, the method further includes:
judging whether the state of the touch switch is an open state or not;
when the touch switch is in an open state, generating touch handwriting in the touch screen according to an encoding result; updating the state of the touch switch according to the touch switch adjustment request;
and when the touch switch state is the closed state, executing the step of updating the touch switch state according to the touch switch adjustment request.
Further, when the touch switch adjustment request is received, the step of coding the touch state according to the touch switch adjustment request to obtain a coding result includes:
when the touch switch adjustment request is received, judging whether the touch switch adjustment request is a touch switch opening request;
when the touch switch adjustment request is a touch switch opening request, matching a first code corresponding table corresponding to the touch switch opening request;
and coding the touch state according to the first coding correspondence table to obtain a coding result.
Further, when the touch switch adjustment request is received, the step of coding the touch state according to the touch switch adjustment request to obtain a coding result includes:
when the touch switch adjustment request is received, judging whether the touch switch adjustment request is a touch switch closing request;
when the touch switch adjustment request is a touch switch closing request, matching a second code corresponding table corresponding to the touch switch closing request;
and coding the touch state according to the second coding correspondence table to obtain a coding result.
Further, the step of generating the touch handwriting in the touch screen according to the coding result comprises:
and generating touch handwriting in the next frame of picture of the touch screen according to the coding result.
A second aspect of the embodiments of the present application provides a touch-control handwriting generating device based on a touch screen, where the touch-control handwriting generating device based on the touch screen includes:
the touch control unit is used for generating a touch control state according to the received touch control instruction;
the first judgment unit is used for judging whether a touch switch adjustment request is received or not;
the coding unit is used for coding the touch control state according to the touch control switch adjustment request to obtain a coding result when the touch control switch adjustment request is received;
and the handwriting generating unit is used for generating touch handwriting in the touch screen according to the coding result.
In the implementation process, the device can ensure that the touch note is accurately and effectively generated in the electronic equipment (such as the PC) for screen projection, and meanwhile, the generation of wrong touch state record due to the change of the touch switch state of the touch television is avoided, so that the touch state record is prevented from being recorded in the electronic equipment for screen projection, the redundant data of the type is prevented from being generated in the electronic equipment, and the touch operation logic of the electronic equipment is ensured to be stable and accurate.
Further, the handwriting generating unit is specifically configured to generate a touch handwriting in a next frame of picture of the touch screen according to the encoding result.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the method for generating touch handwriting based on a touch screen according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores computer program instructions, where the computer program instructions, when read and executed by a processor, perform the method for generating touch handwriting based on a touch screen according to any one of the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a touch handwriting generating method based on a touch screen according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another touch handwriting generating method based on a touch screen according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a touch handwriting generating device based on a touch screen according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another touch handwriting generating device based on a touch screen according to an embodiment of the present application;
fig. 5 is a schematic diagram of a touch data stream according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 5, fig. 5 shows a schematic diagram of a touch data stream.
In an interactive smart tablet all-in-one machine (such as a touch television, a smart television, a flat-panel only machine and the like), two (or more) output channels are generally provided. Wherein, each output channel is connected with a host system. For example, as shown in FIG. 5, channel A connects to an android host and channel B connects to a PC host. The android host is the touch television described in the application, and the touch screen of the android host is the touch screen described in the application.
On the basis of fig. 5, in the conventional method, when only the interface image of the android host is displayed on the screen display interface of the android host, the channel controller controls the touch device to close the touch data of the channel B, so that the PC host is prevented from still responding to the touch data when no interface image is output.
On the basis of fig. 5, in the conventional method, the interface image of the PC host is mainly displayed on the screen display interface of the android host, and a part of the interface image of the android host is superimposed on the upper layer. When a user operates the android image superposed on the upper layer through the touch screen, the channel controller immediately closes the channel B output of the touch screen.
This may result in that, when the touch screen receives the closing instruction, the touch screen directly closes the switch of the corresponding channel, and the touch data of the corresponding channel is no longer output. After the touch screen receives the opening instruction, the touch screen directly opens the switch of the corresponding channel, the touch data of the corresponding channel are output in the next frame, and the touch data are output according to the current actual touch state.
Therefore, when the touch data of the channel B is closed, the touch still does not leave the touch screen, and therefore the PC host does not respond to the lift-off data after the closing. Resulting in a logical disorder of the touch operation of the host PC. When the touch data of the channel B is turned on again, the touch is already in the response range of the touch screen, so that the PC host does not respond when the previous falling data is turned off. Resulting in delay of touch operation of the PC host at this time or confusion of operation logic of the lamp if the operation is unsuccessful.
As in the case of the following table, the PC responds to only one click during two touch clicks, and the click operation presents a delay.
Figure P_211009113540838_838155001
The states shown in the table above are states in response to an exception.
Here, "↓" is used to indicate falling of the touch, "-" is used to indicate panning of the touch, "# 97" is used to indicate lifting of the touch, and "# is used to indicate no data.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a touch handwriting generating method based on a touch screen according to an embodiment of the present application. The touch handwriting generating method based on the touch screen comprises the following steps:
and S101, generating a touch state according to the received touch instruction.
S102, judging whether a touch switch adjustment request is received, if so, executing steps S103-S104; if not, the flow is ended.
S103, coding the touch state according to the touch switch adjustment request to obtain a coding result.
And S104, generating touch handwriting in the touch screen according to the coding result.
In the embodiment of the present application, the execution subject of the method may be a computing device such as a computer and a server, and is not limited in this embodiment.
In this embodiment, an execution subject of the method may also be an intelligent device such as a smart phone and a tablet computer, which is not limited in this embodiment.
It can be seen that, the touch handwriting generating method based on the touch screen described in this embodiment can be used in a touch television which is performing PC screen projection work, so that a touch instruction received by the touch screen of the touch television is converted into a touch state, and the touch state is encoded according to an actual switching condition of a touch switch; and after the touch television encodes the touch instruction to obtain an encoding result, generating touch handwriting according to the encoding result. Therefore, by implementing the implementation mode, the touch note can be accurately and effectively generated in the electronic equipment (such as the PC) for screen projection, and meanwhile, the generation of wrong touch state records due to the change of the touch switch state of the touch television is avoided, so that the touch state records are prevented from being recorded in the electronic equipment for screen projection, the redundant data of the type is prevented from appearing in the electronic equipment, and the stability and the accuracy of the touch operation logic of the electronic equipment are ensured.
Example 2
Please refer to fig. 2, and fig. 2 is a schematic flowchart of a touch handwriting generating method based on a touch screen according to an embodiment of the present application. As shown in fig. 2, the method for generating touch handwriting based on a touch screen includes:
s201, generating a touch state according to the received touch instruction.
S202, judging whether a touch switch adjustment request is received or not, if so, executing a step S203; if not, the steps S207 to S208 are executed.
In this embodiment, the request for changing the channel output switch sent to the touch device may be other devices outside the touch device or other functions inside the touch device.
S203, judging whether the touch switch adjustment request is a touch switch opening request, if so, executing a step S204; if not, go to step S205.
S204, matching a first code corresponding table corresponding to the touch switch opening request; and coding the touch state according to the first coding correspondence table to obtain a coding result. And executing steps S209 to S210.
In this embodiment, when the touch switch adjustment request is a touch switch turn-on request, the touch state is encoded according to the following first encoding mapping table to obtain an encoding result. The following table is a first encoding correspondence table.
Figure P_211009113540901_901126001
S205, judging whether the touch switch adjustment request is a touch switch closing request, if so, executing a step S206; if not, the flow is ended.
S206, matching a second code corresponding table corresponding to the touch switch closing request; and coding the touch state according to the second coding correspondence table to obtain a coding result. And executing steps S209 to S210.
In this embodiment, when the touch switch adjustment request is a touch switch closing request, the touch state is encoded according to the following second encoding mapping table to obtain an encoding result. The following table is a second encoding correspondence table.
Figure P_211009113540932_932378001
In this embodiment, the second encoding correspondence table may also be a following table.
Figure P_211009113540979_979288001
In this embodiment, a second encoding lookup table is used. And after receiving the touch switch request, immediately coding the touch state of the current frame according to the coding corresponding relation of the following table, and sending a frame of coding result in the corresponding channel. Rather than recording its request and waiting for the next frame to be output.
And S207, coding according to the touch state to obtain a coding result.
In this embodiment, when the touch switch adjustment request is not received, the encoding is directly performed according to the touch state, and an encoding result is obtained.
S208, judging whether the state of the touch switch is an open state, if so, executing steps S209-S210; if not, go to step S210.
And S209, generating touch handwriting in the next frame of picture of the touch screen according to the coding result.
By implementing the implementation mode, the touch switch adjustment request and the touch switch state of each touch data channel can be recorded. When the touch screen receives that a certain channel needs to be closed or opened, the on-off state of the channel is not changed immediately, and the touch switch adjustment request is recorded. And generating touch handwriting after the touch detection of the next frame is finished.
And S210, updating the state of the touch switch according to the touch switch adjustment request.
In this embodiment, as shown in the following table, in the 1 st touch process (from the 1 st frame to the 5 th frame), the 3 rd frame receives the request for turning off the channel controller. At this time, the touch device only records the request, and if the 3 rd frame of touch data is output, the 4 th frame encodes the "-" touch state into the "×) output state for output. At this time, the PC can correctly respond to the lifting state and complete one click without delay and abnormity.
As shown in the following table, during the 2 nd touch (from the 7 th frame to the 11 th frame), a channel controller open request is received at the 8 th frame. At this time, the touch device only records the request, and if the 8 th frame of touch data is already output, the "-" touch state is encoded into the "↓" output state at the 9 th frame and output. At this time, the PC can correctly respond to the falling state and complete one click without delay and abnormity.
The following table is a modified condition response comparison table. The comparison may be made with reference to the first table in this embodiment.
Figure P_211009113541026_026142001
It can be seen that, by implementing the method for generating touch handwriting based on a touch screen described in this embodiment, it can be ensured that a touch note is accurately and effectively generated in an electronic device (such as the PC) for screen projection, and meanwhile, an erroneous touch state record is prevented from being generated due to a change in a state of a touch switch of a touch television, so that the touch state record is prevented from being recorded in the electronic device for screen projection, and further, such redundant data is prevented from appearing in the electronic device, and the touch operation logic of the electronic device is ensured to be stable and accurate.
Example 3
Please refer to fig. 3, fig. 3 is a schematic structural diagram of a touch handwriting generating device based on a touch screen according to an embodiment of the present application. As shown in fig. 3, the touch handwriting generating device based on the touch screen includes:
a touch unit 310, configured to generate a touch state according to a received touch instruction;
a first determining unit 320, configured to determine whether a touch switch adjustment request is received;
the encoding unit 330 is configured to, when receiving a touch switch adjustment request, encode a touch state according to the touch switch adjustment request to obtain an encoding result;
and the handwriting generating unit 340 is configured to generate a touch handwriting in the touch screen according to the encoding result.
In the embodiment of the present application, for explanation of a touch-control handwriting generating device based on a touch screen, reference may be made to the description in embodiment 1 or embodiment 2, and details are not repeated in this embodiment.
It can be seen that, by implementing the touch-control handwriting generating device based on a touch-control screen described in this embodiment, it can be ensured that a touch-control note is accurately and effectively generated in an electronic device (such as the PC) for screen projection, and meanwhile, it is avoided that an erroneous touch-control state record is generated due to a change in the state of a touch switch of a touch-control television, so that the touch-control state record is prevented from being recorded in the electronic device for screen projection, and further, such redundant data is prevented from appearing in the electronic device, and it is ensured that the touch-control operation logic of the electronic device is stable and accurate.
Example 4
Referring to fig. 4, fig. 4 is a schematic structural diagram of a touch trace generating device based on a touch screen according to an embodiment of the present disclosure. The touch-control-screen-based touch-control-handwriting generating device shown in fig. 4 is obtained by optimizing the touch-control-screen-based touch-control-handwriting generating device shown in fig. 3. As shown in fig. 4, the encoding unit 330 is further configured to perform encoding according to the touch state to obtain an encoding result when the touch switch adjustment request is not received.
As an optional implementation manner, the touch-writing generating apparatus further includes:
a second determining unit 350, configured to determine whether the touch switch is in an on state;
the handwriting generating unit 340 is specifically configured to generate a touch handwriting in the touch screen according to the encoding result when the touch switch is in the on state.
A state updating unit 360, configured to update the state of the touch switch according to the touch switch adjustment request after the touch handwriting is generated;
the state updating unit 360 is further configured to update the state of the touch switch according to the touch switch adjustment request when the state of the touch switch is an off state.
As an alternative embodiment, the encoding unit 330 includes:
the first sub-unit 331, configured to determine whether the touch switch adjustment request is a touch switch turn-on request when the touch switch adjustment request is received;
a second subunit 332, configured to, when the touch switch adjustment request is a touch switch turn-on request, match a first code correspondence table corresponding to the touch switch turn-on request;
the third subunit 333 is configured to encode the touch state according to the first encoding correspondence table to obtain an encoding result.
As an alternative embodiment, the encoding unit 330 includes:
the first sub-unit 331 is further configured to, when receiving the touch switch adjustment request, determine whether the touch switch adjustment request is a touch switch turn-off request;
the second sub-unit 332 is further configured to, when the touch switch adjustment request is a touch switch turn-off request, match a second code mapping table corresponding to the touch switch turn-off request;
the third subunit 333 is further configured to encode the touch state according to the second encoding correspondence table to obtain an encoding result.
As an optional implementation manner, the handwriting generating unit 340 is specifically configured to generate a touch handwriting in a next frame of picture of the touch screen according to the encoding result.
In the embodiment of the present application, for explanation of a touch-control handwriting generating device based on a touch screen, reference may be made to the description in embodiment 1 or embodiment 2, and details are not repeated in this embodiment.
It can be seen that, by implementing the touch-control handwriting generating device based on a touch-control screen described in this embodiment, it can be ensured that a touch-control note is accurately and effectively generated in an electronic device (such as the PC) for screen projection, and meanwhile, it is avoided that an erroneous touch-control state record is generated due to a change in the state of a touch switch of a touch-control television, so that the touch-control state record is prevented from being recorded in the electronic device for screen projection, and further, such redundant data is prevented from appearing in the electronic device, and it is ensured that the touch-control operation logic of the electronic device is stable and accurate.
The embodiment of the application provides electronic equipment, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the electronic equipment to execute the touch handwriting generating method based on a touch screen in any one of embodiment 1 or embodiment 2 of the application.
The embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the method for generating touch handwriting based on a touch screen according to any one of embodiment 1 or embodiment 2 of the present application is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. 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.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A touch handwriting generating method based on a touch screen is characterized by comprising the following steps:
generating a touch state according to the received touch instruction;
judging whether a touch switch adjustment request is received or not;
when the touch switch adjustment request is received, coding the touch state according to the touch switch adjustment request to obtain a coding result;
and generating touch handwriting in the touch screen according to the coding result.
2. The touch script generation method based on the touch screen as recited in claim 1, wherein before the step of generating the touch script in the touch screen according to the encoding result, the method further comprises:
and when the touch switch adjustment request is not received, coding is carried out according to the touch state to obtain a coding result.
3. A touch script generation method based on a touch screen as recited in claim 2, wherein after the step of encoding according to the touch state to obtain an encoding result, the method further comprises:
judging whether the state of the touch switch is an open state or not;
when the touch switch is in an open state, generating touch handwriting in the touch screen according to an encoding result; updating the state of the touch switch according to the touch switch adjustment request;
and when the touch switch state is the closed state, executing the step of updating the touch switch state according to the touch switch adjustment request.
4. The touch script generation method based on the touch screen according to claim 1, wherein the step of coding the touch state according to the touch switch adjustment request when receiving the touch switch adjustment request to obtain a coding result comprises:
when the touch switch adjustment request is received, judging whether the touch switch adjustment request is a touch switch opening request;
when the touch switch adjustment request is a touch switch opening request, matching a first code corresponding table corresponding to the touch switch opening request;
and coding the touch state according to the first coding correspondence table to obtain a coding result.
5. The touch script generation method based on the touch screen according to claim 1, wherein the step of coding the touch state according to the touch switch adjustment request when receiving the touch switch adjustment request to obtain a coding result comprises:
when the touch switch adjustment request is received, judging whether the touch switch adjustment request is a touch switch closing request;
when the touch switch adjustment request is a touch switch closing request, matching a second code corresponding table corresponding to the touch switch closing request;
and coding the touch state according to the second coding correspondence table to obtain a coding result.
6. The touch script generation method based on the touch screen according to any one of claims 1 to 5, wherein the step of generating the touch script in the touch screen according to the encoding result comprises:
and generating touch handwriting in the next frame of picture of the touch screen according to the coding result.
7. A touch handwriting generating device based on a touch screen is characterized by comprising:
the touch control unit is used for generating a touch control state according to the received touch control instruction;
the first judgment unit is used for judging whether a touch switch adjustment request is received or not;
the coding unit is used for coding the touch control state according to the touch control switch adjustment request to obtain a coding result when the touch control switch adjustment request is received;
and the handwriting generating unit is used for generating touch handwriting in the touch screen according to the coding result.
8. The touch script generating device based on the touch screen of claim 7, wherein the script generating unit is specifically configured to generate the touch script in a next frame of screen of the touch screen according to the encoding result.
9. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to execute the touch-screen based touch writing generation method according to any one of claims 1 to 6.
10. A readable storage medium having computer program instructions stored therein, which when read and executed by a processor, perform a method for touch script generation based on a touch screen according to any one of claims 1 to 6.
CN202111178949.7A 2021-10-11 2021-10-11 Touch handwriting generating method and device based on touch screen Active CN113625889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111178949.7A CN113625889B (en) 2021-10-11 2021-10-11 Touch handwriting generating method and device based on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111178949.7A CN113625889B (en) 2021-10-11 2021-10-11 Touch handwriting generating method and device based on touch screen

Publications (2)

Publication Number Publication Date
CN113625889A true CN113625889A (en) 2021-11-09
CN113625889B CN113625889B (en) 2022-02-08

Family

ID=78390818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111178949.7A Active CN113625889B (en) 2021-10-11 2021-10-11 Touch handwriting generating method and device based on touch screen

Country Status (1)

Country Link
CN (1) CN113625889B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120327040A1 (en) * 2011-06-22 2012-12-27 Simon David I Identifiable stylus
US20140210744A1 (en) * 2013-01-29 2014-07-31 Yoomee SONG Mobile terminal and controlling method thereof
CN107291277A (en) * 2017-08-14 2017-10-24 广州视源电子科技股份有限公司 Method, device, equipment and storage medium for preventing false touch
CN109240517A (en) * 2018-07-25 2019-01-18 北京汉王鹏泰科技股份有限公司 Signal processing method, device, time writer and EM induction system
CN109947287A (en) * 2019-02-20 2019-06-28 广州华欣电子科技有限公司 A kind of processing method, device, equipment and the storage medium of touch data missing
CN110347269A (en) * 2019-06-06 2019-10-18 华为技术有限公司 A kind of sky mouse mode implementation method and relevant device
CN112035048A (en) * 2020-08-14 2020-12-04 广州视源电子科技股份有限公司 Touch data processing method, device, equipment and storage medium
CN113434101A (en) * 2021-06-22 2021-09-24 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120327040A1 (en) * 2011-06-22 2012-12-27 Simon David I Identifiable stylus
US20140210744A1 (en) * 2013-01-29 2014-07-31 Yoomee SONG Mobile terminal and controlling method thereof
CN107291277A (en) * 2017-08-14 2017-10-24 广州视源电子科技股份有限公司 Method, device, equipment and storage medium for preventing false touch
CN109240517A (en) * 2018-07-25 2019-01-18 北京汉王鹏泰科技股份有限公司 Signal processing method, device, time writer and EM induction system
CN109947287A (en) * 2019-02-20 2019-06-28 广州华欣电子科技有限公司 A kind of processing method, device, equipment and the storage medium of touch data missing
CN110347269A (en) * 2019-06-06 2019-10-18 华为技术有限公司 A kind of sky mouse mode implementation method and relevant device
CN112035048A (en) * 2020-08-14 2020-12-04 广州视源电子科技股份有限公司 Touch data processing method, device, equipment and storage medium
CN113434101A (en) * 2021-06-22 2021-09-24 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN113625889B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
EP3871403B1 (en) Apparatus for vision and language-assisted smartphone task automation and method thereof
US10606476B2 (en) Techniques for interacting with handheld devices
CN110058782B (en) Touch operation method and system based on interactive electronic whiteboard
EP2680110A1 (en) Method and apparatus for processing multiple inputs
CN112104915B (en) Video data processing method and device and storage medium
CN104718545A (en) Incremental multi-word recognition
KR20160058117A (en) Systems and methods for providing response to user input using information about state changes predicting future user input
US10488988B2 (en) Electronic device and method of preventing unintentional touch
JP2017531849A (en) Character editing method and apparatus for screen display device
US20230004281A1 (en) Intelligent interaction method and device, and storage medium
US10824306B2 (en) Presenting captured data
KR20160059455A (en) Method and device for identifying encoding of web page
JP2016531352A (en) Method, device, program and device for updating input system
CN110795015A (en) Operation prompting method, device, equipment and storage medium
CN111669633A (en) Remote control signal-to-touch operation method and device and display equipment
CN114241471B (en) Video text recognition method and device, electronic equipment and readable storage medium
WO2021068382A1 (en) Multi-window operation control method and apparatus, and device and storage medium
CN111479079A (en) UI list operation method and device, smart screen and readable storage medium
CN113297156A (en) Data synchronization method, device, equipment and medium
KR101385625B1 (en) Method, apparatus, and recording medium for processing touch process
CN113625889B (en) Touch handwriting generating method and device based on touch screen
US10423515B2 (en) Recording touch information
CN111857497B (en) Operation prompting method and electronic equipment
CN110868347A (en) Message prompting method, device and system
CN112702658A (en) Information processing apparatus, storage medium, and information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A touch handwriting generation method and device based on touch screen

Effective date of registration: 20220615

Granted publication date: 20220208

Pledgee: Guangzhou Caold financing Company limited by guarantee

Pledgor: Guangdong xinkong Electronic Technology Co.,Ltd.

Registration number: Y2022980007885

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230901

Granted publication date: 20220208

Pledgee: Guangzhou Caold financing Company limited by guarantee

Pledgor: Guangdong xinkong Electronic Technology Co.,Ltd.

Registration number: Y2022980007885