CN110730260B - Control method of electronic equipment and electronic equipment - Google Patents

Control method of electronic equipment and electronic equipment Download PDF

Info

Publication number
CN110730260B
CN110730260B CN201910944741.8A CN201910944741A CN110730260B CN 110730260 B CN110730260 B CN 110730260B CN 201910944741 A CN201910944741 A CN 201910944741A CN 110730260 B CN110730260 B CN 110730260B
Authority
CN
China
Prior art keywords
control information
audio component
folding
display area
angle
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
CN201910944741.8A
Other languages
Chinese (zh)
Other versions
CN110730260A (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 CN201910944741.8A priority Critical patent/CN110730260B/en
Publication of CN110730260A publication Critical patent/CN110730260A/en
Priority to PCT/CN2020/117555 priority patent/WO2021063249A1/en
Application granted granted Critical
Publication of CN110730260B publication Critical patent/CN110730260B/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/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • 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
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Abstract

The embodiment of the invention provides an electronic device and a control method thereof. The electronic device comprises an audio component and a folding display screen which can be folded into a first display area and a second display area, wherein the audio component comprises: the first audio component is arranged on a first frame of the electronic equipment, the second audio component is arranged on a second frame of the electronic equipment, and the third audio component is arranged on a third frame of the terminal equipment; the method comprises the following steps: under the condition of entering a conversation state, acquiring the folding angle of the folding display screen; determining on-off control information of the audio component corresponding to the folding angle according to a preset corresponding relation; and controlling the on-off states of the first audio component, the second audio component and the third audio component according to the on-off control information. The embodiment of the invention solves the technical problem that the electronic equipment can not normally talk after the electronic equipment can be folded.

Description

Control method of electronic equipment and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a control method of electronic equipment and the electronic equipment.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. The functions of various Application programs (APPs) of the electronic equipment are gradually improved, and the functions do not only play a role in communication, but also provide various intelligent services for users, so that great convenience is brought to the work and life of the users.
For the convenience of users, the technology of foldable screens of intelligent terminals (such as smart phones) is mature day by day, and the commercial use of the technology is also more and more recent. The folding is gradually becoming a trend and trend, and is also a new field related to manufacturers of various large electronic devices.
The successful mass production of the foldable screen is not only greatly better than the manufacturing of a new generation of high-end smart phone, but also has a profound influence on the application of wearable equipment due to the characteristics of low power consumption and flexibility, and the flexible screen can be widely applied along with the continuous penetration of a personal intelligent terminal in the future.
However, the foldable screen terminal has a problem that, for example, in a smart phone with a foldable flexible screen, during a voice call or a video call, or in other scenes (for example, an application program voice chat) where both an earphone and a microphone are used, after the screen is folded up and down, the positions of the earphone and the microphone are folded to the upper end of the screen, which may cause that the electronic device cannot normally perform a call.
Disclosure of Invention
The embodiment of the invention provides an offline caching method and electronic equipment, and aims to solve the technical problem that the electronic equipment cannot normally talk due to the fact that the electronic equipment can be folded after a screen is folded in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling an electronic device, where the electronic device includes an audio component and a foldable display screen foldable into a first display area and a second display area, and the audio component includes: the first audio component is arranged on a first frame of the electronic equipment, the second audio component is arranged on a second frame of the electronic equipment, and the third audio component is arranged on a third frame of the terminal equipment; the method comprises the following steps:
under the condition of entering a conversation state, acquiring the folding angle of the folding display screen;
determining on-off control information of the audio component corresponding to the folding angle according to a preset corresponding relation;
and controlling the on-off states of the first audio component, the second audio component and the third audio component according to the on-off control information.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes an audio component and a foldable display screen that is foldable into a first display area and a second display area, and the audio component includes: the first audio component is arranged on a first frame of the electronic equipment, the second audio component is arranged on a second frame of the electronic equipment, and the third audio component is arranged on a third frame of the terminal equipment;
the electronic device further includes:
the angle acquisition module is used for acquiring the folding angle of the folding display screen under the condition of entering a conversation state;
the information determining module is used for determining the on-off control information of the audio component corresponding to the folding angle according to the preset corresponding relation;
and the switch control module is used for controlling the on-off states of the first audio component, the second audio component and the third audio component according to the switch control information.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the control method of the application program when executing the computer program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the control method of the application program described above.
In the embodiment of the invention, under the condition of entering a conversation state, the folding angle of the folding display screen is acquired; then, according to a preset corresponding relation, determining on-off control information of the audio component corresponding to the folding angle; finally, controlling the on-off states of the first audio component, the second audio component and the third audio component according to the on-off control information; the preset corresponding relation comprises switch control information of each audio component required by the electronic equipment for normal conversation, and the switch control information in the preset corresponding relation controls the switch state of a device in each audio component, so that the electronic equipment keeps a normal conversation function under different folding angles of a foldable screen of the electronic equipment, and the audio components are prevented from interfering with each other after the foldable screen of the electronic equipment is folded.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for controlling an electronic device according to an embodiment of the present invention;
FIG. 2 shows one of the schematic diagrams of an electronic device of an embodiment of the invention;
FIG. 3 is a second schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 4 shows a schematic diagram of a first example of embodiment of the invention;
FIG. 5 shows a schematic diagram of a second example of embodiment of the invention;
FIG. 6 shows a schematic diagram of a third example of embodiment of the invention;
FIG. 7 shows one of the block diagrams of an electronic device provided by an embodiment of the invention;
fig. 8 shows a second block diagram of an electronic device according to an embodiment of the invention.
Description of reference numerals:
l1, first rim; l2, second border; l3, third border; d1, a first audio component; d2, a second audio component; d3, a third audio component; m1, a first microphone; m2, a second microphone; t2, a second earpiece; t3, third earpiece; y2, a second speaker; y3, a third speaker.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a control method of an electronic device, as shown in fig. 2, including an audio component and a foldable display screen foldable into a first display area O1 and a second display area O2; the electronic equipment can be a smart phone or wearable equipment; the folding display screen can be bent and twisted, and has the characteristics of higher light transmittance, lower power consumption, more stable performance, lighter and thinner.
The audio assembly includes: a first audio component D1 arranged on a first frame L1 of the electronic device, a second audio component D2 arranged on a second frame L2 of the electronic device, and a third audio component D3 arranged on a third frame L3 of the terminal device; the audio component may be at least one of a microphone, a speaker, an earpiece, etc.
The method comprises the following steps:
step 101, acquiring the folding angle of the folding display screen under the condition of entering the communication state.
The call can be a voice call or a video call; after detecting that the electronic equipment enters a conversation state, acquiring a folding angle of a folding display screen; the folding angle is the folding angle between the first display area and the second display area; it can be understood that the first display area and the second display area are formed by folding the foldable display screen, and the folded display screen is divided into two display areas.
And 102, determining the on-off control information of the audio component corresponding to the folding angle according to a preset corresponding relation.
Wherein the preset corresponding relation is the corresponding relation between the folding angle and the switch control information; in the preset corresponding relation, each angle or each continuous angle range corresponds to different switch control information; the switch control information includes on and/or off. The preset corresponding relation is preset and comprises switch control information of each audio component required by normal conversation of the electronic equipment.
Specifically, when the folding angle formed by the first display area and the second display area is different, the on-off state of each audio component is separately controlled; for example, referring to fig. 2, when the folding angle is 0 degree or 180 degrees, that is, the first display area and the second display area are completely unfolded to a plane, if the first display area is located above (with reference to the gravity direction), the earphone of the first audio component D1 should be controlled to be turned on, and the microphone of the third audio component D3 should be controlled to be turned on, so that the communication function of the electronic device is normally used.
Step 103, controlling the on-off states of the first audio component D1, the second audio component D2 and the third audio component D3 according to the switch control information.
The switch states of each of the first audio module D1, the second audio module D2 and the third audio module D3 are respectively controlled according to the switch control information, so that normal conversation of the electronic device is realized.
In the above embodiment of the present invention, the folding angle of the folding display screen is obtained when the mobile terminal enters the call state; then, according to a preset corresponding relation, determining on-off control information of the audio component corresponding to the folding angle; finally, controlling the on-off states of the first, second and third audio components D1, D2 and D3 according to the switch control information; the preset corresponding relation comprises switch control information of each audio component required by the normal call of the electronic equipment, and the switch control information in the preset corresponding relation controls the switch state of a device in each audio component, so that the electronic equipment keeps a normal call function under different folding angles of a foldable screen of the electronic equipment, and the audio components are prevented from interfering with each other after the foldable screen of the electronic equipment is folded; the embodiment of the invention solves the technical problem that the electronic equipment can not normally talk after the electronic equipment can be folded.
In addition, as shown in fig. 3, in the embodiment of the present invention, the microphone and the speaker disposed on the second frame L2 may be located in the first display area or the second display area, or may be disposed at a position between the first display area and the second display area.
Optionally, as shown in fig. 3, in the embodiment of the present invention, the first audio component D1 includes a first microphone M1, the second audio component D2 includes a second microphone M2 and a second earpiece T2, and the third audio component D3 includes a third earpiece T3; the receiver, also called earphone or earmuff, is a pair of conversion units, which receives the electric signal from the media player or receiver and converts it into audible sound wave by the speaker near the ear. The microphone is also called a microphone, and is a sound-electricity conversion transducer, and the sound wave acts on an electroacoustic element to generate voltage, and then the voltage is converted into electric energy.
The step of determining the switch control information of the audio component corresponding to the folding angle according to the preset corresponding relation comprises a first condition and a second condition:
the first condition is as follows: if the numerical value of the folding angle is smaller than a first preset angle value, the switch control information is first control information or second control information; wherein the first control information includes: turning off the first microphone M1, turning on the second microphone M2, turning on the third earpiece T3, and turning off the second earpiece T2; the second control information includes: turning off the second microphone M2, turning on the first microphone M1, turning on the second handset T2, and turning off the third handset T3;
if the folding angle is smaller than a first preset angle value, for example, the preset value is 30 degrees or less, it may be determined that the folding display screen is in a fully folded state, and the two display areas are completely overlapped, and two states are possible at this time, as a first example, see fig. 4, if the first display area faces a user (face or ear), the first microphone M1 is turned off, the second microphone M2 is turned on, the third earpiece T3 is turned on, and the second earpiece T2 is turned off, so as to prevent the second earpiece T2 from interfering with the third earpiece T3; as a second example, referring to fig. 5, if the second display area is directed to the user, the second microphone M2 is turned off, the first microphone M1 is turned on, the second earpiece T2 is turned on, and the third earpiece T3 is turned off to implement normal conversation.
Case two: if the numerical value of the folding angle is greater than or equal to a first preset angle value and less than a second preset angle value, the second preset angle value may be 120 degrees; the folding direction of the folding angle is a direction departing from the first display area or the second display area, namely the two display areas are folded towards the back side of the screen; the switch control information is third control information; wherein the third control information includes: as a third example, as shown in fig. 6, the third earpiece T3 is turned on, and the second earpiece T2 is turned off to avoid interference therebetween.
Further, in an embodiment of the present invention, in the first case, the step of determining that the switch control information is the first control information or the second control information if the numerical value of the folding angle is smaller than the first preset angle value includes:
acquiring a first included angle between the first frame L1 and the gravity direction and a second included angle between the second frame L2 and the gravity direction;
if the first included angle is larger than or equal to the second included angle, the control information is first control information, namely the electronic equipment is inclined to be placed transversely;
and if the first included angle is smaller than the second included angle, the control information is second control information, namely the electronic equipment is placed in a manner of deviating to the longitudinal direction.
That is, the control information is determined according to the direction in which the electronic device is placed.
Optionally, in an embodiment of the present invention, the method further includes:
receiving a second input for recording audio; namely, when audio recording is carried out, voice messages are sent;
acquiring a folding angle between the first display area and the second display area in response to the second input;
if the numerical value of the folding angle is greater than or equal to a third preset angle value and smaller than a fourth preset angle value, and the folding direction of the folding angle is a direction facing the first display area or the second display area, namely the folding direction is turned over towards one side of the screen, the control information is fourth control information; wherein the fourth control information includes: when the first microphone M1 and the second microphone M2 are turned on, the two microphones are turned on simultaneously, so that the recording effect is enhanced.
Alternatively, in the embodiment of the present invention, as shown in fig. 3, the second audio component D2 includes a second speaker Y2, and the third audio component D3 includes a third speaker Y3;
the method further comprises the following steps:
receiving a third input for playing audio, i.e. when playing audio, such as an audio-video file or a voice message;
acquiring a folding angle between the first display area and the second display area in response to the third input;
if the numerical value of the folding angle is greater than or equal to a fifth preset angle value and smaller than a sixth preset angle value, and the folding direction of the folding angle is a direction facing the first display area or the second display area, the switch control information is fifth control information; wherein the fifth control information includes: the second loudspeaker Y2 and the third loudspeaker Y3 are turned on, the two loudspeakers are turned on simultaneously, the second microphone M2 and the third loudspeaker Y3 are turned on simultaneously, the loudspeakers play sound simultaneously, surround sound can be formed, and sound playing quality is improved.
Optionally, in an embodiment of the present invention, the step of controlling the switching states of the first audio component D1, the second audio component D2, and the third audio component D3 according to the switching control information includes:
and sending the switch control information to a hardware abstraction HAL layer of the terminal equipment, and controlling the first audio component D1, the second audio component D2 and/or the third audio component D3 through the HAL layer.
Wherein, a Hardware Abstraction Layer (HAL) Layer is an interface Layer between an operating system kernel and a Hardware circuit; the HAL layer can shield the implementation details of the hardware driving module downwards and provide hardware access service upwards; the electronic equipment sends the switch control information to the HAL layer, and the opening and closing of the microphone and the loudspeaker are switched through the passage of the microphone and the loudspeaker arranged on the HAL layer, so that the microphones and the loudspeakers are switched correspondingly or simultaneously.
Optionally, in the embodiment of the present invention, when the foldable display screen is bent, a series of pressure values of the current screen may be obtained by reading the screen electronic pressure sensor array, and the folding angle of the screen may be obtained by calculating by querying a correspondence between a prestored pressure value and an angle.
In the embodiment of the invention, under the condition of entering a conversation state, the folding angle of the folding display screen is acquired; then, according to a preset corresponding relation, determining on-off control information of the audio component corresponding to the folding angle; finally, controlling the on-off states of the first, second and third audio components D1, D2 and D3 according to the switch control information; the preset corresponding relation comprises switch control information of each audio component required by the electronic equipment for normal conversation, and the switch control information in the preset corresponding relation controls the switch state of a device in each audio component, so that the electronic equipment keeps a normal conversation function under different folding angles of a foldable screen of the electronic equipment, and the audio components are prevented from interfering with each other after the foldable screen of the electronic equipment is folded.
The electronic device provided by the embodiment of the present invention is described above, and the electronic device provided by the embodiment of the present invention is described below with reference to the accompanying drawings.
Referring to fig. 7, an embodiment of the present invention provides an electronic device 700, where the electronic device 700 includes an audio component and a foldable display screen foldable into a first display area and a second display area, the audio component includes: a first audio component disposed on a first bezel of the electronic device 700, a second audio component disposed on a second bezel of the electronic device 700, and a third audio component disposed on a third bezel of the terminal device;
the electronic device 700 further comprises:
an angle obtaining module 701, configured to obtain a folding angle of the folding display screen when the mobile terminal enters a call state.
The call can be a voice call or a video call; after detecting that the electronic equipment enters a conversation state, acquiring a folding angle of a folding display screen; the folding angle is the folding angle between the first display area and the second display area; it can be understood that the first display area and the second display area are formed by folding the foldable display screen, and the folded display screen is divided into two display areas.
An information determining module 702, configured to determine, according to a preset corresponding relationship, on/off control information of the audio component corresponding to the folding angle.
Wherein the preset corresponding relation is the corresponding relation between the folding angle and the switch control information; in the preset corresponding relation, each angle or each continuous angle range corresponds to different switch control information; the switch control information includes on and/or off. The preset corresponding relation is preset and comprises switch control information of each audio component required by normal conversation of the electronic equipment.
The switch control module 703 is configured to control the on/off states of the first audio component, the second audio component, and the third audio component according to the switch control information.
And the on-off state of each device in the first audio component, the second audio component and the third audio component is respectively controlled according to the on-off control information, so that the normal conversation of the electronic equipment is realized.
Optionally, in this embodiment of the present invention, the first audio component includes a first microphone, the second audio component includes a second microphone and a second earphone, and the third audio component includes a third earphone;
the information determination module 702 includes:
the first determining submodule is used for determining whether the folding angle value is smaller than a first preset angle value or not, and the switch control information is first control information or second control information; wherein the first control information includes: turning off the first microphone, turning on the second microphone, turning on the third earpiece, and turning off the second earpiece; the second control information includes: turning off the second microphone, turning on the first microphone, turning on the second earpiece, and turning off the third earpiece;
the second determining submodule is used for determining that the switch control information is third control information if the numerical value of the folding angle is greater than or equal to a first preset angle value and smaller than a second preset angle value and the folding direction of the folding angle is a direction departing from the first display area or the second display area; wherein the third control information includes: and opening the third earphone and closing the second earphone.
Optionally, in this embodiment of the present invention, the first determining sub-module includes:
the angle acquisition unit is used for acquiring a first included angle between the first frame and the gravity direction and a second included angle between the second frame and the gravity direction;
a first determining unit, configured to determine that the control information is first control information if the first included angle is greater than or equal to the second included angle;
and the second determining unit is used for determining that the control information is second control information if the first included angle is smaller than the second included angle.
Optionally, in this embodiment of the present invention, the electronic device 700 further includes:
the recording control module is used for receiving a second input for recording the audio;
acquiring a folding angle between the first display area and the second display area in response to the second input;
if the numerical value of the folding angle is greater than or equal to a third preset angle value and smaller than a fourth preset angle value, and the folding direction of the folding angle is a direction facing the first display area or the second display area, the control information is fourth control information; wherein the fourth control information includes: and turning on the first microphone and the second microphone.
Optionally, in this embodiment of the present invention, the second audio component includes a second speaker, and the third audio component includes a third speaker;
the electronic device 700 further comprises:
the playing control module is used for receiving a third input for playing audio;
acquiring a folding angle between the first display area and the second display area in response to the third input;
if the numerical value of the folding angle is greater than or equal to a fifth preset angle value and smaller than a sixth preset angle value, and the folding direction of the folding angle is a direction facing the first display area or the second display area, the switch control information is fifth control information; wherein the fifth control information includes: and turning on the second speaker and the third speaker.
Optionally, in this embodiment of the present invention, the switch control module 703 includes:
and the information sending submodule is used for sending the switch control information to a hardware abstraction HAL layer of the terminal equipment, and controlling the first audio component, the second audio component and/or the third audio component through the HAL layer.
The electronic device 700 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
In the embodiment of the present invention, the angle obtaining module 701 obtains the folding angle of the folding display screen when entering the call state; the information determining module 702 determines the on-off control information of the audio component corresponding to the folding angle according to a preset corresponding relationship; the switch control module 703 controls the on-off states of the first audio component, the second audio component, and the third audio component according to the switch control information; the preset corresponding relationship includes the switch control information of each audio component required for the electronic device 700 to normally talk, and the switch control information in the preset corresponding relationship controls the switch state of the device in each audio component, so that the electronic device 700 maintains a normal talk function at different folding angles of the foldable screen of the electronic device 700, and the audio components are prevented from interfering with each other after the foldable screen of the electronic device 700 is folded.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The electronic device includes an audio component and a foldable display screen foldable into a first display area and a second display area, the audio component including: the first audio component is arranged on a first frame of the electronic equipment, the second audio component is arranged on a second frame of the electronic equipment, and the third audio component is arranged on a third frame of the terminal equipment;
the processor 810 is configured to obtain a folding angle of the folding display screen when the mobile terminal enters a call state;
determining on-off control information of the audio component corresponding to the folding angle according to a preset corresponding relation;
and controlling the on-off states of the first audio component, the second audio component and the third audio component according to the on-off control information.
In the embodiment of the invention, under the condition of entering a conversation state, the folding angle of the folding display screen is acquired; then, according to a preset corresponding relation, determining on-off control information of the audio component corresponding to the folding angle; finally, controlling the on-off states of the first audio component, the second audio component and the third audio component according to the on-off control information; the preset corresponding relation comprises switch control information of each audio component required by the electronic equipment for normal conversation, and the switch control information in the preset corresponding relation controls the switch state of a device in each audio component, so that the electronic equipment keeps a normal conversation function under different folding angles of a foldable screen of the electronic equipment, and the audio components are prevented from interfering with each other after the foldable screen of the electronic equipment is folded.
It should be noted that, in this embodiment, the electronic device may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and in order to avoid repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 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.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the control method embodiment of the electronic device, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the control method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A control method of an electronic device including an audio component and a foldable display screen foldable into a first display area and a second display area, the audio component comprising: the first audio component is arranged on a first frame of the electronic equipment, the second audio component is arranged on a second frame of the electronic equipment, and the third audio component is arranged on a third frame of the electronic equipment;
the method comprises the following steps:
under the condition of entering a conversation state, acquiring the folding angle of the folding display screen;
determining on-off control information of the audio component corresponding to the folding angle according to a preset corresponding relation;
controlling the on-off states of the first audio component, the second audio component and the third audio component according to the on-off control information;
the first audio component comprises a first microphone, the second audio component comprises a second microphone and a second earpiece, and the third audio component comprises a third earpiece;
the step of determining the on-off control information of the audio component corresponding to the folding angle according to the preset corresponding relationship comprises the following steps:
if the numerical value of the folding angle is smaller than a first preset angle value, the switch control information is first control information or second control information; wherein the first control information includes: turning off the first microphone, turning on the second microphone, turning on the third earpiece, and turning off the second earpiece; the second control information includes: turning off the second microphone, turning on the first microphone, turning on the second earpiece, and turning off the third earpiece;
if the numerical value of the folding angle is greater than or equal to a first preset angle value and smaller than a second preset angle value, and the folding direction of the folding angle is a direction departing from the first display area or the second display area, the switch control information is third control information; wherein the third control information includes: and opening the third earphone and closing the second earphone.
2. The method of claim 1, wherein if the value of the folding angle is smaller than a first predetermined angle value, the step of setting the switch control information as the first control information or the second control information comprises:
acquiring a first included angle between the first frame and the gravity direction and a second included angle between the second frame and the gravity direction;
if the first included angle is larger than or equal to the second included angle, the control information is first control information;
and if the first included angle is smaller than the second included angle, the control information is second control information.
3. The method of controlling an electronic device according to claim 1, the method further comprising:
receiving a second input for recording audio;
acquiring a folding angle between the first display area and the second display area in response to the second input;
if the numerical value of the folding angle is greater than or equal to a third preset angle value and smaller than a fourth preset angle value, and the folding direction of the folding angle is a direction facing the first display area or the second display area, the control information is fourth control information; wherein the fourth control information includes: and turning on the first microphone and the second microphone.
4. The method of controlling an electronic device according to claim 1, wherein the second audio component includes a second speaker, and the third audio component includes a third speaker;
the method further comprises the following steps:
receiving a third input for playing audio;
acquiring a folding angle between the first display area and the second display area in response to the third input;
if the numerical value of the folding angle is greater than or equal to a fifth preset angle value and smaller than a sixth preset angle value, and the folding direction of the folding angle is a direction facing the first display area or the second display area, the switch control information is fifth control information; wherein the fifth control information includes: and turning on the second speaker and the third speaker.
5. The method according to claim 1, wherein the step of controlling the on/off states of the first, second, and third audio components according to the on/off control information comprises:
and sending the switch control information to a hardware abstraction HAL layer of the electronic equipment, and controlling the first audio component, the second audio component and/or the third audio component through the HAL layer.
6. An electronic device comprising an audio component and a foldable display screen foldable into a first display area and a second display area, wherein the audio component comprises: the first audio component is arranged on a first frame of the electronic equipment, the second audio component is arranged on a second frame of the electronic equipment, and the third audio component is arranged on a third frame of the electronic equipment;
the electronic device further includes:
the angle acquisition module is used for acquiring the folding angle of the folding display screen under the condition of entering a conversation state;
the information determining module is used for determining the on-off control information of the audio component corresponding to the folding angle according to the preset corresponding relation;
the switch control module is used for controlling the on-off states of the first audio component, the second audio component and the third audio component according to the switch control information;
the first audio component comprises a first microphone, the second audio component comprises a second microphone and a second earpiece, and the third audio component comprises a third earpiece;
the information determination module includes:
the first determining submodule is used for determining whether the folding angle value is smaller than a first preset angle value or not, and the switch control information is first control information or second control information; wherein the first control information includes: turning off the first microphone, turning on the second microphone, turning on the third earpiece, and turning off the second earpiece; the second control information includes: turning off the second microphone, turning on the first microphone, turning on the second earpiece, and turning off the third earpiece;
the second determining submodule is used for determining that the switch control information is third control information if the numerical value of the folding angle is greater than or equal to a first preset angle value and smaller than a second preset angle value and the folding direction of the folding angle is a direction departing from the first display area or the second display area; wherein the third control information includes: and opening the third earphone and closing the second earphone.
7. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the control method of the electronic device according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method of an electronic device according to any one of claims 1 to 5.
CN201910944741.8A 2019-09-30 2019-09-30 Control method of electronic equipment and electronic equipment Active CN110730260B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910944741.8A CN110730260B (en) 2019-09-30 2019-09-30 Control method of electronic equipment and electronic equipment
PCT/CN2020/117555 WO2021063249A1 (en) 2019-09-30 2020-09-24 Control method for electronic device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910944741.8A CN110730260B (en) 2019-09-30 2019-09-30 Control method of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN110730260A CN110730260A (en) 2020-01-24
CN110730260B true CN110730260B (en) 2020-11-06

Family

ID=69218737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910944741.8A Active CN110730260B (en) 2019-09-30 2019-09-30 Control method of electronic equipment and electronic equipment

Country Status (2)

Country Link
CN (1) CN110730260B (en)
WO (1) WO2021063249A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730260B (en) * 2019-09-30 2020-11-06 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment
CN114338904B (en) * 2020-09-27 2022-12-30 华为技术有限公司 Incoming call prompting method, electronic equipment and readable storage medium
CN112261180B (en) * 2020-10-12 2022-03-08 维沃移动通信有限公司 Electronic device, control method of electronic device
CN112261201B (en) * 2020-10-20 2022-08-05 Oppo广东移动通信有限公司 Call method, device, mobile terminal and storage medium
CN113259515B (en) * 2021-06-15 2024-01-19 维沃移动通信有限公司 Electronic equipment
CN113630695B (en) * 2021-08-06 2023-05-26 维沃移动通信有限公司 Sound channel switching method and device and electronic equipment
CN114745635B (en) * 2022-03-28 2023-10-27 联想(北京)有限公司 Information processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2515913Y (en) * 2001-12-29 2002-10-09 魏国扬 Improved device of wired hands-free telephone receiver
US7525533B2 (en) * 2005-09-29 2009-04-28 Sony Corporation Audio communication device and audio communication method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7953462B2 (en) * 2008-08-04 2011-05-31 Vartanian Harry Apparatus and method for providing an adaptively responsive flexible display device
KR102141044B1 (en) * 2012-12-03 2020-08-04 삼성전자주식회사 Apparatus having a plurality of touch screens and method for sound output thereof
KR20140098384A (en) * 2013-01-31 2014-08-08 삼성전자주식회사 Portable apparatus having a plurality of touch screens and sound output method thereof
KR20180088703A (en) * 2015-12-31 2018-08-06 선전 로욜 테크놀로지스 컴퍼니 리미티드 Flexible wearable device
CN108134868A (en) * 2017-01-03 2018-06-08 中兴通讯股份有限公司 A kind of speaker control method and mobile terminal
CN108551636B (en) * 2018-05-29 2019-12-10 维沃移动通信有限公司 Loudspeaker control method and mobile terminal
CN209057356U (en) * 2018-12-28 2019-07-02 北京小米移动软件有限公司 A kind of electronic equipment with two-channel
CN109462800A (en) * 2018-12-28 2019-03-12 北京小米移动软件有限公司 A kind of electronic equipment with two-channel
CN110730260B (en) * 2019-09-30 2020-11-06 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2515913Y (en) * 2001-12-29 2002-10-09 魏国扬 Improved device of wired hands-free telephone receiver
US7525533B2 (en) * 2005-09-29 2009-04-28 Sony Corporation Audio communication device and audio communication method

Also Published As

Publication number Publication date
WO2021063249A1 (en) 2021-04-08
CN110730260A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
CN110730260B (en) Control method of electronic equipment and electronic equipment
US11635939B2 (en) Prompting method and mobile terminal
CN110166610B (en) Mobile terminal and switching method of sound outlet
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN109739465B (en) Audio output method and mobile terminal
CN109951582B (en) Mobile terminal and sound output control method
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN107635072B (en) Control method of mobile terminal and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
WO2021169869A1 (en) Audio-playing apparatus, audio-playing method, and electronic device
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN111078186A (en) Playing method and electronic equipment
CN110460717B (en) Terminal control method and mobile terminal
US20220174146A1 (en) Incoming call processing method and electronic device
CN109788114B (en) Call processing method and terminal
CN111614329A (en) Power amplifier, electronic equipment, voltage control method and device
CN111459447B (en) Volume adjustment display method and electronic equipment
CN110673761B (en) Touch key detection method and terminal equipment thereof
KR20230006494A (en) Audio output mode switching method and electronic equipment
CN110913070B (en) Call method and terminal equipment
CN111432071B (en) Call control method and electronic equipment
CN110677770B (en) Sound production control method, electronic device, and medium
CN109309741B (en) Terminal and control method thereof
CN109614827B (en) Control method of mobile terminal and mobile terminal
CN108804071B (en) Receiver driving method 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