CN112987948B - Detection method and electronic equipment - Google Patents

Detection method and electronic equipment Download PDF

Info

Publication number
CN112987948B
CN112987948B CN202110239746.8A CN202110239746A CN112987948B CN 112987948 B CN112987948 B CN 112987948B CN 202110239746 A CN202110239746 A CN 202110239746A CN 112987948 B CN112987948 B CN 112987948B
Authority
CN
China
Prior art keywords
coil
electronic device
electronic equipment
magnetic field
distance information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110239746.8A
Other languages
Chinese (zh)
Other versions
CN112987948A (en
Inventor
修成竹
蒋复岱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110239746.8A priority Critical patent/CN112987948B/en
Publication of CN112987948A publication Critical patent/CN112987948A/en
Priority to PCT/CN2022/077928 priority patent/WO2022183981A1/en
Application granted granted Critical
Publication of CN112987948B publication Critical patent/CN112987948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/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
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The application discloses a detection method and electronic equipment, and belongs to the technical field of electronic circuits. Wherein, the electronic equipment includes: an electromagnetic excitation circuit, a coil and a detection circuit; the coil is connected with the electromagnetic excitation circuit, receives an excitation signal output by the electromagnetic excitation circuit, generates an excitation magnetic field, senses an eddy current magnetic field radiated by second electronic equipment after the second electronic equipment senses the excitation magnetic field, and outputs an induction signal; the coil is also connected with the detection circuit and outputs the induction signal to the detection circuit; and the detection circuit determines the distance information between the first electronic equipment and the second electronic equipment according to the induction signal. According to the electronic equipment control method and device, the service life of the electronic equipment for realizing control operation can be prolonged, the operation stroke of a user in control operation is shortened, and the operation efficiency is improved.

Description

Detection method and electronic equipment
Technical Field
The application belongs to the technical field of electronic circuits, and particularly relates to a detection method and electronic equipment.
Background
A stylus is a pen-shaped tool used for inputting instructions to a device having a touch screen, such as a smart phone, a tablet computer, etc., through which a user can click the touch screen to draw or open an application. Although the stylus may replace a finger to perform a touch operation, the stylus clicking the touch screen is not substantially different from the finger touch screen, and frequent touch operations may also shorten the stylus tip life.
Disclosure of Invention
The embodiment of the application aims to provide a detection method and electronic equipment, which can solve the problem that the service life of a stylus point of a touch control pen is shortened by contact operation.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a first electronic device, including: an electromagnetic excitation circuit, a coil and a detection circuit;
the coil is connected with the electromagnetic excitation circuit, receives an excitation signal output by the electromagnetic excitation circuit, generates an excitation magnetic field, senses an eddy current magnetic field radiated by second electronic equipment after the second electronic equipment senses the excitation magnetic field, and outputs an induction signal;
the coil is also connected with the detection circuit and outputs the induction signal to the detection circuit;
and the detection circuit determines the distance information between the first electronic equipment and the second electronic equipment according to the induction signal.
Optionally, the first electronic device further includes: the communication module is connected with the detection circuit;
the communication module is further configured to establish a communication connection with the second electronic device, and send the distance information to the second electronic device.
Optionally, the coil includes a first coil and a second coil;
the first coil is connected with the electromagnetic excitation circuit;
the second coil is connected with the detection circuit.
Optionally, the coil is a coil wound by enamelled wire or a PCB coil.
Optionally, the first coils and the second coils are alternately arranged; alternatively, the first coil is arranged on the inner ring, and the second coil is arranged on the outer ring; alternatively, the first coil is disposed on the outer ring and the second coil is disposed on the inner ring.
Optionally, the first electronic device is a stylus or the second electronic device is a stylus.
Optionally, in the case that the first electronic device is a stylus, the stylus includes an outer nib, an inner nib, and a hollow cavity between the outer nib and the inner nib, and the coil is disposed in the hollow cavity and sleeved on the inner nib.
In a second aspect, an embodiment of the present application provides a detection method applied to the first electronic device in the first aspect, where the method includes:
receiving an induction signal output by a coil, wherein the induction signal is output after the coil senses an eddy current magnetic field radiated by second electronic equipment, the eddy current magnetic field is radiated after the second electronic equipment senses an excitation magnetic field, and the excitation magnetic field is generated after the coil receives an excitation signal output by an electromagnetic excitation circuit;
and determining the distance information between the first electronic equipment and the second electronic equipment according to the induction signal.
Optionally, when the first electronic device is an intelligent terminal, after determining the distance information between the first electronic device and the second electronic device according to the sensing signal, the method further includes:
executing corresponding control operation under the condition that the distance information is smaller than or equal to a preset value and lasts for a preset duration;
or,
when the first electronic device is a stylus, after determining the distance information between the first electronic device and the second electronic device according to the sensing signal, the method further includes:
and transmitting the distance information to the second electronic equipment through a communication module connected with the detection circuit.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction when executed by the processor implementing the steps of the method according to the second aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the second aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the second aspect.
In this application embodiment, through the coil production excitation magnetic field and the sensing second electronic equipment response excitation magnetic field back radiating eddy current magnetic field, can realize non-contact suspension control function, the life-span of the electronic equipment that realizes control operation, for example the life-span of stylus nib, can shorten the operation stroke when the user carries out control operation moreover, improves operating efficiency. In addition, the suspension control scheme has the advantages of strong anti-interference capability, no influence of ambient temperature and humidity, strong eddy current penetration capability, no influence of obstacles (such as stains) between two electronic devices, high measurement precision, low misoperation probability, simple detection method, simple realization and high response speed.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of another electronic device in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of yet another electronic device in an embodiment of the present application;
FIG. 4 is a schematic diagram of the suspension control principle in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a fourth electronic device in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a fifth electronic device in an embodiment of the present application;
FIG. 7 is a schematic top view of a coil in the electronic device shown in FIG. 6;
fig. 8 is a schematic structural diagram of a sixth electronic device in an embodiment of the present application;
FIG. 9 is a schematic top view of the coil of the electronic device shown in FIG. 8;
FIG. 10 is a schematic diagram of a first coil and second coil containment arrangement in an embodiment of the present application;
FIG. 11 is a flow chart of a detection method in an embodiment of the present application;
fig. 12 is a schematic structural diagram of a seventh electronic device in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The detection method and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a first electronic device 10, where the first electronic device 10 includes: an electromagnetic excitation circuit 101, a coil 102, and a detection circuit 103;
the coil 102 is connected to the electromagnetic excitation circuit 101, receives an excitation signal output by the electromagnetic excitation circuit 101, generates an excitation magnetic field, senses an eddy current magnetic field radiated after the second electronic device 11 senses the excitation magnetic field, and outputs an induction signal;
the coil 102 is further connected to the detection circuit 103, and outputs the induction signal to the detection circuit 103;
the detection circuit 103 determines distance information l between the first electronic device 10 and the second electronic device 11 according to the sensing signal. This distance may also be referred to as the levitation distance.
The second electronic device 11 is provided with a metal conductor, specifically, the metal conductor induces the excitation magnetic field to generate an eddy current, and the magnitude of the eddy current is related to the suspension distance. In addition, the electromagnetic excitation circuit 101 may specifically include a control circuit 1011 and a power module 1012 connected to the control circuit 1011, and the first electronic apparatus 10 may further include a button for controlling the first electronic apparatus 10 to be turned on and off.
For example, referring to fig. 2, in fig. 2, the first electronic device 10 is a stylus, the second electronic device 11 is an intelligent terminal, the electromagnetic excitation circuit 101 on the first electronic device 10 includes a control circuit 1011 and a power module 1012 connected to the control circuit 1011, and the first electronic device 10 may further include a button 104 for controlling the first electronic device 10 to be turned on and off. The second electronic device 11 comprises a metal conductor 111, which metal conductor 111 may be a metal conductor within the touch screen of the second electronic device 11. For another example, referring to fig. 3, the first electronic device 10 is an intelligent terminal, the second electronic device 11 is a touch pen in fig. 3, the electromagnetic excitation circuit 101 on the first electronic device 10 includes a control circuit 1011 and a power module 1012 connected to the control circuit 1011, and the second electronic device 11 may further include a button 112 for controlling the second electronic device 11 to be turned on and off. The second electronic device 11 comprises a metal conductor 111.
After detecting the distance between the first electronic device 10 and the second electronic device 11, the electronic devices may respond differently according to the distance information, for example, if the distance is greater than a preset value, no response is performed, if the distance is less than or equal to the preset value, a corresponding response is performed or if the distance gradually decreases, or may respond differently according to the distance. For example, one of the first electronic device 10 and the second electronic device 11 is a stylus, the other is an intelligent terminal, and when the intelligent terminal plays a video, if detecting that the stylus is hovering close (the hovering distance is smaller than or equal to a preset value, or the hovering distance is gradually reduced), the intelligent terminal automatically displays various control options or control buttons, namely video operation buttons (such as pause, fast forward, reverse, etc.), on a screen, and the display of the video operation buttons can be triggered without touching the mobile phone. For another example, when the intelligent terminal browses a webpage, if the suspension approach of the touch pen is detected, the functions of copying or marking the text in the area can be automatically detected.
Referring to fig. 4, the working principle of the embodiment of the present application is as follows: the electromagnetic excitation circuit 101 outputs an alternating current I 1 To the coil 102, an alternating magnetic field (i.e., excitation magnetic field) H is generated in the vicinity of the coil 102 1 The magnetic field H 1 When passing through the metal conductor 111, the metal conductor 111 generates a spiral current I 2 The vortex I 2 Will generate an eddy magnetic field H radiating outwards 2 . The generated eddy-current magnetic field H 2 The distance between the coil 102 and the metal conductor 111 is affected, and when the first electronic device 10 floats close to the second electronic device 11, the distance changes, so that the output result of the coil 102 changes, that is, a floating close detection function is realized.
According to the novel suspension control detection scheme based on the eddy current principle, the coil 102 is used for generating the excitation magnetic field and sensing the eddy current magnetic field radiated by the second electronic equipment 11 after sensing the excitation magnetic field, so that a non-contact suspension control function can be realized, the service life of the electronic equipment for realizing control operation, such as the service life of a stylus point of a stylus pen, can be prolonged, the operation stroke of a user during control operation can be shortened, and the operation efficiency can be improved. In addition, the suspension control scheme has the advantages of strong anti-interference capability, no influence of ambient temperature and humidity, strong eddy current penetration capability, no influence of obstacles (such as stains) between two electronic devices, high measurement precision, low misoperation probability, simple detection method, simple realization and high response speed.
Optionally, referring to fig. 2 and 3, the first electronic device 10 further includes: a communication module 105 connected to the detection circuit 103;
the communication module 105 is further configured to establish a communication connection with the second electronic device 11, and send the distance information to the second electronic device 11.
In this embodiment of the present application, the first electronic device 10 may be a stylus, the second electronic device 11 may be an intelligent terminal, and after the stylus detects the distance between the stylus and the intelligent terminal, the distance information may be sent to the intelligent terminal through the communication module 105, so that the intelligent terminal may execute a corresponding control operation according to the distance information or decide not to respond any more, thereby implementing a suspension control function.
Optionally, the coil 102 is a coil wound by an enameled wire (see fig. 2 and 5) or a printed circuit board (Printed Circuit Board, PCB) coil (see fig. 3, 6, 7, 8, 9 and 10). The PCB coil means that the coil is arranged on a PCB board. The PCB coil may facilitate the mounting and fabrication of the first electronic device 10 as compared to a coil wound with an enameled wire.
Optionally, the coil 102 includes a first coil 1021 and a second coil 1022;
the first coil 1021 is connected to the electromagnetic excitation circuit 101;
the second coil 1022 is connected to the detection circuit 103.
In this embodiment, the coil 102 may be a dual coil structure, that is, may include two different coils, one of which is used as an exciting coil for generating an exciting magnetic field, and the other of which is used as an induction coil for sensing the eddy current magnetic field radiated by the second electronic device 11. The separation of the excitation coil and the induction coil can improve the accuracy of the measurement result.
Of course, in other alternative embodiments, the coil 102 may be of single coil construction, i.e., one coil acts as both an excitation coil and an induction coil.
Specifically, the first coil 1021 may be a coil wound with an enameled wire, and the second coil 1022 may be a coil wound with an enameled wire, or may be a PCB coil. The first coil 1021 may be a PCB coil, and the second coil 1022 may be a coil wound with an enameled wire, or may be a PCB coil.
Further alternatively, the first coils 1021 and the second coils 1022 are alternately arranged; alternatively, the first coil 1021 is disposed on an inner ring, and the second coil 1022 is disposed on an outer ring; alternatively, the first coil 1021 is disposed on the outer ring, and the second coil 1022 is disposed on the inner ring.
The first coils 1021 and the second coils 1022 may be arranged concentrically when alternately arranged.
For example, referring to fig. 5, the first coil 1021 and the second coil 1022 are each formed by winding an enameled wire, and one turn of the second coil 1022 is sandwiched between adjacent turns of the first coil 1021, or one turn of the first coil 1021 is sandwiched between adjacent turns of the second coil 1022. For another example, referring to fig. 8 and 9, the first coil 1021 and the second coil 1022 are coils alternately arranged on the same PCB board, and one turn of the second coil 1022 is sandwiched between adjacent turns of the first coil 1021, or one turn of the first coil 1021 is sandwiched between adjacent turns of the second coil 1022. Specifically, in fig. 9, the coil number 1 is the coil number of the first coil 1021, the coil number 2 is the coil number of the second coil 1022, the coil number 3 is the coil number of the first coil 1021, the coil number 4 is the coil number of the second coil 1022, and the coil number 5 is the coil number of the first coil 1021.
With respect to the first coil 1021 and the second coil 1022 including arrangements, for example, referring to fig. 10, the first coil 1021 is arranged on an outer ring, and the second coil 1022 is arranged on an inner ring. Specifically, in fig. 10, the coil number 1 is the coil number of the second coil 1022, the coil number 2 is the coil number of the second coil 1022, the coil number 3 is the coil number of the first coil 1021, the coil number 4 is the coil number of the first coil 1021, and the coil number 5 is the coil number of the first coil 1021.
Of course, other arrangements of the first coil 1021 and the second coil 1022 are possible, and are not listed here.
Optionally, the first electronic device 10 is a stylus or the second electronic device 11 is a stylus.
Optionally, in the case where the first electronic device 10 is a stylus, the stylus includes an outer nib 106, an inner nib 107, and a hollow cavity between the outer nib 106 and the inner nib 107, and the coil is disposed in the hollow cavity and sleeved on the inner nib 107.
For example, referring to fig. 2, the coil 102 may be wound around the inner pen tip. For another example, referring to fig. 5, when the coil 102 includes a first coil 1021 and a second coil 1022, the first coil 1021 and the second coil 1022 are alternately wound on the inner pen tip.
For another example, referring to fig. 6 to 10, when the coil 102 is a PCB coil, a through hole is formed at the center of the coil on the PCB board, and the through hole can be sleeved on the inner nib 107.
Referring to fig. 3, the second electronic device 11 is a stylus pen, and a metal conductor 111 is disposed in the stylus pen (in particular, in the pen tip). The first electronic device 10 may be a smart terminal device, the coil 102, and the circuits such as the power module 1012, the control circuit 1011, and the detection circuit 103 may be placed under the screen. In the embodiment of the application, only the metal conductor 111 is required to be arranged in the touch pen, so that the touch pen is convenient to manufacture, and the service life of the touch pen can be prolonged.
Referring to fig. 11, an embodiment of the present application further provides a detection method applied to any one of the first electronic devices, where the method includes the following steps:
step 1101: receiving an induction signal output by a coil, wherein the induction signal is output after the coil senses an eddy current magnetic field radiated by second electronic equipment, the eddy current magnetic field is radiated after the second electronic equipment senses an excitation magnetic field, and the excitation magnetic field is generated after the coil receives an excitation signal output by an electromagnetic excitation circuit;
step 1102: and determining the distance information between the first electronic equipment and the second electronic equipment according to the induction signal.
In this application embodiment, through the coil production excitation magnetic field and the sensing second electronic equipment response excitation magnetic field back radiating eddy current magnetic field, can realize non-contact suspension control function, the life-span of the electronic equipment that realizes control operation, for example the life-span of stylus nib, can shorten the operation stroke when the user carries out control operation moreover, improves operating efficiency. In addition, the suspension control scheme has the advantages of strong anti-interference capability, no influence of ambient temperature and humidity, strong eddy current penetration capability, no influence of obstacles (such as stains) between two electronic devices, high measurement precision, low misoperation probability, simple detection method, simple realization and high response speed.
The suspension control function can have a plurality of application scenes. For example, one of the first electronic device 10 and the second electronic device 11 is a stylus, the other is an intelligent terminal, and when the intelligent terminal plays a video, if detecting that the stylus is hovering close (the hovering distance is smaller than or equal to a preset value, or the hovering distance is gradually reduced), the intelligent terminal automatically displays various control options or control buttons, namely video operation buttons (such as pause, fast forward, reverse, etc.), on a screen, and the display of the video operation buttons can be triggered without touching the mobile phone. For another example, when the intelligent terminal browses a webpage, if the suspension approach of the touch pen is detected, the functions of copying or marking the text in the area can be automatically detected.
Optionally, in the case where the first electronic device 10 is an intelligent terminal, after determining the distance information between the first electronic device 10 and the second electronic device 11 according to the sensing signal, the method further includes:
and executing corresponding control operation under the condition that the distance information is smaller than or equal to a preset value and lasts for a preset duration.
Optionally, in the case where the first electronic device 10 is a stylus, after determining the distance information between the first electronic device 10 and the second electronic device 11 according to the sensing signal, the method further includes:
the distance information is transmitted to the second electronic device via a communication module 105 connected to the detection circuit 103.
Of course, the stylus may also send the distance information to the second electronic device when the distance information is less than or equal to a preset value and lasts for a preset period of time.
The preset duration may be adjusted according to the usage habit of the user, for example, 3 seconds.
In this embodiment, in order to avoid misoperation, the electronic device (the first electronic device 10 or the second electronic device 11) may be set to respond again after suspending for a certain period of time.
Specifically, the electronic device (the first electronic device or the second electronic device) may perform different control operations according to the difference in the distance information. For example, when the distance information is greater than a first threshold and less than a second threshold (the second threshold is greater than the first threshold), performing a first operation; executing a second operation when the distance information is smaller than the first threshold value; and when the distance information is greater than the second threshold value, executing a third operation. For another example, the fourth operation is performed when the distance information is less than or equal to a preset value and gradually decreases.
In other alternative embodiments, the distance information may not be sent to the second electronic device, but only a signal is sent to the second electronic device 11, so that the second electronic device 11 triggers a corresponding control operation according to the signal.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, and a program or an instruction stored in the memory 1202 and capable of being executed on the processor 1201, where the program or the instruction implements each process of the above detection method embodiment when executed by the processor 1201, and the same technical effects are achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing detection method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the above detection method embodiment, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (9)

1. A first electronic device, comprising: an electromagnetic excitation circuit, a coil and a detection circuit;
the coil is connected with the electromagnetic excitation circuit, receives an excitation signal output by the electromagnetic excitation circuit, generates an excitation magnetic field, senses an eddy current magnetic field radiated by second electronic equipment after the second electronic equipment senses the excitation magnetic field, and outputs an induction signal; the first electronic device is a touch pen, the touch pen comprises an outer pen point, an inner pen point and a hollow cavity between the outer pen point and the inner pen point, and the coil is arranged in the hollow cavity and sleeved on the inner pen point;
the coil is also connected with the detection circuit and outputs the induction signal to the detection circuit;
the detection circuit determines distance information between the first electronic device and the second electronic device according to the induction signal;
the second electronic equipment executes corresponding suspension control functions according to the distance information, and the second electronic equipment executes different suspension control functions according to different distances.
2. The first electronic device of claim 1, further comprising: the communication module is connected with the detection circuit;
the communication module is further configured to establish a communication connection with the second electronic device, and send the distance information to the second electronic device.
3. The first electronic device of claim 1, wherein the coil comprises a first coil and a second coil;
the first coil is connected with the electromagnetic excitation circuit;
the second coil is connected with the detection circuit.
4. A first electronic device according to any of claims 1-3, characterized in that the coil is a coil wound with enameled wire or a PCB coil.
5. A first electronic device according to claim 3, characterized in that the first coil and the second coil are alternately arranged; alternatively, the first coil is arranged on the inner ring, and the second coil is arranged on the outer ring; alternatively, the first coil is disposed on the outer ring and the second coil is disposed on the inner ring.
6. A detection method applied to the first electronic device of any one of claims 1-5, the method comprising:
receiving an induction signal output by a coil, wherein the induction signal is output after the coil senses an eddy current magnetic field radiated by second electronic equipment, the eddy current magnetic field is radiated after the second electronic equipment senses an excitation magnetic field, and the excitation magnetic field is generated after the coil receives an excitation signal output by an electromagnetic excitation circuit;
and determining the distance information between the first electronic equipment and the second electronic equipment according to the induction signal.
7. The method according to claim 6, wherein, in the case where the first electronic device is an intelligent terminal, after determining the distance information between the first electronic device and the second electronic device according to the sensing signal, the method further comprises:
executing corresponding control operation under the condition that the distance information is smaller than or equal to a preset value and lasts for a preset duration;
or,
when the first electronic device is a stylus, after determining the distance information between the first electronic device and the second electronic device according to the sensing signal, the method further includes:
and transmitting the distance information to the second electronic equipment through a communication module connected with the detection circuit.
8. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which program or instruction when executed by the processor implements the steps of the detection method according to any of claims 6-7.
9. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the detection method according to any of claims 6-7.
CN202110239746.8A 2021-03-04 2021-03-04 Detection method and electronic equipment Active CN112987948B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110239746.8A CN112987948B (en) 2021-03-04 2021-03-04 Detection method and electronic equipment
PCT/CN2022/077928 WO2022183981A1 (en) 2021-03-04 2022-02-25 Detection method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110239746.8A CN112987948B (en) 2021-03-04 2021-03-04 Detection method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112987948A CN112987948A (en) 2021-06-18
CN112987948B true CN112987948B (en) 2024-03-26

Family

ID=76352666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110239746.8A Active CN112987948B (en) 2021-03-04 2021-03-04 Detection method and electronic equipment

Country Status (2)

Country Link
CN (1) CN112987948B (en)
WO (1) WO2022183981A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112987948B (en) * 2021-03-04 2024-03-26 维沃移动通信有限公司 Detection method and electronic equipment
CN114356030A (en) * 2022-01-06 2022-04-15 维沃移动通信有限公司 Keyboard support kit, electronic equipment and control method and device of electronic equipment
CN114816139B (en) * 2022-06-24 2022-11-01 基合半导体(宁波)有限公司 Capacitive screen, capacitive screen and stylus interaction method and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2976449B2 (en) * 1989-08-24 1999-11-10 ソニー株式会社 Input device
CN101710438A (en) * 2009-08-18 2010-05-19 厦门盛华电子科技有限公司 Method for detecting and controlling card stamping distance of radio-frequency card of mobile telephone
CN201527655U (en) * 2009-10-23 2010-07-14 厦门盛华电子科技有限公司 Non-contact IC card double-frequency card reading device with mobile phone card swiping distance detecting function
WO2011067786A1 (en) * 2009-12-02 2011-06-09 Iyer Vandana S An electronic device for written examination and a method thereof
CN103257726A (en) * 2013-05-14 2013-08-21 上海理工大学 Wireless photoelectrical input pen
KR20130117152A (en) * 2012-04-17 2013-10-25 주식회사 아모센스 Magnetic shielding sheet, manufacturing method thereof, and portable terminal equipment using the same
CN106850919A (en) * 2016-12-30 2017-06-13 努比亚技术有限公司 A kind of control method and mobile terminal
CN211427315U (en) * 2020-03-02 2020-09-04 昆山龙腾光电股份有限公司 Active pen touch device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10508932B2 (en) * 2017-04-10 2019-12-17 Calnetix Technologies, Llc Measuring the position of an object using eddy-currents
CN112987948B (en) * 2021-03-04 2024-03-26 维沃移动通信有限公司 Detection method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2976449B2 (en) * 1989-08-24 1999-11-10 ソニー株式会社 Input device
CN101710438A (en) * 2009-08-18 2010-05-19 厦门盛华电子科技有限公司 Method for detecting and controlling card stamping distance of radio-frequency card of mobile telephone
CN201527655U (en) * 2009-10-23 2010-07-14 厦门盛华电子科技有限公司 Non-contact IC card double-frequency card reading device with mobile phone card swiping distance detecting function
WO2011067786A1 (en) * 2009-12-02 2011-06-09 Iyer Vandana S An electronic device for written examination and a method thereof
KR20130117152A (en) * 2012-04-17 2013-10-25 주식회사 아모센스 Magnetic shielding sheet, manufacturing method thereof, and portable terminal equipment using the same
CN103257726A (en) * 2013-05-14 2013-08-21 上海理工大学 Wireless photoelectrical input pen
CN106850919A (en) * 2016-12-30 2017-06-13 努比亚技术有限公司 A kind of control method and mobile terminal
CN211427315U (en) * 2020-03-02 2020-09-04 昆山龙腾光电股份有限公司 Active pen touch device

Also Published As

Publication number Publication date
CN112987948A (en) 2021-06-18
WO2022183981A1 (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN112987948B (en) Detection method and electronic equipment
RU2669087C2 (en) Method and device for controlling tactile feedback of input tool for mobile communication terminal
JP5990340B2 (en) Method of controlling terminal with earphone cable, apparatus, device, program and recording medium for controlling terminal with earphone cable
US20130281155A1 (en) System, electronic device, and charger
US10747369B2 (en) Method and apparatus for responding to touch operation, storage medium and terminal
US10095324B2 (en) Method for handling pen multi-input event and apparatus for the same
WO2015058530A1 (en) Method,apparatus and electronic device formoving target element
CN103019588A (en) Touch positioning method, device and terminal
WO2015000429A1 (en) Intelligent word selection method and device
CN103869947A (en) Method for controlling electronic device and electronic device
CN105163281A (en) Indoor locating method and user terminal
CN108984064A (en) Multi-screen display method, device, storage medium and electronic equipment
CN110174994A (en) The method and device of chat messages forwarding, electronic equipment, storage medium
CN105354062A (en) Method for displaying loaded page and mobile terminal
CN103713804A (en) Equipment control method and device and electronic equipment
CN106354380A (en) Reading prompting method and device
CN105468133B (en) Touch processing method and device
JP2013201863A (en) System, electronic device and charger
CN103488424A (en) Method and device for displaying information
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN110427139B (en) Text processing method and device, computer storage medium and electronic equipment
CN110052034A (en) Information labeling method, apparatus, medium and electronic equipment in game
CN104169854A (en) An icon arranging method and a terminal
CN105302245A (en) Terminal with touch key
JP6411067B2 (en) Information processing apparatus and input method

Legal Events

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