WO2020249103A1 - Control method and apparatus for intelligent interactive device - Google Patents

Control method and apparatus for intelligent interactive device Download PDF

Info

Publication number
WO2020249103A1
WO2020249103A1 PCT/CN2020/095903 CN2020095903W WO2020249103A1 WO 2020249103 A1 WO2020249103 A1 WO 2020249103A1 CN 2020095903 W CN2020095903 W CN 2020095903W WO 2020249103 A1 WO2020249103 A1 WO 2020249103A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch screen
preemption
flag
preemption flag
leaves
Prior art date
Application number
PCT/CN2020/095903
Other languages
French (fr)
Chinese (zh)
Inventor
黄振宇
Original Assignee
广州视源电子科技股份有限公司
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 广州视源电子科技股份有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2020249103A1 publication Critical patent/WO2020249103A1/en

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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Definitions

  • the embodiments of the present application relate to the field of interactive smart devices, and specifically, to a method and device for controlling smart interactive devices.
  • the existing smart interactive tablet is usually equipped with electromagnetic screen and infrared touch frame at the same time, or electromagnetic screen plus capacitive screen, or other combo boxes, which can support pen writing and handwriting at the same time.
  • electromagnetic screen and infrared touch frame at the same time, or electromagnetic screen plus capacitive screen, or other combo boxes, which can support pen writing and handwriting at the same time.
  • infrared frame and capacitive screen can be used
  • the electromagnetic screen can be written with an electromagnetic pen.
  • the above solution of the intelligent interactive device with multiple touch frames brings great convenience to the user, not only can use the electromagnetic pen to write, but also use the finger to write. But when both the handwriting and the electromagnetic pen touch the screen, some unrealizable scenes will appear. For example, when the palm or an object touches a certain area on the touch screen, the software will recognize it as an eraser and perform the erasing function, making it impossible to draw The shape of the palm or object.
  • some touch screens are equipped with a preemption function.
  • the electromagnetic pen can be used to preempt the writing, and the finger can resume writing immediately after the electromagnetic pen leaves.
  • This kind of preemption scheme requires the user to complete all the writing content in one stroke when preempting, which is inconsistent with the user's writing habits. After the electromagnetic pen leaves the touch screen, the finger will resume writing immediately, which will also lead to misdrawing lines Or erased by mistake. And it is necessary to remove the hand or object first, and then remove the pen, which is also inconsistent with public habits. Regarding the scene of writing on the wrist, if there is writing under the wrist when the pen is raised, it will be erased by the wrist by mistake.
  • the embodiments of the present application provide a method and device for controlling a smart interactive device, so as to at least solve the technical problem that the writing of the smart interactive device in the related art does not match the user's habits, which leads to misdrawing or erasure of lines during the writing process.
  • a method for controlling a smart interactive device including: detecting an operation of a second object during a process of a first object operating on a touch screen, wherein the first object and the second object are Objects operate the same interactive smart device through different types of touch screens; set preemption flags, and perform tasks according to the operations of the second object; detect that the first object leaves the touch screen, and clear the preemption flags.
  • the operation of the second object is detected again; execute according to the operation of the second object Task, and continue to hold the preemption flag, waiting for the first object to leave the touch screen.
  • the second object is operated by an electromagnetic touch screen
  • the first object is operated by a touch screen other than the electromagnetic touch screen
  • the operation of the first object on the touch screen it is detected that the second object contacts the touch screen, and it is determined that the operation of the second object is detected.
  • a control device for a smart interactive device including: a first detection module configured to detect an operation of a second object during the operation of the first object on the touch screen, wherein , The first object and the second object operate the same interactive smart device through different types of touch screens; the setting module is set to set the preemption flag, and the task is executed according to the operation of the second object; the second detection module is set to detect the first Subject leaves the touch screen and clears the preemption sign.
  • the above device further includes: a third detection module configured to detect that the second object leaves the touch screen before detecting that the first object leaves the touch screen and clear the preemption flag; the first retention module is configured to maintain the preemption flag, and Wait for the first object to leave the touch screen.
  • the above-mentioned device further includes: a fourth detection module, configured to detect the first object again before the first object leaves the touch screen and clear the preemption flag while maintaining the preemption flag and waiting for the first object to leave the touch screen.
  • a fourth detection module configured to detect the first object again before the first object leaves the touch screen and clear the preemption flag while maintaining the preemption flag and waiting for the first object to leave the touch screen.
  • Operation of the second object the second holding module is set to perform tasks according to the operation of the second object, and continue to hold the preemption flag, and wait for the first object to leave the touch screen.
  • a non-volatile storage medium includes a stored program, and the device where the non-volatile storage medium is located is controlled to execute the aforementioned intelligent Control method of interactive equipment.
  • a processor configured to run a program, wherein the program executes the above-mentioned control method of the smart interactive device when the program is running.
  • the operation of the second object is detected, wherein the first object and the second object communicate with the same interactive smart device through different types of touch screens.
  • Perform an operation set a preemption flag, and perform tasks according to the operation of the second object; detect that the first object leaves the touch screen, and clear the preemption flag.
  • the above solution changes the timing of clearing the preemption mark, so that the interactive smart device is more in line with the user's usage habits, and can complete more scenarios, thereby solving the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in writing Technical problem of wrong line drawing or wrong erasure during the process.
  • FIG. 1 is a schematic diagram of an interactive process of an intelligent interactive device proposed in an embodiment of the present application
  • Fig. 2 is a flowchart of a method for controlling a smart interactive device according to an embodiment of the present application
  • Fig. 3 is a flowchart of a method for an electromagnetic pen to preempt handwriting and set a preemption flag according to an embodiment of the present application
  • Fig. 4 is a flowchart of a method of handwriting process according to an embodiment of the present application.
  • Fig. 5 is a flowchart of a method for clearing a preemption flag according to an embodiment of the present application
  • Fig. 6 is a flowchart of a method for an electromagnetic pen to seize a finger according to an embodiment of the present application
  • Fig. 7 is a schematic diagram of a control device of an intelligent interactive device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a non-volatile storage medium according to an embodiment of the present application.
  • Fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present application.
  • an embodiment of a method for controlling a smart interactive device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
  • the method for controlling the smart interactive device provided in this embodiment can be executed by a writing display device, which can be implemented by software and/or hardware.
  • the writing display device may be composed of two or more physical entities, or It is a physical entity.
  • the writing display device can be a computer, a mobile phone, a tablet, a projector or an interactive smart tablet, etc.
  • the interactive smart tablet is described as an example of a writing display device.
  • the interactive smart tablet may be an integrated device that controls the content displayed on the display tablet through touch technology and realizes human-computer interaction. It integrates one or more functions such as a projector, an electronic whiteboard, a screen, a stereo, a TV, and a video conference terminal.
  • the intelligent interactive tablet has a touch screen.
  • the touch screen can be a touch screen that can realize a single touch function, such as a capacitive touch screen, an electromagnetic touch screen, or a touch screen that can realize capacitive induction, electromagnetic induction, and infrared induction at the same time.
  • the capacitance parameter of the touch position changes, and the touch frame determines the touch position of the finger on the touch screen according to the change in capacitance; or, when the finger touches the touch frame, the infrared receiver is blocked Receiving infrared signals, the touch frame determines the touch position of the finger according to the blocked infrared signal; or, when the user uses the electromagnetic pen to release the touch screen, electromagnetic induction occurs at the contact position of the electromagnetic pen and the touch screen, resulting in a change in magnetic flux.
  • the electromagnetic screen determines the position where the electromagnetic pen touches the touch screen according to the change of magnetic flux.
  • whiteboard application software is installed in the smart interactive tablet.
  • the whiteboard application software can be pre-installed in the above-mentioned smart interactive tablet, or it can be downloaded and installed from a third-party device or server when the smart interactive tablet is started.
  • Writing application software is not limited in the embodiment.
  • the whiteboard application software is used to obtain the operation of the user's finger or the electromagnetic pen in the writing interface, obtain multiple control points according to the user's operation, and generate the user's handwriting based on the control points.
  • the smart interactive tablet also displays the generated writing handwriting on the display screen.
  • the color and thickness of the writing handwriting displayed on the display screen can be the default of the whiteboard application software, or can be selected by the user through the control controls before writing. .
  • the whiteboard application software provides an erasing function for erasing the displayed handwriting.
  • the eraser erases the handwriting.
  • the user moves the eraser so that the movement track of the eraser covers the handwriting to be erased.
  • the whiteboard application software sets the color value of the pixels covered by the eraser to 0, so as to achieve the effect of erasing handwriting.
  • FIG. 1 is a schematic diagram of the interactive process of a smart interactive device proposed in an embodiment of the present application.
  • the interactive smart device includes a touch device.
  • the touch device may include an infrared touch frame, an electromagnetic screen, a capacitive screen, etc. .
  • Interactive smart devices can perform the following steps:
  • Step S102 the touch device receives the user's operation on the touch screen.
  • Step S104 the software of the system layer processes the user's operation.
  • the processing result is returned to the application layer software.
  • Step S106 the application layer software responds to the processing result.
  • control method of the smart interactive device proposed in the embodiment of the application is processed by system layer software.
  • Fig. 2 is a flowchart of a method for controlling a smart interactive device according to an embodiment of the present application. As shown in Fig. 2, the method includes the following steps:
  • Step S202 During the operation of the first object on the touch screen, the operation of the second object is detected.
  • the first object and the second object operate the same interactive smart device through different types of touch screens.
  • the first object and the second object can be two bodies that operate the touch screen in different ways, for example, the first object can be a finger, and the touch screen can be operated through an infrared screen or a capacitive screen; the second object can be an electromagnetic pen , Operate the touch screen through the electromagnetic screen.
  • the operations in the above steps may be writing operations.
  • the priority of the second object is higher than that of the first object. Therefore, the first object can be preempted by the second object during the operation process, and the operation of the second object can also be referred to as a preemption operation.
  • the user presses the palm on the touch screen, and the touch screen recognizes the palm as an eraser (the smart interactive device can recognize the basis that exceeds the preset area as an eraser)
  • the user uses an electromagnetic pen to draw along the palm on the touch screen. At this time, the electromagnetic pen seizes the right to operate the palm.
  • Step S204 Set a preemption flag, and execute the task according to the operation of the second object.
  • the aforementioned preemption flag may be a value stored in a preset location, and setting the preemption flag may be a value for changing the preset location.
  • the value of the preset position corresponding to the preemption flag may be empty or a preset value.
  • the preemption corresponding to the preemption flag may be Set the value of the position to the preset value, or change the preset value to the opposite of the preset value.
  • the smart interactive device determines that the operation right of the touch screen is occupied by the second object, and the operation of the first object is not executed.
  • Step S206 It is detected that the first object leaves the touch screen, and the preemption flag is cleared.
  • the preemption flag After the preemption flag is set and the task is executed according to the operation of the second object, no matter what operation the second object performs, the preemption flag will be maintained, so that the second object has the right to operate until the first object leaves the touch screen. After the first object leaves the touch screen, the preemption flag is cleared.
  • Fig. 3 is a flowchart of a method for an electromagnetic pen to preempt handwriting and set a preemption flag according to an embodiment of the present application. As shown in combination with Fig. 3, the electromagnetic pen preempting handwriting may include the following steps:
  • Step S300 the electromagnetic pen contacts the touch screen.
  • Step S301 it is judged whether there is a finger writing.
  • step S302 If the judgment result is yes, go to step S302, otherwise go to step S304.
  • the judgment result is yes, and if no finger is writing on the touch screen when the electromagnetic pen touches the touch screen, the judgment result is no.
  • Step S302 stop finger writing.
  • Step S303 Set a preemption flag.
  • the set preemption flag is used to indicate that the operation right has been occupied by the electromagnetic pen.
  • Step S304 allowing the electromagnetic pen to write.
  • Fig. 4 is a flowchart of a method of a handwriting process according to an embodiment of the present application. As shown in conjunction with Fig. 4, the handwriting process includes:
  • Step S400 the finger touches the touch screen.
  • Step S401 it is judged whether there is an electromagnetic pen writing.
  • step S400 If the judgment result is yes, go to step S400, otherwise go to step S402.
  • Step S402 it is judged whether there is a preemption flag.
  • step S400 If the judgment result is yes, go to step S400, otherwise go to step S403.
  • preemption mark In the process of finger writing, it is also necessary to determine whether there is a preemption mark. When the preemption mark is detected, continue to check whether the finger continues to connect to the touch screen to determine the appropriate removal of the preemption mark. If there is no preemption mark, it means that there is no electromagnetic pen preemption. Go to step S403 to allow the finger to write.
  • Step S403 allowing finger writing.
  • Fig. 5 is a flowchart of a method for clearing a preemption flag according to an embodiment of the present application. As shown in Fig. 5, the steps of clearing a preemption flag include:
  • Step S500 the finger leaves the screen.
  • the finger is the first object, and the above steps are that the first object leaves the screen.
  • Step S501 Clear the preemption flag.
  • the preemption mark will not be cleared until the finger leaves the screen.
  • Step S502 stop the finger writing.
  • the operation of the second object is detected, where the first object and the second object are intelligent on the same interaction through different types of touch screens.
  • the device operates; the preemption flag is set, and the task is executed according to the operation of the second object; the first object is detected to leave the touch screen, and the preemption flag is cleared.
  • the above solution changes the timing of clearing the preemption mark, so that the interactive smart device is more in line with the user's usage habits, and can complete more scenarios, thereby solving the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in writing Technical problem of wrong line drawing or wrong erasure during the process.
  • the above method before detecting that the first object leaves the touch screen and clearing the preemption flag, the above method further includes: detecting that the second object leaves the touch screen; maintaining the preemption flag, and waiting for the first object to leave the touch screen.
  • the preemption flag is kept. In this state, if the first object does not leave the touch screen, the preemption flag will continue to be maintained.
  • the above method further includes: in the process of maintaining the preemption flag and waiting for the first object to leave the touch screen, detecting the second object again Execute the task according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
  • the second object Before the first object leaves the touch screen and after the second object leaves the operation object, the second object can also touch the touch screen again to write.
  • the preemption mark will not be cleared during the process of depicting the outline of the user's palm. Therefore, the electromagnetic pen can stop after drawing a paragraph and redraw the next paragraph without the need to complete the drawing.
  • Fig. 6 is a flowchart of a method for an electromagnetic pen to seize a finger according to an embodiment of the present application. As shown in Fig. 6, the electromagnetic pen can write normally after seizing the finger without drawing all lines in one stroke, as follows:
  • step S600 the electromagnetic pen leaves the screen.
  • the electromagnetic pen can leave the screen.
  • Step S601 Stop writing with the electromagnetic pen.
  • the second object is operated by an electromagnetic touch screen
  • the first object is operated by a touch screen other than the electromagnetic touch screen
  • touch screens other than the electromagnetic touch screen may include a capacitive screen, an infrared screen, etc.
  • the first object may be a finger
  • the second object may be an electromagnetic pen.
  • detecting the operation of the second object during the operation of the first object on the touch screen includes: detecting that the second object contacts the touch screen during the operation of the first object on the touch screen To determine the operation of detecting the second object.
  • FIG. 7 is a schematic diagram of a control device for a smart interactive device according to an embodiment of the present application. As shown in conjunction with FIG. 7, the device includes: The first detection module 70, the setting module 72, and the second detection module 74.
  • the first detection module 70 is configured to detect the operation of the second object during the operation of the first object on the touch screen, wherein the first object and the second object operate the same interactive smart device through different types of touch screens.
  • the setting module 72 is configured to set a preemption flag, and execute the task according to the operation of the second object.
  • the second detection module 74 is configured to detect that the first object leaves the touch screen and clear the preemption flag.
  • the first detection module 70, the setting module 72, and the second detection module 74 can be run in the terminal as part of the device, and the functions implemented by the above modules can be executed by the processor in the terminal, and the terminal can also It can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (MID), PAD and other terminal devices.
  • the above device further includes: a third detection module, configured to detect that the second object leaves the touch screen before detecting that the first object leaves the touch screen and clear the preemption flag; and the first holding module is set to Keep the preemption flag and wait for the first object to leave the touch screen.
  • a third detection module configured to detect that the second object leaves the touch screen before detecting that the first object leaves the touch screen and clear the preemption flag
  • the first holding module is set to Keep the preemption flag and wait for the first object to leave the touch screen.
  • the above-mentioned third detection module and the first holding module may run in the terminal as part of the device, and the functions implemented by the above-mentioned modules may be executed by the processor in the terminal.
  • the above-mentioned device further includes: a fourth detection module, configured to, before detecting that the first object leaves the touch screen and clear the preemption flag, while maintaining the preemption flag and waiting for the first object to leave the touch screen , The operation of the second object is detected again; the second holding module is set to perform tasks according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
  • a fourth detection module configured to, before detecting that the first object leaves the touch screen and clear the preemption flag, while maintaining the preemption flag and waiting for the first object to leave the touch screen , The operation of the second object is detected again; the second holding module is set to perform tasks according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
  • the foregoing fourth detection module and second retention module may be run in the terminal as a part of the device, and the functions implemented by the foregoing modules may be executed by the processor in the terminal.
  • the second object is operated by an electromagnetic touch screen
  • the first object is operated by a touch screen other than the electromagnetic touch screen
  • the first detection module includes: a detection sub-module configured to detect that the second object contacts the touch screen during the operation of the first object on the touch screen, and determine that the operation of the second object is detected.
  • the detection sub-module may be run in the terminal as a part of the device, and the functions implemented by the sub-module may be executed by the processor in the terminal.
  • a non-volatile storage medium wherein the non-volatile storage medium includes a stored program, wherein the device where the non-volatile storage medium is located is controlled when the program is running Execute the control method of the intelligent interactive device described in any one of the embodiments of this application.
  • the various functional modules provided in the embodiments of the present application can run in a control method of an intelligent interactive device or a similar computing device, or can be stored as a part of a non-volatile storage medium.
  • Fig. 8 is a schematic structural diagram of a non-volatile storage medium according to an embodiment of the present application. As shown in FIG. 8, a program product 80 according to an embodiment of the present application is described, and a computer program is stored thereon, and the program code that implements the following steps when the computer program is executed by a processor:
  • the operation of the second object is detected, where the first object and the second object operate the same interactive smart device through different types of touch screens;
  • the program code when the computer program is executed by the processor, the program code implements the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, detect that the second object leaves the touch screen; keep the preemption flag and wait for the first object Leave the touch screen.
  • the program code when the computer program is executed by the processor, the program code implements the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, while maintaining the preemption flag and waiting for the first object to leave the touch screen, again The operation of the second object is detected; the task is executed according to the operation of the second object, and the preemption flag is maintained, and the first object is waited to leave the touch screen.
  • the computer program further implements the following steps when the computer program is executed by the processor: during the operation of the first object on the touch screen, detecting that the second object contacts the touch screen, and determining the operation of detecting the second object.
  • the non-volatile storage medium may also be set as the program code of various preferred or optional method steps provided by the control method of the intelligent interactive device.
  • the non-volatile storage medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein.
  • This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the non-volatile storage medium can send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained in the non-volatile storage medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, radio frequency, etc., or any suitable combination of the foregoing.
  • a processor is provided.
  • Fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present application. As shown in FIG. 9, the processor 90 is configured to run a program, where the program executes the control method of the smart interactive device described in the embodiment of the present application when the program is running.
  • the above-mentioned processor 90 may execute the operating program of the control method of the intelligent interactive device.
  • the processor 90 may be configured to perform the following steps:
  • the operation of the second object is detected, where the first object and the second object operate the same interactive smart device through different types of touch screens;
  • the processor 90 may be further configured to perform the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, detect that the second object leaves the touch screen; maintain the preemption flag, and wait for the first object to leave the touch screen .
  • the processor 90 may be further configured to perform the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, it detects again while maintaining the preemption flag and waiting for the first object to leave the touch screen.
  • the operation of the second object perform tasks according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
  • the processor 90 may be further configured to perform the following steps: during the operation of the first object on the touch screen, detecting that the second object contacts the touch screen, and determining that the operation of the second object is detected.
  • the above-mentioned processor 90 may execute various functional applications and data processing by running software programs and modules stored in the memory, that is, realize the above-mentioned control method of the intelligent interactive device.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units may be a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the related technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium,
  • a number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code .
  • the solution provided by the embodiments of the present application can be applied to the control process of the smart interactive device.
  • the operation of the second object is detected, wherein the first object and the second object are Objects operate the same interactive smart device through different types of touch screens; set a preemption flag, and perform tasks according to the operation of the second object; detect that the first object leaves the touch screen, and clear the preemption flag.
  • the above solution changes the timing of clearing the preemption mark, so that the interactive smart device is more in line with the user's usage habits, and can complete more scenarios, thereby solving the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in writing Technical problem of wrong line drawing or wrong erasure during the process.

Abstract

A control method and apparatus for an intelligent interactive device. The method comprises: during the process of a first object performing an operation on a touch screen, detecting an operation of a second object (S202), wherein the first object and the second object perform an operation on the same intelligent interactive device by means of touch screens of different types; providing a preemption mark, and executing a task according to the operation of the second object (S204); and when it is detected that the first object leaves the touch screen, clearing the preemption mark (S206). In the related art, writing of an intelligent interactive device does not conform to the habit of a user, which results in drawing lines by mistake or erroneous erasing in a writing process.

Description

智能交互设备的控制方法和装置Control method and device of intelligent interactive equipment
本申请要求于2019年06月13日提交中国专利局、优先权号为201910511683.X、发明名称为“智能交互设备的控制方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the priority number is 201910511683.X, and the invention title is "Smart Interactive Device Control Method and Device" on June 13, 2019, the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请实施例涉及交互智能设备领域,具体而言,涉及一种智能交互设备的控制方法和装置。The embodiments of the present application relate to the field of interactive smart devices, and specifically, to a method and device for controlling smart interactive devices.
背景技术Background technique
目前,现有的智能交互平板通常同时设置有电磁屏和红外触摸框,或是电磁屏加电容屏,或其它组合框,从而能够同时支持笔写及手写,其中,红外框和电容屏可以使用手书写,或是其它物体书写,电磁屏可以使用电磁笔书写。At present, the existing smart interactive tablet is usually equipped with electromagnetic screen and infrared touch frame at the same time, or electromagnetic screen plus capacitive screen, or other combo boxes, which can support pen writing and handwriting at the same time. Among them, infrared frame and capacitive screen can be used For hand writing or writing with other objects, the electromagnetic screen can be written with an electromagnetic pen.
上述具有多种触摸框的智能交互设备的方案为用户带来了巨大的便利,不仅可以使用电磁笔书写,还可以使用手指书写。但当手写和电磁笔均接触屏幕时,则会出现一些无法实现的场景,例如:当手掌或物品在触摸屏上接触一定面积,软件就会识别为橡皮檫,执行擦除功能,从而无法描绘出手掌或物体的外形。The above solution of the intelligent interactive device with multiple touch frames brings great convenience to the user, not only can use the electromagnetic pen to write, but also use the finger to write. But when both the handwriting and the electromagnetic pen touch the screen, some unrealizable scenes will appear. For example, when the palm or an object touches a certain area on the touch screen, the software will recognize it as an eraser and perform the erasing function, making it impossible to draw The shape of the palm or object.
由此,一些触摸屏设置了抢占功能,在有手指接触屏幕的时候,可以用电磁笔抢占书写,在电磁笔离开后手指马上恢复书写。这样的抢占方案就要求用户在抢占时,需要电磁笔一笔完成所有的书写内容,这与用户的书写习惯不符,在电磁笔离开触摸屏后,手指会立刻恢复书写,这样也会导致误画线或误擦除。且需要先移除手或物品,再移除笔,也与大众的习惯不符。再对于枕腕书写的场景,若抬笔时手腕下有书写内容,也会被手腕误擦除。As a result, some touch screens are equipped with a preemption function. When a finger touches the screen, the electromagnetic pen can be used to preempt the writing, and the finger can resume writing immediately after the electromagnetic pen leaves. This kind of preemption scheme requires the user to complete all the writing content in one stroke when preempting, which is inconsistent with the user's writing habits. After the electromagnetic pen leaves the touch screen, the finger will resume writing immediately, which will also lead to misdrawing lines Or erased by mistake. And it is necessary to remove the hand or object first, and then remove the pen, which is also inconsistent with public habits. Regarding the scene of writing on the wrist, if there is writing under the wrist when the pen is raised, it will be erased by the wrist by mistake.
针对相关技术中智能交互设备的书写与用户习惯不符,导致在书写过程中误画线或误擦除的问题,目前尚未提出有效的解决方案。Aiming at the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in the wrong drawing or erasure during the writing process, no effective solution has yet been proposed.
发明内容Summary of the invention
本申请实施例提供了一种智能交互设备的控制方法和装置,以至少解决相关技术中智能交互设备的书写与用户习惯不符,导致在书写过程中误画线或误擦除的技术问题。The embodiments of the present application provide a method and device for controlling a smart interactive device, so as to at least solve the technical problem that the writing of the smart interactive device in the related art does not match the user's habits, which leads to misdrawing or erasure of lines during the writing process.
根据本申请实施例的一个方面,提供了一种智能交互设备的控制方法,包括:在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;设置抢占标志,根据第二对象的操作执行任务;检测到第一对象离开触摸屏,清除抢占标志。According to one aspect of the embodiments of the present application, there is provided a method for controlling a smart interactive device, including: detecting an operation of a second object during a process of a first object operating on a touch screen, wherein the first object and the second object are Objects operate the same interactive smart device through different types of touch screens; set preemption flags, and perform tasks according to the operations of the second object; detect that the first object leaves the touch screen, and clear the preemption flags.
可选地,在检测到第一对象离开触摸屏,清除抢占标志之前,检测到第二对象离开触摸屏;保持抢占标志,并等待第一对象离开触摸屏。Optionally, before detecting that the first object leaves the touch screen and clearing the preemption flag, detect that the second object leaves the touch screen; maintain the preemption flag, and wait for the first object to leave the touch screen.
可选地,在检测到第一对象离开触摸屏,清除抢占标志之前,在保持抢占标志,并等待第一对象离开触摸屏的过程中,再次检测到第二对象的操作;根据第二对象的操作执行任务,并继续保持抢占标志,等待第一对象离开触摸屏。Optionally, before detecting that the first object leaves the touch screen and clearing the preemption flag, while maintaining the preemption flag and waiting for the first object to leave the touch screen, the operation of the second object is detected again; execute according to the operation of the second object Task, and continue to hold the preemption flag, waiting for the first object to leave the touch screen.
可选地,第二对象通过电磁触摸屏进行操作,第一对象通过除电磁触摸屏之外的其他触摸屏进行操作。Optionally, the second object is operated by an electromagnetic touch screen, and the first object is operated by a touch screen other than the electromagnetic touch screen.
可选地,在第一对象在触摸屏上操作的过程中,检测到第二对象接触触摸屏,确定检测到第二对象的操作。Optionally, during the operation of the first object on the touch screen, it is detected that the second object contacts the touch screen, and it is determined that the operation of the second object is detected.
根据本申请实施例的一个方面,提供了一种智能交互设备的控制装置,包括:第一检测模块,设置为在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;设置模块,设置为设置抢占标志,根据第二对象的操作执行任务;第二检测模块,设置为检测到第一对象离开触摸屏,清除抢占标志。According to one aspect of the embodiments of the present application, there is provided a control device for a smart interactive device, including: a first detection module configured to detect an operation of a second object during the operation of the first object on the touch screen, wherein , The first object and the second object operate the same interactive smart device through different types of touch screens; the setting module is set to set the preemption flag, and the task is executed according to the operation of the second object; the second detection module is set to detect the first Subject leaves the touch screen and clears the preemption sign.
可选地,上述装置还包括:第三检测模块,设置为在检测到第一对象离开触摸屏,清除抢占标志之前,检测到第二对象离开触摸屏;第一保持模块,设置为保持抢占标志,并等待第一对象离开触摸屏。Optionally, the above device further includes: a third detection module configured to detect that the second object leaves the touch screen before detecting that the first object leaves the touch screen and clear the preemption flag; the first retention module is configured to maintain the preemption flag, and Wait for the first object to leave the touch screen.
可选地,上述装置还包括:第四检测模块,设置为在检测到第一对象离开触摸屏,清除抢占标志之前,在保持抢占标志,并等待第一对象离开触摸屏的过程中,再次检测到第二对象的操作;第二保持模块,设置为根据第二对象的操作执行任务,并继续保持抢占标志,等待第一对象离开触摸屏。Optionally, the above-mentioned device further includes: a fourth detection module, configured to detect the first object again before the first object leaves the touch screen and clear the preemption flag while maintaining the preemption flag and waiting for the first object to leave the touch screen. Operation of the second object; the second holding module is set to perform tasks according to the operation of the second object, and continue to hold the preemption flag, and wait for the first object to leave the touch screen.
根据本申请实施例的一个方面,提供了一种非易失性存储介质,非易失性存储介质包括存储的程序,其中,在程序运行时控制非易失性存储介质所在设备执行上述的智能交互设备的控制方法。According to one aspect of the embodiments of the present application, a non-volatile storage medium is provided, the non-volatile storage medium includes a stored program, and the device where the non-volatile storage medium is located is controlled to execute the aforementioned intelligent Control method of interactive equipment.
根据本申请实施例的一个方面,提供了一种处理器,处理器设置为运行程序,其中,程序运行时执行上述的智能交互设备的控制方法。According to one aspect of the embodiments of the present application, a processor is provided, the processor is configured to run a program, wherein the program executes the above-mentioned control method of the smart interactive device when the program is running.
在本申请实施例中,在第一对象在触摸屏上操作的过程中,检测到第二对象的操 作,其中,所述第一对象和所述第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;设置抢占标志,根据所述第二对象的操作执行任务;检测到所述第一对象离开所述触摸屏,清除所述抢占标志。上述方案通过改变清除抢占标志的时机,从而使得交互智能设备的更加符合用户的使用习惯,并能够完成更多的场景,进而解决了相关技术中智能交互设备的书写与用户习惯不符,导致在书写过程中误画线或误擦除的技术问题。In the embodiment of the present application, during the operation of the first object on the touch screen, the operation of the second object is detected, wherein the first object and the second object communicate with the same interactive smart device through different types of touch screens. Perform an operation; set a preemption flag, and perform tasks according to the operation of the second object; detect that the first object leaves the touch screen, and clear the preemption flag. The above solution changes the timing of clearing the preemption mark, so that the interactive smart device is more in line with the user's usage habits, and can complete more scenarios, thereby solving the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in writing Technical problem of wrong line drawing or wrong erasure during the process.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请实施例的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the embodiments of the present application, and constitute a part of the present application. The exemplary embodiments of the present application and the description thereof are used to explain the present application, and do not constitute an improper limitation of the present application. In the attached picture:
图1是实现本申请实施例提出的一种智能交互设备的交互过程的示意图;FIG. 1 is a schematic diagram of an interactive process of an intelligent interactive device proposed in an embodiment of the present application;
图2是根据本申请实施例的一种智能交互设备的控制方法的流程图;Fig. 2 is a flowchart of a method for controlling a smart interactive device according to an embodiment of the present application;
图3是根据本申请实施例的一种电磁笔抢占手写并设置抢占标志的方法的流程图;Fig. 3 is a flowchart of a method for an electromagnetic pen to preempt handwriting and set a preemption flag according to an embodiment of the present application;
图4是根据本申请实施例的一种手写过程的方法的流程图;Fig. 4 is a flowchart of a method of handwriting process according to an embodiment of the present application;
图5是根据本申请实施例的一种清除抢占标志的方法的流程图;Fig. 5 is a flowchart of a method for clearing a preemption flag according to an embodiment of the present application;
图6是根据本申请实施例的一种电磁笔抢占手指后的方法的流程图;Fig. 6 is a flowchart of a method for an electromagnetic pen to seize a finger according to an embodiment of the present application;
图7是根据本申请实施例的一种智能交互设备的控制装置的示意图;Fig. 7 is a schematic diagram of a control device of an intelligent interactive device according to an embodiment of the present application;
图8是根据本申请实施例的一种非易失性存储介质的结构示意图;FIG. 8 is a schematic structural diagram of a non-volatile storage medium according to an embodiment of the present application;
图9是根据本申请实施例的一种处理器的结构示意图。Fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在 这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to the clearly listed Those steps or units may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.
根据本申请实施例,提供了一种智能交互设备的控制方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present application, an embodiment of a method for controlling a smart interactive device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, And, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
本实施例提供的智能交互设备的控制方法可以由书写显示设备执行,该书写显示设备可以通过软件和/或硬件的方式实现,该书写显示设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。该书写显示设备可以是电脑,手机,平板,投影仪或交互智能平板等。在实施例中,以交互智能平板为书写显示设备为例进行描述,其中,交互智能平板可以是通过触控技术对显示在显示平板上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。The method for controlling the smart interactive device provided in this embodiment can be executed by a writing display device, which can be implemented by software and/or hardware. The writing display device may be composed of two or more physical entities, or It is a physical entity. The writing display device can be a computer, a mobile phone, a tablet, a projector or an interactive smart tablet, etc. In the embodiment, the interactive smart tablet is described as an example of a writing display device. The interactive smart tablet may be an integrated device that controls the content displayed on the display tablet through touch technology and realizes human-computer interaction. It integrates one or more functions such as a projector, an electronic whiteboard, a screen, a stereo, a TV, and a video conference terminal.
智能交互平板具有触摸屏,触摸屏可以是能够实现单一触摸功能的触摸屏,例如:电容触摸屏、电磁触摸屏,也可以是能够同时实现电容感应、电磁感应和红外感应的触摸屏。当用户通过手指触摸智能交互平板的触摸屏时,触摸位置的电容参数发生变化,触摸框根据电容的变化,确定手指在触摸屏的触摸位置;或者,手指在接触触摸框时,阻挡了红外的接收端接收红外信号,触摸框根据被阻挡的红外信号确定手指的触摸位置;再或者,当用户使用电磁笔解除接触触摸屏时,电磁笔与触摸屏接触的位置发生电磁感应,从而产生磁通量的变化,触摸框的电磁屏根据磁通量的变化确定电磁笔接触触摸屏的位置。The intelligent interactive tablet has a touch screen. The touch screen can be a touch screen that can realize a single touch function, such as a capacitive touch screen, an electromagnetic touch screen, or a touch screen that can realize capacitive induction, electromagnetic induction, and infrared induction at the same time. When the user touches the touch screen of the smart interactive tablet with a finger, the capacitance parameter of the touch position changes, and the touch frame determines the touch position of the finger on the touch screen according to the change in capacitance; or, when the finger touches the touch frame, the infrared receiver is blocked Receiving infrared signals, the touch frame determines the touch position of the finger according to the blocked infrared signal; or, when the user uses the electromagnetic pen to release the touch screen, electromagnetic induction occurs at the contact position of the electromagnetic pen and the touch screen, resulting in a change in magnetic flux. The electromagnetic screen determines the position where the electromagnetic pen touches the touch screen according to the change of magnetic flux.
可选地,智能交互平板中安装有白板应用软件,该白板应用软件可以预先安装在上述智能交互平板中,也可以是在智能交互平板启动时,从第三方设备或服务器进行下载并安装使用的书写类应用软件。其中,第三方设备在实施例中不作限定。可选地,白板应用软件用于获取用户的手指或电磁笔在书写界面中的操作,根据用户的操作获取多个控制点,并根据控制点生成用户的书写笔迹。其中,智能交互平板还将生成的书写笔迹显示在显示屏上,显示屏所显示的书写笔迹的颜色、粗细等参数可以是白板应用软件默认的,也可以是用户在书写前通过控制控件选择的。在生成书写笔迹之后,白板应用软件提供擦除功能,用于对已显示的书写笔迹进行擦除。橡皮擦擦除笔迹的方式可以为,用户选中橡皮擦后,移动橡皮擦,以使橡皮擦的移动轨迹覆盖需要擦除的笔迹。根据橡皮擦的移动,白板应用软件将橡皮擦覆盖的像素点的颜色值设置为0, 从而达到擦除书写笔迹的效果。Optionally, whiteboard application software is installed in the smart interactive tablet. The whiteboard application software can be pre-installed in the above-mentioned smart interactive tablet, or it can be downloaded and installed from a third-party device or server when the smart interactive tablet is started. Writing application software. Among them, the third-party device is not limited in the embodiment. Optionally, the whiteboard application software is used to obtain the operation of the user's finger or the electromagnetic pen in the writing interface, obtain multiple control points according to the user's operation, and generate the user's handwriting based on the control points. Among them, the smart interactive tablet also displays the generated writing handwriting on the display screen. The color and thickness of the writing handwriting displayed on the display screen can be the default of the whiteboard application software, or can be selected by the user through the control controls before writing. . After the writing handwriting is generated, the whiteboard application software provides an erasing function for erasing the displayed handwriting. The eraser erases the handwriting. After the user selects the eraser, the user moves the eraser so that the movement track of the eraser covers the handwriting to be erased. According to the movement of the eraser, the whiteboard application software sets the color value of the pixels covered by the eraser to 0, so as to achieve the effect of erasing handwriting.
图1是实现本申请实施例提出的一种智能交互设备的交互过程的示意图,结合图1所示,该交互智能设备包括触摸设备,触摸设备可以包括:红外触摸框、电磁屏、电容屏等。交互智能设备可以执行以下步骤:Figure 1 is a schematic diagram of the interactive process of a smart interactive device proposed in an embodiment of the present application. As shown in FIG. 1, the interactive smart device includes a touch device. The touch device may include an infrared touch frame, an electromagnetic screen, a capacitive screen, etc. . Interactive smart devices can perform the following steps:
步骤S102,由触摸设备接收用户对触摸屏的操作。Step S102, the touch device receives the user's operation on the touch screen.
将用户的操作传输时系统层的软件。System-level software when transferring user operations.
步骤S104,由系统层的软件处理用户的操作。Step S104, the software of the system layer processes the user's operation.
将处理结果返回至应用层软件。The processing result is returned to the application layer software.
步骤S106,由应用层软件对处理结果进行响应。Step S106, the application layer software responds to the processing result.
本申请实施例提出的智能交互设备的控制方法是由系统层软件进行处理的。The control method of the smart interactive device proposed in the embodiment of the application is processed by system layer software.
图2是根据本申请实施例的一种智能交互设备的控制方法的流程图,如图2所示,该方法包括如下步骤:Fig. 2 is a flowchart of a method for controlling a smart interactive device according to an embodiment of the present application. As shown in Fig. 2, the method includes the following steps:
步骤S202,在第一对象在触摸屏上操作的过程中,检测到第二对象的操作。Step S202: During the operation of the first object on the touch screen, the operation of the second object is detected.
第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作。The first object and the second object operate the same interactive smart device through different types of touch screens.
可选地,第一对象和第二对象可以分别为两种通过不同方式操作触摸屏的主体,例如,第一对象可以为手指,可以通过红外屏或电容屏操作触摸屏;第二对象可以为电磁笔,通过电磁屏操作触摸屏。Optionally, the first object and the second object can be two bodies that operate the touch screen in different ways, for example, the first object can be a finger, and the touch screen can be operated through an infrared screen or a capacitive screen; the second object can be an electromagnetic pen , Operate the touch screen through the electromagnetic screen.
上述步骤中的操作可以是书写操作。在上述方案中,第二对象的优先级高于第一对象,因此第一对象在操作过程可以被第二对象抢占,从而第二对象的操作也可以称为抢占操作。The operations in the above steps may be writing operations. In the above solution, the priority of the second object is higher than that of the first object. Therefore, the first object can be preempted by the second object during the operation process, and the operation of the second object can also be referred to as a preemption operation.
在一种可选的实施例中,以描绘用户手掌外形为例,用户将手掌按在触摸屏上,触摸屏将手掌识别成橡皮擦(智能交互设备可以将超过预设面积的基础识别为橡皮擦),为了描绘手掌的外形,用户使用电磁笔沿着手掌在触摸屏上进行描绘,此时电磁笔抢占了手掌操作的权利。In an optional embodiment, taking the outline of the user's palm as an example, the user presses the palm on the touch screen, and the touch screen recognizes the palm as an eraser (the smart interactive device can recognize the basis that exceeds the preset area as an eraser) In order to depict the shape of the palm, the user uses an electromagnetic pen to draw along the palm on the touch screen. At this time, the electromagnetic pen seizes the right to operate the palm.
步骤S204,设置抢占标志,根据第二对象的操作执行任务。Step S204: Set a preemption flag, and execute the task according to the operation of the second object.
可选地,上述抢占标志可以是存储在预设位置的数值,设置抢占标志可以是更改预设位置的数值。Optionally, the aforementioned preemption flag may be a value stored in a preset location, and setting the preemption flag may be a value for changing the preset location.
在一种可选的实施例中,抢占标志对应的预设位置的数值可以为空或为预设值, 当识别出第一对象的操作被第二对象抢占时,可以将抢占标志对应的预设位置的数值设置为预设值,或将预设值更改为预设值的相反数。In an optional embodiment, the value of the preset position corresponding to the preemption flag may be empty or a preset value. When it is recognized that the operation of the first object is preempted by the second object, the preemption corresponding to the preemption flag may be Set the value of the position to the preset value, or change the preset value to the opposite of the preset value.
可选地,当抢占标志存在时,智能交互设备确定触摸屏的操作权被第二对象所占用,第一对象的操作并不会被执行。Optionally, when the preemption flag exists, the smart interactive device determines that the operation right of the touch screen is occupied by the second object, and the operation of the first object is not executed.
步骤S206,检测到第一对象离开触摸屏,清除抢占标志。Step S206: It is detected that the first object leaves the touch screen, and the preemption flag is cleared.
在设置抢占标志,并根据第二对象的操作执行任务之后,无论第二对象执行何种操作,抢占标志都将被保持,从而使得第二对象一直拥有操作权,直至第一对象离开触摸屏。在第一对象离开触摸屏后,抢占标志才被清除。After the preemption flag is set and the task is executed according to the operation of the second object, no matter what operation the second object performs, the preemption flag will be maintained, so that the second object has the right to operate until the first object leaves the touch screen. After the first object leaves the touch screen, the preemption flag is cleared.
在一种可选的实施例中,仍以描绘用户手掌外形为例说明,将手掌放在屏幕上(此时识别成为橡皮檫),使用电磁笔沿着手描绘手掌的形状(抢占了橡皮檫),在描绘手掌的形状的过程中,抢占标志不会被清除,因此可以多次抬笔,而不需要一笔描绘完,在绘制完后先抬起电磁笔再抬起手,由于手抬起前抢占标志不会消失,因此已经描绘的线条不会被手掌擦除,从而电磁笔绘制的形状不会被破坏。In an alternative embodiment, still taking the outline of the user's palm as an example, place the palm on the screen (identified as the eraser sassafras at this time), and use the electromagnetic pen to trace the shape of the palm along the hand (the eraser is preempted) , In the process of drawing the shape of the palm, the preemption mark will not be cleared. Therefore, the pen can be lifted many times without the need to finish drawing with one stroke. After the drawing is completed, the electromagnetic pen is first raised and then the hand is raised, because the hand is raised The front preemption mark will not disappear, so the drawn line will not be erased by the palm, so the shape drawn by the electromagnetic pen will not be destroyed.
在一种可选的实施例中,再以枕腕书写为例,枕腕书写时,若抬起电磁笔时手腕下有书写内容,由于电磁笔抬起时抢占标志不会消失,因此手腕下的内容也并不会被手腕误擦除。In an alternative embodiment, taking writing on the wrist rest as an example, when writing on the wrist rest, if there is writing under the wrist when the electromagnetic pen is lifted, the seizure mark will not disappear when the electromagnetic pen is raised, so the wrist The content will not be erased by the wrist by mistake.
图3是根据本申请实施例的一种电磁笔抢占手写并设置抢占标志的方法的流程图,结合图3所示,电磁笔抢占手写可以包括如下几个步骤:Fig. 3 is a flowchart of a method for an electromagnetic pen to preempt handwriting and set a preemption flag according to an embodiment of the present application. As shown in combination with Fig. 3, the electromagnetic pen preempting handwriting may include the following steps:
步骤S300,电磁笔接触触摸屏。Step S300, the electromagnetic pen contacts the touch screen.
步骤S301,判断是否有手指正在书写。Step S301, it is judged whether there is a finger writing.
如果判断结果为是,则进入步骤S302,否则进入步骤S304。If the judgment result is yes, go to step S302, otherwise go to step S304.
可选地,如果电磁笔在手写的过程中接入触摸屏,则判断结果为是,如果电磁笔接触触摸屏时并无手指在触摸屏上书写,则判断结果为否。Optionally, if the electromagnetic pen is connected to the touch screen during handwriting, the judgment result is yes, and if no finger is writing on the touch screen when the electromagnetic pen touches the touch screen, the judgment result is no.
步骤S302,停止手指书写。Step S302, stop finger writing.
步骤S303,设置抢占标志。Step S303: Set a preemption flag.
设置的抢占标志用于指示操作权已经被电磁笔所占用。The set preemption flag is used to indicate that the operation right has been occupied by the electromagnetic pen.
步骤S304,允许电磁笔书写。Step S304, allowing the electromagnetic pen to write.
在设备抢占标志后,操作权已经由手指交给电磁笔,因此允许电磁笔书写。After the device seizes the mark, the operation right has been given to the electromagnetic pen by the finger, so the electromagnetic pen is allowed to write.
图4是根据本申请实施例的一种手写过程的方法的流程图,结合图4所示,手写过程包括:Fig. 4 is a flowchart of a method of a handwriting process according to an embodiment of the present application. As shown in conjunction with Fig. 4, the handwriting process includes:
步骤S400,手指接触触摸屏。Step S400, the finger touches the touch screen.
步骤S401,判断是否有电磁笔正在书写。Step S401, it is judged whether there is an electromagnetic pen writing.
如果判断结果为是,则进入步骤S400,否则进入步骤S402。If the judgment result is yes, go to step S400, otherwise go to step S402.
步骤S402,判断是否有抢占标志。Step S402, it is judged whether there is a preemption flag.
如果判断结果为是,则进入步骤S400,否则进入步骤S403。If the judgment result is yes, go to step S400, otherwise go to step S403.
在手指书写的过程中,还需要判断是否有抢占标志,当检测到抢占标志时,持续检测手指是否继续接触摸屏,以确定合适清除抢占标志,如果没有抢占标志,则说明无电磁笔抢占,可以进入步骤S403允许手指来书写。In the process of finger writing, it is also necessary to determine whether there is a preemption mark. When the preemption mark is detected, continue to check whether the finger continues to connect to the touch screen to determine the appropriate removal of the preemption mark. If there is no preemption mark, it means that there is no electromagnetic pen preemption. Go to step S403 to allow the finger to write.
步骤S403,允许手指书写。Step S403, allowing finger writing.
图5是根据本申请实施例的一种清除抢占标志的方法的流程图,结合图5所示,清除抢占标志的步骤包括:Fig. 5 is a flowchart of a method for clearing a preemption flag according to an embodiment of the present application. As shown in Fig. 5, the steps of clearing a preemption flag include:
步骤S500,手指离开屏幕。Step S500, the finger leaves the screen.
在该实施例中,手指即为第一对象,上述步骤即为第一对象离开屏幕。In this embodiment, the finger is the first object, and the above steps are that the first object leaves the screen.
步骤S501,清除抢占标志。Step S501: Clear the preemption flag.
在该实施例中,无论手指是否离开屏幕前,电磁笔有何种操作,抢占标志都不会清除,直至手指离开屏幕。In this embodiment, no matter what operation the electromagnetic pen has before the finger leaves the screen, the preemption mark will not be cleared until the finger leaves the screen.
步骤S502,停止手指的书写。Step S502, stop the finger writing.
由于手指已经离开了屏幕,因此即使清除了抢占标志,手指的书写也会停止。Since the finger has left the screen, the writing of the finger will stop even if the preemption mark is cleared.
由上述可知,在本申请上述实施例中,在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;设置抢占标志,根据第二对象的操作执行任务;检测到第一对象离开触摸屏,清除抢占标志。上述方案通过改变清除抢占标志的时机,从而使得交互智能设备的更加符合用户的使用习惯,并能够完成更多的场景,进而解决了相关技术中智能交互设备的书写与用户习惯不符,导致在书写过程中误画线或误擦除的技术问题。It can be seen from the above that, in the above-mentioned embodiment of the present application, during the operation of the first object on the touch screen, the operation of the second object is detected, where the first object and the second object are intelligent on the same interaction through different types of touch screens. The device operates; the preemption flag is set, and the task is executed according to the operation of the second object; the first object is detected to leave the touch screen, and the preemption flag is cleared. The above solution changes the timing of clearing the preemption mark, so that the interactive smart device is more in line with the user's usage habits, and can complete more scenarios, thereby solving the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in writing Technical problem of wrong line drawing or wrong erasure during the process.
作为一种可选的实施例,在检测到第一对象离开触摸屏,清除抢占标志之前,上 述方法还包括:检测到第二对象离开触摸屏;保持抢占标志,并等待第一对象离开触摸屏。As an optional embodiment, before detecting that the first object leaves the touch screen and clearing the preemption flag, the above method further includes: detecting that the second object leaves the touch screen; maintaining the preemption flag, and waiting for the first object to leave the touch screen.
在上述方案中,在第一对象离开触摸屏之前,即使第二对象离开了触摸屏,也一直保持抢占标志。在该状态下,如果第一对象不离开触摸屏,则抢占标志将持续被保持。In the above solution, before the first object leaves the touch screen, even if the second object leaves the touch screen, the preemption flag is kept. In this state, if the first object does not leave the touch screen, the preemption flag will continue to be maintained.
作为一种可选的实施例,在检测到第一对象离开触摸屏,清除抢占标志之前,上述方法还包括:在保持抢占标志,并等待第一对象离开触摸屏的过程中,再次检测到第二对象的操作;根据第二对象的操作执行任务,并继续保持抢占标志,等待第一对象离开触摸屏。As an optional embodiment, before detecting that the first object leaves the touch screen and clearing the preemption flag, the above method further includes: in the process of maintaining the preemption flag and waiting for the first object to leave the touch screen, detecting the second object again Execute the task according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
在第一对象离开触摸屏之前,第二对象离开操作对象之后,第二对象还可以重新接触触摸屏以进行书写。Before the first object leaves the touch screen and after the second object leaves the operation object, the second object can also touch the touch screen again to write.
仍以描绘用户手掌外形为例说明,在描绘用户手掌外形的过程中,抢占标志不会被清除,因此电磁笔可以在描绘一段后停止,再重新描绘下一段,而不需要一笔描绘完。Still taking the outline of the user's palm as an example, the preemption mark will not be cleared during the process of depicting the outline of the user's palm. Therefore, the electromagnetic pen can stop after drawing a paragraph and redraw the next paragraph without the need to complete the drawing.
图6是根据本申请实施例的一种电磁笔抢占手指后的方法的流程图,结合图6所示,电磁笔在抢占手指后可以正常书写而无需一笔绘制完成所有线条,具体如下:Fig. 6 is a flowchart of a method for an electromagnetic pen to seize a finger according to an embodiment of the present application. As shown in Fig. 6, the electromagnetic pen can write normally after seizing the finger without drawing all lines in one stroke, as follows:
步骤S600,电磁笔离开屏幕。In step S600, the electromagnetic pen leaves the screen.
在书写需要间断时,电磁笔可以离开屏幕。When writing needs to be interrupted, the electromagnetic pen can leave the screen.
步骤S601,停止电磁笔的书写。Step S601: Stop writing with the electromagnetic pen.
在电磁笔离开屏幕后,停止了电磁笔的书写,但由于抢占标志还未清除,因此电子笔可以继续落笔书写。After the electromagnetic pen leaves the screen, the writing of the electromagnetic pen is stopped, but since the preemption flag has not been cleared, the electronic pen can continue to write down.
作为一种可选的实施例,第二对象通过电磁触摸屏进行操作,第一对象通过除电磁触摸屏之外的其他触摸屏进行操作。As an optional embodiment, the second object is operated by an electromagnetic touch screen, and the first object is operated by a touch screen other than the electromagnetic touch screen.
在一种可选的实施例中,除电磁触摸屏之外的其他触摸屏可以包括电容屏、红外屏等,第一对象可以为手指,第二对象可以为电磁笔。In an optional embodiment, touch screens other than the electromagnetic touch screen may include a capacitive screen, an infrared screen, etc., the first object may be a finger, and the second object may be an electromagnetic pen.
作为一种可选的实施例,在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,包括:在第一对象在触摸屏上操作的过程中,检测到第二对象接触触摸屏,确定检测到第二对象的操作。As an optional embodiment, detecting the operation of the second object during the operation of the first object on the touch screen includes: detecting that the second object contacts the touch screen during the operation of the first object on the touch screen To determine the operation of detecting the second object.
根据本申请实施例,提供了一种智能交互设备的控制装置的实施例,图7是根据 本申请实施例的一种智能交互设备的控制装置的示意图,结合图7所示,该装置包括:第一检测模块70、设置模块72和第二检测模块74。According to an embodiment of the present application, an embodiment of a control device for a smart interactive device is provided. FIG. 7 is a schematic diagram of a control device for a smart interactive device according to an embodiment of the present application. As shown in conjunction with FIG. 7, the device includes: The first detection module 70, the setting module 72, and the second detection module 74.
第一检测模块70,设置为在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作。The first detection module 70 is configured to detect the operation of the second object during the operation of the first object on the touch screen, wherein the first object and the second object operate the same interactive smart device through different types of touch screens.
设置模块72,设置为设置抢占标志,根据第二对象的操作执行任务。The setting module 72 is configured to set a preemption flag, and execute the task according to the operation of the second object.
第二检测模块74,设置为检测到第一对象离开触摸屏,清除抢占标志。The second detection module 74 is configured to detect that the first object leaves the touch screen and clear the preemption flag.
此处需要说明的是,上述第一检测模块70、设置模块72和第二检测模块74可以作为装置的一部分运行在终端中,可以通过终端中的处理器来执行上述模块实现的功能,终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted here that the first detection module 70, the setting module 72, and the second detection module 74 can be run in the terminal as part of the device, and the functions implemented by the above modules can be executed by the processor in the terminal, and the terminal can also It can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (MID), PAD and other terminal devices.
作为一种可选的实施例,上述装置还包括:第三检测模块,设置为在检测到第一对象离开触摸屏,清除抢占标志之前,检测到第二对象离开触摸屏;第一保持模块,设置为保持抢占标志,并等待第一对象离开触摸屏。As an optional embodiment, the above device further includes: a third detection module, configured to detect that the second object leaves the touch screen before detecting that the first object leaves the touch screen and clear the preemption flag; and the first holding module is set to Keep the preemption flag and wait for the first object to leave the touch screen.
此处需要说明的是,上述第三检测模块和第一保持模块可以作为装置的一部分运行在终端中,可以通过终端中的处理器来执行上述模块实现的功能。It should be noted here that the above-mentioned third detection module and the first holding module may run in the terminal as part of the device, and the functions implemented by the above-mentioned modules may be executed by the processor in the terminal.
作为一种可选的实施例,上述装置还包括:第四检测模块,设置为在检测到第一对象离开触摸屏,清除抢占标志之前,在保持抢占标志,并等待第一对象离开触摸屏的过程中,再次检测到第二对象的操作;第二保持模块,设置为根据第二对象的操作执行任务,并继续保持抢占标志,等待第一对象离开触摸屏。As an optional embodiment, the above-mentioned device further includes: a fourth detection module, configured to, before detecting that the first object leaves the touch screen and clear the preemption flag, while maintaining the preemption flag and waiting for the first object to leave the touch screen , The operation of the second object is detected again; the second holding module is set to perform tasks according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
此处需要说明的是,上述第四检测模块和第二保持模块可以作为装置的一部分运行在终端中,可以通过终端中的处理器来执行上述模块实现的功能。It should be noted here that the foregoing fourth detection module and second retention module may be run in the terminal as a part of the device, and the functions implemented by the foregoing modules may be executed by the processor in the terminal.
作为一种可选的实施例,第二对象通过电磁触摸屏进行操作,第一对象通过除电磁触摸屏之外的其他触摸屏进行操作。As an optional embodiment, the second object is operated by an electromagnetic touch screen, and the first object is operated by a touch screen other than the electromagnetic touch screen.
作为一种可选的实施例,第一检测模块包括:检测子模块,设置为在第一对象在触摸屏上操作的过程中,检测到第二对象接触触摸屏,确定检测到第二对象的操作。As an optional embodiment, the first detection module includes: a detection sub-module configured to detect that the second object contacts the touch screen during the operation of the first object on the touch screen, and determine that the operation of the second object is detected.
此处需要说明的是,上述检测子模块可以作为装置的一部分运行在终端中,可以通过终端中的处理器来执行上述子模块实现的功能。It should be noted here that the detection sub-module may be run in the terminal as a part of the device, and the functions implemented by the sub-module may be executed by the processor in the terminal.
根据本申请实施例,提供了一种非易失性存储介质,其中,该非易失性存储介质包括存储的程序,其中,在所述程序运行时控制所述非易失性存储介质所在设备执行 本申请实施例中任意一项所述的智能交互设备的控制方法。According to an embodiment of the present application, there is provided a non-volatile storage medium, wherein the non-volatile storage medium includes a stored program, wherein the device where the non-volatile storage medium is located is controlled when the program is running Execute the control method of the intelligent interactive device described in any one of the embodiments of this application.
本申请实施例所提供的各个功能模块可以在智能交互设备的控制方法或者类似的运算装置中运行,也可以作为非易失性存储介质的一部分进行存储。The various functional modules provided in the embodiments of the present application can run in a control method of an intelligent interactive device or a similar computing device, or can be stored as a part of a non-volatile storage medium.
图8是根据本申请实施例的一种非易失性存储介质的结构示意图。如图8所示,描述了根据本申请的实施方式的程序产品80,其上存储有计算机程序,计算机程序被处理器执行时实现如下步骤的程序代码:Fig. 8 is a schematic structural diagram of a non-volatile storage medium according to an embodiment of the present application. As shown in FIG. 8, a program product 80 according to an embodiment of the present application is described, and a computer program is stored thereon, and the program code that implements the following steps when the computer program is executed by a processor:
在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;During the operation of the first object on the touch screen, the operation of the second object is detected, where the first object and the second object operate the same interactive smart device through different types of touch screens;
设置抢占标志,根据第二对象的操作执行任务;检测到第一对象离开触摸屏,清除抢占标志。Set the preemption flag, execute the task according to the operation of the second object; detect that the first object leaves the touch screen, clear the preemption flag.
可选地,计算机程序还被处理器执行时实现如下步骤的程序代码:在检测到第一对象离开触摸屏,清除抢占标志之前,检测到第二对象离开触摸屏;保持抢占标志,并等待第一对象离开触摸屏。Optionally, when the computer program is executed by the processor, the program code implements the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, detect that the second object leaves the touch screen; keep the preemption flag and wait for the first object Leave the touch screen.
可选地,计算机程序还被处理器执行时实现如下步骤的程序代码:在检测到第一对象离开触摸屏,清除抢占标志之前,在保持抢占标志,并等待第一对象离开触摸屏的过程中,再次检测到第二对象的操作;根据第二对象的操作执行任务,并继续保持抢占标志,等待第一对象离开触摸屏。Optionally, when the computer program is executed by the processor, the program code implements the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, while maintaining the preemption flag and waiting for the first object to leave the touch screen, again The operation of the second object is detected; the task is executed according to the operation of the second object, and the preemption flag is maintained, and the first object is waited to leave the touch screen.
可选地,计算机程序还被处理器执行时实现如下步骤的程序代码:在第一对象在触摸屏上操作的过程中,检测到第二对象接触触摸屏,确定检测到第二对象的操作。Optionally, the computer program further implements the following steps when the computer program is executed by the processor: during the operation of the first object on the touch screen, detecting that the second object contacts the touch screen, and determining the operation of detecting the second object.
可选地,在本实施例中,非易失性存储介质还可以被设置为智能交互设备的控制方法提供的各种优选地或可选的方法步骤的程序代码。Optionally, in this embodiment, the non-volatile storage medium may also be set as the program code of various preferred or optional method steps provided by the control method of the intelligent interactive device.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。Optionally, for the specific examples in this embodiment, reference may be made to the examples described in the above-mentioned embodiments, and this embodiment will not be repeated here.
非易失性存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。非易失性存储介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The non-volatile storage medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The non-volatile storage medium can send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device.
非易失性存储介质中包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、射频等等,或者上述的任意合适的组合。The program code contained in the non-volatile storage medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, radio frequency, etc., or any suitable combination of the foregoing.
根据本申请实施例,提供了一种处理器。图9是根据本申请实施例的一种处理器 的结构示意图。如图9所示,该处理器90设置为运行程序,其中,所述程序运行时执行本申请实施例所述的智能交互设备的控制方法。According to an embodiment of the present application, a processor is provided. Fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present application. As shown in FIG. 9, the processor 90 is configured to run a program, where the program executes the control method of the smart interactive device described in the embodiment of the present application when the program is running.
在发明本实施例中,上述处理器90可以执行智能交互设备的控制方法的运行程序。In this embodiment of the present invention, the above-mentioned processor 90 may execute the operating program of the control method of the intelligent interactive device.
可选地,在本实施例中,处理器90可以被设置为执行下述步骤:Optionally, in this embodiment, the processor 90 may be configured to perform the following steps:
在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,第一对象和第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;During the operation of the first object on the touch screen, the operation of the second object is detected, where the first object and the second object operate the same interactive smart device through different types of touch screens;
设置抢占标志,根据第二对象的操作执行任务;检测到第一对象离开触摸屏,清除抢占标志。Set the preemption flag, execute the task according to the operation of the second object; detect that the first object leaves the touch screen, clear the preemption flag.
可选地,处理器90可以还被设置为执行下述步骤:在检测到第一对象离开触摸屏,清除抢占标志之前,检测到第二对象离开触摸屏;保持抢占标志,并等待第一对象离开触摸屏。Optionally, the processor 90 may be further configured to perform the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, detect that the second object leaves the touch screen; maintain the preemption flag, and wait for the first object to leave the touch screen .
可选地,处理器90可以还被设置为执行下述步骤:在检测到第一对象离开触摸屏,清除抢占标志之前,在保持抢占标志,并等待第一对象离开触摸屏的过程中,再次检测到第二对象的操作;根据第二对象的操作执行任务,并继续保持抢占标志,等待第一对象离开触摸屏。Optionally, the processor 90 may be further configured to perform the following steps: before detecting that the first object leaves the touch screen and clearing the preemption flag, it detects again while maintaining the preemption flag and waiting for the first object to leave the touch screen. The operation of the second object; perform tasks according to the operation of the second object, and continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
可选地,处理器90可以还被设置为执行下述步骤:在第一对象在触摸屏上操作的过程中,检测到第二对象接触触摸屏,确定检测到第二对象的操作。Optionally, the processor 90 may be further configured to perform the following steps: during the operation of the first object on the touch screen, detecting that the second object contacts the touch screen, and determining that the operation of the second object is detected.
上述处理器90可以通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的智能交互设备的控制方法。The above-mentioned processor 90 may execute various functional applications and data processing by running software programs and modules stored in the memory, that is, realize the above-mentioned control method of the intelligent interactive device.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units may be a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到 多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the related technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code .
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only the preferred embodiments of this application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and modifications can be made, and these improvements and modifications are also Should be regarded as the scope of protection of this application.
工业实用性Industrial applicability
本申请实施例提供的方案可以应用于智能交互设备的控制过程中,在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,所述第一对象和所述第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;设置抢占标志,根据所述第二对象的操作执行任务;检测到所述第一对象离开所述触摸屏,清除所述抢占标志。上述方案通过改变清除抢占标志的时机,从而使得交互智能设备的更加符合用户的使用习惯,并能够完成更多的场景,进而解决了相关技术中智能交互设备的书写与用户习惯不符,导致在书写过程中误画线或误擦除的技术问题。The solution provided by the embodiments of the present application can be applied to the control process of the smart interactive device. During the operation of the first object on the touch screen, the operation of the second object is detected, wherein the first object and the second object are Objects operate the same interactive smart device through different types of touch screens; set a preemption flag, and perform tasks according to the operation of the second object; detect that the first object leaves the touch screen, and clear the preemption flag. The above solution changes the timing of clearing the preemption mark, so that the interactive smart device is more in line with the user's usage habits, and can complete more scenarios, thereby solving the problem that the writing of the smart interactive device in the related technology does not match the user's habits, resulting in writing Technical problem of wrong line drawing or wrong erasure during the process.

Claims (15)

  1. 一种智能交互设备的控制方法,包括:A control method of an intelligent interactive device includes:
    在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,所述第一对象和所述第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;During the operation of the first object on the touch screen, the operation of the second object is detected, wherein the first object and the second object operate the same interactive smart device through different types of touch screens;
    设置抢占标志,根据所述第二对象的操作执行任务;Set a preemption flag, and perform tasks according to the operation of the second object;
    检测到所述第一对象离开所述触摸屏,清除所述抢占标志。It is detected that the first object leaves the touch screen, and the preemption flag is cleared.
  2. 根据权利要求1所述的方法,其中,在检测到所述第一对象离开所述触摸屏,清除所述抢占标志之前,所述方法还包括:The method according to claim 1, wherein, before detecting that the first object leaves the touch screen and clearing the preemption flag, the method further comprises:
    检测到所述第二对象离开所述触摸屏;Detecting that the second object leaves the touch screen;
    保持所述抢占标志,并等待所述第一对象离开所述触摸屏。Keep the preemption flag and wait for the first object to leave the touch screen.
  3. 根据权利要求2所述的方法,其中,在检测到所述第一对象离开所述触摸屏,清除所述抢占标志之前,所述方法还包括:The method according to claim 2, wherein, before detecting that the first object leaves the touch screen and clearing the preemption flag, the method further comprises:
    在保持所述抢占标志,并等待所述第一对象离开所述触摸屏的过程中,再次检测到所述第二对象的操作;While maintaining the preemption flag and waiting for the first object to leave the touch screen, the operation of the second object is detected again;
    根据所述第二对象的操作执行所述任务,并继续保持所述抢占标志,等待所述第一对象离开所述触摸屏。Execute the task according to the operation of the second object, continue to maintain the preemption flag, and wait for the first object to leave the touch screen.
  4. 根据权利要求1至3中任意一项所述的方法,其中,所述第二对象通过电磁触摸屏进行操作,所述第一对象通过除所述电磁触摸屏之外的其他触摸屏进行操作。The method according to any one of claims 1 to 3, wherein the second object is operated by an electromagnetic touch screen, and the first object is operated by a touch screen other than the electromagnetic touch screen.
  5. 根据权利要求4所述的方法,其中,在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,包括:The method according to claim 4, wherein the detecting the operation of the second object during the operation of the first object on the touch screen comprises:
    在所述第一对象在触摸屏上操作的过程中,检测到所述第二对象接触所述触摸屏,确定检测到所述第二对象的操作。During the operation of the first object on the touch screen, it is detected that the second object contacts the touch screen, and it is determined that the operation of the second object is detected.
  6. 一种智能交互设备的控制装置,包括:A control device for intelligent interactive equipment, including:
    第一检测模块,设置为在第一对象在触摸屏上操作的过程中,检测到第二对象的操作,其中,所述第一对象和所述第二对象通过不同类型的触摸屏对同一交互智能设备进行操作;The first detection module is configured to detect the operation of the second object during the operation of the first object on the touch screen, wherein the first object and the second object communicate with the same interactive smart device through different types of touch screens. To operate
    设置模块,设置为设置抢占标志,根据所述第二对象的操作执行任务;A setting module, configured to set a preemption flag, and execute tasks according to the operation of the second object;
    第二检测模块,设置为检测到所述第一对象离开所述触摸屏,清除所述抢占标志。The second detection module is configured to detect that the first object leaves the touch screen and clear the preemption flag.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    第三检测模块,设置为在检测到所述第一对象离开所述触摸屏,清除所述抢占标志之前,检测到所述第二对象离开所述触摸屏;The third detection module is configured to detect that the second object leaves the touch screen before detecting that the first object leaves the touch screen and clearing the preemption flag;
    第一保持模块,设置为保持所述抢占标志,并等待所述第一对象离开所述触摸屏。The first holding module is configured to hold the preemption flag and wait for the first object to leave the touch screen.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:The device according to claim 7, wherein the device further comprises:
    第四检测模块,设置为在检测到所述第一对象离开所述触摸屏,清除所述抢占标志之前,在保持所述抢占标志,并等待所述第一对象离开所述触摸屏的过程中,再次检测到所述第二对象的操作;The fourth detection module is configured to, before detecting that the first object leaves the touch screen and clear the preemption flag, hold the preemption flag and wait for the first object to leave the touch screen again, The operation of the second object is detected;
    第二保持模块,设置为根据所述第二对象的操作执行所述任务,并继续保持所述抢占标志,等待所述第一对象离开所述触摸屏。The second holding module is configured to execute the task according to the operation of the second object, continue to hold the preemption flag, and wait for the first object to leave the touch screen.
  9. 一种非易失性存储介质,所述非易失性存储介质包括存储的程序,其中,在所述程序运行时控制所述非易失性存储介质所在设备执行权利要求1至5中任意一项所述的智能交互设备的控制方法。A non-volatile storage medium, the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of claims 1 to 5 The control method of the intelligent interactive device described in the item.
  10. 一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行权利要求1至5中任意一项所述的智能交互设备的控制方法。A processor configured to run a program, wherein the method for controlling an intelligent interactive device according to any one of claims 1 to 5 is executed when the program is running.
  11. 根据权利要求1所述的方法,其中,所述方法由系统层软件进行处理。The method according to claim 1, wherein the method is processed by system layer software.
  12. 根据权利要求1所述的方法,其中,在所述抢占标志存在时,禁止执行所述第一对象在所述触摸屏上的操作。The method according to claim 1, wherein, when the preemption flag exists, the operation of the first object on the touch screen is prohibited.
  13. 根据权利要求1所述的方法,其中,所述第一对象为手指,所述第二对象为电磁笔。The method according to claim 1, wherein the first object is a finger and the second object is an electromagnetic pen.
  14. 根据权利要求1所述的方法,其中,所述操作为书写操作。The method according to claim 1, wherein the operation is a writing operation.
  15. 根据权利要求1所述的方法,其中,所抢占标志为存储在预设位置的数值。The method according to claim 1, wherein the preempted flag is a value stored in a preset location.
PCT/CN2020/095903 2019-06-13 2020-06-12 Control method and apparatus for intelligent interactive device WO2020249103A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910511683.X 2019-06-13
CN201910511683.XA CN110221767A (en) 2019-06-13 2019-06-13 The control method and device of intelligent interaction device

Publications (1)

Publication Number Publication Date
WO2020249103A1 true WO2020249103A1 (en) 2020-12-17

Family

ID=67817051

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/095903 WO2020249103A1 (en) 2019-06-13 2020-06-12 Control method and apparatus for intelligent interactive device

Country Status (2)

Country Link
CN (1) CN110221767A (en)
WO (1) WO2020249103A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 The control method and device of intelligent interaction device
CN115963732A (en) * 2021-10-13 2023-04-14 广州视源电子科技股份有限公司 Management method and device of control authority, interactive intelligent panel and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160266720A1 (en) * 2011-12-19 2016-09-15 Egalax_Empia Technology Inc. Touch method and touch processor
CN106354416A (en) * 2016-10-10 2017-01-25 广东小天才科技有限公司 Mistaken touch preventing method and device
CN107111390A (en) * 2015-01-04 2017-08-29 微软技术许可有限责任公司 The communication of active touch control pen and digitizer
CN109144309A (en) * 2018-07-18 2019-01-04 广州视源电子科技股份有限公司 Method of toch control and device, storage medium, terminal device
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 The control method and device of intelligent interaction device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101962445B1 (en) * 2011-08-30 2019-03-26 삼성전자 주식회사 Mobile terminal having touch screen and method for providing user interface
KR101907463B1 (en) * 2012-02-24 2018-10-12 삼성전자주식회사 Composite touch screen and operating method thereof
CN104615319B (en) * 2015-01-26 2019-07-02 上海卓易科技股份有限公司 Control the method and terminal device of touch screen priority
CN105511776B (en) * 2015-11-24 2018-12-21 努比亚技术有限公司 A kind of mobile terminal and its control method
CN107562262B (en) * 2017-08-14 2020-06-19 维沃移动通信有限公司 Method for responding touch operation, terminal and computer readable storage medium
CN107704126A (en) * 2017-09-22 2018-02-16 广州视源电子科技股份有限公司 A kind of separation method of touch data, device, equipment and storage medium
CN109753179B (en) * 2018-12-17 2022-10-25 掌阅科技股份有限公司 User operation instruction processing method and handwriting reading equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160266720A1 (en) * 2011-12-19 2016-09-15 Egalax_Empia Technology Inc. Touch method and touch processor
CN107111390A (en) * 2015-01-04 2017-08-29 微软技术许可有限责任公司 The communication of active touch control pen and digitizer
CN106354416A (en) * 2016-10-10 2017-01-25 广东小天才科技有限公司 Mistaken touch preventing method and device
CN109144309A (en) * 2018-07-18 2019-01-04 广州视源电子科技股份有限公司 Method of toch control and device, storage medium, terminal device
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 The control method and device of intelligent interaction device

Also Published As

Publication number Publication date
CN110221767A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
WO2022022495A1 (en) Cross-device object dragging method and device
US9639186B2 (en) Multi-touch interface gestures for keyboard and/or mouse inputs
CN108829327B (en) Writing method and device of interactive intelligent equipment
CN106598455B (en) Touch behavior response method and device for handheld touch equipment and corresponding equipment
US20150143285A1 (en) Method for Controlling Position of Floating Window and Terminal
US20150077365A1 (en) System, information processing apparatus, and image display method
CN110737374B (en) Operation method and electronic equipment
CN110069178B (en) Interface control method and terminal equipment
KR101586559B1 (en) Information processing apparatus and information processing method
WO2020249103A1 (en) Control method and apparatus for intelligent interactive device
WO2021203815A1 (en) Page operation method and apparatus, and terminal and storage medium
CN102184077A (en) Computing device amplifying gesture
KR20150031986A (en) Display apparatus and control method thereof
US11614912B2 (en) Dual-system device and writing method and apparatus thereof, and interactive intelligent tablet
EP2728456B1 (en) Method and apparatus for controlling virtual screen
WO2019033655A1 (en) Method and apparatus for mistouch prevention, device, and storage medium
EP2965181B1 (en) Enhanced canvas environments
EP3026550B1 (en) Apparatus and method for screen display control in electronic device
CN109964202B (en) Display control apparatus, display control method, and computer-readable storage medium
CN105718204A (en) Touch gesture based control method and device
WO2018076720A1 (en) One-hand operation method and control system
CN103092389A (en) Touch screen device and method for achieving virtual mouse action
WO2017133228A1 (en) Method and apparatus for increasing valid content display area, and user terminal
CN110888581A (en) Element transfer method, device, equipment and storage medium
US20110119579A1 (en) Method of turning over three-dimensional graphic object by use of touch sensitive input device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20823451

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20823451

Country of ref document: EP

Kind code of ref document: A1