CN111596790B - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN111596790B
CN111596790B CN202010347360.4A CN202010347360A CN111596790B CN 111596790 B CN111596790 B CN 111596790B CN 202010347360 A CN202010347360 A CN 202010347360A CN 111596790 B CN111596790 B CN 111596790B
Authority
CN
China
Prior art keywords
touch
stylus
sub
pen
leaving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010347360.4A
Other languages
Chinese (zh)
Other versions
CN111596790A (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.)
Shenzhen Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation Information 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 Shenzhen Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN202010347360.4A priority Critical patent/CN111596790B/en
Publication of CN111596790A publication Critical patent/CN111596790A/en
Application granted granted Critical
Publication of CN111596790B publication Critical patent/CN111596790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 application is applicable to the technical field of data processing, and provides a data processing method, which comprises the following steps: if the fact that the stylus leaves the pen slot is detected, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot; if the total number of the touch pens leaving the pen slot is greater than or equal to two, dividing the touch screen into sub-touch areas with the same number according to the total number of the touch pens leaving the pen slot; and matching the stylus marks of the styluses leaving the stylus slot with the sub-stylus areas one by one, and controlling the sub-stylus areas to respond to the touch event triggered by the stylus to which the corresponding stylus mark belongs. By the method, the layout of the touch screen is more standard, so that the efficiency of information acquisition from the touch event and the viewing experience of the audience are improved.

Description

Data processing method, device and system
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a data processing method and device.
Background
As the functions of the touch screen are more and more improved along with the continuous development of science and technology, the touch screen is widely applied to various scenes, such as education and teaching scenes and business display scenes.
In the actual application process of the touch screen, a situation that a plurality of users respectively hold the touch pen to trigger a touch event on the same touch screen often occurs. Because of the difference of operation habits of different users, touch events triggered by a plurality of touch pens are mixed together easily, so that the layout is disordered, and the efficiency of information acquisition from the touch events and the viewing experience of the audience are greatly reduced.
Disclosure of Invention
The embodiment of the application provides a data processing method and device, which can solve the problems that when a plurality of writers respectively hold touch pens to trigger touch events on the same touch screen, the touch events triggered by the touch pens are mixed together, and the efficiency of information acquisition from the touch events and the viewing experience of audiences are reduced.
In a first aspect, an embodiment of the present application provides a data processing method, including:
if the fact that the stylus leaves the pen slot is detected, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot;
if the total number of the touch pens leaving the pen slot is greater than or equal to two, dividing the touch screen into sub-touch areas with the same number according to the total number of the touch pens leaving the pen slot;
And matching the stylus marks of the styluses leaving the stylus slot with the sub-stylus areas one by one, and controlling the sub-stylus areas to respond to the touch event triggered by the stylus to which the corresponding stylus mark belongs.
In a first possible implementation manner of the first aspect, after the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, the method includes:
displaying corresponding functional controls in each sub-touch area respectively;
correspondingly, the touch event includes: the function control is clicked, and the controlling each sub-touch area only responds to a touch event triggered by a touch pen to which a corresponding touch pen identifier belongs, specifically includes:
and controlling each sub-touch area to respond to the function control clicked by the touch pen to which the corresponding touch pen identifier belongs.
In a second possible implementation manner of the first aspect, the touch event includes: and writing the event, correspondingly, controlling each sub-touch area to only respond to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, including:
And controlling each sub-touch area to display only the writing handwriting corresponding to the writing event triggered by the touch pen to which the corresponding touch pen identifier belongs.
Based on the second possible implementation manner of the first aspect, in a third possible implementation manner, after controlling each sub-touch area to display only writing scripts corresponding to writing events triggered by a stylus to which a corresponding stylus identifier belongs, the method includes:
if an audio broadcasting instruction corresponding to the writing handwriting is received, generating audio corresponding to the writing handwriting, and then indicating a broadcasting device to broadcast the audio corresponding to the writing handwriting.
In a fourth possible implementation manner of the first aspect, before the controlling each sub-touch area only responds to a touch event triggered by a stylus to which a corresponding stylus identifier belongs, the method includes:
acquiring a difference value between a potential value of a pen point of a touch pen triggering a touch event and a potential value of a touch position;
and determining a stylus identifier of a stylus triggering the touch event according to the difference value.
In a fifth possible implementation manner of the first aspect, after the pairing of the stylus identifier of each stylus leaving the pen slot with each sub-touch area, the pairing method includes:
And respectively displaying the stylus identifications corresponding to the sub-touch areas in the sub-touch areas.
In a sixth possible implementation manner of the first aspect, before the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, the method includes:
displaying a dialog box, wherein the dialog box is used for inquiring whether a user needs split screen or not;
correspondingly, the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot includes:
and if the split screen confirmation instruction is received, dividing the touch screen into the same number of sub touch areas according to the total number of the touch pens leaving the pen slot.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
a first determining unit, configured to determine, if it is detected that the stylus leaves the pen slot, a total number of the styluses leaving the pen slot and a stylus identifier of each stylus leaving the pen slot;
the dividing unit is used for dividing the touch screen into sub-touch areas with the same number according to the total number of the touch pens leaving the pen slot if the total number of the touch pens leaving the pen slot is greater than or equal to two;
And the response unit is used for pairing the stylus marks of the styluses leaving the stylus slot with the sub-touch areas one by one, and controlling the sub-touch areas to respond to the touch event triggered by the stylus to which the corresponding stylus mark belongs.
In a third aspect, an embodiment of the present application provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the data processing method when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, comprising: the computer readable storage medium stores a computer program which, when executed by a processor, implements the steps of the data processing method as described.
In a fifth aspect, embodiments of the present application provide a computer program product for causing a terminal device to perform the steps of the data processing method when the computer program product is run on the terminal device.
It will be appreciated that the advantages of the second to fifth aspects may be found in the relevant description of the first aspect, and are not described here again.
Compared with the prior art, the embodiment of the application has the beneficial effects that: if the fact that the stylus leaves the pen slot is detected, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot; if the total number of the touch pens leaving the pen slot is greater than or equal to two, the touch screen is divided into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, and as the touch pen identifiers of the touch pens leaving the pen slot can be paired with the sub-touch areas one by one, each sub-touch area is controlled to respond to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, namely each sub-touch area can only respond to the touch event triggered by one touch pen, the layout of the touch screen is more standard, and the efficiency and the look and feel experience of the audience for acquiring information from the touch event are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms first, second and the like in the description and in the claims, are used for distinguishing between the descriptions and not necessarily for indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Embodiment one:
fig. 1 shows a flow chart of a data processing method according to an embodiment of the present application, which is described in detail below:
in step S101, if it is detected that the stylus leaves the pen slot, the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot are determined.
By way of example and not limitation, the detection of the stylus leaving the pen slot may be accomplished by: and receiving the stylus leaving information sent by any stylus slot or/and any stylus.
The following examples illustrate: if the stylus leaving information sent by any pen slot is received, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot. As long as the stylus leaving information sent by any one of the pen slots is received, the total number of the styluses and the stylus identifications of the current leaving pen slots can be determined, and if two pen slots, namely a pen slot A and a pen slot B, are provided, the stylus leaving information sent by the pen slot B is received, and the stylus leaving information can be: and determining the total number of the touch pens currently leaving the pen slot and the touch pen identifiers of the touch pens leaving the pen slot if the touch pen with the touch pen identifier of 001 leaves the pen slot A before the pen slot B sends the touch pen leaving information, namely, determining that the total number of the touch pens currently leaving the pen slot is 2 and the touch pen identifiers of the touch pens leaving the pen slot are 001 and 002 respectively.
In addition, when the stylus leaves the pen slot, the stylus identification carried by the stylus can be actively sent to the equipment main control.
In step S102, if the total number of the touch pens leaving the pen slot is greater than or equal to two, dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot.
Specifically, if the total number of the touch pens leaving the pen slot is greater than or equal to two, determining coordinates corresponding to all the sub-touch areas to be divided according to the total number of the touch pens leaving the pen slot, and dividing the touch screen into the same number of sub-touch areas according to the coordinates.
As the total number of the touch pens leaving the pen slot can be determined as soon as the touch pens leave the pen slot is detected, if the total number of the touch pens leaving the pen slot is greater than or equal to two, the touch screen is divided into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, namely, the touch pens leave the pen slot to trigger the screen separating function of the touch screen, so that the screen separating efficiency of the touch screen is greatly improved.
Optionally, before the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, the method includes: displaying a dialog box, wherein the dialog box is used for inquiring whether a user needs split screen or not; correspondingly, the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot includes: and if the split screen confirmation instruction is received, dividing the touch screen into the same number of sub touch areas according to the total number of the touch pens leaving the pen slot.
After receiving the split screen confirmation instruction, the touch screen is divided into the same number of sub touch areas according to the total number of the touch pens leaving the pen slot, so that split screen misoperation can be effectively avoided.
The following example illustrates that if the split screen confirmation command is received, the touch screen is divided into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot: assuming that the total number of the touch pens leaving the pen slot is 2, if a split screen confirmation instruction is received, dividing the touch screen into 2 sub-touch areas.
Step S103, pairing the stylus identifiers of the styluses leaving the stylus slot with the sub-touch areas one by one, and controlling the sub-touch areas to respond only to the touch event triggered by the stylus to which the corresponding stylus identifier belongs.
By way of example and not limitation, assume that there are two styli exiting the pen slot, a sub-stylus region a, and a sub-stylus region b, the stylus identifiers of the two styli exiting the pen slot are 001 and 002, respectively, and the stylus identifiers of the styli exiting the pen slot are paired with the sub-stylus regions randomly one by one, assuming that the pairing result is: the stylus mark 001 corresponds to the sub-touch area A, the stylus mark 002 corresponds to the sub-touch area B, and then if a touch event a triggered by a stylus to which the stylus mark 001 belongs is detected in the sub-touch area A, the sub-touch area A is controlled to respond to the touch event a; if a touch event b triggered by a touch pen to which the touch pen identifier 002 belongs is detected in the sub-touch area A, the sub-touch area A does not respond to the touch event b; if a touch event c triggered by a touch pen to which the touch pen identifier 002 belongs is detected in the sub-touch area B, the sub-touch area B is controlled to respond to the touch event c; if a touch event d triggered by the stylus to which the stylus identifier 001 belongs is detected in the sub-touch area b, the sub-touch area b does not respond to the touch event d.
Optionally, in order to enable the user to accurately and quickly understand the correspondence between the sub-touch areas and the touch pens leaving the pen slot, after the pairing of the touch pen identifiers of the touch pens leaving the pen slot with the sub-touch areas, the method includes: and respectively displaying the stylus identifications corresponding to the sub-touch areas in the sub-touch areas.
As an example and not by way of limitation, assuming that there are 2 sub-touch areas, namely sub-touch area a and sub-touch area B, respectively, the stylus corresponding to sub-touch area a is identified as 001, the stylus corresponding to sub-touch area B is identified as 002, the sub-touch area a displays "001", and the sub-touch area B displays "002".
Optionally, in order to facilitate the user and/or the viewer to distinguish different sub-touch areas, after the stylus identifier of each stylus leaving the stylus slot is paired with each sub-touch area, the method includes: different sub-touch areas are set to correspond to different background colors.
By way of example and not limitation, the background color of the sub-touch area a is set to light green and the background color of the sub-touch area B is set to light blue.
Optionally, before the controlling each sub-touch area only responds to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, the method includes: acquiring a difference value between a potential value of a pen point of a touch pen triggering a touch event and a potential value of a touch position; and determining a stylus identifier of a stylus triggering the touch event according to the difference value. Because the stylus identification of the stylus triggering the touch event can be determined according to a specific numerical value, the determined stylus identification is accurate.
The potential values of the nibs of different touch pens are different, and the potential values of the nibs of the touch pens can be preset before the touch pens leave the factory. The touch screen is provided with a capacitance film, and the potential value of the touch position is the potential value of the capacitance film on the touch position.
Specifically, the obtaining a difference between the potential value of the pen point of the stylus that triggers the touch event and the potential value of the touch position, and determining, according to the difference, the stylus identifier of the stylus that triggers the touch event includes: subtracting the potential value of the touch position from the potential value of the pen point of the touch pen triggering the touch event to trigger a difference value between the potential value of the pen point of the touch pen triggering the touch event and the potential value of the touch position, determining a difference value range to which the difference value belongs, and determining a touch pen identifier of the touch pen triggering the touch event according to a preset difference value range and identifier corresponding relation.
By way of example and not limitation, assuming that the difference is 0.2 volts, the representation of the correspondence between the preset difference range and the identifier may be table 1, and it may be determined that the difference range to which the difference belongs is [0,1] volts, and it is determined that the stylus identifier of the stylus triggering the touch event is 001 according to table 1.
TABLE 1
Optionally, after the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, the method includes: displaying corresponding functional controls in each sub-touch area respectively; correspondingly, the touch event includes: the function control is clicked, and the controlling each sub-touch area only responds to a touch event triggered by a touch pen to which a corresponding touch pen identifier belongs, specifically includes: and controlling each sub-touch area to respond to the function control clicked by the touch pen to which the corresponding touch pen identifier belongs. Because the function controls are equivalent to operation inlets of functions, the appointed function controls are respectively displayed in each sub-touch area, a plurality of users can conveniently and respectively control the sub-touch areas corresponding to the users, and the control efficiency is improved.
The controlling each sub-touch area only responds to the function control clicked by the touch pen to which the corresponding touch pen identifier belongs, specifically includes: if the fact that the functional control is clicked is detected, the sub-touch area corresponding to the clicked functional control is controlled to respond to the touch event triggered by the touch pen to which the touch pen identifier corresponding to the sub-touch area corresponding to the clicked functional control belongs through the process corresponding to the sub-touch area corresponding to the clicked functional control.
As an example and not by way of limitation, assuming that there are 2 sub-touch areas, namely sub-touch area a and sub-touch area B, respectively, the stylus corresponding to sub-touch area a is identified as 001, the stylus corresponding to sub-touch area B is identified as 002, the functionality control comprises: a writing erasing control and a writing color adjusting control. Respectively displaying a writing handwriting erasing control and a writing handwriting color adjusting control in the sub-touch area A and the sub-touch area B, and erasing the writing handwriting in the sub-touch area A through a process corresponding to the sub-touch area A if the writing handwriting erasing control in the sub-touch area A is detected to be clicked by a touch pen with a touch pen mark of 001; if the fact that the writing handwriting erasing control in the sub-touch area A is clicked by the touch pen with the touch pen mark being 002 is detected, the writing handwriting in the sub-touch area A is not erased.
Optionally, the touch event includes: and writing the event, correspondingly, controlling each sub-touch area to only respond to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, including: and controlling each sub-touch area to display only the writing handwriting corresponding to the writing event triggered by the touch pen to which the corresponding touch pen identifier belongs. That is, each sub-touch area can only respond to a writing event triggered by a touch pen leaving the pen slot, so that the layout of writing scripts corresponding to the writing event is more standard, and the efficiency of information acquisition from the writing scripts and the impression experience of a viewer are greatly improved.
Specifically, if the stylus identifier of the stylus triggering the writing event is the same as the stylus identifier corresponding to the sub-touch area, controlling the sub-touch area to display the writing handwriting corresponding to the writing event; if the stylus mark of the stylus triggering the writing event is different from the stylus mark corresponding to the sub-touch area, the sub-touch area does not display the writing handwriting corresponding to the writing event; and if the touch position triggering the writing event is on the boundary of the sub-touch area, the sub-touch area does not display the writing handwriting corresponding to the writing event.
Optionally, after the controlling each sub-touch area displays only the writing trace corresponding to the writing event triggered by the stylus to which the corresponding stylus identifier belongs, the method includes: if an audio broadcasting instruction corresponding to the writing handwriting is received, generating audio corresponding to the writing handwriting, and then indicating a broadcasting device to broadcast the audio corresponding to the writing handwriting. The method can display the writing handwriting and report the corresponding audio of the writing handwriting, namely, the information can be transmitted through vision and hearing, so that the information transmission efficiency is improved.
If an audio broadcasting instruction corresponding to the writing handwriting is received, the generating the audio corresponding to the writing handwriting specifically comprises: and if the audio broadcasting instruction corresponding to the writing handwriting is received, determining semantic data corresponding to the writing handwriting, and generating audio corresponding to the writing handwriting according to the semantic data.
In some embodiments, to enable cancellation of split screens, therefore, the data processing method further comprises: and if the split screen cancel instruction is received, restoring the touch screen into a writing interface, and deleting the writing handwriting displayed before the touch screen is restored.
By way of example and not limitation, the split-screen cancel instruction may be any of the following: a split-screen cancel instruction sent by a touch screen controller (such as a remote controller corresponding to a touch screen), or a split-screen cancel instruction corresponding to a specified touch gesture, where the specified touch gesture may be: a slide left gesture.
In the embodiment of the application, if the fact that the stylus leaves the pen slot is detected, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot; if the total number of the touch pens leaving the pen slot is greater than or equal to two, the touch screen is divided into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, and as the touch pen identifiers of the touch pens leaving the pen slot can be paired with the sub-touch areas one by one, each sub-touch area is controlled to respond to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, namely each sub-touch area can only respond to the touch event triggered by one touch pen leaving the pen slot, the layout of the touch screen is more standard, and the efficiency and the viewing experience of the audience for acquiring information from the touch event are greatly improved.
Embodiment two:
corresponding to the first embodiment, fig. 2 shows a schematic structural diagram of a data processing apparatus according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
The data processing apparatus includes: a first determination unit 201, a division unit 202, and a response unit 203.
The first determining unit 201 is configured to determine, if it is detected that the stylus leaves the pen slot, a total number of styluses leaving the pen slot and a stylus identifier of each stylus leaving the pen slot.
The dividing unit 202 is configured to divide the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot if the total number of the touch pens leaving the pen slot is greater than or equal to two.
Optionally, the data processing apparatus further comprises: and a dialog box display unit.
The dialog box display unit is used for: before the dividing unit 202 performs the dividing of the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, a dialog box is displayed, and the dialog box is used for asking the user whether the split screen is needed; correspondingly, when the dividing unit 202 performs the division of the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, the dividing unit is specifically configured to: and if the split screen confirmation instruction is received, dividing the touch screen into the same number of sub touch areas according to the total number of the touch pens leaving the pen slot. After receiving the split screen confirmation instruction, the touch screen is divided into the same number of sub touch areas according to the total number of the touch pens leaving the pen slot, so that split screen misoperation can be effectively avoided.
The response unit 203 is configured to pair the stylus identifiers of the styluses leaving the stylus slot with the sub-touch areas one by one, and control each sub-touch area to respond only to a touch event triggered by the stylus to which the corresponding stylus identifier belongs.
Optionally, in order to enable the user to accurately and quickly understand the correspondence between the sub-touch area and the stylus leaving the stylus slot, the data processing apparatus further includes: the display unit is identified.
The identification display unit is used for: after the response unit 203 performs the one-to-one pairing of the stylus identifier of the stylus leaving the stylus slot and each sub-touch area, the stylus identifier corresponding to the sub-touch area is displayed in each sub-touch area.
Optionally, in order to facilitate the user and/or the viewer to distinguish between the different sub-touch areas, the data processing apparatus further comprises: and a background color setting unit.
The background color setting unit is configured to: after the response unit 203 performs the one-to-one pairing of the stylus identifier of each stylus leaving the stylus slot and each sub-touch area, different sub-touch areas are set to correspond to different background colors.
Optionally, the data processing apparatus further comprises: and a second determination unit.
The second determining unit is configured to: before the response unit 203 performs the control to respond to only the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, a difference value between a potential value of a pen tip of the touch pen triggering the touch event and a potential value of a touch position is obtained; and determining a stylus identifier of a stylus triggering the touch event according to the difference value. Because the stylus identification of the stylus triggering the touch event can be determined according to a specific numerical value, the determined stylus identification is accurate.
Optionally, the data processing apparatus further comprises: and a function control display unit.
The function control display unit is used for: after the dividing unit 202 performs the dividing of the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, corresponding functional controls are respectively displayed in each sub-touch area; correspondingly, the touch event includes: the function control is clicked, and the response unit 203 is specifically configured to, when executing the control of each sub-touch area, only respond to a touch event triggered by a touch pen to which a corresponding touch pen identifier belongs: and controlling each sub-touch area to respond to the function control clicked by the touch pen to which the corresponding touch pen identifier belongs. Because the function controls are equivalent to operation inlets of functions, the appointed function controls are respectively displayed in each sub-touch area, a plurality of users can conveniently and respectively control the sub-touch areas corresponding to the users, and the control efficiency is improved.
Optionally, the touch event includes: the response unit 203 is configured to, when executing the control of each sub-touch area, respond to only a touch event triggered by a touch pen to which the corresponding touch pen identifier belongs, and specifically: and controlling each sub-touch area to display only the writing handwriting corresponding to the writing event triggered by the touch pen to which the corresponding touch pen identifier belongs. That is, each sub-touch area can only respond to a writing event triggered by a touch pen leaving the pen slot, so that the layout of writing scripts corresponding to the writing event is more standard, and the efficiency of information acquisition from the writing scripts and the impression experience of a viewer are greatly improved.
Optionally, the data processing apparatus further comprises: and an audio broadcasting unit.
The audio broadcasting unit is used for: after the response unit 203 executes the control to the sub-touch area to display only the writing handwriting corresponding to the writing event triggered by the touch pen to which the corresponding touch pen identifier belongs, if an audio broadcasting instruction corresponding to the writing handwriting is received, audio corresponding to the writing handwriting is generated, and then the broadcasting device is instructed to broadcast the audio corresponding to the writing handwriting. The method can display the writing handwriting and report the corresponding audio of the writing handwriting, namely, the information can be transmitted through vision and hearing, so that the information transmission efficiency is improved.
In some embodiments, to enable cancellation of split screens, therefore, the data processing apparatus further comprises: and a recovery unit. The recovery unit is used for: and if the split screen cancel instruction is received, restoring the touch screen into a writing interface, and deleting the writing handwriting displayed before the touch screen is restored.
In the embodiment of the application, if the fact that the stylus leaves the pen slot is detected, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot; if the total number of the touch pens leaving the pen slot is greater than or equal to two, the touch screen is divided into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, and as the touch pen identifiers of the touch pens leaving the pen slot can be paired with the sub-touch areas one by one, each sub-touch area is controlled to respond to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, namely each sub-touch area can only respond to the touch event triggered by one touch pen leaving the pen slot, the layout of the touch screen is more standard, and the efficiency and the viewing experience of the audience for acquiring information from the touch event are greatly improved.
Embodiment III:
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device 3 of this embodiment includes: at least one processor 30 (only one is shown in fig. 3), a memory 31 and a computer program 32 stored in the memory 31 and executable on the at least one processor 30, the processor 30 implementing the steps in any of the various data processing method embodiments described above when executing the computer program 32.
The terminal device may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the terminal device 3 and does not constitute a limitation of the terminal device 3, and may include more or less components than illustrated, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The processor 30 may be a central processing unit (Central Processing Unit, CPU), the processor 30 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may in some embodiments be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may in other embodiments also be an external storage device of the terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash Card (FlashCard) or the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs etc., such as program codes of the computer program etc. The memory 31 may also be used for temporarily storing data that has been output or is to be output.
It should be noted that, because the content of information interaction and execution process between the above units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
The present embodiments provide a computer program product which, when run on a terminal device, causes the terminal device to perform steps that enable the respective method embodiments described above to be implemented.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed network device and method may be implemented in other manners. For example, the network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method of data processing, comprising:
if the fact that the stylus leaves the pen slot is detected, determining the total number of the styluses leaving the pen slot and the stylus identification of each stylus leaving the pen slot;
If the total number of the touch pens leaving the pen slot is greater than or equal to two, dividing the touch screen into sub-touch areas with the same number according to the total number of the touch pens leaving the pen slot;
pairing the stylus marks of the styluses leaving the stylus slot with the sub-stylus areas one by one, and controlling the sub-stylus areas to respond to the touch event triggered by the stylus to which the corresponding stylus mark belongs;
before the controlling each sub-touch area only responds to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, the method comprises the following steps:
acquiring a difference value between a potential value of a pen point of a touch pen triggering a touch event and a potential value of a touch position;
determining a stylus identifier of a stylus triggering the touch event according to the difference value;
and determining a difference range to which the difference belongs, and determining a stylus identifier of a stylus triggering the touch event according to a corresponding relation between a preset difference range and the identifier.
2. The data processing method according to claim 1, wherein after the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot, comprising:
Displaying corresponding functional controls in each sub-touch area respectively;
correspondingly, the touch event includes: the function control is clicked, and the controlling each sub-touch area only responds to a touch event triggered by a touch pen to which a corresponding touch pen identifier belongs, specifically includes:
and controlling each sub-touch area to respond to the function control clicked by the touch pen to which the corresponding touch pen identifier belongs.
3. The data processing method of claim 1, wherein the touch event comprises: and writing the event, correspondingly, controlling each sub-touch area to only respond to the touch event triggered by the touch pen to which the corresponding touch pen identifier belongs, including:
and controlling each sub-touch area to display only the writing handwriting corresponding to the writing event triggered by the touch pen to which the corresponding touch pen identifier belongs.
4. A data processing method according to claim 3, wherein after said controlling each of said sub-touch areas displays only writing scripts corresponding to writing events triggered by a stylus to which a corresponding stylus identification belongs, comprising:
if an audio broadcasting instruction corresponding to the writing handwriting is received, generating audio corresponding to the writing handwriting, and then indicating a broadcasting device to broadcast the audio corresponding to the writing handwriting.
5. The data processing method according to claim 1, wherein after the pairing of the stylus identifications of the styli leaving the stylus slot with the sub-touch areas, the method comprises:
and respectively displaying the stylus identifications corresponding to the sub-touch areas in the sub-touch areas.
6. The data processing method according to claim 1, comprising, before the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot:
displaying a dialog box, wherein the dialog box is used for inquiring whether a user needs split screen or not;
correspondingly, the dividing the touch screen into the same number of sub-touch areas according to the total number of the touch pens leaving the pen slot includes:
and if the split screen confirmation instruction is received, dividing the touch screen into the same number of sub touch areas according to the total number of the touch pens leaving the pen slot.
7. A data processing apparatus, comprising:
a first determining unit, configured to determine, if it is detected that the stylus leaves the pen slot, a total number of the styluses leaving the pen slot and a stylus identifier of each stylus leaving the pen slot;
The dividing unit is used for dividing the touch screen into sub-touch areas with the same number according to the total number of the touch pens leaving the pen slot if the total number of the touch pens leaving the pen slot is greater than or equal to two;
the response unit is used for matching the stylus marks of the styluses leaving the stylus slot with the sub-touch areas one by one, and controlling the sub-touch areas to respond to the touch event triggered by the stylus to which the corresponding stylus mark belongs;
the response unit is further configured to, before the controlling each sub-touch area only responds to a touch event triggered by a touch pen to which the corresponding touch pen identifier belongs, include:
acquiring a difference value between a potential value of a pen point of a touch pen triggering a touch event and a potential value of a touch position;
determining a stylus identifier of a stylus triggering the touch event according to the difference value;
and determining a difference range to which the difference belongs, and determining a stylus identifier of a stylus triggering the touch event according to a corresponding relation between a preset difference range and the identifier.
8. The data processing apparatus of claim 7, wherein the data processing apparatus further comprises a functionality control display unit for:
Displaying corresponding functional controls in each sub-touch area respectively;
correspondingly, the touch event includes: the function control is clicked, and the controlling each sub-touch area only responds to a touch event triggered by a touch pen to which a corresponding touch pen identifier belongs, specifically includes:
and controlling each sub-touch area to respond to the function control clicked by the touch pen to which the corresponding touch pen identifier belongs.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 6.
CN202010347360.4A 2020-04-28 2020-04-28 Data processing method, device and system Active CN111596790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010347360.4A CN111596790B (en) 2020-04-28 2020-04-28 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010347360.4A CN111596790B (en) 2020-04-28 2020-04-28 Data processing method, device and system

Publications (2)

Publication Number Publication Date
CN111596790A CN111596790A (en) 2020-08-28
CN111596790B true CN111596790B (en) 2023-07-18

Family

ID=72189455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010347360.4A Active CN111596790B (en) 2020-04-28 2020-04-28 Data processing method, device and system

Country Status (1)

Country Link
CN (1) CN111596790B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019602B (en) * 2012-12-17 2015-08-19 锐达互动科技股份有限公司 A kind of method realizing the operation of many people split screen
CN109062433A (en) * 2018-07-23 2018-12-21 广州视源电子科技股份有限公司 Method, apparatus, smart machine and the storage medium of touch data processing

Also Published As

Publication number Publication date
CN111596790A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
CN108829327B (en) Writing method and device of interactive intelligent equipment
CN111625214B (en) Audio control method, device, equipment and storage medium
US20150378965A1 (en) Method And Device For Text Input And Display Of Intelligent Terminal
CN104992094A (en) Terminal operation method and terminal
CN109410295B (en) Color setting method, device, equipment and computer readable storage medium
EP3251005B1 (en) Image processing device and electronic whiteboard
CN112162807A (en) Function execution method and device
WO2020186814A1 (en) Page element highlighting method, apparatus, device and storage medium
WO2022206697A1 (en) Image sharing methods and apparatuses, and electronic device
CN105335198A (en) Font addition method and device
CN103425429A (en) Method for correcting character style and an electronic device therefor
CN108646962B (en) Editing method and device for terminal desktop layout, storage medium and mobile terminal
CN113177190A (en) Document content sharing method and electronic equipment
CN113596555B (en) Video playing method and device and electronic equipment
WO2022068768A1 (en) Permission setting method and apparatus, file playback method and apparatus, and electronic device
CN113286196B (en) Vehicle-mounted video playing system and video split-screen display method and device
CN111596790B (en) Data processing method, device and system
CN114415847A (en) Text information deleting method and device and electronic equipment
CN112688859B (en) Voice message sending method and device, electronic equipment and readable storage medium
CN104793937A (en) Start-up control method and device
CN108845613B (en) Interactive intelligent tablet computer and data processing method and device thereof
CN114222155B (en) Resource recommendation method, device, electronic equipment and storage medium
CN113038286B (en) Video playing control method and device and electronic equipment
CN113098545B (en) Control method, device and equipment of radio frequency device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant