CN108829327B - Writing method and device of interactive intelligent equipment - Google Patents

Writing method and device of interactive intelligent equipment Download PDF

Info

Publication number
CN108829327B
CN108829327B CN201810428615.2A CN201810428615A CN108829327B CN 108829327 B CN108829327 B CN 108829327B CN 201810428615 A CN201810428615 A CN 201810428615A CN 108829327 B CN108829327 B CN 108829327B
Authority
CN
China
Prior art keywords
writing
event
touch event
touch
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810428615.2A
Other languages
Chinese (zh)
Other versions
CN108829327A (en
Inventor
向淘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810428615.2A priority Critical patent/CN108829327B/en
Publication of CN108829327A publication Critical patent/CN108829327A/en
Application granted granted Critical
Publication of CN108829327B publication Critical patent/CN108829327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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

Abstract

The invention discloses a writing method and a writing device of interactive intelligent equipment. Wherein, the method comprises the following steps: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application. The invention solves the technical problem that in the prior art, when any user writes in a writing area in a multi-screen writing scene, other users cannot operate the function control.

Description

Writing method and device of interactive intelligent equipment
Technical Field
The invention relates to the field of interactive intelligent equipment, in particular to a writing method and a writing device of interactive intelligent equipment.
Background
In the prior art, interactive intelligent equipment usually has a whiteboard function, when the interactive intelligent equipment starts the whiteboard function, a user can write on a touch screen through an electromagnetic pen or a finger, and the touch screen generates a corresponding generation track according to a sliding track of the electromagnetic pen or the finger.
However, in the prior art, if the interactive intelligent device has a plurality of window applications, the interactive intelligent device is touched and pressed by a finger on the interface of one of the window applications, and is not lifted up, and then the other window applications are touched, and the other window applications cannot respond to the touch event. Thus, for some special scenarios where multiple people are required to write on an interactive smart device at the same time, for example: many people in the teaching scene answer etc. interactive smart machine among the prior art can't satisfy.
Aiming at the problem that in the prior art, when any user writes in a writing area in a multi-screen writing scene, other users cannot operate a function control, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a writing method and a writing device of interactive intelligent equipment, which at least solve the technical problem that in the prior art, when any user writes in a writing area in a multi-screen writing scene, other users cannot operate a function control.
According to an aspect of an embodiment of the present invention, there is provided a writing method of an interactive smart device, including: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application.
Further, each writing area comprises a function control corresponding to each writing area, and when the received touch event is not a writing event, the method further comprises the steps of forbidding generation of a writing track and distributing the touch event to a split screen writing application: detecting whether the touch event is a control selection event, wherein the control selection event is used for triggering a functional control of the writing area; and if the touch event is a control selection event, responding to the functional control triggered by the control selection event by the writing area.
Further, the interactive smart device generates a plurality of writing areas, including: the interactive intelligent equipment generates a plurality of writing processes; and the interactive intelligent equipment allocates a corresponding writing area for each writing process.
Further, in the case that the received touch event is a writing event, generating a writing trace corresponding to the writing event includes: detecting a writing area to which the received writing event belongs; sending the received writing event to a writing process corresponding to the writing area; and drawing a writing track corresponding to the writing event in the writing area receiving the writing event through the writing process.
Further, each writing area includes: identification information of the border and/or writing area.
Further, before generating the plurality of writing areas, the method further comprises: and receiving a starting signal, wherein the starting signal is used for starting a split screen writing application of the interactive intelligent equipment.
According to another aspect of the embodiments of the present invention, there is also provided a writing apparatus of an interactive smart device, including: a first generation module for generating a plurality of writing areas; a second receiving module, configured to receive a touch event; the detection module is used for detecting whether the received touch event writes an event or not, wherein the writing event is a touch event of a preset type; the second generation module is used for generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; and the distribution module is used for distributing the touch event to the split screen writing application under the condition that the received touch event is not the writing event.
Further, each writing area includes a functionality control corresponding to each writing area, and the distribution module includes: the detection sub-module is used for detecting whether the touch event is a control selection event, wherein the control selection event is used for triggering a functional control of the writing area; and the response sub-module is used for responding the functional control triggered by the control selection event in the writing area if the touch event is the control selection event.
Further, the first generating module comprises: the generation submodule is used for generating a plurality of writing processes by the interactive intelligent equipment; and the distribution submodule is used for distributing the corresponding writing area for each writing process by the interactive intelligent equipment.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, a device on which the storage medium is located is controlled to perform the following steps: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the following steps: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application.
In the embodiment of the invention, the interactive intelligent equipment receives a starting signal, wherein a plurality of writing areas are generated; the interactive intelligent equipment receives a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application. According to the scheme, in the split-screen writing application of the interactive intelligent device, the type of the received touch event is judged, and whether the received touch event is used for writing or controlling is determined, so that when a plurality of users use the split-screen writing function simultaneously, any user can write through the touch event of the preset type, and other users can use the touch event of the non-preset type to operate the control simultaneously, and the technical problem that in the prior art, when the interactive intelligent device is used in a multi-screen writing scene, one writing area is used for writing, and other writing areas cannot operate the function control is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a writing method of an interactive smart device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative interactive smart device split-screen writing interface according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method of writing for an interactive smart device according to an embodiment of the present invention;
FIG. 4 is a flow diagram of a split screen writing of an interactive smart device according to an embodiment of the present invention; and
FIG. 5 is a schematic diagram of a writing instrument of an interactive smart device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a writing method for an interactive smart device, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
FIG. 1 is a flow chart of a writing method of an interactive smart device according to an embodiment of the present invention.
The handwriting erasing method provided by this embodiment may be executed by a writing display device, where the writing display device may be implemented in a software and/or hardware manner, and the writing display device may be formed by two or more physical entities, or may be formed by one physical entity. The writing display device can be a computer, a mobile phone, a tablet, a projector or an interactive smart tablet and the like. In an embodiment, an interactive smart tablet is described as an example of a writing display device, where the interactive smart tablet may be an integrated device that controls content displayed on a display tablet and implements human-computer interaction operations through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound, a television, a video conference terminal, and the like.
In an embodiment, the interactive smart tablet establishes a data connection with at least one external device. Among these, external devices include, but are not limited to: mobile phones, notebook computers, USB flash disks, tablet computers, desktop computers, and the like.
The embodiment of the communication mode of the data connection between the external device and the interactive intelligent tablet is not limited, and the communication mode can be a USB connection mode, an internet mode, a local area network mode, a Bluetooth mode, a Wi-Fi mode or a ZigBee mode and the like.
Further, the interactive smart tablet has a touch screen, and the touch screen may be a touch screen capable of implementing a single touch function, for example: capacitive touch screen, electromagnetic touch screen, can also be the touch-sensitive screen that can realize capacitive sensing, electromagnetic induction and infrared induction simultaneously. When a user touches the touch screen of the interactive intelligent panel through 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 of the capacitance; or when the finger contacts the touch frame, the infrared receiving end is blocked to receive the infrared signal, and the touch frame determines the touch position of the finger according to the blocked infrared signal; or when the user releases the touch screen by using the electromagnetic pen, the position of the electromagnetic pen contacted with the touch screen is subjected to electromagnetic induction, so that the change of magnetic flux is generated, and the position of the electromagnetic pen contacted with the touch screen is determined by the electromagnetic screen of the touch frame according to the change of the magnetic flux.
Optionally, the interactive smart tablet is installed with whiteboard application software, where the whiteboard application software may be installed in the interactive smart tablet in advance, or may be downloaded from a third-party device or a server and installed with writing application software for use when the interactive smart tablet is started. The third-party device is not limited in the embodiment. Specifically, the whiteboard application software is used for acquiring the operation of a finger or an electromagnetic pen of a user in a writing interface, acquiring a plurality of control points according to the operation of the user, and generating the writing handwriting of the user according to the control points. The interactive intelligent tablet further displays the generated handwriting on the display screen, and parameters such as color, thickness and the like of the handwriting displayed on the display screen can be defaulted by the whiteboard application software or can be selected by a user through the functional control before writing.
As shown in fig. 1, the method comprises the steps of:
in step S102, a plurality of writing areas are generated.
After the interactive intelligent equipment starts a split screen writing function, a plurality of independent writing areas are generated. Specifically, the writing area is generated on the display interface and used for receiving the writing event and generating a corresponding writing track. The multiple independent writing areas may be of the same size or of different sizes. Each writing area can realize independent writing function, and multiple writing areas are not related.
FIG. 2 is a schematic diagram of an alternative interactive smart device split-screen writing interface according to an embodiment of the present invention. Referring to fig. 2, the example divides the writing area of the interactive intelligent device into two identical parts, each part is an independent writing area, and the writing track can be independently displayed.
Specifically, each of the writing areas may include: identification information of the border and/or writing area.
The frame of the writing area indicates the boundary of the writing area, and the mark of the writing area may be information such as the name and ID of the writing area.
In an alternative embodiment, still referring to fig. 2, the interactive intelligent device divides two writing areas, where both writing areas have respective borders, and the identification information of the two writing areas is writing area 1 and writing area 2, respectively.
Step S102 specifically includes the following steps:
in step S1021, a plurality of writing processes are generated.
Specifically, one writing process corresponds to one writing area and is used for processing writing events of the corresponding writing area, so that mutual independence among a plurality of writing areas is realized.
In step S1023, a corresponding writing area is allocated for each writing process.
In the scheme, the interactive intelligent device generates a plurality of writing processes and allocates a corresponding writing area for each writing process. At run-time, each writing area has a corresponding window, and the received writing events are processed independently through respective writing processes.
In step S104, a touch event is received.
Specifically, the touch event may be a touch event generated by a user operating the interactive smart device. For example, a user writes on a screen of the interactive smart device using an electromagnetic pen, or the user operates on the screen of the interactive smart device with a finger.
Step S106, detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type.
Specifically, the writing event is a touch event for generating a writing trace in the writing area.
In an alternative embodiment, the touch event type may be determined according to the device generating the touch event, for example: the touch event generated by the electromagnetic pen is of one type, and the touch event generated by the touch of a finger is of another type; in another alternative embodiment, the type of touch event may also be determined from the touch data of the touch event, for example: the electromagnetic touch data, the capacitive touch data and the infrared touch data are respectively different touch types.
In the above solution, the predetermined type of touch event may be an electromagnetic touch event, i.e. a touch event generated by an electromagnetic pen. In this embodiment, when receiving a touch event, the interactive intelligent device determines whether the touch event is a predetermined type of touch event, and the following two determination results are respectively described.
In step S108, when the received touch event is a writing event, a writing trace corresponding to the writing event is generated.
In the above solution, the predetermined type of touch event may be an electromagnetic touch event, i.e. a touch event generated by an electromagnetic pen. In this embodiment, the writing trace is generated from the writing event only when the touch event is the writing event. Further, the writing event may be a predetermined type of touch event with a certain writing procedure (e.g., down- > move- > … move- > up). One writing event received by the interactive intelligent device can be generated in any one writing area, and the received multiple writing events can be simultaneously received writing events generated in different writing areas.
It should be noted that, in the above steps, the writing event is directly distributed to the writing process by the touch frame of the interactive smart device, and is not distributed through the Android system of the interactive smart tablet, so that the normal display logic of the Android system is not affected. The method can not intercept other types of touch events, and can save the GPU utilization rate due to the fact that a normal drawing process of Android is not utilized.
It should be noted that the plurality of writing areas cannot be bounded by a surface view, so as to avoid the view of the writing area intercepting normal Android events (i.e. non-predetermined types of touch events).
In an alternative embodiment, and as further illustrated in conjunction with FIG. 2, the writing area of the interactive smart tablet is divided into two separate writing areas. When a user A writes in the writing area 1, the writing area 1 displays the writing track of the user A; meanwhile, the user B can write in the writing area 2, and the writing area 2 displays the writing trace of the user B. It should be noted that, in this example, the interactive smart device has two writing areas, so that two writing events can be received at the same time, and for the interactive smart device with more writing areas, more writing events can be received at the same time.
In order to implement the scheme, the split-screen writing application of the interactive intelligent device respectively creates writing processes for a plurality of writing areas, each writing area has a corresponding window when the interactive intelligent device runs, each window is displayed in the corresponding writing area, the interactive intelligent device detects an area generated by a writing event, and distributes the writing event to the corresponding writing process according to the area generated by the writing event.
Step S108 specifically includes the following steps:
step S1081, detecting a writing area to which the received writing event belongs.
Specifically, the area to which the writing event is received may be a writing area in which a first point (down) in the writing event is located. For example, if a writing event is in a first writing area at a first point on the interactive smart tablet, the writing area continues to detect other control points of the writing event, and other writing areas do not detect the first point of the writing event and do not detect other control points of the writing event.
And step S1083, sending the received writing event to the writing process corresponding to the writing area.
In an alternative embodiment, as shown in fig. 2, this example includes two writing areas, writing area 1 and writing area 2, each having a corresponding writing process. When a user writes in the writing area 1, the interactive intelligent device distributes the writing event of the user to the writing process corresponding to the writing area 1, and therefore the writing track corresponding to the writing event can be displayed in the display area of the writing area 1.
And step S1085, drawing a writing track corresponding to the writing event in the writing area receiving the writing event through the writing process.
The above steps are used to enable the trajectory corresponding to the writing event to be displayed in the generated writing area.
In an optional embodiment, after the interactive intelligent device detects the writing event, the interactive intelligent device directly distributes the writing event to the writing process corresponding to each writing area, so as to draw the writing track corresponding to the writing event.
As can be seen from the above, in the above embodiments of the present application, the interactive intelligent device receives a writing event, the interactive intelligent device displays a plurality of writing areas, the interactive intelligent device receives the writing event, and the interactive intelligent device displays a writing track corresponding to the writing event in the writing area generated by the writing event. According to the scheme, the plurality of regions are arranged, and the writing tracks corresponding to the writing events are displayed in the writing regions generated by the writing events, so that the technical problem that in the prior art, when any user writes in the writing regions, other users cannot operate the function control in the multi-screen writing scene of the interactive intelligent device is solved.
Step S1010, in a case that the detected touch event is not a writing event, distributing the touch event to a split screen writing application.
In the step S1010, if the touch event is not a predetermined type of touch event, it indicates that the current touch event is not a writing event, and the interactive intelligent device distributes the touch event to a system (for example, an Android system), and the system distributes the touch event to a corresponding application.
When a plurality of writing windows of the split-screen writing application are tiled on a display interface of the interactive intelligent device, the application on the uppermost layer is a tool bar of the split-screen writing application, so that the system distributes the touch event to the split-screen writing application, the split-screen writing application executes a function control in the tool bar triggered by the touch event, and if the touch event does not trigger any function control, the touch event is not responded.
Therefore, in the above scheme, taking a predetermined type of touch event as an electromagnetic touch event as an example, the obtained effect may be that while the user uses the electromagnetic pen to write in the writing area, other users may use fingers to trigger the function control.
As can be seen from the above, in the above embodiments of the present application, the interactive intelligent device receives a start signal, where the start signal is used to start a split-screen writing application of the interactive intelligent device; the interactive intelligent equipment generates a plurality of writing areas; the interactive intelligent equipment receives a touch event; the method comprises the steps that the interactive intelligent equipment detects whether a received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; and in the case that the received touch event is not a writing event, prohibiting generation of a writing track, and distributing the touch event to the split screen writing application. According to the scheme, in the split-screen writing application of the interactive intelligent device, the type of the received touch event is judged, and whether the received touch event is used for writing or controlling is determined, so that when a plurality of users use the split-screen writing function at the same time, any user can write through the touch event of the preset type, and other users can use the touch event of the non-preset type to operate the control, and the technical problem that in the prior art, the interactive intelligent device cannot operate the function control when any user writes in a writing area in a multi-screen writing scene is solved.
Example 2
According to an embodiment of the present invention, there is further provided an embodiment of a writing method of an interactive intelligent device, where the method is to explain the writing method of the interactive intelligent device in embodiment 1 more specifically, and fig. 3 is a flowchart of a writing method of an interactive intelligent device according to embodiment 2 of the present application, and with reference to fig. 3, the method includes:
and step S31, receiving a starting signal, wherein the starting signal enables a user to start a split screen writing application of the interactive intelligent device.
Specifically, the split-screen writing application of the interactive intelligent device provides a split-screen writing function for the interactive intelligent device, and is used for generating a plurality of writing areas on a display interface of the interactive intelligent device. The plurality of writing areas are mutually independent and can independently execute writing commands.
The split screen writing application provides a writing function for triggering the interactive intelligent device to generate a plurality of writing areas, and the steps S31 to S37 are continuously executed.
In an alternative embodiment, the interactive intelligent device provides a control of the split-screen writing application on the main interface, the user triggers the control of the split-screen writing application, and the interactive intelligent device receives the starting signal and starts the split-screen writing application.
In step S33, a plurality of writing areas are generated.
In step S35, a touch event is received.
In step S37, it is detected whether the received touch event is a writing event, wherein the writing event is a touch event of a predetermined type.
In step S39, when the received touch event is a writing event, a writing trace corresponding to the writing event is generated.
In step S311, in the case that the received touch event is not a writing event, the touch event is distributed to the split screen writing application.
Step 313, each writing area comprises a function control corresponding to each writing area, and whether the touch event is a control selection event is detected under the condition that the received touch event is not a writing event, wherein the control selection event is used for triggering the function control of the writing area.
Specifically, the functional control may include a control commonly used in writing, for example: handwriting color, handwriting thickness, eraser, etc. Each writing area can display a plurality of function controls, and the plurality of function controls of each writing area can form a set and are displayed at a preset position of the writing area in the form of a floating window. In the area where the floating window is located, the floating window is the uppermost layer, so that if the position of the touch event is the position of any functional control in the floating window, the touch event can trigger the functional control corresponding to the position of the touch event, and at this time, the touch event is a control selection event. Still referring to FIG. 2 as an example, in this example, the functionality controls of each writing area constitute a toolbar that is displayed below each writing area.
The function selection event is generated by triggering a function control, each writing area having an associated function control for controlling the writing area corresponding thereto. When a user triggers a function control, the interactive intelligent device receives a control selection event, for example, if the triggered function control is screen clearing, the writing area corresponding to the triggered function control is screen clearing.
In an alternative embodiment, and still referring to fig. 2, the function control in the toolbar of writing area 1 is only used to control the writing progress of writing area 1, and the function control in the toolbar of writing area 2 is also only used to control the writing progress of writing area 2.
In an alternative embodiment, the control selection event and the writing event are different types of touch events, for example, the writing event may be an electromagnetic touch event and the control selection event may be an infrared/capacitive touch event. When the infrared/capacitance touch event is generated at the position of the function control, the infrared/capacitance touch event is a control selection event capable of triggering the function control.
And step S315, if the touch event is a control selection event, the writing area responds to a functional control triggered by the control selection event. Additionally, if the touch event does not select an event for the control, the touch event is not responded to.
In an alternative embodiment, when the touch event is generated at the position of the function control, an event is selected for the control capable of triggering the function control, and therefore, the writing area where the position of the touch event is generated responds to the function control triggered by the touch event; when the position generated by the touch event cannot trigger the function control, the touch event does not select an event for the control, and the writing area does not respond to the touch event.
Therefore, in the above scheme, taking the predetermined type of touch event as an electromagnetic touch event as an example, the obtained effect is that the user writes in the writing area by using an electromagnetic pen and can trigger the function control by using a finger. Further, when one of the writing areas is receiving a writing event, the other writing area is not affected to receive a control selection event, i.e. when the user writes in one of the writing areas, the function controls of the other writing areas can be triggered.
Fig. 4 is a flowchart of screen-division writing of an interactive smart device according to embodiment 2 of the present invention, which is described in detail below with reference to fig. 4.
S41: the split screen writing application is started.
Specifically, after the interactive intelligent device starts the split-screen writing application, the split-screen writing interface shown in fig. 2 is obtained. The interface includes writing area 1, writing area 2, and tool bars corresponding to writing area 1 and writing area 2, respectively.
S42: generating electromagnetic/infrared/capacitive touch events.
Specifically, the device for generating the touch event may further include all hardware devices such as a mouse and a roller ball that can generate the touch event.
S43: it is determined whether the touch event is a predetermined type of touch event. If the determination result is yes, the process proceeds to step S44, otherwise, the process proceeds to step S46.
In the above step S43, the type of each touch event may be determined according to the device that generated the touch event. If the event generated by the electromagnetic pen is taken as a predetermined type of touch event, the touch event generated by the electromagnetic pen can be directly distributed to the split screen writing application, while other types of touch events are distributed through a normal system event processing flow.
S44: and distributing the event to the corresponding writing area according to the area generated by the touch event.
The split screen writing application distributes the whole event stream to the writing process of the writing area according to which writing area the position generated by the touch event (for example, the coordinates of the electromagnetic pen down event) belongs to. A second stream of writing events may be generated at the same time as the first stream of writing events is generated, and the location where the second stream of writing events is generated belongs to another writing area, then the second stream of writing events is distributed to the writing progress of the other writing area, so that writing area 1 and writing area 2 may respond to writing events at the same time.
S45: and drawing and displaying a writing track.
The writing area draws a writing track according to the received event stream (down- > move- > … move- > up) (for example, draws the writing track according to the control points of the event stream through a Bezier curve), and then displays the drawn handwriting to the corresponding writing area.
S46: touch events are distributed normally through the system.
The system distributes the touch event to the control at the corresponding position of the writing software. If the touch event has coordinates of (100, 200), the system will distribute the touch event to the control according to the control at coordinates x 100 and y 200 of the software that acquired the touch event, and the control will respond to the touch event and generate the corresponding action.
S47: the toolbar of the writing area responds to the event and generates a corresponding operation.
And if the function of the function control is screen clearing, the written content of the corresponding writing area can be cleared.
S48: and exiting the writing software.
Example 3
According to an embodiment of the present invention, there is further provided a writing apparatus of an interactive intelligent device for executing the writing method of the interactive intelligent device in embodiment 1, and fig. 5 is a flowchart of the writing apparatus of the interactive intelligent device according to embodiment 3 of the present application, and with reference to fig. 5, the apparatus includes:
a first generating module 52 for generating a plurality of writing areas.
After the interactive intelligent equipment starts a split screen writing function, a plurality of independent writing areas are generated through the first generation module. Specifically, the writing area is generated on the display interface and used for receiving the writing event and generating a corresponding writing track. The multiple independent writing areas may be of the same size or of different sizes. Each writing area can realize independent writing function, and multiple writing areas are not related.
A receiving module 54, configured to receive a touch event.
Specifically, the touch event may be a touch event generated by a user operating the interactive smart device. For example, a user writes on a screen of the interactive smart device using an electromagnetic pen, or the user operates on the screen of the interactive smart device with a finger.
A detecting module 56, configured to detect whether the received touch event is a writing event, where the writing event is a predetermined type of touch event.
Specifically, the writing event is a touch event for generating a writing trace in the writing area. The interactive intelligent device detects whether the touch event is a writing event by judging whether the received touch event is a touch event of a predetermined type.
In an alternative embodiment, the touch event type may be determined according to the device generating the touch event, for example: the touch event generated by the electromagnetic pen is of one type, and the touch event generated by the touch of a finger is of another type; in another alternative embodiment, the type of touch event may also be determined from the touch data of the touch event, for example: the electromagnetic touch data, the capacitive touch data and the infrared touch data are respectively different touch types.
And a second generating module 58, configured to generate a writing track corresponding to the writing event if the received touch event is the writing event.
In the above solution, the predetermined type of touch event may be an electromagnetic touch event, i.e. a touch event generated by an electromagnetic pen. In this embodiment, the writing trace is generated from the writing event only when the touch event is the writing event. Further, the writing event may be a predetermined type of touch event with a certain writing procedure (e.g., down- > move- > … move- > up). One writing event received by the interactive intelligent device can be generated in any one writing area, and the received multiple writing events can be simultaneously received writing events generated in different writing areas.
It should be noted that, in the above steps, the writing event is directly distributed to the writing process by the touch frame of the interactive smart device, and is not distributed through the Android system of the interactive smart tablet, so that the normal display logic of the Android system is not affected. The method can not intercept other types of touch events, and can save the GPU utilization rate due to the fact that a normal drawing process of Android is not utilized.
It should be noted that the plurality of writing areas cannot be bounded by a surface view, so as to avoid the view of the writing area intercepting normal Android events (i.e. non-predetermined types of touch events).
A distributing module 510, configured to distribute the touch event to the split-screen writing application if the received touch event is not a writing event.
In the above scheme, if the touch event is not a predetermined type of touch event, it indicates that the current touch event is not a writing event, the interactive intelligent device distributes the touch event to a system (for example, an Android system), and the system distributes the touch event to a corresponding application.
When a plurality of writing windows of the split-screen writing application are tiled on a display interface of the interactive intelligent device, the application on the uppermost layer is a tool bar of the split-screen writing application, so that the system distributes the touch event to the split-screen writing application, the split-screen writing application executes a function control in the tool bar triggered by the touch event, and if the touch event does not trigger any function control, the touch event is not responded.
Therefore, in the above scheme, taking a predetermined type of touch event as an electromagnetic touch event as an example, the obtained effect may be that while the user uses the electromagnetic pen to write in the writing area, other users may use fingers to trigger the function control.
Optionally, according to the foregoing embodiment of the present application, each writing area includes a function control corresponding to each writing area, and the distribution module includes:
and the detection submodule is used for detecting whether the touch event is a control selection event, wherein the control selection event is used for triggering the functional control of the writing area.
Specifically, the functional control may include a control commonly used in writing, for example: handwriting color, handwriting thickness, eraser, etc. Each writing area can display a plurality of function controls, and the plurality of function controls of each writing area can form a set and are displayed at a preset position of the writing area in the form of a floating window. In the area where the floating window is located, the floating window is the uppermost layer, so that if the position of the touch event is the position of any functional control in the floating window, the touch event can trigger the functional control corresponding to the position of the touch event, and at this time, the touch event is a control selection event.
And the response sub-module is used for responding the functional control triggered by the control selection event in the writing area if the touch event is the control selection event.
In an alternative embodiment, when the touch event is generated at the position of the function control, an event is selected for the control capable of triggering the function control, and therefore, the writing area where the position of the touch event is generated responds to the function control triggered by the touch event; when the position generated by the touch event cannot trigger the function control, the touch event does not select an event for the control, and the writing area does not respond to the touch event.
Optionally, according to the above embodiment of the present application, the first generating module includes:
and the generation submodule is used for generating a plurality of writing processes by the interactive intelligent equipment.
Specifically, one writing process corresponds to one writing area and is used for processing writing events of the corresponding writing area, so that mutual independence among a plurality of writing areas is realized.
And the distribution submodule is used for distributing the corresponding writing area for each writing process by the interactive intelligent equipment.
In the scheme, the interactive intelligent device generates a plurality of writing processes and allocates a corresponding writing area for each writing process. At run-time, each writing area has a corresponding window, and the received writing events are processed independently through respective writing processes.
Optionally, according to the foregoing embodiment of the present application, the second generating module includes:
and the detection unit is used for detecting the writing area to which the received writing event belongs.
Specifically, the area to which the writing event is received may be a writing area in which a first point (down) in the writing event is located. For example, if a writing event is in a first writing area at a first point on the interactive smart tablet, the writing area continues to detect other control points of the writing event, and other writing areas do not detect the first point of the writing event and do not detect other control points of the writing event.
And the sending submodule is used for sending the received writing event to the writing process corresponding to the writing area.
In an alternative embodiment, as shown in fig. 2, this example includes two writing areas, writing area 1 and writing area 2, each having a corresponding writing process. When a user writes in the writing area 1, the interactive intelligent device distributes the writing event of the user to the writing process corresponding to the writing area 1, and therefore the writing track corresponding to the writing event can be displayed in the display area of the writing area 1.
And the drawing submodule is used for drawing a writing track corresponding to the writing event in the writing area receiving the writing event through the writing process.
Specifically, the interactive intelligent device displays the track corresponding to the writing event in the generated writing area through the drawing submodule.
Optionally, according to the above embodiment of the present application, the plurality of writing areas include: identification information of the border and/or the plurality of writing areas.
The frame of the writing area indicates the boundary of the writing area, and the mark of the writing area may be information such as the name and ID of the writing area.
In an alternative embodiment, still referring to fig. 2, the interactive intelligent device divides two writing areas, where both writing areas have respective borders, and the identification information of the two writing areas is writing area 1 and writing area 2, respectively.
Optionally, according to the above embodiment of the present application, the apparatus further includes: the receiving submodule is used for receiving a starting signal before generating a plurality of writing areas, wherein the starting signal is used for starting a split screen writing application of the interactive intelligent device.
Example 4
According to an embodiment of the present invention, there is provided a storage medium including a stored program, wherein, when the program runs, a device on which the storage medium is located is controlled to execute the following steps: generating a plurality of writing areas; the interactive intelligent equipment receives a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application.
Example 5
According to an embodiment of the present invention, there is provided a processor, configured to execute a program, where the program executes the following steps: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not a writing event, the touch event is distributed to a split screen writing application.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A writing method of an interactive intelligent device is characterized by comprising the following steps:
generating a plurality of writing areas;
receiving a touch event;
detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type;
generating a writing track corresponding to the writing event when the received touch event is the writing event;
in the event that the received touch event is not the writing event, distributing the touch event to a split screen writing application;
wherein generating a plurality of writing regions comprises: generating a plurality of writing processes; distributing a corresponding writing area for each writing process; generating a writing trace corresponding to the writing event, comprising: and the writing event is directly distributed to the writing process by a touch frame of the interactive intelligent equipment, and the writing process generates a writing track corresponding to the writing event.
2. The method of claim 1, wherein each writing area includes a functionality control corresponding to the each writing area, and wherein after distributing the touch event to the split screen writing application if the received touch event is not the writing event, the method further comprises:
detecting whether the touch event is a control selection event, wherein the control selection event is used for triggering a functional control of a writing area;
and if the touch event is the control selection event, the writing area responds to the functional control triggered by the control selection event.
3. The method of claim 1, wherein generating a writing trace corresponding to the writing event if the received touch event is the writing event comprises:
detecting a writing area to which the received writing event belongs;
sending the received writing event to a writing process corresponding to the writing area;
and drawing a writing track corresponding to the writing event in the writing area receiving the writing event through the writing process.
4. The method of claim 1, wherein prior to generating the plurality of writing regions, the method further comprises: receiving a starting signal, wherein the starting signal is used for starting a split screen writing application of the interactive intelligent equipment.
5. The method of claim 1, wherein each of the writing areas comprises: identification information of a border and/or the writing area.
6. A writing device of an interactive smart device, comprising:
a first generation module for generating a plurality of writing areas;
a receiving module for receiving a touch event;
the detection module is used for detecting whether the received touch event writes an event or not, wherein the writing event is a touch event of a preset type;
the second generation module is used for generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event;
the distribution module is used for distributing the touch event to a split screen writing application under the condition that the received touch event is not the writing event;
wherein the first generating module comprises:
the generating submodule is used for generating a plurality of writing processes;
the distribution submodule is used for distributing a corresponding writing area for each writing process;
the second generating module is further configured to directly distribute the writing event to the writing process through a touch frame of the interactive intelligent device, and generate a writing track corresponding to the writing event.
7. The apparatus of claim 6, wherein each writing area includes a functionality control corresponding to the each writing area, the distribution module comprising:
the detection sub-module is used for detecting whether the touch event is a control selection event, wherein the control selection event is used for triggering a functional control of a writing area;
and the response sub-module is used for responding to the functional control triggered by the control selection event in the writing area if the touch event is the control selection event.
8. A storage medium, characterized in that the storage medium includes a stored program, wherein when the program runs, a device on which the storage medium is located is controlled to execute the following steps: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not the writing event, distributing the touch event to a split screen writing application, wherein generating a plurality of writing areas comprises: generating a plurality of writing processes; distributing a corresponding writing area for each writing process; generating a writing trace corresponding to the writing event, comprising: and the writing event is directly distributed to the writing process by a touch frame of the interactive intelligent equipment, and the writing process generates a writing track corresponding to the writing event.
9. A processor, wherein the processor is configured to execute a program, wherein the program executes to perform the following steps: generating a plurality of writing areas; receiving a touch event; detecting whether the received touch event is a writing event, wherein the writing event is a touch event of a preset type; generating a writing track corresponding to the writing event under the condition that the received touch event is the writing event; in the event that the received touch event is not the writing event, distributing the touch event to a split screen writing application, wherein generating a plurality of writing areas comprises: generating a plurality of writing processes; distributing a corresponding writing area for each writing process; generating a writing trace corresponding to the writing event, comprising: and the writing event is directly distributed to the writing process by a touch frame of the interactive intelligent equipment, and the writing process generates a writing track corresponding to the writing event.
CN201810428615.2A 2018-05-07 2018-05-07 Writing method and device of interactive intelligent equipment Active CN108829327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810428615.2A CN108829327B (en) 2018-05-07 2018-05-07 Writing method and device of interactive intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810428615.2A CN108829327B (en) 2018-05-07 2018-05-07 Writing method and device of interactive intelligent equipment

Publications (2)

Publication Number Publication Date
CN108829327A CN108829327A (en) 2018-11-16
CN108829327B true CN108829327B (en) 2021-07-09

Family

ID=64148461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810428615.2A Active CN108829327B (en) 2018-05-07 2018-05-07 Writing method and device of interactive intelligent equipment

Country Status (1)

Country Link
CN (1) CN108829327B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885244A (en) * 2019-02-19 2019-06-14 广州视源电子科技股份有限公司 A kind of touch operation response method, device, storage medium and terminal
CN110310528A (en) * 2019-07-23 2019-10-08 湖南纸云互动智能科技有限公司 A kind of paper cloud interaction language teaching system and method
CN110489197A (en) * 2019-08-21 2019-11-22 深圳市第三极智能物联有限公司 A kind of single screen or mosaic screen realize the operating system of more person writings and interaction
CN111352570B (en) 2020-03-24 2021-06-01 深圳市鸿合创新信息技术有限责任公司 Writing interaction method, intelligent interaction display equipment and writing interaction system
CN111651116B (en) 2020-06-04 2022-06-14 京东方科技集团股份有限公司 Split screen interaction method, electronic equipment and computer storage medium
CN113835604A (en) * 2020-06-08 2021-12-24 摩根触控科技(香港)有限公司 Processing method and system for multi-area touch input
CN112578987A (en) * 2020-12-25 2021-03-30 广州壹创电子科技有限公司 Off-screen interactive touch all-in-one machine and interaction method thereof
CN113419664A (en) * 2021-07-23 2021-09-21 广州朗国电子科技股份有限公司 Whiteboard writing area adaptation method, device and medium in all-in-one machine multi-window mode
CN117492628A (en) * 2022-07-26 2024-02-02 华为技术有限公司 Image processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019602A (en) * 2012-12-17 2013-04-03 锐达互动科技股份有限公司 Method for realizing multiplayer split-screen operation
CN105022581A (en) * 2014-05-02 2015-11-04 Lg电子株式会社 Mobile terminal and controlling method thereof
WO2017004141A1 (en) * 2015-06-29 2017-01-05 Promethean Limited Systems and methods for providing multi-focus to applications for collaboration
CN106575291A (en) * 2014-08-15 2017-04-19 微软技术许可有限责任公司 Detecting selection of digital ink

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019602A (en) * 2012-12-17 2013-04-03 锐达互动科技股份有限公司 Method for realizing multiplayer split-screen operation
CN105022581A (en) * 2014-05-02 2015-11-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN106575291A (en) * 2014-08-15 2017-04-19 微软技术许可有限责任公司 Detecting selection of digital ink
WO2017004141A1 (en) * 2015-06-29 2017-01-05 Promethean Limited Systems and methods for providing multi-focus to applications for collaboration

Also Published As

Publication number Publication date
CN108829327A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108829327B (en) Writing method and device of interactive intelligent equipment
CN107547750B (en) Control method, device and the storage medium of terminal
US8893051B2 (en) Method for selecting an element of a user interface and device implementing such a method
CN109215098B (en) Handwriting erasing method and device
CN110413187B (en) Method and device for processing annotations of interactive intelligent equipment
CN106325663B (en) Mobile terminal and its screenshotss method
CN111443863A (en) Page control method and device, storage medium and terminal
CN105183231B (en) Information processing method applied to touch screen device and touch screen device
CN110928475B (en) Page interaction method, device, equipment and storage medium of intelligent interaction panel
CN110928614B (en) Interface display method, device, equipment and storage medium
CN110968227B (en) Control method and device of intelligent interactive panel
KR20130112629A (en) Menu contolling method of media equipment, apparatus thereof, and medium storing program source thereof
JP2017515241A (en) Element deletion method and apparatus based on touch panel
US20230269418A1 (en) Video display method, apparatus and storage medium
CN110471611B (en) Keyboard starting method and device, terminal equipment and storage medium
CN102693064B (en) Method and system for quitting protection screen by terminal
WO2020249103A1 (en) Control method and apparatus for intelligent interactive device
CN107817927B (en) Application icon management method and device
CN103092389A (en) Touch screen device and method for achieving virtual mouse action
CN110908580B (en) Method and device for controlling application
CN109144397B (en) Erasing method and device and intelligent interactive panel
CN108255558B (en) Writing software calling method, device, equipment and computer readable storage medium
CN103809912A (en) Tablet personal computer based on multi-touch screen
CN110888581A (en) Element transfer method, device, equipment and storage medium
WO2019024507A1 (en) Touch control method and device, and terminal

Legal Events

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