CN111741164B - Sound mode switching method and device and computer readable storage medium - Google Patents

Sound mode switching method and device and computer readable storage medium Download PDF

Info

Publication number
CN111741164B
CN111741164B CN202010553206.2A CN202010553206A CN111741164B CN 111741164 B CN111741164 B CN 111741164B CN 202010553206 A CN202010553206 A CN 202010553206A CN 111741164 B CN111741164 B CN 111741164B
Authority
CN
China
Prior art keywords
sound mode
mode switching
sound
switching
mode
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
CN202010553206.2A
Other languages
Chinese (zh)
Other versions
CN111741164A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010553206.2A priority Critical patent/CN111741164B/en
Publication of CN111741164A publication Critical patent/CN111741164A/en
Application granted granted Critical
Publication of CN111741164B publication Critical patent/CN111741164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides a sound mode switching method, a device and a computer readable storage medium, wherein the sound mode switching method comprises the following steps: in the screen-off display state, displaying a mode prompt identifier corresponding to the initial sound mode on a screen-off display interface; activating the sound mode switching control on the screen locking interface when a screen locking interface awakening instruction is received; and when a sound mode switching instruction is received through the sound mode switching control, switching from the initial sound mode to the target sound mode. Through the implementation of the scheme, a user can perform the voice mode switching operation on the screen locking interface, so that the voice mode switching operation steps can be effectively simplified, and the voice mode switching efficiency is improved; in addition, the current sound mode is displayed and prompted on the screen-off display interface, and the perception capability of the user on the current sound mode of the terminal can be effectively improved.

Description

Sound mode switching method and device and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for switching a sound mode, and a computer-readable storage medium.
Background
With the rapid development of terminal technology, the use frequency of intelligent terminals such as mobile phones in the work and life of users is higher and higher. In practical applications, the sound mode of the terminal generally includes a mute mode and a ring mode, and the correct sound mode is generally required to be used in a specific terminal usage scenario.
At present, a terminal provides a voice mode switching function for a user to switch voice modes, and a common voice mode switching mode is to call a shortcut operation status bar on a terminal main interface and then click a mode switching control in the shortcut operation status bar to switch voice modes.
Disclosure of Invention
The embodiment of the application provides a method and a device for switching a sound mode and a computer-readable storage medium, which can at least solve the problems of high operation complexity and low operation efficiency when switching the sound mode in the related art.
A first aspect of an embodiment of the present application provides a method for switching a sound mode, including:
in the screen-off display state, displaying a mode prompt identifier corresponding to the initial sound mode on a screen-off display interface;
activating the sound mode switching control on the screen locking interface when a screen locking interface awakening instruction is received;
and when a sound mode switching instruction is received through the sound mode switching control, switching from the initial sound mode to a target sound mode.
A second aspect of the embodiments of the present application provides a sound mode switching apparatus, including:
the display module is used for displaying the mode prompt identifier corresponding to the initial sound mode on the screen-off display interface in the screen-off display state;
the activation module is used for activating the sound mode switching control on the screen locking interface when receiving a screen locking interface awakening instruction;
and the switching module is used for switching from the initial sound mode to the target sound mode when a sound mode switching instruction is received through the sound mode switching control.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the sound mode switching method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the sound mode switching method provided in the first aspect of the embodiments of the present application when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the sound mode switching method provided in the first aspect of the embodiments of the present application.
As can be seen from the above, according to the sound mode switching method, device and computer-readable storage medium provided in the present application, in the screen-off display state, the mode prompt identifier corresponding to the initial sound mode is displayed on the screen-off display interface; activating the sound mode switching control on the screen locking interface when a screen locking interface awakening instruction is received; and when a sound mode switching instruction is received through the sound mode switching control, switching from the initial sound mode to the target sound mode. Through the implementation of the scheme, a user can perform the voice mode switching operation on the screen locking interface, so that the voice mode switching operation steps can be effectively simplified, and the voice mode switching efficiency is improved; in addition, the current sound mode is displayed and prompted on the screen-off display interface, and the perception capability of the user on the current sound mode of the terminal can be effectively improved.
Drawings
Fig. 1 is a schematic basic flowchart of a voice mode switching method according to a first embodiment of the present application;
FIG. 2 is a schematic view of a screen-off display interface provided in accordance with a first embodiment of the present application;
fig. 3 is a schematic view of a screen locking interface according to a first embodiment of the present application;
fig. 4 is a schematic interface diagram of a voice mode switching operation according to a first embodiment of the present application;
fig. 5 is a flowchart illustrating a method for switching back a sound mode according to a first embodiment of the present application;
fig. 6 is a detailed flowchart of a voice mode switching method according to a second embodiment of the present application;
fig. 7 is a schematic diagram of program modules of an audio mode switching apparatus according to a third embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the 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.
In order to overcome the defects of high operation complexity and low operation efficiency in voice mode switching in the related art, a first embodiment of the present application provides a voice mode switching method applied to an electronic device, where the electronic device may include a mobile phone, a tablet computer, and the like. As shown in fig. 1, which is a basic flowchart of the audio mode switching method provided in this embodiment, the audio mode switching method includes the following steps:
and 101, displaying a mode prompt identifier corresponding to the initial sound mode on a screen-off display interface in a screen-off display state.
Specifically, the off-screen Display (AOD) state of this embodiment refers to a state in which local pixels of the Display screen are controlled to be lit without lighting the entire Display screen when the electronic device is in standby, and may Display time, incoming call, message, battery information, push message, and other contents, so that the user can visually see the required information. Further, the sound mode of the present embodiment includes at least a ringer mode and a mute mode.
It should be noted that, in the present embodiment, it is considered that the user needs to timely sense the real-time sound mode of the electronic device, so as to correctly use the sound mode in a specific use scene. At present, in the related art, the real-time voice mode can be known only by checking the icon of the voice mode switching control only after the shortcut operation status bar is called out on the main interface of the electronic device, and the voice mode is known with low efficiency due to the fact that the whole operation process is relatively complicated. Based on this, in the embodiment, in the off-screen display state, in addition to displaying the commonly used time, the power amount, and the like, a current sound mode of the electronic device is displayed and prompted, as shown in fig. 2, a schematic diagram of an off-screen display interface provided in the embodiment is shown, where a is the off-screen display interface in the ring mode, and B is the off-screen display interface in the mute mode, and an icon of a bell style in the diagram is a mode prompt identifier of the embodiment.
And 102, activating the sound mode switching control on the screen locking interface when a screen locking interface awakening instruction is received.
Specifically, in practical applications, when a user uses the electronic device, the user usually wakes up from the screen-off display interface, enters the screen-locking interface, unlocks the screen-locking interface, and then enters the main interface. In this embodiment, when the screen locking interface is called, the sound mode switching control is activated on the screen locking interface, so that a user can directly perform sound mode switching operation on the screen locking interface. Fig. 3 is a schematic diagram of a screen locking interface provided in this embodiment, in which a is a mode prompt identifier of the screen locking interface, and b is a sound mode switching control. It should be understood that the lock screen interface wake-up command of the present embodiment may be triggered by lifting the electronic device, clicking the fingerprint identification area, and the like, which is not limited herein.
In some embodiments of this embodiment, before activating the sound mode switching control on the lock screen interface, the method further includes: acquiring a sound mode of the associated device based on the communication connection with the associated device; the sound pattern of the associated device is compared to the initial sound pattern.
Specifically, the associated device of this embodiment may be an intelligent wearable device or other types of devices carried by a user and held by an electronic device, or may also be an electronic device held by another user in a current usage scenario, for example, an electronic device held by a conference administrator in a conference scenario. In this embodiment, a sound mode of the associated device is used as a reference to determine whether a current sound mode of the electronic apparatus may conform to an actual application scenario, and when the sound mode comparison of the electronic apparatus and the sound mode of the associated device is inconsistent, a step of activating the sound mode switching control on the screen locking interface is performed, so as to open a sound mode fast switching function to a user. It should be understood that the communication connection of the present embodiment may be a bluetooth connection, a WiFi connection, or the like.
In other embodiments of this embodiment, after activating the sound mode switching control on the lock screen interface, the method further includes: acquiring current application scene information of the electronic device; determining whether a sound mode switching condition is satisfied based on the application scene information and the initial sound mode; and when the sound mode switching condition is met, outputting a control operation prompt corresponding to the sound mode switching control.
Specifically, the application scene information of this embodiment may be obtained based on the current environment or location of the electronic device, and may include a conference scene, a night scene, and the like, where this embodiment compares the current sound mode of the electronic device with a sound mode required in the current application scene to determine whether the electronic device currently satisfies a sound mode switching condition, and when it is determined that the condition is satisfied, to avoid that a user does not perform the sound mode in time, the initiative of the user in performing sound mode switching is improved.
And 103, when the voice mode switching command is received through the voice mode switching control, switching from the initial voice mode to the target voice mode.
Specifically, as shown in fig. 4, an interface schematic diagram of a voice mode switching operation provided in this embodiment is provided, where a is an interface schematic diagram of a user inputting a voice mode switching instruction, and B is an interface display schematic diagram of an electronic device after performing voice mode switching, taking fig. 4 as an example, an initial voice mode of the electronic device is a ring mode, and a target voice mode switched to is a mute mode.
In addition, in some embodiments of the present embodiment, after switching from the initial sound mode to the target sound mode, the method further includes: generating a synchronous switching instruction according to the voice mode switching instruction; and sending the synchronous switching instruction to the associated equipment based on the communication connection with the associated equipment.
Specifically, in this embodiment, it is considered that a user may also carry other intelligent devices besides carrying an electronic device, or a current scene where the user is located may also have electronic devices carried by other users, and in this embodiment, after the electronic device has a voice mode switching requirement and is switched to a target voice mode, other associated devices may also have a voice mode switching requirement, on one hand, the user may forget to perform voice mode switching on the associated devices, and on the other hand, if each associated device requires manual voice mode switching operation by the user, time and labor may be consumed, in this embodiment, after the electronic device at the local end completes voice mode switching, a synchronous switching instruction is further generated, and then the synchronous switching instruction is sent to the associated devices to control the associated devices to perform synchronous switching of voice modes, so that voice mode switching of multiple intelligent devices is achieved through a single voice mode switching operation, the operation efficiency is high, and the user operation is effectively simplified.
As shown in fig. 5, which is a schematic flow chart of the sound mode switching-back method provided in this embodiment, in some embodiments of this embodiment, after switching from the initial sound mode to the target sound mode, the method further includes the following steps:
501, acquiring current application scene information of an electronic device;
step 502, determining a corresponding mode holding duration based on application scene information;
and step 503, when the mode holding time length is reached, controlling the electronic device to switch back to the initial sound mode from the target sound mode.
Specifically, in practical applications, after a user switches the sound mode of the electronic device, if an application scene changes (for example, a meeting ends), the sound mode of the electronic device usually needs to be restored to dynamically meet the usage requirement in the application scene. However, considering that the user usually forgets to restore the sound mode in time, in this embodiment, after the electronic apparatus is switched from the initial sound mode to the target sound mode, the application scenario where the electronic apparatus is located is further determined, the duration of the sound mode switched to is correspondingly determined according to the application scenario, then the electronic apparatus is controlled to maintain the sound mode switched before in the duration of the duration, and once the duration of the sound mode switched before arrives, the electronic apparatus is controlled to automatically switch back to the previous sound mode, so that the intelligence of switching back the sound mode is effectively improved. It should be noted that, in this embodiment, the mode holding duration is maintained according to the application scenario, for example, in a class scenario, the mode holding duration may be 45 minutes, for example, in a night scenario, the mode holding duration may be 8 hours, and the like, of course, the mode holding duration may be preset by a system or may be manually set by a user, and the corresponding relationship between the mode holding duration and the application scenario information may be modified or updated according to the user requirement.
In some embodiments of the present embodiment, when receiving the sound mode switching instruction through the sound mode switching control, switching from the initial sound mode to the target sound mode includes: when a trigger instruction input aiming at the sound mode switching control is received, popping up all subordinate controls of the sound mode switching control; when a voice mode switching instruction is received through a target subordinate control, a target voice mode switching object corresponding to the target subordinate control is obtained; the target sound mode switching object is controlled to switch from the initial sound mode to the target sound mode.
Specifically, in practical applications, the sound mode switching control may be a control having only a single switching function, that is, switching between the silent mode and the ring mode is performed only for the system global of the electronic device, and in this embodiment, in order to improve flexibility, diversity and rationality of sound mode switching, a lower menu is provided for the sound mode switching control, the lower menu includes a plurality of lower controls, and two triggering manners may be preset for the sound mode switching control, wherein when the sound mode switching control is triggered by a first triggering instruction, the sound mode switching control may perform global sound mode switching on all sound mode switching objects of the system global, and when the sound mode switching control is triggered by a second triggering instruction, the lower menu of the sound mode switching control may be called out, so as to pop up all the lower controls, then, when the user inputs a trigger instruction for a specific subordinate control, the sound mode switching object corresponding to the subordinate control is switched in the sound mode to realize the sound mode switching of the local system object, for example, only the sound mode of the incoming call reminder or only the sound mode of the message notification of some specific applications may be switched.
Further, in some embodiments of this embodiment, when receiving the sound mode switching instruction through the target subordinate control, the acquiring of the target sound mode switching object corresponding to the target subordinate control includes: when a voice mode switching instruction is received through a target subordinate control, the control level of the target subordinate control is obtained; a target sound mode switching object whose controlled level matches the control level is determined from all the sound mode switching objects.
Specifically, in this embodiment, the sound mode switching objects are configured correspondingly for different subordinate controls, that is, the control levels are set for the subordinate controls, and the controlled levels are set for the sound mode switching objects, where one subordinate control may only correspond to one sound mode switching object, or may simultaneously correspond to multiple sound mode objects, that is, multiple sound mode objects may be set to the same controlled level. When the target subordinate control is triggered, the corresponding sound mode switching object can be controlled to switch the sound mode.
Based on the technical scheme of the embodiment of the application, in the screen-off display state, the mode prompt identifier corresponding to the initial sound mode is displayed on a screen-off display interface; activating the sound mode switching control on the screen locking interface when a screen locking interface awakening instruction is received; and when a sound mode switching instruction is received through the sound mode switching control, switching from the initial sound mode to the target sound mode. Through the implementation of the scheme, a user can perform the voice mode switching operation on the screen locking interface, so that the voice mode switching operation steps can be effectively simplified, and the voice mode switching efficiency is improved; in addition, the current sound mode is displayed and prompted on the screen-off display interface, and the perception capability of the user on the current sound mode of the terminal can be effectively improved.
The method in fig. 6 is a refined sound mode switching method provided in a second embodiment of the present application, and the sound mode switching method includes:
step 601, displaying a mode prompt identifier corresponding to the initial sound mode on a screen-off display interface in a screen-off display state.
In this embodiment, in the off-screen display state, in addition to displaying the commonly used time, the power amount, and the like, the present sound mode of the electronic device is also displayed and prompted, so that the user can conveniently perceive the real-time sound mode of the electronic device.
Step 602, activating the sound mode switching control on the screen locking interface when receiving a screen locking interface wake-up instruction.
Specifically, in this embodiment, when the lock screen interface is called, the sound mode switching control is activated on the lock screen interface, so that a user can directly perform sound mode switching operation on the lock screen interface, and the efficiency of sound mode switching is improved.
And 603, popping up all subordinate controls of the sound mode switching control when a trigger instruction input aiming at the sound mode switching control is received.
In this embodiment, in order to improve flexibility, diversity, and rationality of the voice mode switching, a subordinate menu including a plurality of subordinate controls is provided for the voice mode switching control.
And step 604, acquiring a target voice mode switching object corresponding to the target subordinate control when the voice mode switching instruction is received through the target subordinate control.
In this embodiment, when a user inputs a trigger instruction for a specific subordinate control, a sound mode switching object corresponding to the subordinate control is switched to a sound mode, so as to implement sound mode switching of a local object of the system.
Step 605 controls the target audio mode switching target to switch from the initial audio mode to the target audio mode.
Specifically, in this embodiment, the sound mode may be switched between the mute mode and the ring mode, and in practical applications, more subdivision types may be set for the sound mode.
And step 606, generating a synchronous switching instruction according to the voice mode switching instruction.
Step 607, sending the synchronous switching instruction to the associated device based on the communication connection with the associated device.
Specifically, the synchronous switching instruction of the present embodiment is used to control the associated device to perform synchronous switching of the sound mode. In this embodiment, after the electronic device at the home terminal completes the switching of the sound modes, a synchronous switching instruction is further generated, and then the synchronous switching instruction is sent to the associated device to control the associated device to perform synchronous switching of the sound modes, so that the sound modes of the plurality of intelligent devices are switched through a single sound mode switching operation, the operation efficiency is high, and the user operation is effectively simplified. It should be understood that the associated device of this embodiment may be an intelligent wearable device or other types of devices carried by the holder of the electronic apparatus, or may be an electronic apparatus held by other users in the current usage scenario.
It should be understood that, the size of the serial number of each step in this embodiment does not mean the execution sequence of the step, and the execution sequence of each step should be determined by its function and inherent logic, and should not be limited uniquely to the implementation process of the embodiment of the present application.
The embodiment of the application discloses a sound mode switching method, wherein a sound mode switching control is arranged on a screen locking interface, so that a user can perform sound mode switching operation on the screen locking interface, the sound mode switching operation steps can be effectively simplified, and the sound mode switching efficiency is improved; in addition, after the sound mode switching is triggered to the electronic device, a synchronous switching instruction is generated to control the associated equipment to synchronously switch the sound mode, so that the operation cooperativity and the operation convenience are improved; in addition, the current sound mode is displayed and prompted on the screen-off display interface, and the perception capability of the user on the current sound mode of the terminal can be effectively improved.
Fig. 7 is a sound mode switching device according to a third embodiment of the present application. The sound mode switching device can be used for realizing the sound mode switching method in the foregoing embodiment. As shown in fig. 7, the sound mode switching apparatus mainly includes:
the display module 701 is configured to display a mode prompt identifier corresponding to the initial sound mode on a screen-off display interface in a screen-off display state;
the activation module 702 is configured to activate the sound mode switching control on the screen locking interface when receiving a screen locking interface wake-up instruction;
the switching module 703 is configured to switch from the initial sound mode to the target sound mode when the sound mode switching instruction is received through the sound mode switching control.
In some embodiments of this embodiment, the sound mode switching device further comprises: the sending module is used for generating a synchronous switching instruction according to the sound mode switching instruction after the initial sound mode is switched to the target sound mode; sending a synchronous switching instruction to the associated equipment based on the communication connection with the associated equipment; and the synchronous switching instruction is used for controlling the associated equipment to synchronously switch the sound modes.
In some embodiments of this embodiment, the sound mode switching device further comprises: the comparison module is used for acquiring the sound mode of the associated equipment based on the communication connection with the associated equipment before the sound mode switching control is activated on the screen locking interface; the sound pattern of the associated device is compared to the initial sound pattern. Correspondingly, the activation module 702 executes the function of activating the sound mode switching control on the screen locking interface when the comparison is inconsistent.
In some embodiments of this embodiment, the switching module 703 is further configured to: after the initial sound mode is switched to the target sound mode, acquiring current application scene information of the electronic device; determining a corresponding mode holding duration based on the application scene information; when the mode holding time period is reached, the control electronics switch from the target sound mode back to the initial sound mode.
In some embodiments of this embodiment, the sound mode switching device further comprises: the prompting module is used for acquiring the current application scene information of the electronic device after the sound mode switching control is activated on the screen locking interface; determining whether a sound mode switching condition is satisfied based on the application scene information and the initial sound mode; and when the sound mode switching condition is met, outputting a control operation prompt corresponding to the sound mode switching control.
In some embodiments of this embodiment, the switching module 703 is specifically configured to: when a trigger instruction input aiming at the sound mode switching control is received, popping up all subordinate controls of the sound mode switching control; when a voice mode switching instruction is received through a target subordinate control, a target voice mode switching object corresponding to the target subordinate control is obtained; the target sound mode switching object is controlled to switch from the initial sound mode to the target sound mode.
Further, in some embodiments of this embodiment, when acquiring the target sound mode switching object corresponding to the target lower level control, the switching module 703 is specifically configured to: acquiring the control level of a target subordinate control; a target sound mode switching object whose controlled level matches the control level is determined from all the sound mode switching objects.
It should be noted that, the sound mode switching methods in the first and second embodiments can be implemented based on the sound mode switching device provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the sound mode switching device described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and details are not described here again.
According to the sound mode switching device provided by the embodiment, in the screen-off display state, the mode prompt identifier corresponding to the initial sound mode is displayed on the screen-off display interface; activating the sound mode switching control on the screen locking interface when a screen locking interface awakening instruction is received; and when a sound mode switching instruction is received through the sound mode switching control, switching from the initial sound mode to the target sound mode. Through the implementation of the scheme, a user can perform the voice mode switching operation on the screen locking interface, so that the voice mode switching operation steps can be effectively simplified, and the voice mode switching efficiency is improved; in addition, the current sound mode is displayed and prompted on the screen-off display interface, and the perception capability of the user on the current sound mode of the terminal can be effectively improved.
Referring to fig. 8, fig. 8 is an electronic device according to a fourth embodiment of the present disclosure. The electronic device can be used for realizing the sound mode switching method in the embodiment. As shown in fig. 8, the electronic device mainly includes:
a memory 801, a processor 802, a bus 803, and computer programs stored on the memory 801 and executable on the processor 802, the memory 801 and the processor 802 being connected by the bus 803. The processor 802, when executing the computer program, implements the voice mode switching method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 801 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 801 is used to store executable program code, and the processor 802 is coupled to the memory 801.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 8.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the sound mode switching method in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the method, apparatus and computer-readable storage medium for switching audio modes provided in the present application, those skilled in the art will recognize that changes may be made in the embodiments and applications without departing from the spirit and scope of the present application, and therefore the disclosure is not to be interpreted as limiting the application.

Claims (9)

1. A method for switching a voice mode, comprising:
in the screen-off display state, displaying a mode prompt identifier corresponding to the initial sound mode on a screen-off display interface;
when a screen locking interface awakening instruction is received, acquiring a sound mode of associated equipment based on communication connection with the associated equipment;
comparing the sound pattern of the associated device with the initial sound pattern;
when the comparison is inconsistent, activating the sound mode switching control on the screen locking interface;
and when a sound mode switching instruction is received through the sound mode switching control, switching from the initial sound mode to a target sound mode.
2. The voice mode switching method according to claim 1, further comprising, after the switching from the initial voice mode to the target voice mode:
generating a synchronous switching instruction according to the sound mode switching instruction;
sending the synchronous switching instruction to an associated device based on communication connection with the associated device; and the synchronous switching instruction is used for controlling the associated equipment to synchronously switch the sound mode.
3. The voice mode switching method according to claim 1, further comprising, after the switching from the initial voice mode to the target voice mode:
acquiring current application scene information of the electronic device;
determining a corresponding mode holding duration based on the application scene information;
controlling the electronic device to switch from the target sound mode back to the initial sound mode when the mode holding duration is reached.
4. The method of claim 1, wherein after the activating the sound mode switching control on the lock screen interface, further comprising:
acquiring current application scene information of the electronic device;
determining whether a sound mode switching condition is satisfied based on the application scene information and the initial sound mode;
and outputting a control operation prompt corresponding to the sound mode switching control when the sound mode switching condition is met.
5. The method according to any one of claims 1 to 4, wherein the switching from the initial sound mode to the target sound mode upon receiving a sound mode switching instruction through the sound mode switching control comprises:
when a trigger instruction input aiming at the sound mode switching control is received, popping up all subordinate controls of the sound mode switching control;
when a voice mode switching instruction is received through a target subordinate control, a target voice mode switching object corresponding to the target subordinate control is obtained;
and controlling the target sound mode switching object to switch from the initial sound mode to the target sound mode.
6. The method according to claim 5, wherein the obtaining of the target voice mode switching object corresponding to the target subordinate control when the voice mode switching instruction is received through the target subordinate control comprises:
when a voice mode switching instruction is received through a target subordinate control, the control level of the target subordinate control is obtained;
and determining a target sound mode switching object of which the controlled level is matched with the control level from all the sound mode switching objects.
7. An audio mode switching apparatus, comprising:
the display module is used for displaying the mode prompt identifier corresponding to the initial sound mode on the screen-off display interface in the screen-off display state;
the comparison module is used for acquiring the sound mode of the associated equipment based on the communication connection with the associated equipment when a screen locking interface awakening instruction is received; comparing the sound pattern of the associated device with the initial sound pattern;
the activation module is used for activating the sound mode switching control on the screen locking interface when the comparison is inconsistent;
and the switching module is used for switching from the initial sound mode to the target sound mode when a sound mode switching instruction is received through the sound mode switching control.
8. An electronic device, comprising: a memory, a processor, and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is configured to execute a computer program stored on the memory;
the processor, when executing the computer program, performs the steps of the method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010553206.2A 2020-06-17 2020-06-17 Sound mode switching method and device and computer readable storage medium Active CN111741164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010553206.2A CN111741164B (en) 2020-06-17 2020-06-17 Sound mode switching method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010553206.2A CN111741164B (en) 2020-06-17 2020-06-17 Sound mode switching method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111741164A CN111741164A (en) 2020-10-02
CN111741164B true CN111741164B (en) 2021-03-23

Family

ID=72649460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010553206.2A Active CN111741164B (en) 2020-06-17 2020-06-17 Sound mode switching method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111741164B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112331146A (en) * 2020-11-18 2021-02-05 云谷(固安)科技有限公司 Display panel driving chip, control method and display panel

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345355A (en) * 2013-07-18 2013-10-09 北京小米科技有限责任公司 Screen-locking interface display control method, device and terminal device
US8761730B2 (en) * 2011-02-16 2014-06-24 Sony Corporation Display processing apparatus
WO2015108223A1 (en) * 2014-01-14 2015-07-23 Lg Electronics Inc. Apparatus and method for digital device providing quick control menu
CN105472169A (en) * 2016-01-13 2016-04-06 广东小天才科技有限公司 Mobile terminal operation mode switching method and system
CN105847569A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Handset sound mode automatic switching method and device
CN106250025A (en) * 2016-08-04 2016-12-21 北京奇虎科技有限公司 The method of camera, device and mobile terminal is called under screen lock state
CN106325697A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Method and device for processing screen locking interface in terminal
CN107277266A (en) * 2017-07-13 2017-10-20 广东小天才科技有限公司 A kind of mode switching method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101824413B1 (en) * 2011-08-30 2018-02-02 삼성전자주식회사 Method and apparatus for controlling operating mode of portable terminal
CN107734184A (en) * 2017-10-31 2018-02-23 珠海市魅族科技有限公司 A kind of indicating mode switching method, device, terminal and readable storage medium storing program for executing
CN107943385A (en) * 2017-11-03 2018-04-20 腾讯科技(深圳)有限公司 Parameter adjusting method and parameter adjustment control
CN108900708A (en) * 2018-06-28 2018-11-27 努比亚技术有限公司 Application method, mobile terminal and the readable storage medium storing program for executing of flashlight

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8761730B2 (en) * 2011-02-16 2014-06-24 Sony Corporation Display processing apparatus
CN103345355A (en) * 2013-07-18 2013-10-09 北京小米科技有限责任公司 Screen-locking interface display control method, device and terminal device
WO2015108223A1 (en) * 2014-01-14 2015-07-23 Lg Electronics Inc. Apparatus and method for digital device providing quick control menu
CN106325697A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Method and device for processing screen locking interface in terminal
CN105472169A (en) * 2016-01-13 2016-04-06 广东小天才科技有限公司 Mobile terminal operation mode switching method and system
CN105847569A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Handset sound mode automatic switching method and device
CN106250025A (en) * 2016-08-04 2016-12-21 北京奇虎科技有限公司 The method of camera, device and mobile terminal is called under screen lock state
CN107277266A (en) * 2017-07-13 2017-10-20 广东小天才科技有限公司 A kind of mode switching method and device

Also Published As

Publication number Publication date
CN111741164A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
US10528434B2 (en) Method, device and terminal for restoring firmware program
US10447843B2 (en) Method, device and storage medium for setting position of function setting key of mobile terminal
EP2381357B1 (en) Generation and control of a title bar on a display of a portable electronic device having multiple applications
US20140123073A1 (en) Method, Apparatus, and Mobile Terminal for Operation Interface Management
US20090327958A1 (en) Electronic device having multiple operation modes and a method of providing the multiple operation modes
CN105653226A (en) Information display method and device
CN109062479A (en) Split screen application switching method, device, storage medium and electronic equipment
US9635169B2 (en) Method for managing data traffic of software and portable electronic apparatus using the same
US20150026648A1 (en) Method for triggering applications with a smart device
AU2019203256B2 (en) Fingerprint event processing method, apparatus, and terminal
CN106126377B (en) The method and device of system starting
CN104572175A (en) Method and device for rapidly starting non-privacy type applications
CN110753153A (en) Terminal control method, terminal and computer storage medium
CN114968375A (en) System switching method and device, electronic equipment and readable storage medium
CN111741164B (en) Sound mode switching method and device and computer readable storage medium
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal
CN104461368A (en) User-defined touch screen locking method and device
CN112035087A (en) Information prompting method and device, electronic equipment and readable storage medium
CN114415530A (en) Control method, control device, electronic equipment and storage medium
CN111290926A (en) Terminal prompting method and device, storage medium and terminal
CN111309325A (en) Method and device for reference of third-party library and mobile terminal
CN110851215A (en) Screen locking interface control method, mobile terminal and computer storage medium
CN107340963B (en) Information processing method and electronic equipment
CN111526192B (en) Remote control method and device of terminal, terminal and computer readable storage medium
CN109537696B (en) Intelligent flushing control method and device, intelligent equipment and storage medium

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