Control method, control device, electronic equipment and readable storage medium

文档序号:1888566 发布日期:2021-11-26 浏览:5次 中文

阅读说明:本技术 一种控制方法、装置、电子设备和可读存储介质 (Control method, control device, electronic equipment and readable storage medium ) 是由 王珅 于 2021-08-24 设计创作,主要内容包括:本申请公开了一种控制方法、装置、电子设备和可读存储介质,属于电子设备控制技术领域。其中,所述方法应用于电子设备,所述电子设备包括天线,所述方法包括:检测所述天线的反射电压与输入电压的比值;在所述比值偏离预设比值范围的情况下,根据所述比值持续偏离所述阈值范围的时长,生成触控信号或调谐信号;在检测到所述触控信号的情况下,响应于所述触控信号,执行对应的触控响应操作;在检测到所述调谐信号的情况下,响应于所述调谐信号,调整所述天线的阻抗匹配状态。(The application discloses a control method, a control device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment control. The method is applied to an electronic device, the electronic device comprises an antenna, and the method comprises the following steps: detecting a ratio of a reflected voltage to an input voltage of the antenna; under the condition that the ratio deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range; under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation; adjusting an impedance matching state of the antenna in response to the tuning signal in the event that the tuning signal is detected.)

1. A control method, applied to an electronic device including an antenna, the method comprising:

detecting a ratio of a reflected voltage to an input voltage of the antenna;

under the condition that the ratio deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range;

under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation;

adjusting an impedance matching state of the antenna in response to the tuning signal in the event that the tuning signal is detected.

2. The control method according to claim 1, wherein generating a touch signal or a tuning signal according to a duration that the ratio continuously deviates from the threshold range when the ratio deviates from a preset ratio range comprises:

generating a touch signal according to the duration under the condition that the ratio deviates from a preset ratio range and the duration of the ratio continuously deviating from the threshold range is less than or equal to a preset duration threshold;

and generating a tuning signal according to the ratio under the condition that the ratio deviates from the preset ratio range and the time length of the ratio continuously deviating from the threshold range is greater than the preset time length threshold.

3. The control method according to claim 2, wherein the electronic device establishes in advance a correspondence relationship between a duration range in which a ratio of the reflected voltage to the input voltage deviates from the preset ratio range and a touch signal;

generating a touch signal according to the duration, including:

determining a target duration range in which the duration is located;

and determining the touch signal according to the target duration range and the corresponding relation.

4. The control method of claim 2, wherein the antenna comprises a plurality of antenna areas;

generating a touch signal according to the duration, including:

determining a first antenna area for touch control according to the ratio;

and determining a touch signal corresponding to the first antenna area according to the duration.

5. The control method of claim 4, wherein generating a tuning signal based on the ratio comprises:

determining a second antenna area for touch control according to the ratio;

and determining a tuning signal corresponding to the second antenna area according to the time length.

6. A control apparatus, applied to an electronic device including an antenna, the apparatus comprising:

the detection module is used for detecting the ratio of the reflected voltage of the antenna to the input voltage;

the signal generation module is used for generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range under the condition that the ratio deviates from a preset ratio range;

the first control module is used for responding to the touch signal and executing corresponding touch response operation under the condition of detecting the touch signal;

a second control module for adjusting an impedance matching state of the antenna in response to the tuning signal if the tuning signal is detected.

7. The control device of claim 6, wherein the signal generation module comprises:

the first signal generation unit is used for generating a touch signal according to the duration when the ratio deviates from a preset ratio range and the duration of the ratio continuously deviating from the threshold range is less than or equal to a preset duration threshold;

and the second signal generation unit is used for generating a tuning signal according to the ratio under the condition that the ratio deviates from the preset ratio range and the time length of the ratio continuously deviating from the threshold range is greater than the preset time length threshold.

8. The control device according to claim 7, wherein the electronic apparatus establishes in advance a correspondence relationship between a duration range in which a ratio of the reflected voltage to the input voltage deviates from the preset ratio range and a touch signal;

the first signal generation unit includes:

the first determining subunit is used for determining a target duration range in which the duration is located;

and the second determining subunit is used for determining the touch signal according to the target duration range and the corresponding relation.

9. The control device of claim 7, wherein the antenna comprises a plurality of antenna regions;

the first signal generation unit includes:

the third determining subunit is used for determining a first antenna area for touch control according to the ratio;

and the fourth determining subunit is configured to determine, according to the duration, a touch signal corresponding to the first antenna area.

10. The control device according to claim 9, wherein the second signal generation unit includes:

a fifth determining subunit, configured to determine, according to the ratio, a second antenna area for touch control;

a sixth determining subunit, configured to determine, according to the time duration, a tuning signal corresponding to the second antenna area.

11. An electronic device comprising an antenna, a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the control method according to claims 1-5.

Technical Field

The application belongs to the technical field of electronic equipment control, and particularly relates to a control method, a control device, electronic equipment and a readable storage medium.

Background

Currently, in order to improve antenna signals, more and more antennas of mobile terminals such as mobile phones are distributed around the body; meanwhile, in order to pursue a higher screen occupation ratio, the control keys of the mobile terminal are also distributed on the side or the top of the body and the like.

However, the above arrangement makes the antenna and the key have certain mutual influence in design and actual use. For example, the signal traces of the keys themselves may have an effect on the performance of the antenna, as well as the performance of the antenna when a user touches and presses the keys.

In addition, as the number of antennas of mobile terminals such as mobile phones increases, antennas may be designed in the screen of the touch display screen in the future, and in such a case, the antenna conductor generally covers the touch layer of the screen, which causes a problem that the antenna area cannot implement a touch function.

Disclosure of Invention

The embodiment of the application aims to provide a control method, which can solve the problem that in the prior art, the antenna function and the key function are interfered with each other due to the overlapping of the antenna setting position and the control key setting position.

In order to solve the technical problem, the present application is implemented as follows:

in a first aspect, an embodiment of the present application provides a control method, where the control method is applied to an electronic device, where the electronic device includes an antenna, and the method includes:

detecting a reflected voltage and an input voltage of the antenna;

under the condition that the ratio of the reflection voltage to the input voltage deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration of the ratio continuously deviating from the threshold range;

under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation;

in the case that the touch tuning signal is detected, adjusting an impedance matching state of the antenna in response to the tuning signal.

In a second aspect, an embodiment of the present application provides a control apparatus, where the control apparatus is applied to an electronic device, where the electronic device includes an antenna, and the apparatus includes:

the detection module is used for detecting the reflected voltage and the input voltage of the antenna;

the signal generation module is used for generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range under the condition that the ratio of the reflection voltage to the input voltage deviates from a preset ratio range;

the first control module is used for responding to the touch signal and executing corresponding touch response operation under the condition of detecting the touch signal;

and the second control module is used for responding to the tuning signal and adjusting the impedance matching state of the antenna under the condition of detecting the touch tuning signal.

In a third aspect, an embodiment of the present application provides an electronic device, which includes an antenna, and further includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when executed by the processor, the program or the instruction implements the steps of the method according to the first aspect.

In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.

In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.

In the embodiment of the application, the ratio between the reflected voltage and the input voltage of the antenna is detected; under the condition that the ratio deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range; under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation; and in the case of detecting the touch tuning signal, adjusting the impedance matching state of the antenna in response to the tuning signal. In the control process, the range to which the response of the system belongs is judged by detecting the change of the ratio of the reflected voltage to the input voltage when the antenna is touched and the duration of the change, so that a corresponding touch signal or tuning signal is generated, and a corresponding touch response operation is executed when the touch signal is generated, so that the corresponding touch input can be realized by utilizing the difference of signal interference caused by different touch operations on the antenna; when the tuning signal is generated, the impedance matching state of the antenna is correspondingly adjusted according to the ratio, so that the impedance matching state of the antenna can be improved, and the antenna signal is improved. Therefore, the control mode solves the problem that in the prior art, the antenna function and the key function are interfered with each other due to the overlapping of the antenna setting position and the control key setting position.

Drawings

FIG. 1 is a flow chart illustrating steps of a control method provided by an embodiment of the present application;

FIG. 2 is a system architecture diagram of an electronic device in an embodiment of the present application;

FIG. 3 is a schematic diagram illustrating connection relationships among components of an electronic device according to an embodiment of the present application;

FIG. 4 is a schematic diagram of a control logic of an electronic device in an embodiment of the present application;

FIG. 5 is a schematic diagram of another control logic of the electronic device in the embodiment of the present application;

fig. 6 is a schematic diagram of antenna area division in the embodiment of the present application;

FIG. 7 is a schematic structural diagram of a control device provided in an embodiment of the present application;

fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.

Referring to fig. 1, a flowchart illustrating steps of a control method according to an embodiment of the present application is shown, where the method may include steps 100 to 400.

In an embodiment of the present application, the method is applied to an electronic device, the electronic device includes an antenna, and the electronic device may be a mobile electronic device such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), or may also be a non-mobile electronic device such as a Personal Computer (PC), a television (television, TV), a teller machine, or a self-service machine, as long as the electronic device is provided with the antenna.

The antenna can be an external surface antenna or an internal antenna; the internal antenna includes, but is not limited to, an antenna built in a body of the electronic device, or an antenna built in a component such as a screen. The wearable equipment can be a smart watch, smart glasses and the like; the antenna of the intelligent watch can be arranged on the front face or the side wall of the dial plate, so that a user can conveniently touch and operate the intelligent watch; the antenna of intelligent glasses can set up in lens department or mirror leg department, and the user of being convenient for touches.

Step 100, detecting the ratio of the reflected voltage of the antenna to the input voltage.

In step 100, the electronic device in the embodiment of the present application has a Closed Loop tuning system, and may use a Closed Loop tuning (Closed Loop Tuner) technique to detect a deviation of an antenna impedance, where the deviation of the antenna impedance is described by a ratio of a reflected voltage of an antenna to an input voltage, and therefore it is necessary to continuously detect the reflected voltage and the input voltage of the antenna, and calculate a ratio of the reflected voltage and the input voltage to obtain the ratio.

And 200, under the condition that the ratio deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration of the ratio continuously deviating from the threshold range.

In the step 200, the preset ratio range is a range corresponding to a threshold value that is determined to be regulated according to the antenna impedance deviation; under the condition that the ratio of the reflection voltage to the input voltage is within the preset ratio range, the normal antenna impedance fluctuation is judged, so that a touch signal or a tuning signal cannot be generated, and the situation that a user mistakenly touches the area where the antenna is located to cause the change of the ratio of the reflection voltage to the input voltage of the antenna and cause the electronic equipment to perform unnecessary control action can be prevented;

when the ratio of the reflected voltage to the input voltage deviates from the preset ratio range, that is, the ratio exceeds or is not in the preset ratio range, the impedance fluctuation of the antenna is large, and the antenna needs to be adjusted in an impedance matching state to weaken the interference on the efficiency of the antenna, so that a tuning signal is generated to trigger the electronic equipment to optimize the impedance matching state of the antenna; when the ratio of the reflected voltage to the input voltage deviates from the preset ratio range, the antenna may be caused by a touch operation performed on the antenna area intentionally by a user, so as to generate a touch signal to trigger the electronic device to perform a corresponding touch response operation, thereby meeting the user requirement.

Therefore, when the ratio deviates from the preset ratio range, whether the antenna impedance deviation is caused by a touch operation with a touch indication intentionally performed by a user or the antenna impedance deviation is caused by a continuous touch operation without a touch indication performed by the user on the antenna area can be distinguished according to a duration of the deviation of the ratio from the threshold ratio range, so as to generate a touch signal or a tuning signal correspondingly.

In practical application, because the skin and muscle tissue of a human body are substances with very high dielectric constants, when a mobile terminal is used by being called or held by hand, as long as a human body limb such as a hand approaches or contacts an antenna, the phenomena of antenna impedance deviation and electromagnetic wave absorption can be caused, and the phenomena can influence the antenna efficiency in the working frequency band of the antenna, so that the wireless communication performance of the electronic equipment is reduced.

Step 300, under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation.

In the step 300, since it is indicated that the duration of the antenna impedance deviation caused by the current touch operation of the user on the antenna falls within the duration range corresponding to the touch response when the touch signal is detected, the electronic device responds to the touch signal and executes the touch response operation corresponding to the touch signal, thereby implementing the function corresponding to the touch operation of the user.

In the step 300, it is equivalent to use the antenna area as a touch key or a physical key, that is, to add and set a touch response function in the closed-loop tuning system, and determine the specific touch operation performed by the user by detecting the change of the ratio of the reflected voltage to the input voltage caused by the touch operation of the user on the antenna area, so as to generate a corresponding touch signal, and then perform the corresponding touch response operation.

Step 400, in the case that the tuning signal is detected, adjusting an impedance matching state of the antenna in response to the tuning signal.

In the step 400, since it is indicated that the duration of the antenna impedance deviation caused by the current touch operation of the user on the antenna falls within the duration range corresponding to the tuning response under the condition that the tuning signal is detected, the electronic device responds to the tuning signal and adjusts the impedance matching state of the antenna to weaken the influence of the impedance mismatch on the antenna efficiency of the antenna in the working frequency band, and avoid reducing the performance of the wireless communication of the electronic device.

In practical applications, for impedance deviation generated by an antenna when a human body approaches or contacts the antenna, a Closed Loop tuning (Closed Loop Tuner) technology is specifically used to detect a deviation condition of the antenna impedance, and the antenna impedance is switched to a matching circuit preset by a Closed Loop tuning system through a switch to adjust the antenna impedance to a normal state, that is, the antenna impedance is adjusted to the ratio and restored to the threshold ratio range.

According to the control method provided by the embodiment of the application, the ratio of the reflection voltage of the antenna to the input voltage is detected; under the condition that the ratio deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range; under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation; and in the case of detecting the touch tuning signal, adjusting the impedance matching state of the antenna in response to the tuning signal. In the control process, the range to which the response of the system belongs is judged by detecting the change of the ratio of the reflected voltage to the input voltage when the antenna is touched and the duration of the change, so that a corresponding touch signal or tuning signal is generated, and a corresponding touch response operation is executed when the touch signal is generated, so that the corresponding touch input can be realized by utilizing the difference of signal interference caused by different touch operations on the antenna; when the tuning signal is generated, the impedance matching state of the antenna is correspondingly adjusted according to the ratio, so that the impedance matching state of the antenna can be improved, and the antenna signal is improved. Therefore, the control mode solves the problem that in the prior art, the antenna function and the key function are interfered with each other due to the overlapping of the antenna setting position and the control key setting position.

Optionally, in an implementation manner of the control method provided in the embodiment of the present invention, the step 200 includes steps 201 to 202.

Step 201, generating a touch signal according to the duration when the ratio deviates from a preset ratio range and the duration of the ratio continuously deviating from the threshold range is less than or equal to a preset duration threshold.

In step 201, the preset duration threshold is a duration threshold defining a duration range corresponding to the touch response and a duration range corresponding to the tuning response, that is, the duration is divided into two duration ranges, namely, the duration range corresponding to the touch response and the duration range corresponding to the tuning response, by using the threshold duration threshold; the longer the duration of the antenna impedance deviation caused by the touch operation of the user on the antenna is, the greater the influence on the antenna efficiency and the wireless communication performance of the electronic device is, so that the duration range in which the duration of the antenna impedance deviation is less than or equal to the preset duration threshold may be set as the duration range corresponding to the touch response, and the duration range greater than the preset duration threshold may be set as the duration range corresponding to the tuning response.

Therefore, when the duration of the deviation of the ratio from the preset ratio range is less than or equal to the preset duration threshold, it indicates that the duration of the antenna impedance deviation caused by the current antenna touch operation of the user belongs to the duration range corresponding to the touch response, that is, the current antenna impedance deviation is caused by the user intentionally performing the touch operation with the touch indication, so that the corresponding touch signal is generated according to the specific duration of the deviation of the ratio from the preset ratio range to respond to the touch operation of the user.

Step 202, under the condition that the ratio deviates from the preset ratio range and the duration of the ratio continuously deviating from the threshold range is greater than the preset duration threshold, generating a tuning signal according to the ratio.

In the step 202, when the duration of the ratio deviating from the preset ratio range is greater than or equal to the preset duration threshold, it is indicated that the duration of the antenna impedance deviation caused by the current touch operation of the user on the antenna belongs to the duration range corresponding to the tuning response, that is, the current antenna impedance deviation is not caused by the user intentionally performing the touch operation with the touch indication, so that according to the specific duration of the ratio deviating from the preset ratio range, a corresponding tuning signal is generated to adjust the impedance matching state of the antenna, reduce the influence of the impedance mismatching on the antenna efficiency of the antenna in the working frequency band, and avoid reducing the performance of the wireless communication of the electronic device.

In the foregoing embodiment, when the ratio of the reflection voltage to the input voltage of the antenna deviates from the preset ratio range, if the duration of the deviation of the ratio from the preset ratio range is less than or equal to the preset duration threshold, the touch signal is generated, otherwise, the tuning signal is generated, so that the difference of signal interference caused by different touch operations on the antenna can be more reasonably utilized, the corresponding touch input is realized, the impedance matching state of the antenna is improved to a greater extent, the antenna signal is improved, and the problem of mutual interference between the antenna function and the key function due to the overlapping of the setting position of the antenna and the setting position of the control key is effectively reduced.

Optionally, in a specific implementation manner, in the control method provided in the embodiment of the present invention, the electronic device pre-establishes a correspondence between a duration range in which a ratio between the reflection voltage and the input voltage deviates from the preset ratio range and the touch signal; the step 201 includes steps 2011-2012.

In this embodiment, the time duration range for which the ratio of the reflection voltage to the input voltage of the antenna required by different touch signals deviates from the preset ratio range is set in advance according to the actual conditions of the antenna and the electronic device, so as to determine the corresponding relationship.

Step 2011, determining a target duration range where the duration is located.

In step 2011, because the time length ranges required by triggering different touch signals are different when the ratio of the reflected voltage to the input voltage deviates from the preset ratio range, it is required to determine which time length range of the time length ranges corresponding to the touch signals the sustained time length belongs to, so as to determine the target time length range.

Step 2012, determining the touch signal according to the target duration range and the corresponding relationship.

In step 2012, because the correspondence relationship presets a duration range in which the ratio of the reflected voltage to the input voltage of the antenna required by different touch signals deviates from the preset ratio range, when it is determined that the ratio of the reflected voltage to the input voltage of the antenna caused by the current touch operation performed on the antenna area by the user deviates from the preset ratio range and the duration corresponds to the target duration range, the touch signal corresponding to the target duration range, that is, the control signal expressed by the current touch operation performed on the antenna area by the user, may be determined according to the correspondence relationship.

In the above embodiment, the duration range in which the ratio of the reflection voltage to the input voltage of the antenna required by different touch signals deviates from the preset ratio range is set according to the actual conditions of the antenna and the electronic device in advance, so that the fault tolerance rate of the touch signals required by the user through triggering the antenna area can be improved, and convenience is brought to the user.

Optionally, in an embodiment, the antenna includes a plurality of antenna regions; step 201 includes steps 2013 to 2014.

In this embodiment, the antenna surface is divided into a plurality of antenna areas in advance according to the specific structure of the antenna, and when each antenna area is touched by a user, the ratio between the corresponding reflection voltage and the input voltage is different.

Step 2013, determining the first antenna area for touch control according to the ratio.

In the step 2013, since the ratio between the reflected voltage and the input voltage of each antenna area is different when the antenna area is touched by the user, the antenna area touched by the user can be distinguished and determined by detecting the variation degree of the ratio between the reflected voltage and the output voltage of the antenna.

Optionally, a corresponding relationship between a ratio range and an antenna area may be established in advance according to a specific structure of the antenna, where the ratio is a ratio between the reflected voltage and the input voltage; after the actual ratio between the reflection voltage and the input voltage of the antenna is calculated, the ratio range where the actual ratio is located is judged, and then the antenna area touched by a user can be determined.

By the aid of the method, the fault tolerance of the antenna area which is specifically touched by a user and is judged according to the actual ratio between the reflection voltage and the input voltage of the antenna can be improved, the identification error of the antenna area caused by slight fluctuation of the ratio is avoided, and convenience is provided for triggering the corresponding control signal by the user touch the antenna area.

Step 2014, determining a touch signal corresponding to the first antenna area according to the duration.

In the step 2014, after the first antenna area currently and specifically touched by the user is determined in the step 2013, on the premise that the duration of the deviation of the ratio from the preset ratio range is less than or equal to the preset duration threshold, the specific touch operation performed on the first antenna area by the user can be determined according to the duration of the deviation of the ratio from the preset ratio range, so as to generate the touch signal for the first antenna area.

In the above embodiment, the antenna surface is divided into a plurality of antenna areas, the antenna area where a user specifically triggers a touch is distinguished and judged by detecting the variation degree of the ratio of the reflected voltage to the output voltage of the antenna, and the specific touch signal for the antenna area is determined by combining the duration of the variation, so that the touch function realized by the antenna can be increased.

Optionally, in a specific implementation manner of the control method provided in the embodiment of the present invention, the step 202 includes steps 2021 to 2022.

Step 2021, determining the second antenna area for touch control according to the ratio.

The above step 2021 can refer to the detailed description of step 2013, and is not described herein again.

Step 2022, determining a tuning signal corresponding to the second antenna area according to the duration.

In the step 2022, after the second antenna area currently and specifically touched by the user is determined in the step 2021, on the premise that the duration of the deviation of the ratio from the preset ratio range is greater than the preset duration threshold, the touch operation performed by the user on the second antenna area may be determined, so as to generate the tuning signal for the second antenna area.

In the above embodiment, by dividing the antenna surface into a plurality of antenna areas, detecting the variation degree of the ratio of the reflected voltage to the output voltage of the antenna, distinguishing and judging the antenna area where the user specifically triggers the touch, and determining the specific touch signal or tuning signal for the antenna area according to the duration of the variation, the touch function implemented by the antenna can be increased, and the antenna input impedance improving function can be increased.

Referring to fig. 2 and fig. 3, fig. 2 shows a system architecture diagram of the electronic device 21 in the embodiment of the present application, and fig. 3 shows a connection relationship diagram of components of the electronic device 21 in the embodiment of the present application.

As shown in fig. 2 and 3, the electronic device includes storage and processing circuitry 210, and input-output circuitry 220;

the storage and processing circuitry 210 at least comprises a touch input module 211 and a tuning control module 212; the input-output circuitry 220 includes input-output devices 221 and wireless communication circuitry 222. the wireless communication circuitry 222 includes a local connection transceiver 223, a cellular network connection transceiver 224, an antenna input-reflected voltage detection circuit 225, a tuning circuit 226, and an antenna 227. The local connection transceiver 223 includes a WiFi module, a bluetooth module, and the like.

The local connection transceiver 223 and the cellular network connection transceiver 224 are respectively connected to the antenna input-reflected voltage detection circuit 225 through lines 11 and 12, and further respectively connected to the tuning circuit 226 through line 13, the touch input module 211 through line 15, and the tuning control module 212 through line 16; the tuning circuit 226 is connected to the antenna 227 via line 14 and to the tuning control module 212 via line 17, respectively.

It should be noted that the local connection transceiver 223 and the cellular network connection transceiver 224 are not necessarily both connected to the antenna input-reflected voltage detection circuit 225, and need to be determined according to the actual function of the antenna 227. For example, if the antenna is the antenna corresponding to the cellular network 224, the cellular network connection transceiver 224 needs to be connected to the antenna input-reflected voltage detection circuit 225.

Referring to fig. 4, a schematic diagram of a control logic of an electronic device in an embodiment of the present application is shown.

As shown in fig. 4, in step 401, the antenna input-reflected voltage detection circuit 225 detects whether the reflected/input voltage ratio of the antenna deviates from the preset ratio range, if so, in step 402, otherwise, the detection is turned on again;

in step 402, when a human body touches the antenna area to change the reflection/input voltage ratio of the antenna and exceed the preset ratio range, determining which response range the reflection/input voltage ratio of the antenna is in through the duration of the change;

in step 403, if the duration of the change is less than the preset duration threshold, determining that the touch response range is reached; judging that the time is longer than the preset time threshold value to be a tuning response range;

the duration of the change is divided into n touch corresponding sub-ranges 1,2, …, n in advance, touch signals St1, St2, …, Stn are respectively generated, and then after the touch sub-range of the duration of the change is determined, the corresponding touch signal is sent to the touch input module 211; the touch input module 211 implements corresponding touch input functions according to the received touch signals St1, St2, …, Stn, respectively;

wherein, the judgment that the time is longer than the preset time threshold is the tuning response range, and generates a tuning signal Si, and sends the tuning signal Si to the tuning control module 212; the tuning control module 212 controls the tuning circuit 226 to adjust the circuit operation mode according to the received tuning signal Si, so as to optimize the impedance matching state of the antenna 227.

Referring to fig. 5, a schematic diagram of another control logic of an electronic device in an embodiment of the present application is shown.

As shown in fig. 5, the surface of the antenna 227 is divided into n regions, i.e., a1, a2, …, An, etc., according to the formation of the antenna, and the shape and the division manner of the region of the antenna 227 can be referred to fig. 6;

in step 501, the antenna input-reflected voltage detection circuit 225 detects whether the reflected/input voltage ratio of the antenna deviates from the preset ratio range, if so, in step 502, otherwise, the detection is restarted;

in step 502, when the human body touches the antenna area to change the reflection/input voltage ratio of the antenna and exceed the preset ratio range, distinguishing and judging the area touched by the human body according to the changed value of the reflection/input voltage ratio of the antenna;

in step 503, determining in which response range the reflected/input voltage ratio of the antenna is by the time of the duration of the change;

in step 504, if the duration of the change is less than the preset duration threshold, it is determined as the touch response range, and if the duration of the change is longer than the preset duration threshold, it is determined as the tuning response range;

wherein, the touch response range is divided into response sub-ranges (1,1), (1,2), …, (m, n) according to the sub-range of the time of the antenna reflection/input voltage ratio change and the touch area, and touch signals (St1, a1), (St1, a2), …, (Stm, An) are respectively generated; dividing the tuning response range into sub-ranges 1,2, …, n according to the touch region, and respectively generating tuning signals (A1), (A2), …, (An);

then, according to the range of the time of the change duration of the antenna reflection/input voltage ratio, combining the determined human body touch area, generating a specific touch signal or tuning signal for the area, sending the corresponding touch signal to the touch input module 211, and sending the corresponding tuning signal to the tuning control module 212;

the touch input module 211 implements corresponding touch input functions according to the received touch signals St1, St2, …, Stn, respectively; the tuning control module 212 controls the tuning circuit 226 to adjust the circuit operation mode according to the received tuning signals (a1), (a2), …, and (An), so as to optimize the impedance matching state of the antenna 227.

It should be noted that, in the control method provided in the embodiment of the present application, the execution main body may be an electronic device, or a control module used for executing the loading control method in the electronic device. In the embodiment of the present application, an electronic device executing a loading control method is taken as an example to describe the control method provided in the embodiment of the present application.

Referring to fig. 7, a schematic structural diagram of a control device according to an embodiment of the present application is shown, and as shown in fig. 7, the control device 70 according to the embodiment of the present application is applied to an electronic device, where the electronic device includes an antenna, and the device includes:

a detection module 71, configured to detect a ratio of a reflected voltage of the antenna to an input voltage;

the signal generating module 72 is configured to generate a touch signal or a tuning signal according to a duration that the ratio continuously deviates from the threshold range when the ratio deviates from a preset ratio range;

a first control module 73, configured to, in a case that the touch signal is detected, execute a corresponding touch response operation in response to the touch signal;

a second control module 74 for adjusting an impedance matching state of the antenna in response to the tuning signal if the tuning signal is detected.

Optionally, in the control apparatus, the signal generating module 72 includes:

the first signal generation unit is used for generating a touch signal according to the duration when the ratio deviates from a preset ratio range and the duration of the ratio continuously deviating from the threshold range is less than or equal to a preset duration threshold;

and the second signal generation unit is used for generating a tuning signal according to the ratio under the condition that the ratio deviates from the preset ratio range and the time length of the ratio continuously deviating from the threshold range is greater than the preset time length threshold.

Optionally, in the control apparatus, the electronic device is pre-configured with a correspondence relationship between a duration range in which a ratio of the reflected voltage to the input voltage deviates from the preset ratio range and a touch signal;

the first signal generation unit includes:

the first determining subunit is used for determining a target duration range in which the duration is located;

and the second determining subunit is used for determining the touch signal according to the target duration range and the corresponding relation.

Optionally, in the control device, the antenna includes a plurality of antenna regions;

the first signal generation unit includes:

the third determining subunit is used for determining a first antenna area for touch control according to the ratio;

and the fourth determining subunit is configured to determine, according to the duration, a touch signal corresponding to the first antenna area.

Optionally, in the control apparatus, the second signal generating unit includes:

a fifth determining subunit, configured to determine, according to the ratio, a second antenna area for touch control;

a sixth determining subunit, configured to determine, according to the time duration, a tuning signal corresponding to the second antenna area.

The control device 70 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.

The control device 70 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.

The control device 70 provided in the embodiment of the present application can implement each process implemented by the control device in the method embodiments of fig. 1 to 6, and is not described here again to avoid repetition.

In the embodiment of the application, the range to which the response of the system belongs is judged by detecting the change of the ratio of the reflected voltage to the input voltage when the antenna is touched and the duration of the change, so that a corresponding touch signal or tuning signal is generated, and a corresponding touch response operation is executed when the touch signal is generated, so that the corresponding touch input can be realized by utilizing the difference of signal interference caused by different touch operations on the antenna; when the tuning signal is generated, the impedance matching state of the antenna is correspondingly adjusted according to the ratio, so that the impedance matching state of the antenna can be improved, and the antenna signal is improved. Therefore, the control mode solves the problem that in the prior art, the antenna function and the key function are interfered with each other due to the overlapping of the antenna setting position and the control key setting position.

Optionally, an electronic device is further provided in this embodiment of the present application, and includes an antenna, a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, where the program or the instruction is executed by the processor to implement each process of the above control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.

It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.

Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

The electronic device 800 includes, but is not limited to: a radio frequency unit 8001, a network block 8002, an audio output unit 8003, an input unit 8004, a sensor 8005, a display unit 8006, a user input unit 8007, an interface unit 8008, a memory 8009, and a processor 8010.

Those skilled in the art will appreciate that the electronic device 80 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 8010 via a power management system, so as to manage charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.

The network module 4002 includes an antenna in the embodiment of the present application;

a processor 8010 configured to detect a ratio of a reflected voltage of the antenna to an input voltage; under the condition that the ratio deviates from a preset ratio range, generating a touch signal or a tuning signal according to the duration that the ratio continuously deviates from the threshold range; under the condition that the touch signal is detected, responding to the touch signal, and executing corresponding touch response operation; adjusting an impedance matching state of the antenna in response to the tuning signal in the event that the tuning signal is detected. .

According to the electronic device provided by the embodiment of the application, the range to which the response of the system belongs is judged through the change duration time by detecting the change of the ratio of the reflection voltage to the input voltage when the antenna is touched, so that a corresponding touch signal or tuning signal is generated, and a corresponding touch response operation is executed when the touch signal is generated, so that the corresponding touch input can be realized by utilizing the difference of signal interference caused by different touch operations on the antenna; when the tuning signal is generated, the impedance matching state of the antenna is correspondingly adjusted according to the ratio, so that the impedance matching state of the antenna can be improved, and the antenna signal is improved. Therefore, the control mode solves the problem that in the prior art, the antenna function and the key function are interfered with each other due to the overlapping of the antenna setting position and the control key setting position.

Optionally, the processor 8010 is specifically configured to generate a touch signal according to a preset duration when the ratio deviates from the preset ratio range and a duration of the ratio continuously deviating from the threshold range is less than or equal to a preset duration threshold; and generating a tuning signal according to the ratio under the condition that the ratio deviates from the preset ratio range and the time length of the ratio continuously deviating from the threshold range is greater than the preset time length threshold.

Optionally, the electronic device pre-establishes a correspondence between a duration range in which a ratio of the reflected voltage to the input voltage deviates from the preset ratio range and a touch signal; a processor 8010, specifically configured to determine a target duration range in which the duration is located; and determining the touch signal according to the target duration range and the corresponding relation.

Optionally, the antenna comprises a plurality of antenna regions; a processor 8010, specifically configured to determine, according to the ratio, a first antenna area for touch control; and determining a touch signal corresponding to the first antenna area according to the duration.

Optionally, the processor 8010 is specifically configured to determine, according to the ratio, a second antenna area for touch control; and determining a tuning signal corresponding to the second antenna area according to the time length.

The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The processor is the 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 (RAM), a magnetic disk or an optical disk, and so on.

The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above control method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种交互显示装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类