CN112311920B - Signal intensity control method and device of foldable electronic equipment and electronic equipment - Google Patents

Signal intensity control method and device of foldable electronic equipment and electronic equipment Download PDF

Info

Publication number
CN112311920B
CN112311920B CN202011140424.XA CN202011140424A CN112311920B CN 112311920 B CN112311920 B CN 112311920B CN 202011140424 A CN202011140424 A CN 202011140424A CN 112311920 B CN112311920 B CN 112311920B
Authority
CN
China
Prior art keywords
foldable electronic
electronic device
signal strength
angle value
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011140424.XA
Other languages
Chinese (zh)
Other versions
CN112311920A (en
Inventor
郑勇胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011140424.XA priority Critical patent/CN112311920B/en
Publication of CN112311920A publication Critical patent/CN112311920A/en
Application granted granted Critical
Publication of CN112311920B publication Critical patent/CN112311920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0044Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction specially adapted for holding portable devices containing batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • H04M1/0243Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using the relative angle between housings

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a signal intensity control method and device of foldable electronic equipment and the electronic equipment, and belongs to the technical field of communication. The problem of poor signal strength of the electronic equipment can be solved. The method comprises the following steps: under the condition that the foldable electronic equipment is in a folded state and in a wireless charging state, controlling the foldable electronic equipment to rotate, and acquiring at least two first angle values and at least two first signal strengths in the rotating process of the foldable electronic equipment; each first angle value is an included angle value between the first equipment main body and the second equipment main body; and determining a first target angle value from the at least two first angle values, and controlling the foldable electronic device to unfold to the first target angle value, wherein the first target angle value is an angle value corresponding to the maximum signal strength of the at least two first signal strengths. The embodiment of the application is applied to the wireless charging process of the electronic equipment.

Description

Signal intensity control method and device of foldable electronic equipment and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a signal intensity control method and device for foldable electronic equipment and the electronic equipment.
Background
Generally, in a case where the power of the electronic device is insufficient (for example, the power is less than 20%), the user may charge the electronic device by wireless charging. Specifically, the user can place the electronic device on the wireless charger flatly, so that the wireless charger charges the electronic device in the form of electromagnetic induction.
However, in the above method, when the electronic device is placed flatly on the wireless charger for charging, distances between the plurality of antennas in the electronic device and the wireless charger are relatively short (i.e. the antennas in the electronic device have poor isolation from interfering signals), the wireless charger may interfere with the signal strength of the electronic device, and reduce the signal strength of the electronic device, so that the signal strength of the electronic device is poor.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for controlling signal strength of a foldable electronic device, and an electronic device, which can solve the problem of poor signal strength of the electronic device.
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 signal strength control method for a foldable electronic device, where the method includes: under the condition that the foldable electronic equipment is in a folded state and in a wireless charging state, controlling the foldable electronic equipment to rotate, and acquiring at least two first angle values and at least two first signal strengths in the rotating process of the foldable electronic equipment; each first angle value is an included angle value between the first device main body and the second device main body, the at least two first signal strengths are signal strengths of the foldable electronic device when the foldable electronic device is unfolded with different angle values, and each first angle value corresponds to one first signal strength; and determining a first target angle value from the at least two first angle values, and controlling the foldable electronic device to unfold to the first target angle value, wherein the first target angle value is an angle value corresponding to the maximum signal strength of the at least two first signal strengths.
In a second aspect, an embodiment of the present application provides a signal strength control apparatus for a foldable electronic device, including: the device comprises a control module, an acquisition module and a determination module. The control module is used for controlling the foldable electronic equipment to rotate under the condition that the foldable electronic equipment is in a folded state and in a wireless charging state. The acquisition module is used for acquiring at least two first angle values and at least two first signal strengths in the rotating process of the foldable electronic equipment. Each first angle value is an included angle value between the first device main body and the second device main body, the at least two first signal strengths are signal strengths of the foldable electronic device when different angle values are unfolded, and each first angle value corresponds to one first signal strength. And the determining module is used for determining a first target angle value from the at least two first angle values acquired by the acquiring module. The control module is further configured to control the foldable electronic device to unfold to a first target angle value, where the first target angle value is an angle value corresponding to a maximum signal strength of the at least two first signal strengths.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement 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 this embodiment of the application, when the foldable electronic device is in a folded state and in a wireless charging state, the foldable electronic device may rotate, so that in a rotation process of the foldable electronic device, the foldable electronic device obtains at least two first angle values between the first device body and the second device body and signal strengths of the foldable electronic device when the foldable electronic device is unfolded with different angle values. Therefore, the foldable electronic device can determine a first target angle value corresponding to the maximum signal strength from the at least two first angle values to control the foldable electronic device to unfold to the first target angle value. Since the foldable electronic device can be rotated from the folded state to the unfolded state when the foldable electronic device is in the folded state and in the wireless charging state, and in the process of the rotation of the foldable electronic device, obtaining a plurality of angle values and obtaining the signal strength corresponding to each angle value in the plurality of angle values, so that the foldable electronic device can determine a maximum signal strength from the signal strengths, to determine an angle value corresponding to the maximum signal strength, the foldable electronic device can determine the angle value to which the signal strength is maximum when the foldable electronic device is unfolded, so as to control the foldable electronic device to be unfolded to the angle value corresponding to the maximum signal strength, therefore, the interference of the wireless charger to the signal intensity of the electronic equipment can be reduced by controlling the foldable electronic equipment to be unfolded to a certain angle value, and the signal intensity of the electronic equipment is improved.
Drawings
Fig. 1 is a schematic diagram of a signal strength control method of a foldable electronic device according to an embodiment of the present application;
fig. 2 is a second schematic diagram of a signal strength control method for a foldable electronic device according to an embodiment of the present application;
fig. 3 is a third schematic diagram of a signal strength control method for a foldable electronic device according to an embodiment of the present application;
fig. 4 is a fourth schematic diagram of a signal strength control method of a foldable electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of an example of a foldable mobile phone according to an embodiment of the present application;
fig. 6 is a second schematic diagram of an example of a foldable mobile phone according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a signal strength control apparatus of a foldable electronic device according to an embodiment of the present application;
fig. 8 is a second schematic structural diagram of a signal strength control apparatus of a foldable electronic device according to an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 10 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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.
It should be noted that, the foldable electronic device in the embodiment of the present invention includes a foldable screen, and the foldable screen includes a first device body and a second device body, that is, the foldable screen can be understood as including two screens, in the following embodiments, only the foldable screen includes the first device body and the second device body as an example, the method for controlling signal strength of the foldable electronic device provided in the embodiment of the present invention is exemplarily described, for the specific embodiment, the embodiment of the present invention is merely illustrative and not restrictive, the present invention is not limited to the following specific embodiment, and those skilled in the art can make many forms without departing from the spirit and scope of the present application, which are within the protection scope of the present application.
Optionally, in the embodiment of the present invention, the foldable electronic device is a foldable electronic device capable of changing the size and the number of the display screens in a folding and/or unfolding manner according to a user requirement. Specifically, the foldable electronic device may be a foldable electronic device formed by a plurality of electronic devices in a hinged manner, or may be a foldable electronic device including a foldable screen, which is not limited in this embodiment of the present invention.
Generally, the screen state of the foldable electronic device includes three states, which are an unfolded state, a folded state and an unfolding process. When the included angle between all two adjacent display screens in the foldable electronic device is greater than or equal to a first preset included angle (for example, the included angle between two adjacent display screens is greater than 150 °), the screen state of the foldable electronic device is considered to be the unfolded state; when the included angle between any two adjacent display screens in the foldable electronic device is smaller than or equal to a second preset included angle (for example, the included angle between two adjacent display screens is smaller than 30 °), the screen state of the foldable electronic device is considered to be a folded state; when the included angle between any two adjacent display screens in the foldable electronic equipment is in a changing condition, the screen state of the foldable electronic equipment is considered as an unfolding process. That is, the electronic device may determine the screen state of the electronic device by determining a relationship between an included angle between two adjacent display screens in the foldable electronic device and the first preset included angle or the second preset included angle, and whether the included angle between two adjacent display screens is in a changed condition. When the screen state of the foldable electronic device is the folded state, the folded state further includes two states, namely, a folded display state and a folded standby state.
When the included angle between any two adjacent display screens of the foldable electronic device in the folded state is greater than or equal to a preset folding display angle (for example, the included angle between two adjacent display screens is greater than 30 °), the screen state of the foldable electronic device is considered to be the folding display state, and at this time, the foldable electronic device is in the display state; when the included angle between any two adjacent display screens of the foldable electronic device in the folded state is smaller than a preset folding standby angle (e.g., the included angle between two adjacent display screens is smaller than 30 °), the screen state of the foldable electronic device is considered to be the folding standby state, and at this time, the foldable screen is in the standby state.
For example, the foldable screen is a display screen capable of changing the size and number of display screens in a folding and/or unfolding manner according to the needs of a user, that is, the foldable screen includes at least two display screens. Illustratively, the foldable screen may be a flexible screen or a combined foldable screen composed of a plurality of display screens. Wherein, the flexible screen is a screen which can be bent and folded.
The signal strength control method for the foldable electronic device provided by the embodiment of the present application is described in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
In this embodiment, when the foldable electronic device is in a folded state and is in a wireless charging state, the foldable electronic device may be automatically unfolded, and during an unfolding process of the foldable electronic device (i.e., a process in which an included angle between a first device body and a second device body of the foldable electronic device changes from 0 ° to 180 °), the foldable electronic device may acquire at least two angle values (e.g., 0 °, 20 °, 40 °, 60 °, 80 °, 100 °, 120 °, 140 °, 160 °, and 180 °), and acquire a corresponding signal strength when the foldable electronic device is unfolded to each of the at least two angle values, for example, when the foldable electronic device is unfolded to 0 °, 20 °, 40 °, 60 °, 80 °, 100 °, 120 °, 140 °, 160 °, and 180 °, the corresponding signal strengths are a, b, c, d, and c, d, respectively, e. f, g, h, i and j, so that the foldable electronic device can determine which angle value has the highest signal strength among the signal strengths corresponding to the angle values, determine a target angle value from at least two angle values (i.e., determine a maximum value from a, b, c, d, e, f, g, h, i and j, for example, if e is the maximum value, 80 ° is the target angle value), and control the foldable electronic device to unfold to 80 °, so that the signal strength of the foldable electronic device is the highest signal strength, and therefore the problem that the wireless charger interferes with the signal strength of the electronic device when wireless charging is performed, and reduces the signal strength of the electronic device can be solved, and the signal strength of the electronic device can be improved.
An embodiment of the present application provides a signal strength control method for a foldable electronic device, and fig. 1 shows a flowchart of a signal strength control method for a foldable electronic device provided in an embodiment of the present application, where the method can be applied to a foldable electronic device. As shown in fig. 1, a signal strength control method of a foldable electronic device provided in an embodiment of the present application may include steps 201 and 202 described below.
Step 201, under the condition that the foldable electronic device is in a folded state and in a wireless charging state, controlling the foldable electronic device to rotate, and in the rotating process of the foldable electronic device, the foldable electronic device obtains at least two first angle values and at least two first signal strengths.
In an embodiment of the present application, the foldable electronic device includes a first device body and a second device body, the second device body is rotatable with respect to the first device body, each of the at least two first angle values is an included angle value between the first device body and the second device body, the at least two first signal strengths are signal strengths of the foldable electronic device when different angle values are unfolded, and each of the first angle values corresponds to one first signal strength.
In the embodiment of the application, when a user charges the foldable electronic device in a wireless charging mode, the foldable electronic device can be controlled to be unfolded under the condition that the foldable electronic device is in a folded state, so that in the unfolding process of the foldable electronic device, included angle values (namely at least two first angle values) between at least two first device main bodies and a second device main body and signal strength (namely at least two first signal strengths) corresponding to each included angle value are obtained, the maximum signal strength is determined from the at least two first signal strengths, an angle value corresponding to the maximum signal strength is determined, and the foldable electronic device can be controlled to be unfolded to the angle value.
Optionally, in this embodiment of the application, when the foldable electronic device is in the folded state, the first device body and the second device body are folded inside and protected by the outer casing.
It should be noted that, in the embodiment of the present application, when the foldable electronic device is in the folded state, it may be understood that: the foldable electronic device is considered to be in the folded state if an angle value between the first device body and the second device body of the foldable electronic device is less than or equal to a preset angle value (for example, an angle value between the first device body and the second device body is less than or equal to 30 °), and the angle value between the first device body and the second device body is unchanged.
Optionally, in this embodiment of the application, the foldable electronic device may include a driving motor to drive a rotating shaft connecting the first device body and the second device body to rotate, so as to control the foldable electronic device to unfold or close.
It should be noted that the process of controlling the unfolding or closing of the foldable electronic device can be understood as the process of controlling the rotation of the foldable electronic device.
Optionally, in this embodiment of the application, the unfolding process of the foldable electronic device may be understood as: when the angle value between the first device body and the second device body of the foldable electronic device is in the process of changing, the foldable electronic device is considered to be in the unfolding process.
Optionally, in this embodiment of the application, during the unfolding process, when the unfolded angle value increases by a preset angle value, the foldable electronic device may obtain a first angle value of the current unfolding and a corresponding first signal strength, so as to obtain at least two first angle values and at least two first signal strengths; alternatively, the foldable electronic device may acquire the currently unfolded first angle value and the corresponding first signal strength every time a preset time period (for example, 1 second) elapses during the unfolding process, so as to acquire at least two first angle values and at least two first signal strengths.
Illustratively, when the foldable electronic device is in a folded state (the angle value between the first device body and the second device body is 0 °), and is in a wireless charging state, the foldable electronic device may be unfolded at a constant speed at a preset speed (e.g., 10 °/sec), and during the unfolding, angle values of 0 °, 20 °, 40 °, 60 °, 80 °, 100 °, 120 °, 140 °, 160 °, and 180 ° and corresponding signal strengths a, b, c, d, e, f, g, h, i, and j when the foldable electronic device is unfolded to each of the angle values are obtained.
Optionally, in this embodiment of the application, the first device body and the second device body may be two screens connected in a hinged manner, or the first device body and the second device body may be a first partial screen and a second partial screen in a flexible screen.
Optionally, in this embodiment of the application, the foldable electronic device further includes a charging coil, the charging coil corresponds to the first device body, the first device body includes the first antenna, and the second device body includes the second antenna. Referring to fig. 1, as shown in fig. 2, before the step 201 of "controlling the foldable electronic device to rotate", the method for controlling the signal strength of the foldable electronic device provided in the embodiment of the present application may further include the following step 201 a.
Step 201a, in the case that the foldable electronic device is in the folded state and in the wireless charging state, the first antenna is turned off, and the signal strength of the foldable electronic device is determined through the second antenna.
In an embodiment of the present application, the at least two first signal strengths are signal strengths corresponding to the second antenna.
Optionally, in this embodiment of the application, the foldable electronic device may control the second device body to rotate, so as to unfold the foldable electronic device, and in the unfolding process of the foldable electronic device, obtain at least two first angle values and at least two first signal strengths.
Optionally, in an embodiment of the present application, the foldable electronic device may include a driving motor, and the driving motor may drive a rotating shaft connecting the first device body and the second device body to rotate, so as to control the second device body to rotate, thereby unfolding the foldable electronic device.
Optionally, in this embodiment of the application, the foldable electronic device may include a plurality of antennas, and the plurality of antennas may be respectively disposed at corresponding positions of the first device body and the second device body, so as to control a position of an antenna corresponding to the second device body to change by controlling the second device body to rotate, thereby changing a distance between the antenna corresponding to the second device body and the charging coil.
It should be noted that, the first antenna and the second antenna may each include at least one antenna, where the number of antennas included in the first device main body is not limited, and the number of antennas included in the second device main body is not limited. And when the foldable electronic equipment is wirelessly charged, the charging coil of the wireless charger and the charging coil in the first equipment main body are charged based on the electromagnetic induction principle.
Optionally, in this embodiment of the application, the correspondence between the charging coil and the first device body may be understood as: the charging coil sets up in the partial region at collapsible electronic equipment's first equipment main part place, and electronic equipment only needs first equipment main part and wireless charger to laminate when carrying out wireless charging, and the second equipment main part can freely rotate.
In the embodiment of the application, when the foldable electronic device is in a folded state and in a wireless charging state, and a charging coil of the foldable electronic device corresponds to the first device body, the first antenna corresponding to the first device body may be closed, and at least two first signal strengths of the foldable electronic device may be determined through the second antenna corresponding to the second device body, so that when the charging coil corresponding to the first device body is used for wireless charging, the signal strength of the foldable electronic device may be flexibly determined through the antenna corresponding to the second device body.
Step 202, determining a first target angle value from the at least two first angle values, and controlling the foldable electronic device to unfold to the first target angle value.
In an embodiment of the application, the first target angle value is an angle value corresponding to a maximum signal strength of the at least two first signal strengths.
Optionally, in this embodiment of the application, the foldable electronic device may determine which of the at least two acquired first signal strengths is the largest, so as to determine a first target angle value corresponding to the first signal strength with the largest signal strength from the at least two first angle values.
Optionally, in this embodiment of the application, the foldable electronic device may control the second device body to rotate, so that the second device body rotates to a position where an included angle value between the first device body and the second device body corresponds to the first target angle value (i.e., the foldable electronic device is controlled to unfold to the first target angle value).
For example, after the foldable electronic device obtains at least two first angle values (e.g., 0 °, 20 °, 40 °, 60 °, 80 °, 100 °, 120 °, 140 °, 160 °, and 180 °) and at least two first signal strengths (e.g., a, b, c, d, e, f, g, h, i, and j) during the unfolding process, the foldable electronic device may determine a maximum value (e.g., e) from a, b, c, d, e, f, g, h, i, and j, so as to determine a first target angle value corresponding to the maximum value (i.e., 80 ° corresponding to e), so as to control the foldable electronic device to unfold to the first target angle value (i.e., 80 ° corresponding to e), so that the signal strength of the foldable electronic device is optimal.
The embodiment of the application provides a signal strength control method of foldable electronic equipment, when the foldable electronic equipment is in a folded state and in a wireless charging state, the foldable electronic equipment can rotate, so that in the rotating process of the foldable electronic equipment, the foldable electronic equipment obtains at least two first angle values between a first equipment main body and a second equipment main body and the signal strength of the foldable electronic equipment when different angle values are unfolded. Therefore, the foldable electronic device can determine a first target angle value corresponding to the maximum signal strength from the at least two first angle values to control the foldable electronic device to unfold to the first target angle value. Since the foldable electronic device can be rotated from the folded state to the unfolded state when the foldable electronic device is in the folded state and in the wireless charging state, and in the process of the rotation of the foldable electronic device, obtaining a plurality of angle values and obtaining the signal strength corresponding to each angle value in the plurality of angle values, so that the foldable electronic device can determine a maximum signal strength from the signal strengths, to determine an angle value corresponding to the maximum signal strength, the foldable electronic device can determine the angle value to which the signal strength is maximum when the foldable electronic device is unfolded, so as to control the foldable electronic device to be unfolded to the angle value corresponding to the maximum signal strength, therefore, the interference of the wireless charger to the signal intensity of the electronic equipment can be reduced by controlling the foldable electronic equipment to be unfolded to a certain angle value, and the signal intensity of the electronic equipment is improved.
Optionally, in this embodiment of the present application, as shown in fig. 3 with reference to fig. 1, before "controlling the foldable electronic device to rotate" in step 201, the method for controlling signal strength of the foldable electronic device provided in this embodiment of the present application may further include step 301 described below, and step 201 may be specifically implemented by step 201b described below.
Step 301, under the condition that the foldable electronic device is in a folded state and in a wireless charging state, the foldable electronic device acquires a target network-resident frequency band and a second signal strength.
In this embodiment, the target network-resident frequency band is a frequency band corresponding to a network to which the foldable electronic device is currently connected, and the second signal strength is a signal strength of the foldable electronic device in the target network-resident frequency band.
Optionally, in this embodiment of the application, the foldable electronic device may obtain a frequency corresponding to a currently accessed network, so as to determine a network frequency band corresponding to the frequency, thereby determining a target network-residing frequency band.
Optionally, in this embodiment of the application, the foldable electronic device may detect a second signal strength when the foldable electronic device is in the folded state and in the wireless charging state, so as to determine whether to unfold the foldable electronic device according to the second signal strength.
Step 201b, controlling the foldable electronic device to rotate under the condition that the foldable electronic device is in a folded state and in a wireless charging state, and the second signal strength is less than or equal to a first preset threshold, and acquiring at least two first angle values and at least two first signal strengths during the rotation of the foldable electronic device.
Optionally, in this embodiment of the application, a user may preset a first preset threshold, so that the foldable electronic device may store the first preset threshold in advance, and may determine whether to unfold the foldable electronic device by determining a magnitude relationship between the second signal strength and the first preset threshold.
Optionally, in this embodiment of the application, the foldable electronic device may be configured to unfold the foldable electronic device from the folded state to the unfolded state when it is determined that the second signal strength is less than or equal to the first preset threshold, and need not unfold the foldable electronic device when the second signal strength is greater than the first preset threshold.
It should be noted that, the second signal strength is less than or equal to the first preset threshold, which can be understood that the current signal strength of the foldable electronic device is low, which may affect the user experience; the second signal strength is greater than the first preset threshold, which can be understood as that the current signal strength of the foldable electronic device is high, and the user can normally use the foldable electronic device.
In the embodiment of the application, before the foldable electronic device is controlled to be unfolded, the foldable electronic device may first acquire a target network-resident frequency band corresponding to a currently accessed network and a second signal strength of the foldable electronic device in the target network-resident frequency band, so that the foldable electronic device may be controlled to be unfolded under the condition that the second signal strength is less than or equal to a first preset threshold, and therefore, the foldable electronic device may flexibly control whether the foldable electronic device needs to be controlled to be unfolded, and the flexibility of controlling the foldable electronic device to be unfolded may be improved.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 4, after step 202, the method for controlling signal strength of a foldable electronic device provided in this embodiment may further include step 401 and step 402 described below.
Step 401, the foldable electronic device obtains a third signal strength of the foldable electronic device.
In an embodiment of the application, the third signal strength is a signal strength detected every preset time period at a target network-resident frequency band, or the third signal strength is a signal strength detected when a target network-resident frequency band accessed by the foldable electronic device is switched.
Optionally, in this embodiment of the application, when the foldable electronic device is controlled to be unfolded to the first target angle value and a target network-resident frequency band accessed by the foldable electronic device is not switched, the foldable electronic device may detect the signal strength of the foldable electronic device once every preset time period.
Optionally, in this embodiment of the application, a user may preset a preset time duration (for example, 10 minutes), so that the foldable electronic device may detect the signal strength of the foldable electronic device once every preset time duration when the target network-resident frequency band accessed by the foldable electronic device is not switched.
Optionally, in this embodiment of the application, after the foldable electronic device is controlled to be unfolded to the first target angle value, if a target network-residing frequency band accessed by the foldable electronic device is switched, the foldable electronic device may detect a signal strength corresponding to the switched network-residing frequency band.
Step 402, the foldable electronic device is controlled to be unfolded to a second target angle value when the third signal strength is less than or equal to a second preset threshold.
In this embodiment of the application, the second target angle value is an angle value corresponding to a maximum signal strength during a rotation process of the foldable electronic device.
Optionally, in this embodiment of the application, the foldable electronic device may determine whether to control the foldable electronic device to unfold to the second target angle value by determining a magnitude relationship between the third signal strength and a second preset threshold.
Optionally, in this embodiment of the application, for different network-resident frequency bands, a user may preset a signal strength threshold (for example, a first preset threshold and a second preset threshold) corresponding to each network-resident frequency band, so as to determine whether to unfold the foldable electronic device or whether to control the foldable electronic device to unfold to another angle value according to the signal strength threshold corresponding to a certain network-resident frequency band when a network to which the foldable electronic device is currently accessed is the certain network-resident frequency band.
Optionally, in this embodiment of the application, when the third signal strength is a signal strength detected every preset time period in the target network-camping frequency band, the second preset threshold is a first preset threshold corresponding to the target network-camping frequency band; and under the condition that the third signal strength is the signal strength detected when the target network-resident frequency band accessed by the foldable electronic device is switched, the second preset threshold is the signal strength threshold corresponding to the switched network-resident frequency band.
Optionally, in this embodiment of the application, when the third signal strength is less than or equal to the second preset threshold, the foldable electronic device may control the second device body to rotate again, so that the foldable electronic device may reacquire at least two first angle values and at least two first signal strengths, determine a second target angle value from the reacquired at least two first angle values, and control the foldable electronic device to unfold to the second target angle value.
In the embodiment of the application, after the foldable electronic device is controlled to be unfolded to the first target angle value, the foldable electronic device may obtain a third signal strength detected at a preset time interval under a target network-residing frequency band, or obtain a third signal strength detected when the target network-residing frequency band accessed by the foldable electronic device is switched, so that when the third signal strength is less than or equal to a second preset threshold, the foldable electronic device is controlled to be unfolded to a second target angle value corresponding to the maximum signal strength in the rotation process of the foldable electronic device, therefore, the foldable electronic device may timely detect the current signal strength, so that when the signal strength does not meet a preset condition, the foldable electronic device is timely controlled to be unfolded to other angle values, and the foldable electronic device may be kept at a higher signal strength.
Optionally, in an embodiment of the present application, the foldable electronic device includes a ranging sensor. The "acquiring at least two first angle values" in step 201 may be specifically implemented by step 201c and step 201d described below.
Step 201c, under the condition that the foldable electronic device is in a folded state and in a wireless charging state, controlling the foldable electronic device to rotate, and in the rotating process of the foldable electronic device, detecting at least two target distances by the foldable electronic device through a distance measuring sensor.
In an embodiment of the application, the at least two target distances are distances between a first preset position in the first device body and a second preset position in the second device body during the unfolding process of the foldable electronic device.
Optionally, in this embodiment of the application, the distance measuring sensor may include a transmitting device and a receiving device, and the transmitting device and the receiving device are respectively disposed at preset positions in the first device body and the second device body.
Optionally, in this embodiment of the application, the first preset position and the second preset position are corresponding positions in the first device body and the second device body. For example, when the first preset position is the center of the first device body, the second preset position is the center of the second device body; or when the first preset position is the position of the upper left corner of the first equipment main body, the second preset position is the position of the upper right corner of the second equipment main body.
Optionally, in this embodiment of the present application, the distance measuring sensor may be any one of the following: light sense range finding sensor, infrared ray range finding sensor, ultrasonic ranging sensor and laser ranging sensor etc..
Optionally, in this embodiment of the application, the foldable electronic device may detect, by the ranging sensor, a target distance (i.e., a distance between the transmitting device and the receiving device, that is, a distance between a first preset position in the first device body and a second preset position in the second device body) corresponding to each angle value during the unfolding process of the foldable electronic device.
Step 201d, the foldable electronic device determines at least two first angle values according to the at least two target distances.
In an embodiment of the present application, each of the at least two first angle values corresponds to a target distance.
Optionally, in this embodiment of the application, a distance between the first preset position and the rotation axis (i.e., a connection axis of the first device body and the second device body) is a first known distance, and a distance between the second preset position and the rotation axis is a second known distance, and the foldable electronic device may calculate a first angle value through a preset algorithm according to the first known distance, the second known distance, and a target distance.
The foldable electronic device is exemplified as a foldable mobile phone. As shown in fig. 5, which is a schematic diagram of a foldable mobile phone in an unfolded state, a current unfolding angle is n °, the foldable mobile phone includes a first device body 10 and a second device body 11, the first device body 10 and the second device body 11 are connected through a rotating shaft 12, the rotating shaft 12 is further connected with a driving motor 13, so that the rotating shaft 12 is controlled to rotate by the driving motor 13, a charging coil 14 is included in the first device body 10, the foldable mobile phone can be charged through the charging coil 14, distance measuring sensors are respectively disposed at a first preset position 15 in the first device body 10 and a second preset position 16 in the second device body 11, and the foldable mobile phone can detect a distance between the first preset position 15 and the second preset position 16 through the distance measuring sensors.
Further exemplarily, referring to fig. 5, as shown in fig. 6, a distance from the first preset position 15 in the first device body 10 to the rotation axis 12 is a, a distance from the second preset position 16 in the second device body 11 to the rotation axis 12 is b, and when the current unfolding angle of the foldable mobile phone is a certain angle value, a distance between the first preset position 15 and the second preset position 16 detected by the ranging sensor is c, and then the foldable mobile phone may calculate the current unfolding angle to be n ° by using a preset algorithm according to the distance a, the distance b, and the distance c.
In this embodiment, the foldable electronic device may detect, by the ranging sensor, at least two target distances between a first preset position in the first device body and a second preset position in the second device body during the unfolding process of the foldable electronic device, so as to determine a first angle value corresponding to each target distance according to the target distances and other known distances, so that the foldable electronic device may accurately obtain the at least two first angle values.
It should be noted that, in the signal strength control method of the foldable electronic device provided in the embodiment of the present application, the execution main body may be a signal strength control apparatus of the foldable electronic device, or a control module in the signal strength control apparatus of the foldable electronic device for executing the signal strength control method of the foldable electronic device. In the embodiment of the present application, a signal strength control method for a foldable electronic device to execute loading of the foldable electronic device is taken as an example, and the signal strength control apparatus of the foldable electronic device provided in the embodiment of the present application is described.
Fig. 7 shows a schematic diagram of a possible structure of the signal strength control device of the foldable electronic device according to the embodiment of the present application. As shown in fig. 7, the signal strength control device 70 of the foldable electronic device may include: a control module 71, an acquisition module 72 and a determination module 73.
The control module 71 is configured to control the foldable electronic device to rotate when the foldable electronic device is in a folded state and in a wireless charging state. The obtaining module 72 is configured to obtain at least two first angle values and at least two first signal strengths during the rotation of the foldable electronic device. Each first angle value is an included angle value between the first device main body and the second device main body, the at least two first signal strengths are signal strengths of the foldable electronic device when different angle values are unfolded, and each first angle value corresponds to one first signal strength. A determining module 73, configured to determine a first target angle value from the at least two first angle values obtained by the obtaining module 72. The control module 71 is further configured to control the foldable electronic device to unfold to a first target angle value, where the first target angle value is an angle value corresponding to a maximum signal strength of the at least two first signal strengths.
In one possible implementation, the foldable electronic device further includes a charging coil corresponding to the first device body, the first device body including the first antenna, and the second device body including the second antenna. The control module 71 is further configured to turn off the first antenna before controlling the foldable electronic device to rotate. The determining module 73 is further configured to determine signal strengths of the foldable electronic device through the second antennas, where at least two first signal strengths are signal strengths corresponding to the second antennas.
In a possible implementation manner, the obtaining module 72 is further configured to obtain a target network-resident frequency band and a second signal strength before controlling the foldable electronic device to rotate, where the target network-resident frequency band is a frequency band corresponding to a network to which the foldable electronic device is currently connected, and the second signal strength is a signal strength of the foldable electronic device in the target network-resident frequency band. The control module 71 is specifically configured to control the foldable electronic device to rotate when the second signal strength is less than or equal to a first preset threshold.
In a possible implementation manner, the obtaining module 72 is further configured to obtain a third signal strength of the foldable electronic device after controlling the foldable electronic device to be unfolded to the first target angle value; the third signal strength is detected at preset time intervals under the target network-resident frequency band, or the third signal strength is detected when the target network-resident frequency band accessed by the foldable electronic device is switched. The control module 71 is further configured to control the foldable electronic device to unfold to a second target angle value when the third signal strength is less than or equal to a second preset threshold, where the second target angle value is an angle value corresponding to the maximum signal strength in the rotation process of the foldable electronic device.
In one possible implementation, the foldable electronic device includes a ranging sensor. Referring to fig. 7, as shown in fig. 8, the signal strength control apparatus 70 of the foldable electronic device provided in the embodiment of the present application may further include: a detection module 74. The detecting module 74 is configured to detect at least two target distances through the ranging sensor, where the at least two target distances are distances between a first preset position in the first device body and a second preset position in the second device body during the rotation process of the foldable electronic device. The determining module 73 is further configured to determine at least two first angle values according to the at least two target distances, where each first angle value corresponds to one target distance.
The signal strength control device for foldable electronic equipment provided in the embodiment of the present application can implement each process implemented by the signal strength control device for foldable electronic equipment in the above method embodiments, and for avoiding repetition, detailed description is not repeated here.
The embodiment of the present application provides a signal strength control apparatus for a foldable electronic device, wherein when the foldable electronic device is in a folded state and in a wireless charging state, the foldable electronic device can rotate from the folded state to an unfolded state, and in the process of rotating the foldable electronic device, a plurality of angle values and a signal strength corresponding to each angle value in the plurality of angle values are obtained, so that the foldable electronic device can determine a maximum signal strength from the signal strengths to determine the angle value corresponding to the maximum signal strength, that is, when the foldable electronic device can determine which angle value to unfold to, the signal strength is the maximum, so as to control the foldable electronic device to unfold to the angle value corresponding to the maximum signal strength, therefore, by controlling the foldable electronic device to unfold to a certain angle value, interference of a wireless charger to the signal strength of the electronic device is reduced, thereby improving the signal strength of the electronic device.
The signal strength control device of the foldable electronic device in the embodiment of the present application may be a device, and may also 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 signal strength control device of the foldable electronic device 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.
Optionally, as shown in fig. 9, an electronic device M00 is further provided in this embodiment of the present application, and includes a processor M01, a memory M02, and a program or an instruction stored in the memory M02 and executable on the processor M01, where the program or the instruction when executed by the processor M01 implements each process of the above-mentioned signal strength control method embodiment of the foldable electronic device, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 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 not repeated here.
The processor 110 is configured to control the foldable electronic device to rotate when the foldable electronic device is in a folded state and in a wireless charging state, and acquire at least two first angle values and at least two first signal strengths during the rotation of the foldable electronic device; each first angle value is an included angle value between the first device main body and the second device main body, the at least two first signal strengths are signal strengths of the foldable electronic device when the foldable electronic device is unfolded with different angle values, and each first angle value corresponds to one first signal strength; and determining a first target angle value from the at least two first angle values, and controlling the foldable electronic device to unfold to the first target angle value, wherein the first target angle value is an angle value corresponding to the maximum signal strength of the at least two first signal strengths.
The embodiment of the present application provides an electronic device, wherein when the foldable electronic device is in a folded state and in a wireless charging state, the foldable electronic device can be rotated from the folded state to an unfolded state, and in a rotating process of the foldable electronic device, a plurality of angle values and a signal strength corresponding to each angle value in the plurality of angle values are obtained, so that the foldable electronic device can determine a maximum signal strength from the signal strengths to determine the angle value corresponding to the maximum signal strength, that is, when the foldable electronic device can determine which angle value the foldable electronic device is unfolded to, the signal strength is the maximum, so as to control the foldable electronic device to be unfolded to the angle value corresponding to the maximum signal strength, so that interference generated by a wireless charger on the signal strength of the electronic device can be reduced by controlling the foldable electronic device to be unfolded to a certain angle value, thereby improving the signal strength of the electronic device.
Optionally, the processor 110 is specifically configured to turn off the first antenna, and determine the signal strength of the foldable electronic device through the second antenna, where at least two first signal strengths are signal strengths corresponding to the second antenna.
In the embodiment of the application, when the foldable electronic device is in a folded state and in a wireless charging state, and a charging coil of the foldable electronic device corresponds to the first device body, the first antenna corresponding to the first device body may be closed, and at least two first signal strengths of the foldable electronic device may be determined through the second antenna corresponding to the second device body, so that when the charging coil corresponding to the first device body is used for wireless charging, the signal strength of the foldable electronic device may be flexibly determined through the antenna corresponding to the second device body.
The network module 102 is configured to acquire a target network-resident frequency band and a second signal strength, where the target network-resident frequency band is a frequency band corresponding to a network to which the foldable electronic device is currently connected, and the second signal strength is the signal strength of the foldable electronic device in the target network-resident frequency band; and controlling the foldable electronic equipment to rotate under the condition that the second signal strength is less than or equal to a first preset threshold value.
In the embodiment of the application, before the foldable electronic device is controlled to be unfolded, the foldable electronic device may first acquire a target network-resident frequency band corresponding to a currently accessed network and a second signal strength of the foldable electronic device in the target network-resident frequency band, so that the foldable electronic device may be controlled to be unfolded under the condition that the second signal strength is less than or equal to a first preset threshold, and therefore, the foldable electronic device may flexibly control whether the foldable electronic device needs to be controlled to be unfolded, and the flexibility of controlling the foldable electronic device to be unfolded may be improved.
The network module 102 is further configured to obtain a third signal strength of the foldable electronic device; the third signal intensity is detected at preset time intervals under the target network-resident frequency band, or the third signal intensity is detected when the target network-resident frequency band accessed by the foldable electronic device is switched;
the processor 110 is further configured to control the foldable electronic device to unfold to a second target angle value when the third signal strength is less than or equal to a second preset threshold, where the second target angle value is an angle value corresponding to a maximum signal strength during the rotation of the foldable electronic device.
In the embodiment of the application, after the foldable electronic device is controlled to be unfolded to the first target angle value, the foldable electronic device may obtain a third signal strength detected at a preset time interval under a target network-residing frequency band, or obtain a third signal strength detected when the target network-residing frequency band accessed by the foldable electronic device is switched, so that when the third signal strength is less than or equal to a second preset threshold, the foldable electronic device is controlled to be unfolded to a second target angle value corresponding to the maximum signal strength in the rotation process of the foldable electronic device, therefore, the foldable electronic device may timely detect the current signal strength, so that when the signal strength does not meet a preset condition, the foldable electronic device is timely controlled to be unfolded to other angle values, and the foldable electronic device may be kept at a higher signal strength.
The processor 110 is further configured to detect at least two target distances through the ranging sensor, where the at least two target distances are distances between a first preset position in the first device body and a second preset position in the second device body during the rotation of the foldable electronic device; and determining at least two first angle values according to the at least two target distances, wherein each first angle value corresponds to one target distance.
In this embodiment, the foldable electronic device may detect, by the ranging sensor, at least two target distances between a first preset position in the first device body and a second preset position in the second device body during the unfolding process of the foldable electronic device, so as to determine a first angle value corresponding to each target distance according to the target distances and other known distances, so that the foldable electronic device may accurately obtain the at least two first angle values.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
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 embodiment of the signal strength control method for a foldable electronic device, 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 signal strength control method embodiment of the foldable electronic device, and can achieve the same technical effect, and in order to avoid 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.

Claims (10)

1. A signal strength control method of a foldable electronic device, the foldable electronic device including a first device body and a second device body, the second device body being rotatable with respect to the first device body, the method comprising:
under the condition that the foldable electronic equipment is in a folded state and in a wireless charging state, controlling the foldable electronic equipment to rotate, and acquiring at least two first angle values and at least two first signal strengths in the rotating process of the foldable electronic equipment; each first angle value is an included angle value between the first device main body and the second device main body, the at least two first signal strengths are signal strengths of the foldable electronic device when the foldable electronic device is unfolded at different angle values, and each first angle value corresponds to one first signal strength;
determining a first target angle value from the at least two first angle values, and controlling the foldable electronic device to unfold to the first target angle value, where the first target angle value is an angle value corresponding to a maximum signal strength of the at least two first signal strengths.
2. The method of claim 1, wherein the foldable electronic device further comprises a charging coil corresponding to the first device body, wherein the first device body comprises a first antenna, wherein the second device body comprises a second antenna;
before the controlling the foldable electronic device to rotate, the method further comprises:
and closing the first antenna, and determining the signal strength of the foldable electronic device through the second antenna, wherein the at least two first signal strengths are the signal strengths corresponding to the second antenna.
3. The method of claim 1 or 2, wherein prior to said controlling said foldable electronic device to rotate, said method further comprises:
acquiring a target network-resident frequency band and a second signal strength, wherein the target network-resident frequency band is a frequency band corresponding to a network to which the foldable electronic device is currently accessed, and the second signal strength is the signal strength of the foldable electronic device under the target network-resident frequency band;
the controlling the foldable electronic device to rotate includes:
and controlling the foldable electronic equipment to rotate under the condition that the second signal strength is less than or equal to a first preset threshold value.
4. The method of claim 3, wherein after controlling the foldable electronic device to unfold to the first target angle value, the method further comprises:
obtaining a third signal strength of the foldable electronic device; the third signal strength is detected at intervals of a preset time length under the target network-resident frequency band, or the third signal strength is detected when the target network-resident frequency band accessed by the foldable electronic device is switched;
and controlling the foldable electronic device to be unfolded to a second target angle value under the condition that the third signal strength is less than or equal to a second preset threshold value, wherein the second target angle value is an angle value corresponding to the maximum signal strength in the rotation process of the foldable electronic device.
5. The method of claim 1, wherein the foldable electronic device comprises a ranging sensor;
the obtaining of at least two first angle values comprises:
detecting at least two target distances through the ranging sensor, wherein the at least two target distances are distances between a first preset position in the first equipment main body and a second preset position in the second equipment main body in the rotating process of the foldable electronic equipment;
and determining the at least two first angle values according to the at least two target distances, wherein each first angle value corresponds to one target distance.
6. A signal strength control apparatus of a foldable electronic device, wherein the foldable electronic device comprises a first device body and a second device body, the second device body being rotatable with respect to the first device body, the signal strength control apparatus of the foldable electronic device comprising: the device comprises a control module, an acquisition module and a determination module;
the control module is used for controlling the foldable electronic equipment to rotate under the condition that the foldable electronic equipment is in a folded state and in a wireless charging state;
the acquisition module is used for acquiring at least two first angle values and at least two first signal strengths in the rotation process of the foldable electronic equipment; each first angle value is an included angle value between the first device main body and the second device main body, the at least two first signal strengths are signal strengths of the foldable electronic device when the foldable electronic device is unfolded at different angle values, and each first angle value corresponds to one first signal strength;
the determining module is configured to determine a first target angle value from the at least two first angle values acquired by the acquiring module;
the control module is further configured to control the foldable electronic device to unfold to the first target angle value, where the first target angle value is an angle value corresponding to a maximum signal strength of the at least two first signal strengths.
7. The apparatus of claim 6, wherein the foldable electronic device further comprises a charging coil corresponding to the first device body, the first device body comprises a first antenna, and the second device body comprises a second antenna;
the control module is further used for closing the first antenna before controlling the foldable electronic equipment to rotate;
the determining module is further configured to determine signal strengths of the foldable electronic device through the second antenna, where the at least two first signal strengths are signal strengths corresponding to the second antenna.
8. The apparatus according to claim 6 or 7, wherein the obtaining module is further configured to obtain a target network-resident frequency band and a second signal strength before the foldable electronic device is controlled to rotate, where the target network-resident frequency band is a frequency band corresponding to a network to which the foldable electronic device is currently connected, and the second signal strength is the signal strength of the foldable electronic device in the target network-resident frequency band;
the control module is specifically configured to control the foldable electronic device to rotate when the second signal strength is less than or equal to a first preset threshold.
9. The apparatus of claim 8, wherein the obtaining module is further configured to obtain a third signal strength of the foldable electronic device after the controlling the foldable electronic device to unfold to the first target angle value; the third signal strength is detected at intervals of a preset time length under the target network-resident frequency band, or the third signal strength is detected when the target network-resident frequency band accessed by the foldable electronic device is switched;
the control module is further configured to control the foldable electronic device to unfold to a second target angle value when the third signal strength is less than or equal to a second preset threshold, where the second target angle value is an angle value corresponding to a maximum signal strength in a rotation process of the foldable electronic device.
10. The signal strength control apparatus of foldable electronic device as claimed in claim 6, wherein the foldable electronic device comprises a ranging sensor;
the signal strength control apparatus of the foldable electronic device further comprises: a detection module;
the detection module is configured to detect at least two target distances through the ranging sensor, where the at least two target distances are distances between a first preset position in the first device body and a second preset position in the second device body during rotation of the foldable electronic device;
the determining module is further configured to determine the at least two first angle values according to the at least two target distances, where each first angle value corresponds to one target distance.
CN202011140424.XA 2020-10-22 2020-10-22 Signal intensity control method and device of foldable electronic equipment and electronic equipment Active CN112311920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011140424.XA CN112311920B (en) 2020-10-22 2020-10-22 Signal intensity control method and device of foldable electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011140424.XA CN112311920B (en) 2020-10-22 2020-10-22 Signal intensity control method and device of foldable electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN112311920A CN112311920A (en) 2021-02-02
CN112311920B true CN112311920B (en) 2021-12-14

Family

ID=74327178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011140424.XA Active CN112311920B (en) 2020-10-22 2020-10-22 Signal intensity control method and device of foldable electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN112311920B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114326949B (en) * 2021-12-31 2024-04-19 合肥联宝信息技术有限公司 Detection method and device, storage medium and electronic equipment
CN116048245A (en) * 2022-08-09 2023-05-02 荣耀终端有限公司 Control method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102073379B1 (en) * 2013-11-26 2020-02-05 삼성디스플레이 주식회사 Electronic device having a foldable display
CN108347759B (en) * 2018-02-07 2020-06-30 维沃移动通信有限公司 Anti-interference method of flexible screen and mobile terminal
CN110324480B (en) * 2018-03-28 2021-10-12 西安中兴新软件有限责任公司 Antenna switching method and device of multi-screen folding terminal, terminal and storage medium
CN109450060A (en) * 2018-12-27 2019-03-08 维沃移动通信有限公司 A kind of terminal, wireless charging pedestal and wireless charging control method
CN110649719A (en) * 2019-08-23 2020-01-03 华为技术有限公司 Wireless charging method and electronic equipment
CN111711286A (en) * 2020-06-30 2020-09-25 维沃移动通信有限公司 Wireless charging device

Also Published As

Publication number Publication date
CN112311920A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
EP4109218B1 (en) Mobile phone comprising a touch screen with an in-display fingerprint sensor
CN106055364B (en) Application starting method and terminal equipment
CN112311920B (en) Signal intensity control method and device of foldable electronic equipment and electronic equipment
EP3454240B1 (en) Unlocking methods and related products
CN111459367B (en) Display method and electronic equipment
US11782478B2 (en) Unlocking control method and related products
CN108769506B (en) Image acquisition method and device, mobile terminal and computer readable medium
WO2022156598A1 (en) Bluetooth connection method and apparatus, and electronic device
CN112416060A (en) Screen state control method and device, storage medium and mobile terminal
EP3570404B1 (en) Power supply control method and apparatus, storage medium, and electronic device
CN112770049A (en) Shooting method, shooting device and storage medium
CN112433693A (en) Split screen display method and device and electronic equipment
CN113989963A (en) Signal processing method and related equipment
CN117193480A (en) Folding state detection method, folding state detection device, terminal equipment and storage medium
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN107918517A (en) Response method, device, mobile terminal and the storage medium of screen rotation
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN110536067B (en) Image processing method, image processing device, terminal equipment and computer readable storage medium
CN104182156B (en) Touch-screen equipment and its batch selection method and device
EP4280035A1 (en) Screen control method and apparatus, and electronic device
CN111586216B (en) Folder terminal, folder state determining method and apparatus, and computer-readable storage medium
CN112181269B (en) Content display method and device and electronic equipment
CN115577724A (en) Card reading method and device, electronic equipment and readable storage medium
CN111355892B (en) Picture shooting method and device, storage medium and electronic terminal
CN108762373B (en) Clock generation circuit and mobile terminal

Legal Events

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