Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide an electronic device, which implements floating touch detection according to the change of electric quantity sensed by each conductive electrode by arranging the conductive electrodes in a space, so as to increase the control flexibility and diversity of the electronic device, provide guarantee for personal safety of users and others, and improve the user experience.
A second object of the present invention is to provide an electronic device control method.
A third object of the invention is to propose an electronic device.
To achieve the above object, an embodiment of a first aspect of the present invention provides an electronic device, including: the device comprises a frame, conductive electrodes vertically arranged on the frame and a processor; the processor is electrically connected with the conductive electrodes respectively and used for charging the conductive electrodes and determining the relative position between the conductor close to the electronic equipment and the conductive electrodes at any time according to the detected electric quantity value in the conductive electrodes.
The electronic device provided by the embodiment of the invention is provided with a frame, conductive electrodes vertically arranged on the frame and a processor, wherein the processor is respectively electrically connected with the conductive electrodes and used for charging the conductive electrodes so as to detect the electric quantity values of the conductive electrodes, and then the relative position between a conductor close to the electronic device at any moment and the conductive electrodes is determined according to the detected electric quantity values in the conductive electrodes. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, and still provide the assurance for user and other people's personal safety, promoted user and used experience.
In addition, the electronic device proposed by the above embodiment of the present invention may further have the following additional technical features:
optionally, in an embodiment of the present invention, at least one conductive electrode is disposed on each side of the frame.
Optionally, in another embodiment of the present invention, the method further includes: one end of the connecting wire is connected with the processor; and the other end of the connecting line is used for being connected with other electronic equipment so as to transmit the relative position between the conductor and each conductive electrode determined by the processor to the other electronic equipment.
Optionally, in another embodiment of the present invention, the frame is configured to accommodate the other electronic device.
Optionally, in another embodiment of the present invention, a touch screen disposed in the bezel is further included.
Optionally, in another embodiment of the present invention, an area of a surface of each conductive electrode away from the frame is greater than a threshold.
In order to achieve the above object, a second aspect of the present invention provides an electronic device control method, including: determining the working state and the actual electric quantity value of each conductive electrode arranged on the frame of the electronic equipment at the current moment; determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state; and determining the relative positions of the conductor close to the electronic equipment and the conductive electrodes according to the actual electric quantity value and the preset electric quantity value of the conductive electrodes.
The electronic device control method provided by the embodiment of the invention comprises the steps of firstly determining the working state and the actual electric quantity value of each conductive electrode arranged on the frame of the electronic device at the current moment, then determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state, and determining the relative position of a conductor close to the electronic device and each conductive electrode at the current moment according to the actual electric quantity value and the preset electric quantity value of each conductive electrode. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, and still provide the assurance for user and other people's personal safety, promoted user and used experience.
In addition, the electronic device control method provided by the above embodiment of the present invention may further have the following additional technical features:
optionally, in an embodiment of the present invention, after determining the relative positions of the conductor currently close to the electronic device and the conductive electrodes, the method further includes: determining the motion trail of the conductor according to the relative positions of the conductor and each conductive electrode in continuous time periods; determining a target control mode corresponding to the current motion track according to the corresponding relation between the preset track and the control mode; and controlling the electronic equipment according to the target control mode.
Optionally, in another embodiment of the present invention, the electronic device includes N conductive electrodes, where N is a positive integer greater than 1; before determining each preset electric quantity value corresponding to the working state of each conductive electrode, the method further comprises the following steps: charging an ith conductive electrode, and detecting the electric quantity value of each conductive electrode, wherein i is a positive integer less than or equal to N; and determining the electric quantity value of each electrode when the ith electrode is in a charging state and the rest N-1 electrodes are in an induction state according to the detection result.
Optionally, in another embodiment of the present invention, the electronic device includes a touch screen; after determining the relative positions of the conductor currently close to the electronic device and the conductive electrodes, the method further comprises: determining a target detection area on the touch screen according to the relative positions of the conductor and the conductive electrodes; and detecting a target detection area on the touch screen to determine the current operation position of the user.
Optionally, in another embodiment of the present invention, the electronic device is communicatively connected to other electronic devices; after determining the relative positions of the conductor currently close to the electronic equipment and the conductive electrodes, the method further comprises sending the relative positions of the current conductor and the conductive electrodes to other connected electronic equipment.
To achieve the above object, a third aspect of the present invention provides an electronic device, including: the device comprises a frame, conductive electrodes vertically arranged on the frame and a processor; the processor is configured to execute the electronic device control method according to the second aspect.
The electronic device provided by the embodiment of the invention is provided with a frame, conductive electrodes vertically arranged on the frame and a processor, wherein the processor is respectively electrically connected with the conductive electrodes and used for charging the conductive electrodes so as to detect the electric quantity values of the conductive electrodes, and then the relative position between a conductor close to the electronic device at any moment and the conductive electrodes is determined according to the detected electric quantity values in the conductive electrodes. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, and still provide the assurance for user and other people's personal safety, promoted user and used experience.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The invention provides electronic equipment, mainly aiming at the problems that in the prior art, when a user controls the electronic equipment, the touch screen of the electronic equipment needs to be touched or pressed in a contact mode to control the electronic equipment, so that the control mode of the electronic equipment is single and inflexible, and potential safety hazards are brought to the user and other people.
The electronic equipment provided by the invention is provided with a frame, conductive electrodes vertically arranged on the frame and a processor, wherein the processor is respectively and electrically connected with the conductive electrodes and used for charging the conductive electrodes so as to detect the electric quantity values of the conductive electrodes, and the relative position between a conductor close to the electronic equipment at any moment and the conductive electrodes is determined according to the detected electric quantity values of the conductive electrodes. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, and still provide the assurance for user and other people's personal safety, promoted user and used experience.
An electronic apparatus and a control method thereof of an embodiment of the present invention are described below with reference to the drawings.
First, referring to fig. 1, an electronic device provided in an embodiment of the present invention is specifically described.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 1 and 3, an electronic apparatus 1 of the present invention includes: a frame 11, conductive electrodes 12 vertically disposed on the frame 11, and a processor 13.
The processor 13 is electrically connected to each conductive electrode 12, and is configured to charge each conductive electrode 12, and determine a relative position between the conductor 17 close to the electronic device 1 and each conductive electrode 12 at any time according to the detected electric quantity value in each conductive electrode 12.
In a specific implementation, the processor 13 of the electronic device 1 of the present invention sequentially performs a charging operation on each conductive electrode 12 vertically disposed on the frame 11, and detects the electric quantity values of all the conductive electrodes 12 including the charging conductive electrode 12 in real time. Then, the real-time detected electric quantity value of each conductive electrode 12 is compared with the preset electric quantity value, if the electric quantity value of each conductive electrode 12 is not matched with the preset electric quantity value, it indicates that the conductor 17 close to the electronic device 1 exists at the current moment, and then the electronic device 1 can determine the relative position between the conductor 17 close to itself and each conductive electrode 12 according to the condition that the electric quantity values are not matched. Therefore, according to the electric quantity change condition of each conductive electrode induction 12, the suspension touch detection of the electronic equipment 1 is realized, and the control flexibility and diversity of the electronic equipment 1 are increased.
In the embodiment of the present invention, the preset electric quantity value specifically refers to an electric quantity value sensed by each conductive electrode 12 when the processor 13 sequentially charges each conductive electrode 12 without the conductor 17.
In this embodiment, at least one conductive electrode 12 is disposed on each side of the frame 11 in the electronic device 1, so that when the conductive electrode 12 on any side is charged, the conductive electrode 12 and the conductive electrodes 12 on other sides form a capacitor, and thus, according to the electric quantity variation value of the capacitor, the relative position between the conductor 17 close to the electronic device 1 and each conductive electrode 12 is determined, thereby improving the accuracy and reliability of determining the position of the conductor 17.
In particular, when the amount of electricity stored in the capacitor formed between the conductive electrodes 12 is particularly small, the conductor 17 close to the electronic device 1 is likely to be detected inaccurately, and therefore, in order to improve the accuracy of the determination of the conductor 17, the present embodiment may adjust the arrangement manner of the conductive electrodes 12 such that the area of the surface of the conductive electrodes 12 away from the frame 11 is larger than the threshold value, as shown in fig. 1. The threshold value may be adaptively set according to actual conditions, and is not particularly limited herein.
Specifically, in practical application, the electric quantity of the capacitor is influenced by the dielectric constant epsilon of the medium between the polar plates, the polar plate area S and the distance d between the polar plates, while the dielectric constant of the medium between the polar plates is air and the distance d between the polar plates is also fixed, so that the polar plate area S influences the electric quantity of the capacitor. Therefore, the present invention can improve the accuracy and reliability of the determination of the conductor 17 close to the electronic device 1 by setting the area of the surface of each conductive electrode 12 away from the bezel 11 to be larger than the threshold value.
In order to make the present invention clearer, the above-described case is explained below by way of example.
For example, if the number of the conductive electrodes 12 on the two long sides is two, the number of the conductive electrodes 12 on the two short sides is one, the conductive electrodes 12 on the two long sides are Tx2, Tx3, Tx5, and Tx6, respectively, and the conductive electrodes 12 on the two short sides are Tx1, and Tx4, respectively, in the frame 11 of the electronic device 1, when the processor 13 sequentially performs the charging operation on the conductive electrodes 12 on the sides of the frame 11, each of the conductive electrodes on the frame 11, such as Tx1, Tx2, Tx3, Tx4, Tx5, and Tx6, can sense a corresponding electric quantity value, and at the same time, the processor 13 can also obtain six sets of sensed electric quantity value information corresponding to the 6 conductive electrodes 12 in the frame 11.
The processor 13 of this embodiment charges the conductive electrodes 12 on each edge of the frame 1, and obtains the electric quantity sensed by each conductive electrode 12, as shown in fig. 2. Fig. 2 only illustrates the schematic diagram of the power induction between Tx1 and Tx2, and the schematic diagram of the power induction between the remaining conductive electrodes 12 is similar to the schematic diagram of the power induction between Tx1 and Tx2, which is not repeated herein.
After the processor 13 obtains the six sets of induced charge value information, the processor 13 may compare the six sets of induced charge values with preset charge values, and if the Tx1 is charged, the induced charge amounts of the Tx1 and the Tx2 are reduced, the signal amount changes greatly, and the induced charge amounts of the Tx3 to Tx6 are unchanged; if the Tx2 is charged, the induced electric quantities of Tx1, Tx2 and Tx6 all change, wherein the induced electric quantity of Tx1 is influenced more, the induced electric quantity of Tx6 is influenced slightly, and the induced electric quantities of other Tx3 to Tx5 do not change; if the Tx1 inducted electric quantity is influenced when the Tx3 is charged, the inducted electric quantities from Tx2 to Tx6 are normal; if the amount of electricity induced by the Tx1 decreases when the Tx4 is charged, the amount of charge induced by the other conductive electrodes 12 is normal; if the Tx5 is charged, the amount of electricity sensed by each conductive electrode 13 is not substantially changed; if the Tx1 induced power is unchanged, the Tx2 induced power is reduced, and the Tx3 to Tx6 induced power is normal when the Tx6 is charged, it can be determined that the conductor 17 exists between the conductive electrodes Tx1 and Tx2, as shown in fig. 3. FIG. 3 is a schematic diagram of the detection of the presence of conductor 17 between conductive electrodes Tx1 and Tx 2. Wherein, in this embodiment, the conductor 17 is a hand of a user.
Further, the processor 13 of this embodiment may not only determine the relative position between the conductor 17 close to the electronic device 1 and each of the conductive electrodes 12 according to the electric quantity sensed by each of the conductive electrodes 12 on the sides of the frame 11, but also determine the position information of the conductor 17 at any time by continuously charging each of the conductive electrodes 12 within a period of time, so as to obtain the moving track of the conductor 17 according to the plurality of discrete position information.
Moreover, after determining the relative position and the moving track of the conductor 17, the embodiment may also send the determined relative position and the moving track of the conductor 17 to the other electronic device 15, so that the other electronic device 15 performs corresponding operations according to the relative position and the moving track of the conductor 17, thereby implementing levitation control on the device.
Specifically, as shown in fig. 4, the electronic device 1 of the present invention further includes: and connecting lines 14.
The connection line 14 is connected to the processor 13 at one end and to the other electronic device 15 at the other end, and is used for transmitting the relative position between the conductor 17 and each conductive electrode 12 determined by the processor 13 to the other electronic device 15, so that the other electronic device 15 performs levitation control at the corresponding position according to the relative position transmitted by the processor 13.
Further, in this embodiment, the processor 13 may also send the determined movement trajectory between the conductor 17 and each conductive electrode 12 to the other electronic device 15, so that the other electronic device 15 performs corresponding operations according to the movement trajectory of the conductor 17, thereby implementing levitation control on the device. Of course, in this embodiment, the processor 13 may also send the determined relative position and moving trajectory between the conductor 17 and each conductive electrode 12 to the other electronic device 15, so that the other electronic device 15 performs corresponding control according to the relative position and moving trajectory of the conductor 17, thereby implementing levitation control on the device.
In this embodiment, the other electronic devices 15 may be, but are not limited to: a smart phone, a personal digital assistant, a palm computer, a tablet computer, etc., which are not limited in this embodiment.
That is, in the present embodiment, the processor 13 is connected to the other electronic devices 15 through the connection line 14, so that the processor 13 can directly send the determined information such as the relative position between the conductor 17 and each conductive electrode 12 to the other electronic devices 15 through the connection line 14, so that the other electronic devices 15 perform corresponding operation control according to the information such as the relative position, thereby implementing levitation control on the other electronic devices and improving the control experience of the user on the devices.
In addition, in the embodiment of the present invention, the frame 11 of the electronic device 1 may also be used to accommodate other electronic devices 15, as shown in fig. 4 specifically.
Specifically, in the actual use process, the size of the other electronic devices 15 includes various sizes, such as: 5.0 inches, 5.5 inches, 6.0 inches, 9.0 inches, etc., so in order to be able to better adapt to other electronic devices 15 with different sizes, the present embodiment may provide the frame 11 as a movable clamping frame 11, or a frame 11 with other shapes, which is not particularly limited in this embodiment.
Further, as shown in fig. 5, the electronic device 1 of the present invention may further include: and the touch screen 16 is arranged in the frame 11 to realize touch control of the suspension control device.
In another embodiment of the present invention, in order to enable a user to perform levitation control on the electronic device 1 in a handheld manner, in this embodiment, at least one conductive electrode 12 may be respectively disposed on each edge of the touch screen 16, and the conductive electrodes 12 are electrically connected to the processor 13 in the electronic device 1, so that when the user uses the electronic device 1 in the handheld manner, the user can not only operate the electronic device 1 in a touch manner, but also control the electronic device 1 in a levitation control manner, thereby increasing a control manner of the electronic device 1, and providing a basis for the user to use the electronic device 1 conveniently.
The process of providing at least one conductive electrode 12 on each side of the touch screen 16 to determine the relative position between the conductor 17 close to the electronic device 1 and each conductive electrode 12 at any time according to the electric quantity value sensed by each conductive electrode 12 when each conductive electrode 12 is charged will be described in detail below with reference to fig. 6 to 9.
First, as shown in fig. 6, two conductive electrodes 12 are respectively disposed on two long sides of the touch screen 16, which respectively include: TX2, TX3, TX5 and TX6, one conductive electrode 12 is respectively arranged on each of the two short strips: TX1 and TX 4. It should be noted that the conductive electrodes 12 disposed on each side of the touch screen 16 are only exemplary and are not meant to limit the present invention.
Next, the processor 13 is used to sequentially charge the six conductive electrodes 12, and obtain six sets of induced electric quantity values corresponding to the six conductive electrodes 12 during charging. After the processor 13 obtains the six groups of induced power, the processor 13 may analyze the six groups of induced power and a preset power, and if the Tx1 is charged, the Tx2, the Tx3 and the Tx4 all induce power normally, the Tx1 and the Tx5 induce power is weakened, and the Tx6 induces power is weakest; when Tx2 is charged, Tx1, Tx3, Tx4 and Tx5 are induced normally, Tx2 induced power is weakened, and Tx6 is induced abnormally; when Tx3 is charged, the other conductive electrodes 12 except Tx6 are all normally charged; if the Tx4 is charged, the Tx 2-Tx 5 all induce electric quantity normally, the influence of Tx6 is small, and the influence of Tx1 is large; when Tx5 is charged, Tx1 induced power is reduced, Tx 2-Tx 5 induced power is unchanged, and Tx6 induced power is slightly reduced; if the Tx6 is charged, the Tx1 induced power is small, the Tx2 is greatly affected, the Tx3 to Tx5 induced power is normal, and the Tx6 induced power is reduced, then after analyzing the above six sets of data, it can be determined that the conductor 17 near the electronic device 1 is located at the lower left corner, as shown in fig. 7.
Further, after the relative position between the conductor 17 and each conductor electrode 12 is determined, in order to determine the movement track of the conductor 17, in this embodiment, the processor 13 may further perform a charging operation on each conductive electrode 12 on each side of the touch screen 16 continuously and sequentially within a period of time, so as to obtain six groups of induced electric quantity conditions at different times, and determine the movement track of the conductor 17 on the touch screen 16 according to the six groups of induced electric quantities at different times.
When the concrete implementation is realized, the method can comprise the following steps: when the Tx1 is charged, the Tx1, Tx2 and Tx3 cannot normally induce electric quantity, that is, the electric quantity is reduced, and the Tx4, Tx5 and Tx6 induce electric quantity normally; when Tx2 is charged, Tx1 and Tx2 are affected the most, the induced electric quantity is reduced obviously, the induced electric quantity of Tx3, Tx4 and Tx5 is normal, and the induced electric quantity of Tx6 is reduced; when Tx3 is charged, Tx1 and Tx2 are affected, part of charges are sucked away by the conductor 17, and the induction capacity of other conductive electrodes 12 is normal; when Tx4 is charged, part of the charges Tx1 and Tx2 are absorbed by the conductor 17, and the induced charge of other conductive electrodes 12 is normal; when Tx5 is charged, Tx1 and Tx2 are affected, part of charges are absorbed by the conductor 17, Tx3, Tx4, Tx5 and Tx6 are not affected, and the induced electric quantity is normal; when Tx6 is charged, Tx2 induced charge is greatly affected, while other conductive electrodes 12 induced charge is normal. From this it can be determined that the conductor 17 is in the upper right corner position of the touch screen, as shown in particular in fig. 8.
It should be noted that the above determination process is only a simplified process, and in the actual determination process, because the processing frequency of the processor is high, when the conductor 17 is at different positions on the touch screen, a plurality of pieces of position information can be acquired, and therefore, when the conductor 17 is at different positions, a plurality of pieces of position information can be acquired, so that the accuracy and reliability of determining the position of the conductor 17 are higher.
Finally, based on the above analysis, it can be determined that the starting position of the conductor 17 is at the lower left corner of the touch screen 16, and the ending position is at the upper right corner, so that the moving track of the conductor 17 can be obtained from the bottom to the top, as shown in fig. 9.
Furthermore, the processor 13 can correspondingly control the electronic device 1 according to the determined relative position between the conductor 17 and each conductive electrode 12 in the touch screen 16 and the moving track of the conductor 17, thereby implementing the floating control of the electronic device 1 during the handheld control.
The electronic device provided by the embodiment of the invention is provided with a frame, conductive electrodes vertically arranged on the frame and a processor, wherein the processor is respectively electrically connected with the conductive electrodes and used for charging the conductive electrodes so as to detect the electric quantity values of the conductive electrodes, and then the relative position between a conductor close to the electronic device at any moment and the conductive electrodes is determined according to the detected electric quantity values in the conductive electrodes. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, and still provide the assurance for user and other people's personal safety, promoted user and used experience.
Based on the electronic equipment that above-mentioned embodiment provided, can know that electronic equipment can realize the suspension touch-control through set up conductive electrode on the frame to the electric quantity change condition according to each conductive electrode response, thereby make the control to electronic equipment more have variety and flexibility. The following describes in detail a control method of an electronic device according to an embodiment of the present invention based on the electronic device.
Specifically, as shown in fig. 10, the electronic device control method may include the steps of:
step 110, determining the working state and the actual electric quantity value of each conductive electrode arranged on the frame of the electronic device at the current moment.
In this embodiment, the working state of each conductive electrode may include: a charging state, an induction state, etc., and is not particularly limited herein.
In a specific implementation, the operating state and the actual electric quantity value of each conductive electrode may be determined by a processor in the electronic device, which is not specifically limited in this embodiment.
And step 112, determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state.
The preset electric quantity value may be adaptively set according to actual conditions, and this embodiment is not particularly limited to this.
That is, when the conductive electrode is operating in a charging state, a predetermined charge value for the charging state can be determined; when the conductive electrode works in the sensing state, the preset electric quantity value in the sensing state can be determined.
For example, if the operating state of the conductive electrode a is the sensing state, the preset electric value of the conductive electrode a in the sensing state can be determined.
Step 114, determining the relative position between the conductor close to the electronic device and each conductive electrode according to the actual electric quantity value and the preset electric quantity value of each conductive electrode.
Specifically, after determining the actual electric quantity value and the preset electric quantity value of each conductive electrode, the embodiment may match the actual electric quantity value and the preset electric quantity value. If the matching is successful, it is indicated that no conductor close to the electronic equipment exists at the current moment; if the matching is not successful, the fact that the conductor close to the electronic equipment exists at the current moment is indicated, and at this moment, the relative positions of the conductor close to the electronic equipment and the conductive electrodes need to be further determined.
In specific implementation, the part with failed matching can be inquired in the matching result, and then the part with failed matching is analyzed, so that the relative positions of the conductor close to the electronic equipment and each conductive electrode can be determined. Therefore, the suspension touch detection of the electronic equipment 1 is realized according to the electric quantity change condition of each conductive electrode induction 12, and the control flexibility and diversity of the electronic equipment 1 are increased.
The electronic device control method provided by the embodiment of the invention comprises the steps of firstly determining the working state and the actual electric quantity value of each conductive electrode arranged on the frame of the electronic device at the current moment, then determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state, and determining the relative position of a conductor close to the electronic device and each conductive electrode at the current moment according to the actual electric quantity value and the preset electric quantity value of each conductive electrode. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, still for user and other people's personal safety provide the assurance, promoted user and used experience.
Through the analysis, the electronic device determines the relative positions of the conductor close to the electronic device and the conductive electrodes according to the actual electric quantity value and the preset electric quantity value of the conductive electrodes. In order to more accurately control the electronic device according to the conductor currently close to the electronic device, in a specific implementation of this embodiment, the relative positions of the conductor and each conductive electrode at different times may also be obtained in a continuous time period, and then the motion trajectory of the conductor is determined according to the different relative positions, so that the electronic device performs corresponding control according to the motion trajectory. The following describes the electronic device control method in the above case in detail with reference to fig. 11.
Fig. 11 is a flowchart illustrating an electronic device control method according to another embodiment of the present invention.
As shown in fig. 11, the electronic device control method may include the steps of:
and step 120, determining the working state and the actual electric quantity value of each conductive electrode arranged on the frame of the electronic equipment at the current moment.
It should be noted that, since the electronic device of the present invention may include N conductive electrodes, where N is a positive integer greater than 1.
Therefore, in step 120, the present invention can determine the current working state and the actual electric quantity value of each conductive electrode through the following steps, as shown in fig. 12.
Fig. 12 is a flowchart illustrating a process of determining an operating state and an actual electric quantity value of each conductive electrode disposed on a frame of an electronic device at the current moment according to an embodiment of the present invention.
And 140, charging the ith conductive electrode, and detecting the electric quantity value of each conductive electrode, wherein i is a positive integer less than or equal to N.
And 142, determining the electric quantity value of each electrode when the ith electrode is in a charging state and the rest N-1 electrodes are in an induction state according to the detection result.
That is, the present invention determines the electric quantity value of each conductive electrode in the charging state and the electric quantity value in the sensing state by sequentially performing the charging operation on the N conductive electrodes.
And step 122, determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state.
Step 124, determining the relative position between the conductor close to the electronic device and each conductive electrode according to the actual electric quantity value and the preset electric quantity value of each conductive electrode.
The detailed implementation process and principle of the steps 122-124 can refer to the detailed description of the above embodiments, and are not described herein again.
And step 126, determining the motion track of the conductor according to the relative positions of the conductor and the conductive electrodes in the continuous time period.
Specifically, in the present embodiment, a plurality of discrete relative positions between the conductor and each conductive electrode in a continuous time period are obtained, so that after the plurality of discrete relative positions are analyzed, the motion trajectory of the conductor can be determined.
And step 128, determining a target control mode corresponding to the current motion track according to the corresponding relation between the preset track and the control mode.
And step 130, controlling the electronic equipment according to the target control mode.
The corresponding relationship between the preset trajectory and the control manner in this embodiment may be established according to a large number of experiments, which is not specifically limited in this embodiment.
For example, if the conductor motion trajectory is: and if the electronic equipment runs from the left side to the right side, the electronic equipment can match the motion trail with a preset corresponding relation to determine a corresponding control mode, and then control the electronic equipment to execute corresponding operation according to the determined control mode.
It should be noted that, in this embodiment, the pre-established trajectory and the control mode may also be updated according to actual needs, so as to improve the control speed of the electronic device, and thus improve the reflection capability of the electronic device.
Further, in another embodiment of the present invention, the electronic device of the present invention may further include: a touch screen.
Therefore, after step 124, the electronic device control method may further include:
determining a target detection area on the touch screen according to the relative positions of the conductor and each conductive electrode;
and detecting a target detection area on the touch screen to determine the current operation position of the user.
Specifically, in the prior art, when the touch screen detects the operation position of the user, the whole touch screen area is usually detected in real time, which not only affects the processing speed of the electronic device, but also causes waste of electric quantity. In contrast, the method and the device have the advantages that the detection range of the screen operation position is narrowed by performing regional detection on the touch screen, namely judging according to the position of the suspension operation, so that the operation position of the user on the touch screen is detected, the speed of detecting the screen touch position is increased, the processing amount of a processor is saved, and the use experience of the user is improved.
In another embodiment of the present invention, the electronic device may further be communicatively connected to other electronic devices, so as to send the relative positions of the current conductor and each conductive electrode to the other connected electronic devices after determining the relative positions of the conductor and each conductive electrode that are currently close to the electronic device, so that the other electronic devices may perform corresponding operation control according to the relative positions, thereby implementing levitation control on the other electronic devices, and improving control experience of a user on the devices.
The electronic equipment control method provided by the embodiment of the invention comprises the steps of firstly determining the working state and the actual electric quantity value of each conductive electrode arranged on a frame of the electronic equipment at the current moment, then determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state, determining the relative position of a conductor close to the electronic equipment and each conductive electrode at the current moment according to the actual electric quantity value and the preset electric quantity value of each conductive electrode, determining the motion track of the conductor according to each relative position of the conductor and each conductive electrode in a continuous time period, then determining the target control mode corresponding to the current motion track according to the corresponding relation between the preset track and the control modes, and controlling the electronic equipment according to the target control mode. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, still for user and other people's personal safety provide the assurance, promoted user and used experience. And moreover, the electronic equipment can be controlled according to a target control mode, so that the control speed of the electronic equipment is increased, the operation smoothness of the equipment is improved, and the user requirements are met.
In order to implement the above embodiments, the present invention further provides an electronic device.
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 13, the electronic apparatus includes: the device comprises a frame 11, conductive electrodes 12 vertically arranged on the frame 11 and a processor 13;
the processor 13 is configured to execute the electronic device control method according to the second aspect. The electronic equipment control method comprises the following steps: determining the working state and the actual electric quantity value of each conductive electrode arranged on the frame of the electronic equipment at the current moment; determining each preset electric quantity value corresponding to the working state of each conductive electrode according to the relation between the preset electric quantity value and the working state; and determining the relative positions of the conductor close to the electronic equipment and the conductive electrodes according to the actual electric quantity value and the preset electric quantity value of the conductive electrodes.
It should be noted that, for the implementation process and the technical principle of the electronic device of the embodiment, reference is made to the foregoing explanation of the electronic device control method of the embodiment of the second aspect, and details are not repeated here.
The electronic device provided by the embodiment of the invention is provided with a frame, conductive electrodes vertically arranged on the frame and a processor, wherein the processor is respectively electrically connected with the conductive electrodes and used for charging the conductive electrodes so as to detect the electric quantity values of the conductive electrodes, and then the relative position between a conductor close to the electronic device at any moment and the conductive electrodes is determined according to the detected electric quantity values in the conductive electrodes. From this, through the conductive electrode who sets up in the space to electric quantity according to each conductive electrode response changes, realizes suspending touch-control and detects, thereby not only increased control flexibility and the variety to electronic equipment, still for user and other people's personal safety provide the assurance, promoted user and used experience.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.