WO2019075894A1 - 电磁笔、智能终端的控制方法、装置、设备及存储介质 - Google Patents

电磁笔、智能终端的控制方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2019075894A1
WO2019075894A1 PCT/CN2017/116736 CN2017116736W WO2019075894A1 WO 2019075894 A1 WO2019075894 A1 WO 2019075894A1 CN 2017116736 W CN2017116736 W CN 2017116736W WO 2019075894 A1 WO2019075894 A1 WO 2019075894A1
Authority
WO
WIPO (PCT)
Prior art keywords
electromagnetic
change state
electromagnetic signals
preset
control instruction
Prior art date
Application number
PCT/CN2017/116736
Other languages
English (en)
French (fr)
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 WO2019075894A1 publication Critical patent/WO2019075894A1/zh

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of electromagnetic touch application technologies, and in particular, to an electromagnetic pen, a control method, device, device and storage medium for the intelligent terminal.
  • the electronic notebook can transmit the obtained writing track to the smart terminal through Bluetooth in real time during the writing process of the electronic pen on the electronic notebook, and the smart terminal receives the electronic device.
  • the writing track can be displayed on the smart terminal in real time, such as display by the electronic whiteboard software, thereby facilitating the viewer to watch.
  • the user can only project the writing trajectory to the smart terminal through the electronic notebook, and other interaction operations with the smart terminal cannot be realized, and the interaction is insufficient, resulting in inconvenience to the user.
  • the invention provides an electromagnetic pen, a control method, device, device and storage medium for the intelligent terminal, so as to increase interaction between the user and the intelligent terminal, and is convenient for the user to operate.
  • an embodiment of the present invention provides an electromagnetic pen, the electromagnetic pen includes a pen body, and the pen body is provided with a power module, and the first end of the pen body is provided with a first electromagnetic emission module, The second end of the pen body is provided with a second electromagnetic emission module, wherein the frequencies of the electromagnetic signals emitted by the first electromagnetic emission module and the second electromagnetic emission module are different.
  • an embodiment of the present invention further provides a method for controlling an intelligent terminal, where the method includes:
  • the embodiment of the present invention further provides a control device for an intelligent terminal, where the device includes:
  • a communication connection establishing module configured to establish a communication connection with at least one smart terminal by using a preset connection manner
  • a change state acquiring module configured to acquire a change state of coordinates corresponding to the electromagnetic signal when two electromagnetic signals are simultaneously received by the electromagnetic induction plate;
  • a control instruction sending module configured to confirm the control instruction corresponding to the change state according to the preset control instruction list, and send the control instruction to the smart terminal.
  • an embodiment of the present invention further provides an electronic device, where the device includes:
  • One or more processors are One or more processors;
  • a memory for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement a control method of the smart terminal provided by any embodiment of the present invention.
  • the embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, and when the program is executed by the processor, the control method of the intelligent terminal provided by any embodiment of the present invention is implemented.
  • the invention establishes a communication connection with at least one intelligent terminal through a preset connection manner; when two electromagnetic signals are simultaneously received by the electromagnetic induction board, the change state of the coordinates corresponding to the electromagnetic signal is acquired; and the change state is confirmed according to the preset control instruction list.
  • the control instruction is sent to the intelligent terminal, and the problem that the user is inconvenient to operate due to insufficient interactivity is solved, and when the coordinate corresponding to the electromagnetic signal controlled by the user changes with a certain change state, the transmission and the change are realized.
  • the control command corresponding to the state is sent to the smart terminal, thereby increasing the interaction between the user and the smart terminal, and the operation is simple and convenient for the user to operate.
  • FIG. 1 is a schematic structural view of an electromagnetic pen according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a method for controlling an intelligent terminal according to Embodiment 2 of the present invention
  • Embodiment 3 is a schematic diagram showing clockwise movement of coordinates corresponding to two electromagnetic signals in Embodiment 2 of the present invention
  • FIG. 4 is a schematic diagram showing parallel movement of coordinates corresponding to two electromagnetic signals in Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram showing the clockwise movement of a coordinate corresponding to one electromagnetic signal and the clockwise movement of another electromagnetic signal according to Embodiment 2 of the present invention
  • FIG. 6 is a structural block diagram of a control apparatus of an intelligent terminal according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present invention.
  • FIG. 1 is a schematic structural diagram of an electromagnetic pen according to Embodiment 1 of the present invention.
  • the electromagnetic pen provided in this embodiment includes a pen body 110, and a power module 120 is disposed in the pen body 110.
  • the first end of the pen body 110 is provided with a first electromagnetic emission module 130, and the second body of the pen body 110.
  • the second electromagnetic emission module 140 is disposed at the end. The frequencies of the electromagnetic signals emitted by the first electromagnetic transmitting module 130 and the second electromagnetic transmitting module 140 are different.
  • the power module 120 can be connected to the first electromagnetic emission module 130 and the second electromagnetic emission module 140, respectively, for supplying power to the first electromagnetic emission module 130 and the second electromagnetic emission module 140, so that the first An electromagnetic transmitting module 130 and a second electromagnetic transmitting module 140 operate normally.
  • the first electromagnetic transmitting module 130 and the second electromagnetic transmitting module 140 each include a resonant circuit to emit an electromagnetic signal of a specific frequency.
  • the frequency of the electromagnetic signal emitted by the first electromagnetic transmitting module 130 may be 160 kHz
  • the frequency of the electromagnetic signal emitted by the second electromagnetic transmitting module 140 may be 310 kHz.
  • the electromagnetic pen there is an electromagnetic induction plate matched with the electromagnetic induction plate, wherein the electromagnetic induction plate can be composed of an array of coils distributed in the lateral direction and the longitudinal direction.
  • the electromagnetic induction plate is The coils at different positions can sense electromagnetic signals of different frequencies at different frequencies, and the coordinates corresponding to the electromagnetic signals of the frequencies can be obtained according to the amplitudes of the electromagnetic signals of the frequencies received by the coils at different positions.
  • the frequency of the electromagnetic signals received by the electromagnetic induction plates is A
  • the frequency of the electromagnetic signal emitted by the second electromagnetic emission module 140 is B
  • only the first electromagnetic emission module 130 is close to the electromagnetic induction plate, and the electricity is passed.
  • the magnetic induction board receives the electromagnetic signal of the frequency A
  • the coordinate movement track corresponding to the electromagnetic signal is acquired, and the acquired coordinate movement track is confirmed as the writing track and sent to the intelligent terminal, and after the intelligent terminal receives the writing track, the writing track is displayed.
  • the coordinate movement track corresponding to the electromagnetic signal is acquired, and the acquired coordinate movement track is confirmed as to be erased.
  • the track is sent to the smart terminal, and after receiving the track to be erased, the smart terminal erases the track to be erased.
  • the electromagnetic signals corresponding to the frequency A and the frequency B represent writing, and different displays are displayed for the trajectories corresponding to the electromagnetic signals of different frequencies, such as differences in color or line type.
  • an electromagnetic pen that passes electromagnetic signals of two different frequencies can increase the interaction between the user and the smart terminal.
  • the electromagnetic pen 110 further includes a pen head through which the writing can be performed normally on the paper.
  • the first end of the pen body 120 may be an end near the pen tip, and the second end of the pen body 120 may be an end near the pen tail. Therefore, for the electronic device capable of placing the paper on the electromagnetic induction plate, when the user performs an operation such as writing or drawing on the paper, the electromagnetic wave emitted by the first electromagnetic emission module 130 can be received through the electromagnetic induction plate.
  • the signal determines the coordinates corresponding to the electromagnetic signal, and acquires the written trajectory of the user to save, send, or display the written trajectory.
  • the pen body 120 is further provided with a pressure sensor.
  • the electromagnetic pen 110 (the pen tip) is pressed.
  • the pressure sensor senses the pressure and obtains the corresponding pressure data,
  • the pressure data can be transmitted to the processor of the display device to objectively reflect the user's writing trajectory with different thickness lines according to the pressure.
  • a switch module connected to the power module 120 is further disposed in the pen body 110.
  • the power module 120 provides power to the first electromagnetic launch module 130 and the second electromagnetic launch module 140.
  • the first electromagnetic emission module 130 and the second electromagnetic emission module 140 operate normally, and emit electromagnetic signals.
  • the power module 120 stops as the first electromagnetic emission module 130 and the second electromagnetic emission module.
  • the power supply is provided, and the first electromagnetic transmitting module 130 and the second electromagnetic transmitting module 140 are in a dormant state, and do not emit electromagnetic signals, thereby achieving the purpose of energy saving.
  • the electromagnetic pen provided by the embodiment includes a pen body, and the power module is disposed in the pen body.
  • the first end of the pen body is provided with a first electromagnetic transmitting module
  • the second end of the pen body is provided with a second electromagnetic transmitting module.
  • Two electromagnetic signals can be simultaneously transmitted, wherein the frequencies of the electromagnetic signals emitted by the first electromagnetic transmitting module and the second electromagnetic transmitting module are different, and the electromagnetic sensor can be used to receive electromagnetic signals of different frequencies through the electromagnetic pen, and further Different interactions are implemented according to different receiving situations, and interaction with the user is increased.
  • FIG. 2 is a flowchart of a method for controlling an intelligent terminal according to Embodiment 2 of the present invention.
  • This embodiment can be applied to a situation in which a smart terminal needs to be controlled.
  • the method can be performed by a control device of the smart terminal, and the device can be composed of software and/or hardware.
  • the method provided in this embodiment specifically includes the following steps:
  • Step 210 Establish a communication connection with at least one smart terminal by using a preset connection manner.
  • the preset connection mode may be a connection mode such as a Bluetooth connection or a network connection.
  • the present invention does not limit this, as long as the communication connection can be established with the smart terminal by using a preset connection manner.
  • the smart terminal can be a smart terminal such as a smart tablet, a smart phone, a smart TV or an electronic whiteboard.
  • Step 220 When two electromagnetic signals are simultaneously received by the electromagnetic induction board, the change state of the coordinates corresponding to the electromagnetic signal is obtained.
  • the electromagnetic signal can be emitted by the electromagnetic pen provided in the first embodiment.
  • the electromagnetic induction plate can be used.
  • two electromagnetic signals are received, and coordinates corresponding to the two electromagnetic signals are acquired, and the change states of the coordinates corresponding to the two electromagnetic signals can be determined according to the coordinates corresponding to the obtained two electromagnetic signals.
  • the changing state comprises: the coordinates corresponding to the two electromagnetic signals are maintained unchanged until the preset time length, the coordinates corresponding to the two electromagnetic signals move clockwise, the coordinates corresponding to the two electromagnetic signals move counterclockwise, and the two electromagnetic signals correspond to At least one of the coordinate parallel movements.
  • the changing state may further include: the coordinate corresponding to one electromagnetic signal is not moving, and the coordinate corresponding to the other electromagnetic signal moves clockwise or counterclockwise.
  • the coordinates corresponding to the two electromagnetic signals remain unchanged for a preset duration, the coordinates corresponding to the two electromagnetic signals move clockwise, the coordinates corresponding to the two electromagnetic signals move counterclockwise, and the coordinates corresponding to the two electromagnetic signals are parallel. There are many ways to move, and the present invention does not limit this.
  • the coordinates corresponding to the two electromagnetic signals acquired by the electromagnetic sensor board simultaneously receiving the two electromagnetic signals simultaneously may be used as the initial coordinates, and the pre-predetermined The coordinate corresponding to the latest two electromagnetic signals acquired at the time duration is used as the termination coordinate. If the absolute value of the difference between the corresponding coordinate values between the initial coordinate and the termination coordinate corresponding to the two electromagnetic signals is less than the first preset threshold, then it is determined. The coordinates corresponding to the two electromagnetic signals remain unchanged for a preset duration.
  • FIG. 3 is a schematic diagram showing clockwise movement of coordinates corresponding to two electromagnetic signals provided by the embodiment.
  • [(x A1 , y A1 ), (x B1 , y B1 )], [(x A2 , y A2 ), (x B2 , y B2 )], [(x A3 , y A3 ), ( x B4 , y B4 )] and [(x A5 , y A5 ), (x B5 , y B5 )] are coordinates corresponding to two electromagnetic signals sequentially acquired when two electromagnetic signals are simultaneously received by the electromagnetic induction plate.
  • (x An , y An ) is a coordinate corresponding to an electromagnetic signal of one frequency
  • (x Bn , y Bn ) is a coordinate corresponding to an electromagnetic signal of another frequency.
  • is the opposite of the growth direction of
  • the confirmation mode is similar to the way of confirming the clockwise movement of the coordinates corresponding to the two electromagnetic signals, except that any two of the coordinates after the coordinate transformation are acquired. After the group coordinates, it is confirmed that the two sets of coordinates satisfy different conditions.
  • the two sets of coordinates after obtaining the coordinate transformation are [(x A1 ', y A1 '), (x B1 ', y B1 ')] and [(x A2 ', y A2 '), (x B2 ', y B1 ')], confirms whether (x A1 ', y A1 ') and (x A2 ', y A2 ') are satisfied: when x A1 ' and x A2 ' are both greater than 0, y A2 ' is greater than y A2 ', or When x A1 ' and x A2 ' are both less than 0, y A2 ' is less than y A1 ', or, when both y A1 ' and y A2 ' are greater than 0, x A2 ' is less than x A1 ', or when y A1 'and When y A2 'is less than 0, x A2 ' is greater than x A1 ',
  • FIG. 4 is a schematic diagram of parallel movement of coordinates corresponding to two electromagnetic signals provided by the embodiment.
  • [(x A1 , y A1 ), (x B1 , y B1 )], [(x A2 , y A2 ), (x B2 , y B2 )], [(x A3 , y A3 ), (x B4 , y B4 )] and [(x A5 , y A5 ), (x B5 , y B5 )] are coordinates corresponding to two electromagnetic signals sequentially acquired when two electromagnetic signals are simultaneously received by the electromagnetic induction plate
  • (x An , y An ) is the coordinate corresponding to the electromagnetic signal of one frequency
  • (x Bn , y Bn ) is the coordinate corresponding to the electromagnetic signal of the other frequency.
  • FIG. 5 is a schematic diagram of the coordinates of one electromagnetic signal corresponding to the coordinate movement of the electromagnetic signal according to the embodiment.
  • [(x A1 , y A1 ), (x B1 , y B1 )], [(x A2 , y A2 ), (x B2 , y B2 )], [(x A3 , y A3 ), (x B4 , y B4 )] and [(x A5 , y A5 ), (x B5 , y B5 )] are coordinates corresponding to two electromagnetic signals sequentially acquired when two electromagnetic signals are simultaneously received by the electromagnetic induction plate
  • (x An , y An ) is the coordinate corresponding to the electromagnetic signal of one frequency
  • (x Bn , y Bn ) is the coordinate corresponding to the electromagnetic signal of the other frequency.
  • the coordinates corresponding to the latest two electromagnetic signals are acquired [(x An , y An ), (x Bn , y Bn )], respectively, the latest coordinate corresponding to an electromagnetic signal and the previous coordinate of the latest coordinate, such as (x An , y An ) and (x An-1 , y An-1 ) corresponding coordinate values Whether the absolute value of the difference is less than the fourth preset threshold, and if so, save [(x An , y An ), (x Bn , y Bn )] to the third preset list, and add the third number to 1, And confirming whether the third number reaches the third preset number.
  • the third preset number is reached, selecting any coordinate of the coordinates (x An , y An ) corresponding to the electromagnetic signal from the third preset list As the coordinate origin, coordinate transformation is performed on all the coordinates (x Bn , y Bn ) corresponding to another electromagnetic signal in the third preset list, and it is confirmed whether the coordinate (x Bn ', y Bn ') after the coordinate transformation is satisfied.
  • Step 230 Confirm a control instruction corresponding to the change state according to the preset control instruction list, and send the control instruction to the smart terminal.
  • the control command corresponding to the change state is confirmed according to the preset control command list, and the control command is sent to the smart terminal to further control the smart terminal.
  • control instruction comprises at least one of a current page close instruction, a forward page turning instruction, a backward page turning instruction, and a track erase triggering instruction.
  • control instruction may further include: switching the application instruction forward and switching the application instruction backward.
  • control command corresponding to the change of the electromagnetic signal in the preset control command list is maintained to be the preset time duration, and the control command corresponding to the preset time is the current page close command, and the change state is corresponding to the two electromagnetic signals.
  • the coordinate control moves the corresponding control command clockwise to forward the page command, and the coordinate corresponding to the two electromagnetic signals in the change state counterclockwise moves the corresponding control command to the backward page turning command, and the change state corresponds to two electromagnetic signals.
  • the corresponding control command of the coordinate parallel movement is a track erase trigger command
  • the coordinate corresponding to the change state is an electromagnetic signal does not move, and the coordinate corresponding to the other electromagnetic signal moves counterclockwise corresponding control command to forward the application command
  • the change state is that the coordinate corresponding to one electromagnetic signal does not move, and the coordinate corresponding to the movement of the other electromagnetic signal moves clockwise corresponding control command to switch the application command backward.
  • the smart terminal may save the application software (such as the electronic whiteboard software) that is currently open in the foreground, and then close the smart terminal when the smart terminal receives the forward page turning command.
  • the terminal can forward the application software that is currently opened in the foreground, and if the smart terminal receives the page-turning instruction, the smart terminal can turn the application software opened in the foreground to the page backward, if the smart terminal receives the track wipe
  • the smart terminal can call the eraser function in the application software currently opened in the foreground. If the smart terminal receives the forward switching application command, the smart terminal can switch the application software currently opened in the foreground to the application software opened in the background.
  • the last application software (that is, the earliest application software) is switched to the preset application software. If the smart terminal receives the backward switching application command, the smart terminal can switch the application software currently opened in the foreground to the current background. The next application software or pre-application corresponding to the application software currently opened in the application software Set up application software.
  • the user when the user needs to interact with the smart terminal, the user only needs to bring the first electromagnetic transmitting module and the second electromagnetic transmitting module of the smart pen to the electromagnetic induction board at the same time, and control the coordinates corresponding to the two electromagnetic signals. It can be changed according to a certain change state, which is simple and convenient.
  • the method further includes:
  • the coordinate movement track corresponding to the electromagnetic signal is acquired to confirm the track to be erased.
  • the control command corresponding to the change state is confirmed as the track erasing trigger command according to the preset control instruction list, and the control command is sent to the smart terminal, and only the electromagnetic induction is adopted.
  • the board receives an electromagnetic signal of a certain frequency (which may be an electromagnetic signal emitted by the second electromagnetic transmitting module or an electromagnetic signal emitted by the second electromagnetic transmitting module), and acquires a coordinate moving track corresponding to the electromagnetic signal, And the acquired coordinate movement track is sent to the smart terminal as the track to be erased, and after receiving the track to be erased, the smart terminal erases the track to be erased, and completes the specific response to the track erasing trigger instruction. .
  • the coordinate movement track corresponding to the electromagnetic signal is acquired to confirm the track to be erased, and further includes:
  • the cancel track erasure command is sent to the smart terminal.
  • the control command the smart terminal receives the control command to cancel the track erase command, and stops calling the eraser function.
  • the electromagnetic signal of the frequency is received through the electromagnetic induction board (which may be the electromagnetic signal emitted by the first electromagnetic transmitting module, the second electromagnetic transmitting module may also be emitted.
  • Electromagnetic signal the acquired coordinates of the electromagnetic signal can be determined as a writing trajectory, and the writing trajectory is sent to the intelligent terminal for storage or display by the intelligent terminal, and the coordinates corresponding to the acquired electromagnetic signal can be obtained at the same time.
  • the data related to the change state is cleared, such as the coordinate data saved in the first preset list in the clockwise movement of the coordinates corresponding to the two electromagnetic signals, and the slope obtained in confirming the parallel movement of the coordinates corresponding to the two electromagnetic signals, In order to ensure that the change state of the coordinates corresponding to the electromagnetic signal can be accurately obtained next time.
  • the execution body of the method provided by the embodiment may be an electronic device (such as an electronic notebook) mounted with an electromagnetic induction board, and the electronic device establishes a communication connection with at least one smart terminal via Bluetooth or a network.
  • the electronic device receives the electromagnetic signal through the electromagnetic induction board, the electronic device can acquire the coordinates corresponding to the electromagnetic signal, thereby realizing the change of the coordinates corresponding to the electromagnetic signal when the electronic device receives the two electromagnetic signals simultaneously through the electromagnetic induction board.
  • Status and confirm the control command corresponding to the change state according to the preset control command list, and send the control command to the smart terminal through Bluetooth or the network.
  • a communication connection is established with at least one intelligent terminal by using a preset connection manner; when two electromagnetic signals are simultaneously received by the electromagnetic induction board, the change state of the coordinates corresponding to the electromagnetic signal is acquired; and the change state is confirmed according to the preset control instruction list.
  • Corresponding control commands are sent to the intelligent terminal, which solves the problem that the user is inconvenient to operate due to insufficient interactivity, and when the coordinates corresponding to the electromagnetic signals controlled by the user are changed in a certain change state, the transmission is performed.
  • the control command corresponding to the change state is sent to the smart terminal to increase the interaction between the user and the smart terminal, and the operation is simple and convenient for the user to operate.
  • FIG. 6 is a structural block diagram of a control apparatus of an intelligent terminal according to Embodiment 3 of the present invention.
  • the device can be applied to the case where the intelligent terminal needs to be controlled, and can be composed of software and/or hardware.
  • the apparatus provided in this embodiment includes: a communication connection establishing module 310, a change state acquiring module 320, and a control command sending module 330, where
  • the communication connection establishing module 310 is configured to establish a communication connection with the at least one smart terminal by using a preset connection manner
  • a change state acquiring module 320 configured to acquire a change state of coordinates corresponding to the electromagnetic signal when two electromagnetic signals are simultaneously received by the electromagnetic induction board;
  • the control instruction sending module 330 is configured to confirm the control instruction corresponding to the change state according to the preset control instruction list, and send the control instruction to the smart terminal.
  • the communication connection establishment module establishes a communication connection with the at least one intelligent terminal by using a preset connection manner
  • the change state acquisition module confirms the control instruction corresponding to the change state according to the preset control instruction list, and sends the control instruction to the smart terminal.
  • the control command sending module confirms the control command corresponding to the change state according to the preset control command list, and sends the control command to the smart terminal, thereby solving the problem that the user operation is inconvenient due to insufficient interaction, and realizing the corresponding control of the electromagnetic signal by the user.
  • the control command corresponding to the change state is sent to the smart terminal, thereby increasing the interaction between the user and the smart terminal, and the operation is simple and convenient for the user to operate.
  • the changing state includes: the coordinates corresponding to the two electromagnetic signals are maintained unchanged for a preset duration, the coordinates corresponding to the two electromagnetic signals move clockwise, and the two electromagnetics The coordinates corresponding to the signal move counterclockwise and at least one of parallel movements of coordinates corresponding to the two electromagnetic signals.
  • control instruction includes at least one of a current page close instruction, a forward page turning instruction, a backward page turning instruction, and a track erasing triggering instruction.
  • the to-be-erased track confirmation module is configured to: if the control command corresponding to the change state is confirmed as a track erase trigger command according to the preset control command list, send the control command to the smart terminal, if the confirmation is passed
  • the electromagnetic induction board receives an electromagnetic signal, the coordinate movement track corresponding to the electromagnetic signal is acquired to confirm the track to be erased.
  • the track erasing instruction revocation module is configured to: if it is confirmed that an electromagnetic signal is received by the electromagnetic induction board, acquire a coordinate movement track corresponding to the electromagnetic signal, to confirm the track to be erased, and if the electromagnetic induction plate receives two The electromagnetic signal sends a control command to the smart terminal to cancel the track erase command.
  • FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present invention.
  • the electronic device includes a processor 410, a memory 420, an input device 430, and an output device 440.
  • the processor 410 of the electronic device The number may be one or more.
  • one processor 410 is taken as an example; the processor 410, the memory 420, the input device 430, and the output device 440 in the electronic device may be connected by a bus or other manner, and the figure is passed in FIG.
  • the bus connection is an example.
  • the memory 420 is used as a computer readable storage medium for storing software programs, computer executable programs, and modules, such as program commands/modules corresponding to the control method of the smart terminal in any embodiment of the present invention (for example, control of the smart terminal)
  • the processor 410 executes various functional applications and data processing of the electronic device by executing software programs, instructions, and modules stored in the memory 420, that is, implementing the above-described operations for the electronic device.
  • the memory 420 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like.
  • memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 420 can further include memory remotely located relative to processor 410, which can be connected to the electronic device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 430 can be used to receive input digital or character information and to generate key signal inputs related to user settings and function control of the electronic device.
  • Output device 440 can include a display device such as a display screen.
  • the fifth embodiment of the present invention further provides a storage medium including computer executable instructions, where a computer program is stored, and when the program is executed by the processor, the control method of the intelligent terminal provided by any embodiment of the present invention is implemented.
  • the present invention can be implemented by software and necessary general hardware, and can also be implemented by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk of a computer.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • FLASH FLASH
  • hard disk or optical disk etc., including a number of instructions to make a computer device (can be a personal computer)
  • the server, or network device, etc. performs the method of any of the embodiments of the present invention.
  • each unit and module included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented;
  • the specific names of the functional units are also only for convenience of distinguishing from each other, and are not intended to limit the scope of protection of the present invention.
  • the above device may perform the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of performing the above method.

Abstract

一种电磁笔、智能终端的控制方法、装置、设备及存储介质。该方法包括:通过预设连接方式与至少一个智能终端建立通信连接(210);通过电磁感应板同时接收到两个电磁信号时,获取所述电磁信号对应的坐标的变化状态(220);根据预设的控制指令列表确认所述变化状态对应的控制指令,并将所述控制指令发送到所述智能终端(230)。该方法可实现当用户控制电磁信号对应的坐标以一定的变化状态进行变化时,发送与变化状态对应的控制指令至智能终端,进而增加用户与智能终端之间的交互,且操作简单,便于用户操作。

Description

电磁笔、智能终端的控制方法、装置、设备及存储介质 技术领域
本发明涉及电磁触控应用技术领域,尤其涉及一种电磁笔、智能终端的控制方法、装置、设备及存储介质。
背景技术
随着科学技术的发展,电子笔记本得到快速发展。其中,基于电磁感应板的电子笔记本由于具有高分辨率等特点,得到广泛应用。
将电子笔记本与智能终端通过蓝牙建立连接,则在用户通过电磁笔在电子笔记本上进行书写的过程中,电子笔记本可实时将获取到的书写轨迹通过蓝牙传输至智能终端,智能终端在接收到电子笔记本传输的书写轨迹后,可将书写轨迹实时显示于智能终端上,如通过电子白板软件进行显示,进而便于观看者进行观看。
然而,目前在上述交互的过程中,用户只能通过电子笔记本实现将书写轨迹投射至智能终端,无法实现与智能终端之间的其它交互操作,交互性不足,导致用户操作不便。
发明内容
本发明提供一种电磁笔、智能终端的控制方法、装置、设备及存储介质,以增加用户与智能终端之间的交互,便于用户操作。
第一方面,本发明实施例提供了一种电磁笔,该电磁笔包括笔体,所述笔 体内设置有电源模块,所述笔体的第一端设置有第一电磁发射模组,所述笔体的第二端设置有第二电磁发射模组,其中,所述第一电磁发射模组和第二电磁发射模组发射的电磁信号的频率不同。
第二方面,本发明实施例还提供了一种智能终端的控制方法,该方法包括:
通过预设连接方式与至少一个智能终端建立通信连接;
通过电磁感应板同时接收到两个电磁信号时,获取所述电磁信号对应的坐标的变化状态;
根据预设的控制指令列表确认所述变化状态对应的控制指令,并将所述控制指令发送到所述智能终端。
第三方面,本发明实施例还提供了一种智能终端的控制装置,该装置包括:
通信连接建立模块,用于通过预设连接方式与至少一个智能终端建立通信连接;
变化状态获取模块,用于通过电磁感应板同时接收到两个电磁信号时,获取所述电磁信号对应的坐标的变化状态;
控制指令发送模块,用于根据预设的控制指令列表确认所述变化状态对应的控制指令,并将所述控制指令发送到所述智能终端。
第四方面,本发明实施例还提供了一种电子设备,该设备包括:
一个或多个处理器;
存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意实施例提供的智能终端的控制方法。
第五方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有 计算机程序,该程序被处理器执行时实现本发明任意实施例提供的智能终端的控制方法。
本发明通过预设连接方式与至少一个智能终端建立通信连接;通过电磁感应板同时接收到两个电磁信号时,获取电磁信号对应的坐标的变化状态;根据预设的控制指令列表确认变化状态对应的控制指令,并将控制指令发送到所述智能终端,解决了由于交互性不足,导致用户操作不便的问题,实现当用户控制电磁信号对应的坐标以一定的变化状态进行变化时,发送与变化状态对应的控制指令至智能终端,进而增加用户与智能终端之间的交互,且操作简单,便于用户操作。
附图说明
图1是本发明实施例一中的一种电磁笔的结构示意图;
图2是本发明实施例二中的一种智能终端的控制方法的流程图;
图3是本发明实施例二中的两个电磁信号对应的坐标顺时针移动的示意图;
图4是本发明实施例二中的两个电磁信号对应的坐标平行移动的示意图;
图5是本发明实施例二中的一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标顺时针移动的示意图;
图6是本发明实施例三中的一种智能终端的控制装置的结构框图;
图7是本发明实施例四中的一种电子设备的结构示意图。
具体实施方式
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此 处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
实施例一
图1为本发明实施例一提供的一种电磁笔的结构示意图。参见图1,本实施例提供的电磁笔包括:笔体110,笔体110内设置有电源模块120,笔体110的第一端设置有第一电磁发射模组130,笔体110的第二端设置有第二电磁发射模组140。其中,第一电磁发射模组130和第二电磁发射模组140发射的电磁信号的频率不同。
具体的,电源模块120可分别与第一电磁发射模组130和第二电磁发射模组140连接,用于为第一电磁发射模组130和第二电磁发射模组140提供电源,以使第一电磁发射模组130和第二电磁发射模组140正常工作。
示例性的,第一电磁发射模组130和第二电磁发射模组140中均包括有谐振电路以发射特定频率的电磁信号。
可选的,第一电磁发射模组130发射的电磁信号的频率可为160kHz,第二电磁发射模组140发射的电磁信号的频率可为310kHz。
具体的,对于电磁笔,均有与其配套使用的电磁感应板,其中,电磁感应板可由位于横向和纵向分布的线圈阵列组成,当某一频率的电磁信号靠近电磁感应板时,电磁感应板中不同位置的线圈可感应到不同振幅的该频率的电磁信号,进而根据不同位置的线圈接收到的该频率的电磁信号的振幅可得到该频率的电磁信号对应的坐标。
示例性的,可通过电磁感应板接收到的电磁信号频率的不同实现与智能终 端之间不同的交互操作。如若第一电磁发射模组130发射的电磁信号的频率为A,第二电磁发射模组140发射的电磁信号的频率为B,则当仅第一电磁发射模组130靠近电磁感应板,通过电磁感应板接收到频率A的电磁信号时,获取电磁信号对应的坐标移动轨迹,并将获取的坐标移动轨迹确认为书写轨迹发送至智能终端,智能终端接收到书写轨迹后,对该书写轨迹进行显示;当仅第二电磁发射模组130靠近电磁感应板,通过电磁感应板接收到频率B的电磁信号时,则获取电磁信号对应的坐标移动轨迹,并将获取的坐标移动轨迹确认为待擦除轨迹发送至智能终端,智能终端接收到待擦除轨迹后,对待擦除轨迹进行擦除。当然,也可以频率A和频率B对应的电磁信号均表示书写,并为不同频率的电磁信号对应的轨迹进行不同的显示,例如颜色或线型的不同。由此,通过两种不同频率的电磁信号的电磁笔可增加用户与智能终端之间的交互操作。
可选的,电磁笔110还包括笔头,通过笔头可在纸张上进行正常书写。笔体120的第一端可为靠近笔头的一端,笔体120的第二端可为靠近笔尾的一端。由此,对于可将纸张放置于电磁感应板之上的电子设备而言,当用户在纸张上进行书写或者绘画等操作时,通过电磁感应板可接收到第一电磁发射模组130发射的电磁信号,进而确定电磁信号对应的坐标,获取用户的书写轨迹,以对书写轨迹进行保存、发送或显示。
可选的,笔体120还设置有压力传感器,当用户手执电磁笔110进行书写时,会对电磁笔110(笔头)进行施压,当压力传感器感受到压力,得到相应的压力数据之后,可将压力数据传送至显示设备的处理器,以根据压力的不同通过显示设备对用户的书写轨迹以粗细不同的线条进行客观反映。
可选的,笔体110内还可设置有与电源模块120连接的开关模块,当开关 模块处于开启状态时,电源模块120为第一电磁发射模组130和第二电磁发射模组140提供电源,第一电磁发射模组130和第二电磁发射模组140正常工作,发射电磁信号,当开关模块处于关闭状态时,电源模块120停止为第一电磁发射模组130和第二电磁发射模组140提供电源,第一电磁发射模组130和第二电磁发射模组140处于休眠状态,不发射电磁信号,从而达到节能的目的。
本实施例提供的电磁笔通过包括有笔体,笔体内设置有电源模块,笔体的第一端设置有第一电磁发射模组,笔体的第二端设置有第二电磁发射模组,可实现同时发射两个电磁信号,其中,第一电磁发射模组和第二电磁发射模组发射的电磁信号的频率不同,进而可通过电磁笔使得电磁感应板接收不同频率的电磁信号,进一步可根据不同的接收情况实现不同的交互操作,增加与用户之间的交互。
实施例二
图2为本发明实施例二提供的一种智能终端的控制方法的流程图。本实施例可适用于需对智能终端进行控制的情况,该方法可以由智能终端的控制装置来执行,该装置可由软件和\或硬件组成。参见图2,本实施例提供的方法具体包括如下步骤:
步骤210、通过预设连接方式与至少一个智能终端建立通信连接。
其中,预设连接方式可为蓝牙连接或网络连接等连接方式,本发明对此不进行限定,只要通过预设连接方式可与智能终端建立通信连接便可。
其中,智能终端可为智能平板、智能手机、智能电视或电子白板等智能终端。
步骤220、通过电磁感应板同时接收到两个电磁信号时,获取电磁信号对应的坐标的变化状态。
示例性的,电磁信号可由本实施例一中提供的电磁笔发射,当用户将电磁笔的第一电磁发射模组和第二电磁发射模组同时靠近电磁感应板时,则通过电磁感应板可同时接收到两个电磁信号,并可获取两个电磁信号对应的坐标,根据获取的两个电磁信号对应的坐标可确定两个电磁信号对应的坐标的变化状态。
优选的,变化状态包括:两个电磁信号对应的坐标维持不变达到预设时长、两个电磁信号对应的坐标顺时针移动、两个电磁信号对应的坐标逆时针移动和两个电磁信号对应的坐标平行移动中的至少一个。
可选的,变化状态还可包括:一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标顺时针移动或者逆时针移动。
具体的,对于确定两个电磁信号对应的坐标维持不变达到预设时长、两个电磁信号对应的坐标顺时针移动、两个电磁信号对应的坐标逆时针移动和两个电磁信号对应的坐标平行移动的方式有很多,本发明对此不进行限定。
如对于确定两个电磁信号对应的坐标维持不变达到预设时长,可将通过电磁感应板同时接收到两个电磁信号的初始时刻获取的两个电磁信号对应的坐标作为初始坐标,将达到预设时长时获取的最新的两个电磁信号对应的坐标作为终止坐标,若两个电磁信号对应的初始坐标与终止坐标之间对应坐标值之差的绝对值均小于第一预设阈值,则确定两个电磁信号对应的坐标维持不变达到预设时长。
图3为本实施例提供的两个电磁信号对应的坐标顺时针移动的示意图。图3中以[(x A1,y A1),(x B1,y B1)]、[(x A2,y A2),(x B2,y B2)]、[(x A3,y A3), (x B4,y B4)]和[(x A5,y A5),(x B5,y B5)]为在通过电磁感应板同时接收到两个电磁信号时依次获取的两个电磁信号对应的坐标为例,其中,(x An,y An)为一个频率的电磁信号对应的坐标,(x Bn,y Bn)为另一个频率的电磁信号对应的坐标。则当获取到一个最新两个电磁信号对应的坐标[(x An,y An),(x Bn,y Bn)]时,可确认|x An|相对于|x An-1|的增长方向与|x Bn|相对于|x Bn-1|的增长方向是否相反,以及|y An|相对于|y An-1|的增长方向与|y Bn|相对于|y Bn-1|的增长方向是否相反,其中增长方向包括增大和减小,若是,则将[(x An,y An),(x Bn,y Bn)]保存至第一预设列表,且将第一个数加1,并确认第一个数是否达到第一预设个数,若确认达到第一预设个数,则获取第一预设列表中各坐标[(x An,y An),(x Bn,y Bn)]对应的中点坐标(x Cn,y Cn)并获取任意三个中点坐标构成的三角形的重心坐标(x D,y D),确认各中点坐标(x Cn,y Cn)与重心坐标(x D,y D)之间对应坐标值之差的绝对值是否均小于第二预设阈值,若是,则确认两个电磁信号对应的坐标为旋转移动,以重心作为原点,对第一预设列表中保存的各坐标[(x An,y An),(x Bn,y Bn)]进行坐标变换,获取坐标变换后的坐标[(x An’,y An’),(x Bn’,y Bn’)],并获取坐标变换后的坐标中的任意两组坐标,如获取[(x A1’,y A1’),(x B1’,y B1’)]和[(x A2’,y A2’),(x B2’,y B1’)],并确认(x A1’,y A1’)和(x A2’,y A2’)是否满足:当x A1’和x A2’均大于0时,y A2’小于y A1’,或者当x A1’和x A2’均小于0时,y A2’大于y A1’,或者,当y A1’和y A2’均大于0时,x A2’大于x A1’,或者当y A1’和y A2’均小于0时,x A2’小于x A1’,以及(x B1’,y B1’)和(x B2’,y B2’)是否满足:当x B1’和x B2’均大于0时,y B2’小于y B1’,或者当x B1’和x B2’均小于0时,y B2’大于y B1’,或者,当y B1’和y B2’均大于0时,x B2’大于x B1’,或者当y B1’和y B2’均小于0时,x B2’小于x B1’,若是,则确认两个电磁信号对应的坐标顺时针移动;若 确认|x An|相对于|x An-1|的增长方向与|x Bn|相对于|x Bn-1|的增长方向不相反,或者|y An|相对于|y An-1|的增长方向与|y Bn|相对于|y Bn-1|的增长方向不相反,则确认两个电磁信号对应的坐标不为顺时针移动,同时可将预设列表中保存的坐标清除以及将第一个数初始化为0。
同理,对于确认两个电磁信号对应的坐标逆时针移动,其确认方式与确认两个电磁信号对应的坐标顺时针移动的方式类似,不同之处在于,获取坐标变换后的坐标中的任意两组坐标后,确认两组坐标的满足条件不同。如获取坐标变换后的两组坐标为[(x A1’,y A1’),(x B1’,y B1’)]和[(x A2’,y A2’),(x B2’,y B1’)],则确认(x A1’,y A1’)和(x A2’,y A2’)是否满足:当x A1’和x A2’均大于0时,y A2’大于y A2’,或者当x A1’和x A2’均小于0时,y A2’小于y A1’,或者,当y A1’和y A2’均大于0时,x A2’小于x A1’,或者当y A1’和y A2’均小于0时,x A2’大于x A1’,以及(x B1’,y B1’)和(x B2’,y B2’)是否满足:当x B1’和x B2’均大于0时,y B2’大于y B1’,或者当x B1’和x B2’均小于0时,y B2’小于y B1’,或者,当y B1’和y B2’均大于0时,x B2’小于x B1’,或者当y B1’和y B2’均小于0时,x B2’大于x B1’,若是,则确认两个电磁信号对应的坐标逆时针移动。
图4为本实施例提供的两个电磁信号对应的坐标平行移动的示意图。图4中仍以[(x A1,y A1),(x B1,y B1)]、[(x A2,y A2),(x B2,y B2)]、[(x A3,y A3),(x B4,y B4)]和[(x A5,y A5),(x B5,y B5)]为在通过电磁感应板同时接收到两个电磁信号时依次获取的两个电磁信号对应的坐标为例,其中,(x An,y An)为一个频率的电磁信号对应的坐标,(x Bn,y Bn)为另一个频率的电磁信号对应的坐标。则当获取到一个最新两个电磁信号对应的坐标[(x An,y An),(x Bn,y Bn)]时,可获取(x An,y An)与(x An-1,y An-1)构成的直线对应的斜率k An,并确认 k An与初始斜率k A2(即(x A2,y A2)与(x A1,y A1)构成的直线对应的斜率)之间差值的绝对值是否小于第三预设阈值,且(x An,y An)与(x An-1,y An-1)之间的距离D An是否大于设定距离,以及获取(x Bn,y Bn)与(x Bn-1,y Bn-1)构成的直线对应的斜率k Bn,并确认k Bn与初始斜率k B2(即(x B2,y B2)与(x B1,y B1)构成的直线对应的斜率)之间差值的绝对值是否小于第三预设阈值,且(x Bn,y Bn)与(x Bn-1,y Bn-1)之间的距离D Bn是否大于设定距离,若是,则确认两个电磁信号对应的坐标平行移动。
图5为本实施例提供的一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标顺时针移动的示意图。图5中仍以[(x A1,y A1),(x B1,y B1)]、[(x A2,y A2),(x B2,y B2)]、[(x A3,y A3),(x B4,y B4)]和[(x A5,y A5),(x B5,y B5)]为在通过电磁感应板同时接收到两个电磁信号时依次获取的两个电磁信号对应的坐标为例,其中,(x An,y An)为一个频率的电磁信号对应的坐标,(x Bn,y Bn)为另一个频率的电磁信号对应的坐标。则当获取到一个最新两个电磁信号对应的坐标[(x An,y An),(x Bn,y Bn)]时,可分别确认一个电磁信号对应的最新坐标与该最新坐标的前一坐标,如(x An,y An)与(x An-1,y An-1)对应坐标值之差的绝对值是否均小于第四预设阈值,若是,则保存[(x An,y An),(x Bn,y Bn)]至第二预设列表,且将第二个数加1,并确认第二个数是否达到第二预设个数,若达到第二预设个数,则从第二预设列表选取该电磁信号对应的坐标(x An,y An)中的任一坐标作为坐标原点,对第二预设列表中的另一个电磁信号对应的所有坐标(x Bn,y Bn)进行坐标变换,并确认进行坐标变换后的坐标(x Bn’,y Bn’)是否满足:当x Bn-1’和x Bn’均大于0时,y Bn小于y Bn-1’,或者当x Bn-1’和x Bn’均小于0时,y Bn’大于y Bn-1’,或者,当y Bn-1’和y Bn’均大于0时,x Bn’大于x Bn-1’,或 者当y Bn-1’和y Bn’均小于0时,x Bn-1’小于x Bn’,若是,则确认一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标顺时针移动。
同理,对于确定一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标顺时针移动,则在获取到一个最新两个电磁信号对应的坐标[(x An,y An),(x Bn,y Bn)]时,可分别确认一个电磁信号对应的最新坐标与该最新坐标的前一坐标,如(x An,y An)与(x An-1,y An-1)对应坐标值之差的绝对值是否均小于第四预设阈值,若是,则保存[(x An,y An),(x Bn,y Bn)]至第三预设列表,且将第三个数加1,并确认第三个数是否达到第三预设个数,若达到第三预设个数,则从第三预设列表选取该电磁信号对应的坐标(x An,y An)中的任一坐标作为坐标原点,对第三预设列表中的另一个电磁信号对应的所有坐标(x Bn,y Bn)进行坐标变换,并确认进行坐标变换后的坐标(x Bn’,y Bn’)是否满足:当x Bn-1’和x Bn’均大于0时,y Bn’大于y Bn-1’,或者当x Bn-1’和x Bn’均小于0时,y Bn’小于y Bn-1’,或者当y Bn-1’和y Bn’均大于0时,x Bn’小于x Bn-1’,或者当y Bn-1’和y Bn’均小于0时,x Bn’大于x Bn-1’,若是,则确定一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标逆时针移动。
步骤230、根据预设的控制指令列表确认变化状态对应的控制指令,并将控制指令发送到智能终端。
获取电磁信号对应的坐标的变化状态后,则根据预设的控制指令列表确认变化状态对应的控制指令,并将控制指令发送到智能终端,以进一步对智能终端进行控制。
需要说明的是,预设的控制指令列表中保存的变化状态与控制指令之间的对应关系,可根据实际情况进行设定,本发明对此不进行限定。
优选的,控制指令包括:当前页面关闭指令、向前翻页指令、向后翻页指令和轨迹擦除触发指令中的至少一个。
可选的,控制指令还可包括:向前切换应用指令和向后切换应用指令。
在一个具体的实施例中,预设的控制指令列表中与变化状态为电磁信号对应的坐标维持不变达到预设时长对应的控制指令为当前页面关闭指令,与变化状态为两个电磁信号对应的坐标顺时针移动对应的控制指令为向前翻页指令,与变化状态为两个电磁信号对应的坐标逆时针移动对应的控制指令为向后翻页指令,与变化状态为两个电磁信号对应的坐标平行移动对应的控制指令为轨迹擦除触发指令,与变化状态为一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标逆时针移动对应的控制指令为向前切换应用指令,与变化状态为一个电磁信号对应的坐标不动,另一个电磁信号对应的坐标顺时针移动对应的控制指令为向后切换应用指令。
示例性的,若智能终端接收到当前页面关闭指令,则智能终端将可将当前前台开启的应用软件(如电子白板软件)进行保存后关闭,若智能终端接收到向前翻页指令,则智能终端可将当前前台开启的应用软件进行向前翻页,若智能终端接收到向后翻页指令,则智能终端可将当前前台开启的应用软件进行向后翻页,若智能终端接收到轨迹擦除触发指令,则智能终端可调用当前前台开启的应用软件中的橡皮擦功能,若智能终端接收到向前切换应用指令,则智能终端可将当前前台开启的应用软件切换为后台开启的应用软件中的最后一个应用软件(即最早开启的应用软件)或者切换为预设应用软件,若智能终端接收到向后切换应用指令,则智能终端可将当前前台开启的应用软件切换为当前后台开启的应用软件中当前前台开启的应用软件对应的下一应用软件或者预设应 用软件。
由此实现,当用户需与智能终端进行交互操作时,用户只需将智能笔的第一电磁发射模组和第二电磁发射模组同时靠近电磁感应板,并控制两个电磁信号对应的坐标按一定的变化状态进行变化即可,简单便捷。
优选的,若根据预设的控制指令列表确认变化状态对应的控制指令为轨迹擦除触发指令,则将控制指令发送到智能终端之后,还包括:
若确认通过电磁感应板接收到一个电磁信号,则获取电磁信号对应的坐标移动轨迹,以确认待擦除的轨迹。
实际上,擦除的操作方式至少有两种,一种是实施例一中所说如果设定频率A进行书写,频率B进行擦除,则将检测到频率A对应的轨迹进行书写显示,将检测到频率B对应的轨迹的设定范围内显示的内容取消显示即可。另一种是如果频率A和频率B均可进行书写,那么擦除的交互过程则有所变化。
具体的,为了保证电磁笔的正常书写功能,则在根据预设的控制指令列表确认变化状态对应的控制指令为轨迹擦除触发指令,并将控制指令发送到智能终端之后,若仅通过电磁感应板接收到一个某一频率的电磁信号(可以是第二电磁发射模组发射的电磁信号,也可以是第二电磁发射模组发射的电磁信号),则获取该电磁信号对应的坐标移动轨迹,并将获取的坐标移动轨迹作为待擦除的轨迹发送至智能终端,则智能终端在接收到待擦除的轨迹后,对待擦除的轨迹进行擦除,完成对轨迹擦除触发指令的具体响应。
优选的,若确认通过电磁感应板接收到一个电磁信号,则获取电磁信号对应的坐标移动轨迹,以确认待擦除的轨迹之后,还包括:
若通过电磁感应板接收到两个电磁信号,则向智能终端发送撤销轨迹擦除 指令的控制指令。
具体的,在若确认通过电磁感应板接收到一个电磁信号,则获取电磁信号对应的坐标移动轨迹之后,若通过电磁感应板再次接收到两个电磁信号,则向智能终端发送撤销轨迹擦除指令的控制指令,智能终端接收到撤销轨迹擦除指令的控制指令,则停止调用橡皮擦功能。
示例性的,在将控制指令发送到智能终端之后,若通过电磁感应板接收到一个频率的电磁信号(可以是第一电磁发射模组发射的电磁信号,也可以是第二电磁发射模组发射的电磁信号),则可将获取的该电磁信号的坐标确定为书写轨迹,并将书写轨迹发送至智能终端以供智能终端进行保存或显示,同时可将本次与获取电磁信号对应的坐标的变化状态相关的数据进行清除,如在确认两个电磁信号对应的坐标顺时针移动中第一预设列表保存的坐标数据以及在确认两个电磁信号对应的坐标平行移动中获取的斜率等数据,以保证下次可准确获取电磁信号对应的坐标的变化状态。
在一个具体的实施例中,本实施例提供的方法的执行主体可为一安装有电磁感应板的电子设备(如电子笔记本),该电子设备与至少一个智能终端通过蓝牙或网络建立通信连接,当该电子设备通过电磁感应板接收到电磁信号时,电子设备可获取电磁信号对应的坐标,进而实现当电子设备通过电磁感应板同时接收到两个电磁信号时,获取电磁信号对应的坐标的变化状态,并根据预设的控制指令列表确认变化状态对应的控制指令,将控制指令通过蓝牙或网络发送到智能终端。
本实施例通过预设连接方式与至少一个智能终端建立通信连接;通过电磁感应板同时接收到两个电磁信号时,获取电磁信号对应的坐标的变化状态;根 据预设的控制指令列表确认变化状态对应的控制指令,并将控制指令发送到所述智能终端,解决了由于交互性不足,导致用户操作不便的问题,实现当用户控制电磁信号对应的坐标以一定的变化状态进行变化时,发送与变化状态对应的控制指令至智能终端,增加用户与智能终端之间的交互,且操作简单,便于用户操作。
实施例三
图6为本发明实施例三提供的一种智能终端的控制装置的结构框图。该装置可适用于需对智能终端进行控制的情况,可由软件和\或硬件组成。参见图6,本实施例提供的装置包括:通信连接建立模块310、变化状态获取模块320和控制指令发送模块330,其中,
通信连接建立模块310,用于通过预设连接方式与至少一个智能终端建立通信连接;
变化状态获取模块320,用于通过电磁感应板同时接收到两个电磁信号时,获取所述电磁信号对应的坐标的变化状态;
控制指令发送模块330,用于根据预设的控制指令列表确认所述变化状态对应的控制指令,并将所述控制指令发送到所述智能终端。
本实施例通过通信连接建立模块通过预设连接方式与至少一个智能终端建立通信连接,变化状态获取模块根据预设的控制指令列表确认变化状态对应的控制指令,并将控制指令发送到智能终端,控制指令发送模块根据预设的控制指令列表确认变化状态对应的控制指令,并将控制指令发送到智能终端,解决了由于交互性不足,导致用户操作不便的问题,实现当用户控制电磁信号对应 的坐标以一定的变化状态进行变化时,发送与变化状态对应的控制指令至智能终端,进而增加用户与智能终端之间的交互,且操作简单,便于用户操作。
上述方案中,可选的是,所述变化状态包括:两个所述电磁信号对应的坐标维持不变达到预设时长、两个所述电磁信号对应的坐标顺时针移动、两个所述电磁信号对应的坐标逆时针移动和两个所述电磁信号对应的坐标平行移动中的至少一个。
上述方案中,可选的是,所述控制指令包括:当前页面关闭指令、向前翻页指令、向后翻页指令和轨迹擦除触发指令中的至少一个。
上述方案中,可选的是,还包括:
待擦除轨迹确认模块,用于若根据预设的控制指令列表确认所述变化状态对应的控制指令为轨迹擦除触发指令,则将所述控制指令发送到所述智能终端之后,若确认通过电磁感应板接收到一个电磁信号,则获取所述电磁信号对应的坐标移动轨迹,以确认待擦除的轨迹。
上述方案中,可选的是,还包括:
轨迹擦除指令撤销模块,用于若确认通过电磁感应板接收到一个电磁信号,获取所述电磁信号对应的坐标移动轨迹,以确认待擦除的轨迹之后,若通过电磁感应板接收到两个电磁信号,则向所述智能终端发送撤销所述轨迹擦除指令的控制指令。
实施例四
图7为本发明实施例四提供的一种电子设备的结构示意图,如图7所示,该电子设备包括处理器410、存储器420、输入装置430和输出装置440;电子 设备中处理器410的数量可以是一个或多个,图7中以一个处理器410为例;电子设备中的处理器410、存储器420、输入装置430和输出装置440可以通过总线或其他方式连接,图7中以通过总线连接为例。
存储器420作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明任意实施例中的智能终端的控制方法对应的程序指令/模块(例如,智能终端的控制装置中的通信连接建立模块310、变化状态获取模块320和控制指令发送模块330)。处理器410通过运行存储在存储器420中的软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述的用于电子设备的操作。
存储器420可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器420可进一步包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置430可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏等显示设备。
实施例五
本发明实施例五还提供一种包含计算机可执行指令的存储介质,其上存储 有计算机程序,该程序被处理器执行时实现本发明任意实施例提供的智能终端的控制方法。
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明任意实施例所述的方法。
值得注意的是,上述智能终端的控制装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。
上述装置可执行本发明任意实施例所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的方法。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽 然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (10)

  1. 一种电磁笔,其特征在于,包括笔体,所述笔体内设置有电源模块,所述笔体的第一端设置有第一电磁发射模组,所述笔体的第二端设置有第二电磁发射模组;其中,所述第一电磁发射模组和第二电磁发射模组发射的电磁信号的频率不同。
  2. 一种智能终端的控制方法,其特征在于,包括:
    通过预设连接方式与至少一个智能终端建立通信连接;
    通过电磁感应板同时接收到两个电磁信号时,获取所述电磁信号对应的坐标的变化状态;
    根据预设的控制指令列表确认所述变化状态对应的控制指令,并将所述控制指令发送到所述智能终端。
  3. 根据权利要求2所述的方法,其特征在于,所述变化状态包括:两个所述电磁信号对应的坐标维持不变达到预设时长、两个所述电磁信号对应的坐标顺时针移动、两个所述电磁信号对应的坐标逆时针移动和两个所述电磁信号对应的坐标平行移动中的至少一个。
  4. 根据权利要求2或3所述的方法,其特征在于,所述控制指令包括:当前页面关闭指令、向前翻页指令、向后翻页指令和轨迹擦除触发指令中的至少一个。
  5. 根据权利要求4所述的方法,其特征在于,若根据预设的控制指令列表确认所述变化状态对应的控制指令为轨迹擦除触发指令,则将所述控制指令发送到所述智能终端之后,还包括:
    若确认通过电磁感应板接收到一个电磁信号,则获取所述电磁信号对应的坐标移动轨迹,以确认待擦除的轨迹。
  6. 根据权利要求5所述的方法,其特征在于,所述若确认通过电磁感应板接收到一个电磁信号,获取所述电磁信号对应的坐标移动轨迹,以确认待擦除的轨迹之后,还包括:
    若通过电磁感应板接收到两个电磁信号,则向所述智能终端发送撤销所述轨迹擦除指令的控制指令。
  7. 一种智能终端的控制装置,其特征在于,包括:
    通信连接建立模块,用于通过预设连接方式与至少一个智能终端建立通信连接;
    变化状态获取模块,用于通过电磁感应板同时接收到两个电磁信号时,获取所述电磁信号对应的坐标的变化状态;
    控制指令发送模块,用于根据预设的控制指令列表确认所述变化状态对应的控制指令,并将所述控制指令发送到所述智能终端。
  8. 根据权利要求7所述的装置,其特征在于,所述变化状态包括:两个所述电磁信号对应的坐标维持不变达到预设时长、两个所述电磁信号对应的坐标顺时针移动、两个所述电磁信号对应的坐标逆时针移动和两个所述电磁信号对应的坐标平行移动中的至少一个。
  9. 一种电子设备,其特征在于,所述设备包括:
    一个或多个处理器;
    存储器,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求2-6任一所述的智能终端的控制方法。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该 程序被处理器执行时实现如权利要求2-6任一所述的智能终端的控制方法。
PCT/CN2017/116736 2017-10-20 2017-12-17 电磁笔、智能终端的控制方法、装置、设备及存储介质 WO2019075894A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710985557.9 2017-10-20
CN201710985557.9A CN107544692A (zh) 2017-10-20 2017-10-20 电磁笔、智能终端的控制方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2019075894A1 true WO2019075894A1 (zh) 2019-04-25

Family

ID=60968190

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116736 WO2019075894A1 (zh) 2017-10-20 2017-12-17 电磁笔、智能终端的控制方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN107544692A (zh)
WO (1) WO2019075894A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415600B (zh) * 2018-03-09 2021-02-26 宁波宁大教育设备有限公司 电磁笔手写笔迹位置矫正方法及装置
CN109164926B (zh) * 2018-08-01 2021-11-19 广州视源电子科技股份有限公司 电磁笔控制方法、系统、可读存储介质及电磁笔
CN109659747A (zh) * 2018-12-27 2019-04-19 上海与德通讯技术有限公司 智能插座的控制方法、装置、智能插座、终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150207925A1 (en) * 2014-01-21 2015-07-23 Samsung Electronics Co., Ltd. Method for processing data and electronic device thereof
CN105700716A (zh) * 2016-03-11 2016-06-22 深圳市合触科技有限公司 一种新式电磁式触控笔及其工作方向与角度的采集方法
CN105786221A (zh) * 2014-12-26 2016-07-20 联想(北京)有限公司 信息处理方法及电子设备
CN105892913A (zh) * 2016-03-29 2016-08-24 联想(北京)有限公司 一种设备处理方法及电子设备
CN106462248A (zh) * 2014-06-12 2017-02-22 微软技术许可有限责任公司 用于笔和计算设备交互的多设备多用户传感器相关

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1173278C (zh) * 2001-08-03 2004-10-27 天瀚科技股份有限公司 一种具轨迹记录功能的可携式手写装置
CN101807134B (zh) * 2009-02-13 2011-12-07 太瀚科技股份有限公司 电磁感应系统及单边坐标定位方法
CN201532625U (zh) * 2009-09-24 2010-07-21 汉王科技股份有限公司 实时显示输入轨迹的电磁板
CN201689393U (zh) * 2010-05-26 2010-12-29 深圳市鸿合创新信息技术有限责任公司 一种交互式电磁白板电磁笔
CN202383643U (zh) * 2012-01-07 2012-08-15 洪颖莎 一种多模式交互式远程教育装置
CN106767839B (zh) * 2016-12-27 2019-11-26 中国船舶重工集团公司第七0七研究所 一种基于主动式电磁感应笔的纸海图标绘方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150207925A1 (en) * 2014-01-21 2015-07-23 Samsung Electronics Co., Ltd. Method for processing data and electronic device thereof
CN106462248A (zh) * 2014-06-12 2017-02-22 微软技术许可有限责任公司 用于笔和计算设备交互的多设备多用户传感器相关
CN105786221A (zh) * 2014-12-26 2016-07-20 联想(北京)有限公司 信息处理方法及电子设备
CN105700716A (zh) * 2016-03-11 2016-06-22 深圳市合触科技有限公司 一种新式电磁式触控笔及其工作方向与角度的采集方法
CN105892913A (zh) * 2016-03-29 2016-08-24 联想(北京)有限公司 一种设备处理方法及电子设备

Also Published As

Publication number Publication date
CN107544692A (zh) 2018-01-05

Similar Documents

Publication Publication Date Title
US10372326B2 (en) Mobile terminal device, operation method, program, and storage medium
WO2021036594A1 (zh) 一种应用于投屏场景的控制方法以及相关设备
JP6255826B2 (ja) システム、情報処理装置、画像表示方法、プログラム、記憶媒体
CN104778001B (zh) 一种图片控制方法及图片控制系统
TWI425420B (zh) 雙作業系統的資訊同步方法
WO2019075894A1 (zh) 电磁笔、智能终端的控制方法、装置、设备及存储介质
KR100782081B1 (ko) 휴대 단말기의 터치 스크린을 이용한 데이터 통신 방법
CN105872655B (zh) 设备控制方法、装置及电子设备
CN109923511B (zh) 一种对象处理方法和终端
EP2953003A1 (en) Touch screen terminal and working method thereof
CN101872284A (zh) 一种功能键的显示模式切换方法及终端
JP2022132435A (ja) データ通信方法
WO2019000669A1 (zh) 工作模式的切换方法及装置、镜面显示设备及存储介质
US20140157119A1 (en) Apparatus and method for editing memo in user terminal
CN111949187B (zh) 电子白板内容编辑共享方法、系统、设备以及服务器
CN111447598B (zh) 一种交互方法和显示设备
KR20150012945A (ko) 휴대 단말기 및 그 제어 방법
WO2016024330A1 (ja) 情報を表示するための電子機器および方法
CN108093285A (zh) 一种基于触摸电视的多功能电子书写系统
CN203376693U (zh) 白板电子笔及电子白板系统
CN201945978U (zh) 一种具有无线控制功能的交互式电子触摸系统
CN112185096A (zh) 语音遥控方法、装置、电子设备和存储介质
US10599876B2 (en) Data communication method between a stylus and a tablet computer
KR101631994B1 (ko) 복수의 이동 단말기 사이에서 데이터를 전송하는 방법 및 그 이동 단말기
US20200183517A1 (en) Data communication method between two electronic devices by using negative electric with unipolar wave frequency

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: 17928877

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: 17928877

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/10/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17928877

Country of ref document: EP

Kind code of ref document: A1