CN116933810A - Interactive device identification method and device, electronic device and interactive device - Google Patents

Interactive device identification method and device, electronic device and interactive device Download PDF

Info

Publication number
CN116933810A
CN116933810A CN202210363341.XA CN202210363341A CN116933810A CN 116933810 A CN116933810 A CN 116933810A CN 202210363341 A CN202210363341 A CN 202210363341A CN 116933810 A CN116933810 A CN 116933810A
Authority
CN
China
Prior art keywords
signal
interactive
interaction
equipment
target
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.)
Pending
Application number
CN202210363341.XA
Other languages
Chinese (zh)
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 Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202210363341.XA priority Critical patent/CN116933810A/en
Publication of CN116933810A publication Critical patent/CN116933810A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10316Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves using at least one antenna particularly designed for interrogating the wireless record carriers
    • G06K7/10336Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves using at least one antenna particularly designed for interrogating the wireless record carriers the antenna being of the near field type, inductive coil
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0701Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management
    • G06K19/0707Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management the arrangement being capable of collecting energy from external energy sources, e.g. thermocouples, vibration, electromagnetic radiation
    • G06K19/0708Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management the arrangement being capable of collecting energy from external energy sources, e.g. thermocouples, vibration, electromagnetic radiation the source being electromagnetic or magnetic
    • G06K19/0709Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management the arrangement being capable of collecting energy from external energy sources, e.g. thermocouples, vibration, electromagnetic radiation the source being electromagnetic or magnetic the source being an interrogation field
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • G06K19/07773Antenna details
    • G06K19/07777Antenna details the antenna being of the inductive type
    • G06K19/07779Antenna details the antenna being of the inductive type the inductive antenna being a coil

Abstract

The application discloses an interactive device identification method, an interactive device identification device, electronic equipment and interactive equipment, wherein the method is characterized in that a first coil is driven to operate to generate a magnetic field, so that any interactive equipment in a preset range of the electronic equipment generates electric energy based on the magnetic field according to a second coil arranged in the electronic equipment; if the signal receiving device receives a signal of a preset type, confirming that the signal of the preset type is an interactive device signal; and identifying the target interaction equipment corresponding to the interaction equipment signal. When the interaction equipment is in the magnetic field range, the second coil in the interaction equipment generates current under the action of the magnetic field, so that the interaction equipment can send a preset type signal, and the electronic equipment receives the preset type signal and determines that the interaction equipment emitting the preset type signal is in a preset area of the electronic equipment, so that the interaction equipment is used as target interaction equipment corresponding to the electronic equipment.

Description

Interactive device identification method and device, electronic device and interactive device
Technical Field
The present application relates to the field of interactive devices, and in particular, to an interactive device identification method, an apparatus, an electronic device, and an interactive device.
Background
With the development of computer technology, electronic devices are used more and more frequently, and general electronic devices may need to be matched with matched interactive devices, for example, electronic devices such as tablet computers, telephones, notebooks, televisions and the like all need to be matched with matched interactive devices such as writing pens and the like, so as to realize control of corresponding electronic devices.
Identification methods for interactive devices are therefore also one of the focus of research by those skilled in the art.
Disclosure of Invention
The application provides an interactive device identification method, an interactive device, electronic equipment and interactive equipment, which can solve the technical problem of the interactive device identification method in the related technology.
The first aspect of the present application provides an interactive device identification method, applied to an electronic device, where the electronic device is used in cooperation with at least one corresponding interactive device, a first coil is disposed in the electronic device, and a second coil is disposed in each interactive device, and the method includes:
driving the first coil to operate so as to generate a magnetic field, so that any interaction device within a preset range of the electronic device can generate electric energy based on the magnetic field according to a second coil arranged in the interaction device;
If a signal of a preset type is received through a signal receiving device, confirming that the signal of the preset type is an interactive device signal;
identifying target interaction equipment corresponding to the interaction equipment signal;
the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment.
The second aspect of the present application provides an interactive device identification method, applied to an interactive device, where the interactive device is used in cooperation with a corresponding electronic device, a first coil is disposed in the electronic device, and a second coil is disposed in the interactive device, and the method includes:
after the second coil generates electric energy based on the magnetic field of the first coil, an identity identification signal carrying the identity information of the interaction device is sent to the electronic device through a signal sending device based on the electric energy.
A third aspect of the present application provides an interactive apparatus identification device, applied to an electronic apparatus, the device comprising:
the receiving module is used for driving the first coil to operate so as to generate a magnetic field, so that any interaction device within the preset range of the electronic device can generate electric energy based on the magnetic field according to a second coil arranged in the interaction device;
The determining module is used for determining that the signal of the preset type is an interactive device signal if the signal of the preset type is received through the signal receiving device;
the identification module is used for identifying target interaction equipment corresponding to the interaction equipment signal;
the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment.
A fourth aspect of the present application provides an interactive apparatus identification device, applied to an interactive apparatus, the device comprising:
and the transmitting module is used for transmitting an identity signal carrying the identity information of the interactive equipment to the electronic equipment through the signal transmitting device based on the electric energy after the second coil generates the electric energy based on the magnetic field of the first coil.
A fifth aspect of the application provides a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the steps of the method as described in the above aspect.
A sixth aspect of the application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any of the first aspects when the program is executed;
The electronic device further includes a first coil that generates a magnetic field after operation.
A seventh aspect of the application provides an interactive apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to the second aspect when the program is executed;
the interactive apparatus further comprises a second coil that generates electrical energy according to an external magnetic field.
The technical scheme provided by the embodiments of the application has the beneficial effects that at least:
the application provides an interactive device identification method, which comprises the steps of firstly driving a first coil to operate so as to generate a magnetic field, so that any interactive device in a preset range of electronic equipment generates electric energy based on the magnetic field according to a second coil arranged in the interactive device; then, if a signal of a preset type is received through a signal receiving device, confirming that the signal of the preset type is an interactive device signal; finally, identifying target interaction equipment corresponding to the interaction equipment signal; the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment. According to the application, the first coil arranged in the electronic equipment generates the magnetic field, when the interactive equipment is in the range of the magnetic field, the second coil in the interactive equipment generates the current under the action of the magnetic field, so that the interactive equipment can send a signal of a preset type, the electronic equipment receives the signal of the preset type, and then the interactive equipment which emits the signal of the preset type is determined to be in the preset area of the electronic equipment, so that the interactive equipment is used as the target interactive equipment corresponding to the electronic equipment, the power supply of the interactive equipment can be provided at any time and any place, and the identification convenience of the interactive equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application and that other drawings may be obtained from them without inventive effort for a person skilled in the art.
FIG. 1 is an exemplary system architecture diagram of an interactive device identification method according to an embodiment of the present application;
FIG. 2 is an exemplary system architecture diagram of an interactive device identification method according to another embodiment of the present application;
FIG. 3 is an exemplary system architecture diagram of an interactive device identification method according to another embodiment of the present application;
FIG. 4 is a flowchart of an interactive device identification method according to another embodiment of the present application;
FIG. 5 is a flowchart of an interactive device identification method according to another embodiment of the present application;
FIG. 6 is a schematic block diagram of an interactive device identification apparatus according to another embodiment of the present application;
FIG. 7 is a schematic block diagram of an interactive device identification apparatus according to another embodiment of the present application;
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an interaction device according to an embodiment of the present application.
Detailed Description
In order to make the features and advantages of the present application more comprehensible, embodiments accompanied with figures in the present application are described in detail below, wherein the embodiments are described only in some but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims.
Along with the progress of science and technology, electronic devices and corresponding interactive devices are becoming more and more popular in daily life, and electronic devices in daily life of people basically need to be matched with the corresponding interactive devices to realize better control of the corresponding electronic devices, such as televisions and corresponding remote controllers, touch display screens of tablet computers, mobile phones and notebooks, and corresponding touch writing pens.
However, since only one matched interaction device is generally provided in one electronic device in the prior art, the electronic device is not required to identify the interaction device in the prior art, however, with the development of the technology, the situation that one electronic device needs to be provided with a plurality of interaction devices, for example, one touch display screen has a plurality of interaction devices such as pens, erasers and the like which can be matched with the electronic device, and thus the identification of the matched electronic device in the prior art is important.
In summary, in the process of identifying the interactive device by the electronic device, a method capable of being applied to one electronic device to identify a plurality of interactive devices needs to be found, so the application provides an interactive device identification method based on computer technology, the method is applied to the electronic device, the electronic device is matched with at least one corresponding interactive device for use, a first coil is arranged in the electronic device, and a second coil is arranged in each interactive device, and the method comprises the following steps: the method specifically needs to drive a first coil to operate so as to generate a magnetic field, so that any interactive device in a preset range of the electronic device can generate electric energy based on the magnetic field according to a second coil arranged in the interactive device; if the signal receiving device receives a signal of a preset type, confirming that the signal of the preset type is an interactive device signal; identifying target interaction equipment corresponding to the interaction equipment signal; and then the process of identifying the matched interaction equipment based on the electronic equipment is completed.
Fig. 1 is an exemplary system architecture diagram of an interactive device identification method according to an embodiment of the present application.
As shown in fig. 1, the system architecture may include an electronic device 101, a network 102, a server 103, and an interactive device 104. Network 102 is the medium used to provide communication links between electronic device 101 and server 103. Network 102 may include various types of wired or wireless communication links, such as: the wired communication link includes an optical fiber, a twisted pair wire, or a coaxial cable, and the Wireless communication link includes a bluetooth communication link, a Wireless-Fidelity (Wi-Fi) communication link, a microwave communication link, or the like.
Electronic device 101 may interact with server 103 via network 102 and electronic device 101 may also interact with interaction device 104 via associated signaling means. The electronic device 101 may be hardware or software. When the electronic device 101 is hardware, it may be a variety of electronic devices including, but not limited to, smartwatches, smartphones, tablets, laptop portable computers, desktop computers, and the like. When the electronic device 101 is software, it may be installed in the above-listed electronic device, and may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, which is not specifically limited herein.
The server 103 may be a business server providing various services. The server 103 may be hardware or software. When the server 103 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 103 is software, it may be implemented as a plurality of software or software modules (for example, to provide a distributed service), or may be implemented as a single software or software module, which is not specifically limited herein.
It should be appreciated that the number of electronic devices, networks, servers, and interactive devices in fig. 1 is merely illustrative, and any number of electronic devices, networks, servers, and interactive devices may be used as desired for implementation.
Fig. 2 is a block diagram of an electronic device according to another embodiment of the present application. Further, as shown in fig. 2, the electronic device 101 in the system architecture may include a processor 1011, a first coil 1012, a signal receiving apparatus 1013, and a communication link, where the processor 1011 and the first coil 1012, the signal receiving apparatus 1013 are communicatively connected through the communication link, and the processor 1011 may be further connected to other electronic devices through the communication link, which is not described herein, the first coil 1012 is used to generate a magnetic field under the control of the processor 1011, the signal receiving apparatus 1013 is used to receive an external preset type signal, and the processor 1011 may be further used to analyze the preset type signal received by the signal receiving apparatus 1013 to determine whether an external interaction device that sends the preset type signal is a corresponding interaction device.
Fig. 3 is a block diagram of an interactive device according to another embodiment of the present application. Further, as shown in fig. 3, the interaction device 104 is configured to interact with the electronic device 101, where the interaction device 104 may include a processor 1041, a second coil 1042, a signal emitting device 1043, and a communication link, where the processor 1041, the second coil 1042, and the signal emitting device 1043 are communicatively connected through the communication link, and where the processor 1041 may be further connected to other electronic devices through the communication link, and where details are not described herein, the second coil 1042 is configured to generate a current under the action of the first magnetic field 1011, where the current is supplied to each part of the interaction device 104 to perform operations.
Fig. 4 is a flowchart of an interactive device identification method according to another embodiment of the present application, as shown in fig. 4. In the embodiment of the present application, the execution body of the interactive device identification method may be an electronic device, or may be a processor in the electronic device, or may be an interactive device identification service in the electronic device.
Optionally, the electronic device is used in cooperation with at least one corresponding interaction device, a first coil is arranged in the electronic device, and a second coil is arranged in each interaction device.
S401, driving the first coil to operate so as to generate a magnetic field, so that any interaction device in a preset range of the electronic device can generate electric energy based on the magnetic field according to the second coil arranged in the interaction device.
It can be understood that the core of the present application is that the electronic device identifies the interactive device, specifically, the electronic device first provides electric energy for the interactive device, then the interactive device sends a preset type signal to the electronic device, the electronic device receives the preset type signal, and further determines that the preset type signal is an interactive device signal, so that the interactive device that emits the preset type signal is used as a target interactive device corresponding to the electronic device. Therefore, the interactive device identification method of the present application first requires the electronic device to power the interactive device when the interactive device is close.
The type of the electronic device in the embodiment of the present application is selected according to actual needs, and is not specifically limited herein. Further, a first coil may be provided on the electronic device, and the first coil in the electronic device may be energized after driving to generate a magnetic field, i.e., to convert electric energy into a magnetic field.
A second coil may also be provided in the interaction device that interacts with the electronic device, the second coil generating a current in accordance with the magnetic field in the first coil when the second coil is in the magnetic field generated by the first coil of the electronic device. Specifically, a first coil in the electronic device generates a magnetic field, and oscillates according to a preset frequency, a second coil senses the change of the magnetic field within a preset range of the magnetic field, so that current is generated in the second coil, the process of transmitting the current from the first coil to the second coil is completed, and the current generated in the second coil is used for supplying energy to other parts in the interactive device.
Specifically, the processor in the electronic device controls the first coil to generate a magnetic field under the action of electric energy, controls the magnetic field in the first coil to oscillate according to a preset frequency, and emits the electric energy in the first coil in the form of the magnetic field.
In practical application, the first coil in the electronic device may be generally disposed at any position of the electronic device, and since the electronic device may be generally a tablet computer, a telephone, a notebook, a television, etc., that is, generally the electronic device includes a display screen, the first coil may be disposed on a surface of the electronic device away from the display screen, so as to avoid the first coil from shielding the display of the display screen; after the second coil in the interaction device is electrified under the action of the magnetic field of the first coil, a rectification circuit can be further arranged in the interaction device, and alternating current in the second coil is integrated into direct current and then applied.
S402, if a signal of a preset type is received through the signal receiving device, confirming that the signal of the preset type is an interactive device signal.
It will be appreciated that after the interactive device obtains the electrical energy, the interactive device may emit a signal of a preset type, and the electronic device needs to receive an external signal and identify the signal of the preset type from the external signal.
Specifically, after the first coil of the electronic device generates the magnetic field, when the interaction device matched with the electronic device is within the preset range of the magnetic field, the interaction device matched with the electronic device may send a signal of a preset type to the outside while working under the action of the electric energy of the second coil, so that the electronic device needs to always receive the signal of the outside, distinguish whether the received signal is the signal of the preset type according to the signal of the preset type prestored in the electronic device, and confirm that the signal of the preset type is the signal of the interaction device if the signal of the preset type is judged as the signal of the preset type.
In practical applications, the signal sent by the interaction device generally includes a signal of identity information of the interaction device, for example, a signal of a device type or a device ID, which is not specifically limited herein, so long as the electronic device can determine, according to the signal of the preset type, that the device sending the signal of the preset type is the interaction device.
In practical applications, the preset type of signal sent by the interaction device may be any one or more of a radio frequency signal, a radio frequency identification signal and an infrared signal. Accordingly, the preset type of signal received and identified by the electronic device may be any one or more of a radio frequency signal, a radio frequency identification signal, and an infrared signal.
S403, identifying the target interaction device corresponding to the interaction device signal.
After the electronic device confirms that the signal of the preset type is the signal of the interactive device, the interactive device sending the signal of the preset type needs to be identified, and then the target interactive device is determined.
In practical application, the electronic device may distinguish between the received signals of the preset type, and when the received signals are determined to be the signals of the preset type, the electronic device further uses the interaction device that sends out the signals of the preset type as the target interaction device, and then the electronic device is ready to interact with the interaction device.
For clarity, the electronic device is taken as a touch display screen, the interaction device matched with the touch display screen is exemplified by a blue writing pen, a first coil is arranged in the touch display screen, the first coil generates a magnetic field, a second coil is arranged in the blue writing pen, the second coil generates current under the action of the magnetic field and supplies power to the blue writing pen, the blue writing pen sends a preset type signal to the touch display screen, the touch display screen determines that the interaction device sending the preset type signal is the blue writing pen according to the preset type signal, and then the blue writing pen is taken as the current target interaction device of the display screen.
Optionally, after the target interaction device obtains the electric energy, the target interaction device may emit a signal of a preset type, and in a specific implementation process, the target interaction device may be set, so that the target interaction device may have multiple manners of emitting the signal of the preset type.
A possible embodiment is that trigger means may also be provided on the interactive device, which will emit a signal of a preset type when the trigger means on the interactive device are triggered. In practical application, the triggering device is triggered only when the interactive device is used, and then the interactive device sends out a signal carrying the identity information of the target interactive device.
In practical applications, the triggering device may be a pressure sensor or an induction device such as a tact switch. If the triggering device is a pressure sensor or a touch switch, the pressure sensor or the touch switch can be arranged at the interaction part of the interaction device and the electronic device, for example, if the interaction device is an electronic pen, the electronic device is a display screen, the triggering device can be arranged at the pen point position of the electronic pen, when a user needs to use the electronic pen in the display screen, the electronic pen can be contacted with the display screen, at the moment, the triggering device in the electronic pen can be triggered, and then the electronic pen can send out a signal carrying the identity information of the electronic pen.
The triggering device is arranged so that the signal of the preset type is sent when the interactive equipment and the electronic equipment interact, and then in the interaction process of the interactive equipment and the electronic equipment, the interaction operation of the interactive equipment and the action of the interactive equipment for sending the signal of the preset type are synchronously carried out, so that the accuracy of the electronic equipment for identifying the type and the interaction operation of the corresponding interactive equipment is improved.
A possible implementation is that the target interaction device may emit a preset type of signal immediately after the target interaction device has obtained the electrical energy, in which case the production costs of the interaction device may be reduced since no additional triggering means are required.
The application provides an interactive device identification method, which is applied to electronic devices, wherein the electronic devices are matched with at least one corresponding interactive device, a first coil is arranged in the electronic devices, and a second coil is arranged in each interactive device, and the method comprises the following steps: driving the first coil to operate so as to generate a magnetic field, so that any interaction device within a preset range of the electronic device can generate electric energy based on the magnetic field according to the second coil arranged in the interaction device; if the signal receiving device receives a signal of a preset type, confirming that the signal of the preset type is an interactive device signal; identifying target interaction equipment corresponding to the interaction equipment signal; the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment. According to the application, the first coil arranged in the electronic equipment generates the magnetic field, when the interactive equipment is in the range of the magnetic field, the second coil in the interactive equipment generates the current under the action of the magnetic field, so that the interactive equipment can send a signal of a preset type, the electronic equipment receives the signal of the preset type, and then the interactive equipment which emits the signal of the preset type is determined to be in the preset area of the electronic equipment, so that the interactive equipment is used as the target interactive equipment corresponding to the electronic equipment, the power supply of the interactive equipment can be provided at any time and any place, and the identification convenience of the interactive equipment is improved.
Optionally, as shown in fig. 5, fig. 5 is a flowchart of an interactive device identification method according to another embodiment of the present application. The method comprises the following steps:
s501, driving the first coil to operate so as to generate a magnetic field, so that any interaction device in a preset range of the electronic device can generate electric energy based on the magnetic field according to the second coil arranged in the interaction device.
S502, if a signal of a preset type is received through the signal receiving device, confirming that the signal of the preset type is an interactive device signal.
For the steps S501 to S502, please refer to the description of the steps S401 to S402, and the description is omitted here.
S503, determining a target preset interactive device signal corresponding to the interactive device signal according to a preset interactive device signal matching table.
It can be understood that the core of the application is to identify the interactive device, so after the electronic device receives the interactive device signal sent by the interactive device, the electronic device analyzes the signal sent by the interactive device matched with the electronic device, and further determines the target preset interactive signal corresponding to the interactive device signal.
Specifically, since one electronic device may have a plurality of corresponding interaction devices, before each interaction device interacts with the electronic device, it needs to determine whether the current electronic device interacts with other interaction devices, that is, whether other interaction devices exist for working in the electronic device. If the electronic equipment is judged to have the operating interactive equipment currently, the interactive equipment signal of the operating interactive equipment needs to be further acquired, namely the electronic equipment acquires the interactive equipment signal of the operating interactive equipment, and a target preset interactive equipment signal corresponding to the interactive equipment signal is determined according to the interactive equipment signal of the operating interactive equipment and the preset interactive equipment signal matching table. And if the electronic equipment is judged to not exist in the operating interactive equipment currently, determining the number of the interactive equipment which needs to interact with the electronic equipment as one.
When the number of the interactive devices interacted with the electronic device is one, comparing the interactive device signals acquired by the electronic device with the preset interactive device signal matching table in the process of identifying the target interactive devices corresponding to the interactive device signals, and if the interactive device signals exist in the preset interactive device signal matching table, using the target interactive devices corresponding to the interactive device signals in the preset interactive device signal matching table as the target interactive devices corresponding to the interactive device signals according to the preset interactive device signal matching table.
Optionally, when the electronic device obtains the interaction device signals of the interaction device, the electronic device is already performing interaction with the interaction device existing before, at this time, the electronic device needs to perform interaction with at least two interaction devices at the same time, so the electronic device needs to distinguish between the two interaction devices, that is, needs to determine, according to the interaction device signals of the interaction device being operated and the preset interaction device signal matching table, a target preset interaction device signal corresponding to the interaction device signal in the preset interaction device signal matching table, and because the electronic device respectively obtains the interaction device signals of at least two interaction devices, and one interaction device corresponding to the interaction device signal is the interaction device which has performed interaction with the electronic device before, according to the interaction device signal and the preset interaction device signal matching table, the interaction device signals corresponding to the interaction device existing before in the interaction device signals corresponding to the two interaction devices obtained by the electronic device are excluded, and then the remaining interaction device signals are the interaction device signals corresponding to the interaction device currently joining the electronic device, and the interaction device signals are further used as the current target preset interaction device signals.
In addition, the preset interaction device signal matching table at least comprises a pair of matching relations between preset interaction device signals and preset interaction devices, different preset interaction device signals correspond to corresponding preset interaction devices, the preset interaction device signal matching table is used for indicating the matching relations between the preset interaction device signals and the preset interaction devices, namely, one or more preset interaction device signals are given, and one or more matched preset interaction devices can be obtained according to the preset interaction device signal matching table; accordingly, given one or more preset interactive devices, one or more matched preset interactive device signals can be obtained according to the preset interactive device signal matching table.
S504, taking the target preset interactive device corresponding to the target preset interactive device signal as the target interactive device corresponding to the interactive device signal.
It will be appreciated that after determining the target preset interaction device signal, the target preset interaction device signal needs to be determined as a target interaction device for interaction with the electronic device.
And taking the target preset interactive equipment corresponding to the target preset interactive equipment signal obtained by the steps as target interactive equipment corresponding to the interactive equipment signal matched with the electronic equipment, namely, the target interactive equipment can perform information interaction with the electronic equipment.
For clarity, the electronic device is taken as a touch display screen, the interaction device matched with the touch display screen is respectively exemplified by a blue writing pen, a red writing pen and an eraser, a first coil is arranged in the touch display screen, a magnetic field is generated by the first coil, a second coil is arranged in the blue writing pen, the second coil generates current under the action of the magnetic field and supplies power to the blue writing pen, a triggering device is arranged at the pen point of the blue writing pen, when the blue writing pen writes on the display screen, the blue writing pen sends a preset type signal to the touch display screen, the touch display screen determines that the interaction device sending the preset type signal is the blue writing pen according to the preset type signal, and then the blue writing pen is taken as the current target interaction device of the display screen, the process of writing the blue writing pen on the touch display screen is the interaction process of the blue writing pen and the display screen, when the blue writing pen always interacts with the touch display screen, the red writing pen or the eraser enters the magnetic field range of the first coil in the touch display screen, the pen point of the red writing pen or the front surface of the eraser is provided with a triggering device, when the red writing pen or the eraser contacts the touch display screen, a preset type signal related to the red writing pen or the eraser is emitted to the touch display screen, at the moment, the blue writing pen sends the preset type signal and the red writing pen or the eraser sends the preset type signal on the touch display screen, the touch display screen firstly eliminates the blue writing pen to send the preset type signal by searching the preset interaction device signal matching table, and searching a signal matching table of the preset interaction equipment according to a preset type signal sent by the red writing pen or the eraser, and determining that the interaction equipment newly added to the touch display screen is the red writing pen or the eraser.
S505, when the touch operation on the touch display screen is detected, touch data of the target interaction device on the touch display screen is acquired.
It will be appreciated that after the identification of the interactive device, the interactive device also needs to interact with the electronic device, and thus, the specific functions of the interactive device and the electronic device are also required to be combined, so that the interactive device needs to implement an interactive process.
When the electronic equipment comprises a touch display screen, and the touch display screen detects that the interactive equipment performs touch operation on the touch display screen, touch data of the target interactive equipment in the touch display screen are acquired. If the fact that the interactive device which is being operated exists in the electronic device when the target interactive device is identified is determined, touch data of the interactive device which is being operated exists in the electronic device are acquired; and determining touch data of the target interaction device on the touch display screen according to the area where the touch data of the interaction device which is being operated exists in the electronic device.
Specifically, when there are a plurality of interactive devices that interact with the touch display screen, for clarity of explanation, two interactive devices that interact with the touch display screen are described herein, where the first interactive device interacts with the touch display screen all the time, at this time, the second interactive device transmits a preset type of signal to the display screen, the processor determines an interaction area of the first interactive device according to the touch data of the first interactive device, and marks the interaction area of the first interactive device in a distinguishing manner, and the touch data of the area outside the interaction area of the first interactive device on the display screen is used as the interaction area of the second interactive device, that is, the touch data of the area outside the interaction area of the first interactive device is the touch data of the second interactive device.
In practical application, the number of the first interaction devices may be one or more, if there are a plurality of interaction devices interacting with the display screen on the display screen at this time, the number of the first interaction devices corresponding to the display screen at this time is a plurality of, the plurality of first interaction devices correspondingly have interaction areas of a plurality of first interaction devices, at this time, the second interaction device transmits a signal of a preset type to the display screen, and touch data outside the interaction areas of the plurality of first interaction devices is used as touch data of the second interaction device.
S506, determining target operation of the target interaction device according to the device type of the target interaction device and the touch data.
It can be appreciated that touch data of the target interaction device is obtained, and then a device type of the target interaction device needs to be combined to determine a target operation of the target interaction device.
For example: the electronic device is a touch display screen, the target interaction device is an eraser, touch data of the eraser on the touch display screen is an action route or an action handwriting of the eraser, and the target interaction device is used for erasing the handwriting on the touch display screen due to the combination of the action of the eraser, so that a target operation of the eraser is an erasing area on the touch display screen. For another example, the electronic device is a touch display screen, the target interaction device is a blue writing pen, touch data of the blue writing pen on the touch display screen is a writing route or handwriting of the blue writing pen, and by combining the writing action of the blue writing pen, the target operation on the touch display screen is a trace of the blue writing pen writing the blue handwriting.
S507, executing target operation on the touch display screen according to the touch position corresponding to the touch data.
It can be appreciated that after the target operation of the target interaction device on the touch display screen is obtained, the target operation needs to be displayed.
And the touch display screen displays the target operation of the target interaction equipment according to the touch position or the action position of the target interaction equipment.
The application provides an interactive device identification method, wherein a magnetic field is generated through a first coil arranged in electronic equipment, when the interactive device is in the range of the magnetic field, a second coil in the interactive device generates current under the action of the magnetic field, so that the interactive device sends a preset type signal, the electronic equipment receives the preset type signal, and then the interactive device which emits the preset type signal is determined to be in a preset area of the electronic equipment, and further the interactive device is used as a target interactive device corresponding to the electronic equipment.
The embodiment of the application also provides an interactive device identification method, which is characterized in that the method is applied to interactive devices, the interactive devices are matched with corresponding electronic devices, a first coil is arranged in the electronic devices, and a second coil is arranged in the interactive devices, and the method comprises the following steps:
after the second coil generates electric energy based on the magnetic field of the first coil, an identification signal carrying the identity information of the interactive device is sent to the electronic device through the signal sending device based on the electric energy.
In the embodiment of the present application, the execution subject of the method for identifying an interactive device may be an interactive device, or may be a processor in the interactive device, or may be an interactive service in the interactive device, and for convenience of description, the following description will take the execution subject as an example of the processor in the interactive device.
Optionally, the electronic device is used together with at least one corresponding interaction device, and the interaction device is provided with a second coil, and the specific method of the embodiment of the application comprises the following steps:
when the first coil of the electronic device generates a magnetic field, if the second coil of the interaction device is in the magnetic field, under the action of the magnetic field of the first coil, the interaction device obtains the electric energy transmitted by the first coil through the second coil, so that the interaction device obtains the corresponding electric energy.
The second coil is arranged in the interaction equipment, so that the interaction equipment does not set a battery for storing electric energy, and electric energy is acquired through the second coil, the interaction equipment does not need to provide electric energy, corresponding electric energy can be acquired through the outside, the problem that the interaction equipment sets the battery for storing electric energy and needs to be replaced is avoided, potential danger caused by the battery is avoided, and the service life of the interaction equipment is prolonged.
After the target interaction device obtains the electric energy, the target interaction device may emit a signal of a preset type, and in a specific implementation process, the target interaction device may be set so that the target interaction device may have multiple manners of emitting the signal of the preset type.
A possible embodiment is that trigger means may also be provided on the interactive device, which will emit a signal of a preset type when the trigger means on the interactive device are triggered. In practical application, the triggering device is triggered only when the interactive device is used, and then the interactive device sends out a signal carrying the identity information of the target interactive device.
In practical applications, the triggering device may be a pressure sensor or an induction device such as a tact switch. If the triggering device is a pressure sensor or a touch switch, the pressure sensor or the touch switch can be arranged at the interaction part of the interaction device and the electronic device, for example, if the interaction device is an electronic pen, the electronic device is a display screen, the triggering device can be arranged at the pen point position of the electronic pen, when a user needs to use the electronic pen in the display screen, the electronic pen can be contacted with the display screen, at the moment, the triggering device in the electronic pen can be triggered, and then the electronic pen can send out a signal carrying the identity information of the electronic pen.
A possible implementation is that the target interaction device may emit a preset type of signal immediately after the target interaction device has obtained the electrical energy, in which case the production costs of the interaction device may be reduced since no additional triggering means are required.
Fig. 6 is a schematic block diagram of an interactive device identification apparatus according to another embodiment of the present application.
As shown in fig. 6, the interactive device identification apparatus 600 is applied to an electronic device, and the interactive device identification apparatus 600 includes:
A receiving module 601, configured to drive the first coil to operate so as to generate a magnetic field, so that any interaction device within a preset range of the electronic device generates electric energy based on the magnetic field according to a second coil set by the interaction device;
a determining module 602, configured to confirm that the signal of the preset type is an interaction device signal if the signal of the preset type is received through the signal receiving device;
an identifying module 603, configured to identify a target interaction device corresponding to the interaction device signal;
the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment.
Optionally, after the interaction device signal is the electric energy generated by the target interaction device, if the triggering device in the target interaction device is triggered, the signal which is sent by the signal sending device in the target interaction device and carries the identity information of the target interaction device is used.
Optionally, the identifying module 603 is specifically configured to determine a target preset interaction device signal corresponding to the interaction device signal according to a preset interaction device signal matching table;
taking target preset interactive equipment corresponding to the target preset interactive equipment signal as target interactive equipment corresponding to the interactive equipment signal;
The preset interaction device signal matching table at least comprises a pair of matching relations between preset interaction device signals and preset interaction devices, and different preset interaction device signals correspond to different preset interaction devices.
Optionally, the identifying module 603 is further configured to obtain an interaction device signal of the operating interaction device if it is determined that the electronic device currently has the operating interaction device;
and determining a target preset interaction device signal corresponding to the interaction device signal according to the interaction device signal of the operating interaction device and a preset interaction device signal matching table.
Optionally, the device further comprises an execution module, which is used for acquiring touch data of the target interaction device on the touch display screen when the touch operation on the touch display screen is detected;
determining target operation of the target interaction equipment according to the equipment type of the target interaction equipment and the touch data;
and executing target operation on the touch display screen according to the touch position corresponding to the touch data.
Optionally, the execution module is further configured to, if it is determined that the operating interaction device already exists in the electronic device when the target interaction device is identified, acquire touch data of the operating interaction device already exists in the electronic device;
And determining touch data of the target interaction device on the touch display screen according to the touch data of the interaction device which is in operation in the electronic device and all the touch data on the touch display screen.
Fig. 7 is a schematic block diagram of an interactive device identification apparatus according to another embodiment of the present application.
As shown in fig. 7, the interactive device identification apparatus 700 is applied to an interactive device, and the interactive device identification apparatus 700 includes:
and the transmitting module 710 is configured to transmit, to the electronic device, an identification signal carrying the identity information of the interaction device through the signal transmitting device based on the electric energy after the second coil generates the electric energy based on the magnetic field of the first coil.
Optionally, the sending module 710 is further configured to send, if the triggering device in the interaction device is triggered, an identity signal carrying the identity information of the interaction device to the electronic device through a signal sending device based on the electrical energy.
Embodiments of the present application also provide a computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the steps of the method according to any of the embodiments described above.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, an electronic device 800 may include: at least one electronic device processor 801, at least one network interface 804, a user interface 803, memory 805, at least one communication bus 802. Wherein a communication bus 802 is used to enable connected communication between these components.
The user interface 803 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 803 may further include a standard wired interface and a wireless interface.
The network interface 804 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the electronic device processor 801 may include one or more processing cores. The electronic device processor 801 utilizes various interfaces and lines to connect various portions of the overall electronic device 800, perform various functions of the electronic device 800, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 805, and invoking data stored in the memory 805. Alternatively, the electronic device processor 801 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The electronic device processor 801 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the electronic device processor 801 and may be implemented on a single chip.
The Memory 805 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Optionally, the memory 805 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 805 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 805 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 805 may also optionally be at least one storage device located remotely from the aforementioned electronic device processor 801. As shown in fig. 8, an operating system, a network communication module, a user interface module, and an interactive device recognition program may be included in the memory 805, which is one type of computer-readable storage medium.
In the electronic device 800 shown in fig. 8, the user interface 803 is mainly used for providing an input interface for a user, and acquiring data input by the user; and the electronic device processor 801 may be configured to invoke the interactive device identification program stored in the memory 805 and specifically perform the following operations:
Driving the first coil to operate so as to generate a magnetic field, so that any interaction device within a preset range of the electronic device can generate electric energy based on the magnetic field according to the second coil arranged in the interaction device;
if the signal receiving device receives a signal of a preset type, confirming that the signal of the preset type is an interactive device signal;
identifying target interaction equipment corresponding to the interaction equipment signal;
the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment.
In some embodiments, after the interaction device signal is the electric energy generated by the target interaction device, if the triggering device in the target interaction device is triggered, the signal which is sent by the signal sending device in the target interaction device and carries the identity information of the target interaction device is sent.
In some embodiments, the processor 801, when executing the identification of the target interaction device corresponding to the interaction device signal, specifically performs the following steps: determining a target preset interactive device signal corresponding to the interactive device signal according to a preset interactive device signal matching table; taking target preset interactive equipment corresponding to the target preset interactive equipment signal as target interactive equipment corresponding to the interactive equipment signal; the preset interaction device signal matching table at least comprises a pair of matching relations between preset interaction device signals and preset interaction devices, and different preset interaction device signals correspond to different preset interaction devices.
In some embodiments, the processor 801, when executing the determination of the target preset interaction device signal corresponding to the interaction device signal according to the preset interaction device signal matching table, specifically executes the following steps: if the electronic equipment is judged to have the interactive equipment which is in operation currently, acquiring an interactive equipment signal of the interactive equipment which is in operation currently; and determining a target preset interaction device signal corresponding to the interaction device signal according to the interaction device signal of the operating interaction device and a preset interaction device signal matching table.
In some embodiments, the processor 801, after executing the identification of the target interaction device to which the interaction device signal corresponds, further performs the steps of: when touch operation on the touch display screen is detected, touch data of the target interaction equipment on the touch display screen are acquired; determining target operation of the target interaction equipment according to the equipment type of the target interaction equipment and the touch data; and executing target operation on the touch display screen according to the touch position corresponding to the touch data.
In some embodiments, the processor 801, when executing the acquisition of touch data of the target interaction device on the touch display screen, specifically performs the following steps: if the fact that the interactive device which is being operated exists in the electronic device when the target interactive device is identified is determined, touch data of the interactive device which is being operated exists in the electronic device are acquired; and determining touch data of the target interaction device on the touch display screen according to the touch data of the interaction device which is in operation in the electronic device and all the touch data on the touch display screen.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an interaction device according to an embodiment of the present application. As shown in fig. 9, the interaction device 900 may include: at least one processor 901, at least one network interface 904, a user interface 903, memory 905, at least one communication bus 902. Wherein a communication bus 902 is employed to facilitate a coupled communication between the components.
The user interface 903 may include a standard wired interface, a wireless interface, among others.
The network interface 904 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the interaction device processor 901 may include one or more processing cores. The interactive device processor 901 connects various parts within the overall interactive device 900 using various interfaces and lines, performs various functions of the interactive device 900 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 905, and invoking data stored in the memory 905. Alternatively, the interactive device processor 901 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The interaction device processor 901 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the interactive device processor 901 and may be implemented by a single chip.
The Memory 905 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Optionally, the memory 705 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 905 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 905 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 905 may also optionally be at least one storage device located remotely from the aforementioned interactive apparatus processor 901. As shown in fig. 9, an operating system, a network communication module, a user interface module, and an interactive device recognition program may be included in the memory 905, which is one type of computer-readable storage medium.
In the interactive device shown in fig. 9, the user interface 903 is mainly used for providing an input interface for a user, and acquiring data input by the user; and the interactive device processor 901 may be configured to invoke the interactive device identification program stored in the memory 905 and specifically perform the following operations:
After the second coil generates electric energy based on the magnetic field of the first coil, an identification signal carrying the identity information of the interactive device is sent to the electronic device through the signal sending device based on the electric energy.
In some embodiments, when the processor 901 sends an identification signal carrying the identity information of the interaction device to the electronic device through the signal sending device based on the electric energy, the following steps are specifically executed: and if the triggering device in the interaction equipment is triggered, transmitting an identity identification signal carrying the identity information of the interaction equipment to the electronic equipment through a signal transmitting device based on the electric energy.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing describes an interactive device identification method, an apparatus, an electronic device, and an interactive device provided by the present application, and for those skilled in the art, according to the idea of the embodiment of the present application, there are various changes in the specific implementation manner and the application range, so that the content of the present specification should not be construed as limiting the present application.

Claims (14)

1. The interactive equipment identification method is characterized by being applied to electronic equipment, wherein the electronic equipment is matched with at least one corresponding interactive equipment, a first coil is arranged in the electronic equipment, and a second coil is arranged in each interactive equipment, and the method comprises the following steps:
Driving the first coil to operate so as to generate a magnetic field, so that any interaction device within a preset range of the electronic device can generate electric energy based on the magnetic field according to a second coil arranged in the interaction device;
if a signal of a preset type is received through a signal receiving device, confirming that the signal of the preset type is an interactive device signal;
identifying target interaction equipment corresponding to the interaction equipment signal;
the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment.
2. The method according to claim 1, wherein the interaction device signal is a signal which is sent by a signal sending device in the target interaction device and carries identity information of the target interaction device, if a triggering device in the target interaction device is triggered after the electric energy generated by the target interaction device.
3. The method according to claim 1 or 2, wherein the identifying the target interaction device to which the interaction device signal corresponds comprises:
determining a target preset interaction device signal corresponding to the interaction device signal according to a preset interaction device signal matching table;
Taking target preset interactive equipment corresponding to the target preset interactive equipment signal as target interactive equipment corresponding to the interactive equipment signal;
the preset interaction device signal matching table at least comprises a pair of matching relations between preset interaction device signals and preset interaction devices, and different preset interaction device signals correspond to different preset interaction devices.
4. The method of claim 3, wherein determining a target preset interaction device signal corresponding to the interaction device signal according to a preset interaction device signal matching table comprises:
if the electronic equipment is judged to have the interactive equipment which is in operation currently, acquiring an interactive equipment signal of the interactive equipment which is in operation currently;
and determining a target preset interaction device signal corresponding to the interaction device signal according to the interaction device signal of the operating interaction device and the preset interaction device signal matching table.
5. The method according to claim 1 or 2, wherein the electronic device comprises a touch display screen, and after the identifying the target interaction device corresponding to the interaction device signal, further comprising:
when detecting that touch operation exists on the touch display screen, acquiring touch data of the target interaction device on the touch display screen;
Determining target operation of the target interaction equipment according to the equipment type of the target interaction equipment and the touch data;
and executing the target operation on the touch display screen according to the touch position corresponding to the touch data.
6. The method of claim 5, wherein the obtaining touch data of the target interaction device on the touch display screen comprises:
if the fact that the interactive device which is being operated exists in the electronic device when the target interactive device is identified is determined, touch data of the interactive device which is being operated exists in the electronic device is acquired;
and determining touch data of the target interaction device on the touch display screen according to the touch data of the interaction device which is in operation in the electronic device and all the touch data on the touch display screen.
7. The method of claim 1, wherein the predetermined type of signal is one of a radio frequency signal, a radio frequency identification signal, and an infrared signal.
8. The interactive equipment identification method is characterized by being applied to interactive equipment, wherein the interactive equipment is matched with corresponding electronic equipment, a first coil is arranged in the electronic equipment, and a second coil is arranged in the interactive equipment, and the method comprises the following steps:
After the second coil generates electric energy based on the magnetic field of the first coil, an identity identification signal carrying the identity information of the interaction device is sent to the electronic device through a signal sending device based on the electric energy.
9. The method according to claim 8, wherein the transmitting, based on the electrical energy, an identification signal carrying the interactive device identity information to the electronic device through a signal transmitting device, includes:
and if the triggering device in the interaction equipment is triggered, transmitting an identity identification signal carrying the identity information of the interaction equipment to the electronic equipment through a signal transmitting device based on the electric energy.
10. An interactive device identification apparatus, characterized by being applied to an electronic device, the apparatus comprising:
the receiving module is used for driving the first coil to operate so as to generate a magnetic field, so that any interaction device within the preset range of the electronic device can generate electric energy based on the magnetic field according to a second coil arranged in the interaction device;
the determining module is used for determining that the signal of the preset type is an interactive device signal if the signal of the preset type is received through the signal receiving device;
The identification module is used for identifying target interaction equipment corresponding to the interaction equipment signal;
the interactive equipment signal is a signal which is sent by the target interactive equipment through the signal sending device based on the generated electric energy and carries the identity information of the target interactive equipment.
11. An interactive device identification apparatus, characterized by being applied to an interactive device, the apparatus comprising:
and the transmitting module is used for transmitting an identity signal carrying the identity information of the interactive equipment to the electronic equipment through the signal transmitting device based on the electric energy after the second coil generates the electric energy based on the magnetic field of the first coil.
12. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the steps of the method according to any one of claims 1 to 9.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when the program is executed;
The electronic device further includes a first coil that generates a magnetic field after operation.
14. An interactive apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 8 to 9 when the program is executed;
the interactive apparatus further comprises a second coil that generates electrical energy according to an external magnetic field.
CN202210363341.XA 2022-04-07 2022-04-07 Interactive device identification method and device, electronic device and interactive device Pending CN116933810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210363341.XA CN116933810A (en) 2022-04-07 2022-04-07 Interactive device identification method and device, electronic device and interactive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210363341.XA CN116933810A (en) 2022-04-07 2022-04-07 Interactive device identification method and device, electronic device and interactive device

Publications (1)

Publication Number Publication Date
CN116933810A true CN116933810A (en) 2023-10-24

Family

ID=88374364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210363341.XA Pending CN116933810A (en) 2022-04-07 2022-04-07 Interactive device identification method and device, electronic device and interactive device

Country Status (1)

Country Link
CN (1) CN116933810A (en)

Similar Documents

Publication Publication Date Title
CN109075820A (en) A kind of Bluetooth pairing methods and terminal device
JP2012190436A (en) Input interface-providing usb apparatus and interface-providing method thereof
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN110069423A (en) Input method with more mian engine changeovers
CN103650409A (en) Information processing apparatus, information processing method and computer program
CN114598401B (en) Radio frequency test method, Bluetooth device, electronic device and radio frequency test system
CN111506336A (en) Electronic ink screen updating method and related equipment
CN111918118A (en) Electronic device, user terminal, and method of controlling electronic device and user terminal
CN106775003B (en) Interaction device, color control method and device
US11294481B2 (en) Detection of pen location relative to an electronic device
CN105335434B (en) Log management method and device and electronic equipment
US20230214028A1 (en) Image processing method and apparatus for smart pen, and electronic device
CN116933810A (en) Interactive device identification method and device, electronic device and interactive device
WO2015043239A1 (en) Method and device for playing media data on a terminal
KR101370263B1 (en) Method for provide gesture-based remote control for electronic devices, and computer-readable recording medium for the same
CN107025058B (en) Information writing method and device of mobile terminal and mobile terminal
EP4191397A1 (en) Electronic apparatus, display apparatus, and controlling method thereof
CN105094633A (en) Method and device for transmitting control instruction
JP2016533578A (en) Complex man-machine interaction system and communication method thereof
JP4644648B2 (en) Communication terminal, communication method, and communication program
CN114461092B (en) Touch pen connection method and electronic equipment
CN213070115U (en) Bluetooth remote control circuit, Bluetooth remote controller and electrical equipment
KR20140016727A (en) Apparatus and method for remote control
CN113873308A (en) Remote control method and control system
CN107066116B (en) Character string generation method, character analysis method and device

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