CN110191503B - Audio playing method, system, storage medium and mobile terminal - Google Patents

Audio playing method, system, storage medium and mobile terminal Download PDF

Info

Publication number
CN110191503B
CN110191503B CN201910480539.4A CN201910480539A CN110191503B CN 110191503 B CN110191503 B CN 110191503B CN 201910480539 A CN201910480539 A CN 201910480539A CN 110191503 B CN110191503 B CN 110191503B
Authority
CN
China
Prior art keywords
wireless network
audio playing
baseband processor
state
memory
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
CN201910480539.4A
Other languages
Chinese (zh)
Other versions
CN110191503A (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.)
Guangzhou Huaxing Electronic Co ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910480539.4A priority Critical patent/CN110191503B/en
Publication of CN110191503A publication Critical patent/CN110191503A/en
Application granted granted Critical
Publication of CN110191503B publication Critical patent/CN110191503B/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/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/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0235Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a power saving command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses an audio playing method, a system, a storage medium and a mobile terminal, comprising: when detecting that audio playing data is acquired through a wireless network, configuring the working state of the wireless network as an audio playing state; when receiving a screen-off instruction, setting the baseband processor to be in a dormant state; and when receiving a screen-lighting instruction, setting the baseband processor as a preset working state of the baseband processor, updating the audio playing information, and controlling the wireless network to exit from the audio playing state. The baseband processor can enter a dormant state in the breath screen state, thereby reducing the power consumption of a user when the user uses the wireless network to listen to the audio.

Description

Audio playing method, system, storage medium and mobile terminal
Technical Field
The present application relates to the field of communications, and in particular, to an audio playing method, system, storage medium, and mobile terminal.
Background
In recent years, with the development of science and technology and the improvement of the requirements of people on living quality, a wireless network is favored by people because the wireless network does not need wiring and has a high transmission speed, and a common smart phone, a tablet personal computer and a notebook computer support the communication of the wireless network, which also provides convenience for people in working.
In the prior art, a user accesses a network through a wireless network to perform multimedia experiences of videos, music and the like, wherein music generally only focuses on hearing so that a mobile terminal can turn off a screen, and a baseband processor of the mobile terminal is still active although the screen is turned off, so that the power consumption is higher when the user uses the wireless network to perform pure music listening and is far higher than the actual consumption of the user. .
Therefore, the prior art has defects and needs to be improved urgently.
Disclosure of Invention
The embodiment of the application provides an audio playing method, which can enable a baseband processor to enter a dormant state in a breath screen state, so as to reduce the power consumption of a user when the user uses a wireless network to listen to audio.
The embodiment of the application provides an audio playing method, which is applied to a mobile terminal comprising a wireless network, a baseband processor and a memory, and comprises the following steps:
when detecting that audio playing data are acquired through a wireless network, configuring the working state of the wireless network as an audio playing state;
when an instruction of screen turning is received, setting the baseband processor to be in a dormant state;
and when receiving a screen-on instruction, setting the baseband processor to be in a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from an audio playing state.
In the audio playing method of the present application, the step of configuring the working state of the wireless network to be an audio playing state includes:
and setting a first value of a mode register in the wireless network according to a preset value so as to change the preset working state of the wireless network into an audio playing state.
In the audio playing method of the present application, before the step of setting the baseband processor to be in the sleep state, the method further includes:
obtaining a second value of a mode register in the wireless network;
judging whether the second numerical value is the same as the preset numerical value or not;
and if so, setting the baseband processor to be in a preset sleep mode.
In the audio playing method of the present application, before the step of setting the baseband processor to be in the preset sleep mode, the method further includes:
acquiring a memory address range occupied during audio playing;
sending the memory address range to the wireless network;
and interrupting the connection of the baseband processor and the wireless network, and connecting the memory and the wireless network.
In the audio playing method of the present application, before the steps of setting the baseband processor to be a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit the audio playing state, the method further includes:
acquiring a third numerical value of a mode register in the wireless network;
judging whether the third numerical value is the same as the preset numerical value or not;
if yes, setting the baseband processor to be a preset working state of the baseband processor, controlling the baseband processor to update audio playing information and controlling the wireless network to exit from the audio playing state.
In the audio playing method of the present application, before the steps of setting the baseband processor to be a preset working state of the baseband processor, and controlling the baseband processor to update the audio playing information and control the wireless network to exit the audio playing state, the method further includes:
and interrupting the connection of the memory and the wireless network, and connecting the memory and the baseband processor.
In the audio playing method of the present application, before the step of configuring the working state of the wireless network as the audio playing state, the method further includes:
and acquiring an audio play list of audio to be played.
An embodiment of the present application further provides an audio playing system, including:
the baseband processor is connected with the memory through a first switch, the memory is connected with the wireless network through a second switch, the first switch and the second switch are controlled to be switched on and off by the baseband processor, and the baseband processor comprises:
the configuration module is used for configuring the working state of the wireless network into an audio playing state when detecting that audio playing data are acquired through the wireless network;
the setting module is used for setting the baseband processor to be in a dormant state when receiving a screen-off instruction;
and the processing module is used for setting the baseband processor as a preset working state of the baseband processor and updating audio playing information when receiving a screen-on instruction, and controlling the wireless network to exit from an audio playing state. .
An embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the audio playing method as described above.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the audio playing method by calling the computer program stored in the memory.
The audio playing method provided by the embodiment of the application comprises the following steps: when detecting that audio playing data are acquired through a wireless network, configuring the working state of the wireless network as an audio playing state; when an instruction of screen turning is received, setting the baseband processor to be in a dormant state; and when receiving a screen-on instruction, setting the baseband processor to be in a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from an audio playing state. The baseband processor can enter a dormant state in the breath screen state, thereby reducing the power consumption of a user when the user uses the wireless network to listen to the audio.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first audio playing method according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of a second audio playing method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an audio playing system according to an embodiment of the present application.
Fig. 4 is a specific structural block diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. 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 the prior art, WIreless networking of a WIreless network is commonly used, and although the WIreless communication quality transmitted by a WIreless-Fidelity (WIFI) technology is not very good, the data security performance is poor, and the transmission quality needs to be improved, the transmission speed is very high, which can reach 54 megabits per second (Mbps), and meets the requirements of personal and social informatization. The main advantage of WIFI is that it does not need wiring, and it can not be limited by wiring conditions, so it is very suitable for the needs of mobile office users, and because the transmission signal power is lower than 100mw, and lower than the transmission power of mobile phone, it is relatively the safest and healthier to access the internet via WIFI. However, the WIFI signal is also provided by a wired network, such as Asymmetric Digital Subscriber Line (ADSL) in home, broadband in a cell, etc., and the wired signal can be converted into the WIFI signal by only connecting a wireless router. In many developed countries abroad, cities are covered with WIFI signals provided by governments or large companies for residents to use, and many places in China implement wireless city engineering to promote the technology. In a trial city where 4G license plates are not issued, 4G is converted into WIFI in many places to enable citizens to try out. Because all current mobile terminals are provided with WIFI chips, connecting networks through WIFI is one of the most common operations, on the other hand, multimedia services of the mobile terminals are rapidly developed, users can perform multimedia experiences of videos, music and the like by connecting the mobile terminals into the networks through the WIFI, and the mobile terminals can turn off screens to perform music, like music, because the users only generally pay attention to hearing, and the current baseband controllers of the mobile terminals are still active even though the screens are turned off, so that the power consumption is higher when the users use the WIFI to perform pure music listening, and is far higher than the actual consumption of the mobile terminals.
Referring to fig. 1, fig. 1 is a first flowchart illustrating an audio playing method according to an embodiment of the present disclosure. The method comprises the following steps:
step 101, when detecting that audio playing data is acquired through a wireless network, configuring the working state of the wireless network to be an audio playing state.
It can be understood that, when detecting that the data of the audio playing is acquired through the wireless network refers to that the user wants to listen to the online audio by using the mobile terminal, the mobile terminal will detect whether the mobile terminal acquires the online audio playing file after connecting to the wireless network in real time.
When detecting that the mobile terminal acquires the audio playing file through the wireless network, the mobile terminal changes the current working state of the wireless network into an audio playing state. The current working state of the wireless network refers to a working mode of the wireless network in a normal state, and the working mode of the wireless network in the normal state is changed into an audio playing state only when a user acquires an audio playing file through the wireless network, wherein the method for changing the working mode of the wireless network is to set a relevant register of the wireless network.
And 102, when an instruction of screen turning is received, setting the baseband processor to be in a dormant state.
It is understood that the sleep state here is that the baseband processor enters the sleep state after receiving the screen-blanking instruction, i.e. the baseband processor stops working.
And 103, when receiving a screen-lighting instruction, setting the baseband processor to be in a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from an audio playing state.
Specifically, after the processor receives an instruction to light the screen, the baseband processor is activated and changed from the sleep state to a preset operating state, where the preset operating state is a normal operating state of the baseband processor. And updating audio playing information, where the audio playing information is the audio name, progress, and the like of the currently played audio, for example: for example, in the "work meeting record" of the first time, audio playing information with the playing progress of 65% is recorded.
And controlling the wireless network to exit the audio playing state, namely setting a relevant register of the wireless network.
The audio playing method provided by the embodiment of the application comprises the following steps: when detecting that audio playing data are acquired through a wireless network, configuring the working state of the wireless network as an audio playing state; when an instruction of screen turning is received, setting the baseband processor to be in a dormant state; and when receiving a screen-on instruction, setting the baseband processor to be in a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from an audio playing state. The baseband processor can enter a dormant state in the breath screen state, thereby reducing the power consumption of a user when the user uses the wireless network to listen to the audio.
Referring to fig. 2, fig. 2 is a second flowchart illustrating an audio playing method according to an embodiment of the present disclosure. The method comprises the following steps:
step 201, detecting whether to acquire the audio playing data through the wireless network, and if it is detected that the mobile terminal acquires the audio playing data through the wireless network, executing step 202.
The step of acquiring the audio playing data through the wireless network refers to acquiring the audio playing data through the wireless network after the mobile terminal is connected to the network through the wireless network. When a user wants to listen to the online audio by using the mobile terminal, the mobile terminal can detect whether the mobile terminal is connected to a wireless network or not in real time and then acquire an online audio playing file.
Step 202, an audio play list of audio to be played is obtained, and a first numerical value of a mode register in the wireless network is set according to a preset numerical value.
Specifically, the audio playlist of the audio to be played acquired here may be composed of audio names of the audio data to be played, for example: the audio data to be played includes: the mobile terminal obtains the audio names of the audio data to be played, such as "go to the mountain", "recording of the first work meeting", and the like.
Setting a first vertical mode of a mode register in a wireless network according to a preset value, for example: the mode register of the wireless network is eight bits, wherein the 2 nd bit and the 3 rd bit from right to left are used for changing the working state of the wireless network, when the 2 nd bit and the 3 rd bit are '01', the wireless network is in an audio playing state, and the 2 nd bit and the 3 rd bit from right to left are set to '01' in the mode register of the wireless network, so that the wireless network can carry out the audio playing state. For example, "10" is the normal preset operating state of the wireless network, then "10" may also be set to the 2 nd bit and the 3 rd bit from right to left of the mode register of the wireless network, so that the operating state of the wireless network is changed to the normal preset operating state. Here, "01" is the predetermined value, and "10" is the first value.
Step 203, receiving a screen turning instruction, and after receiving the screen turning instruction, executing step 204.
It is understood that the screen turning-off instruction refers to an instruction taken by the user to turn off the screen, and may be a screen turning-off instruction generated when the user wants to turn off the screen by clicking a lock key of the mobile terminal, by voice or by clicking a specific button on the screen.
Step 204, acquiring a second numerical value of the mode register in the wireless network, and after the second numerical value is acquired, executing step 205.
The second value of the mode register in the wireless network obtained here is the second value of the mode register in the wireless network obtained at the timestamp of obtaining the mode register in the wireless network. Here, the second value is a value in a position corresponding to the preset value in the mode register, for example: the predetermined value is the 2 nd and 3 rd bits from right to left in the mode register, and the obtained second value is the 2 nd and 3 rd bits from right to left.
Step 205, determine whether the second value is the same as the preset value, if so, execute step 206.
It is understood that the determination of whether the second value is the same as the preset value is to detect whether the wireless network is in the audio playing state in the current state. For example: and if the second numerical value is '01' and the preset numerical value is '01', determining that the wireless network is in the audio playing state in the current state.
In step 206, the memory address range occupied by the audio playing is obtained.
Specifically, the memory address range occupied during audio playing is a part of memory allocated for audio playing when the mobile terminal performs audio playing, and the memory address range occupied during audio playing is a part of memory allocated when the mobile terminal performs audio playing.
Step 207, sending the memory address range to the wireless network.
Specifically, the sending of the memory address range to the wireless network is to notify the wireless network and send the memory address range to the wireless network.
Step 208, the connection between the baseband processor and the memory is interrupted, and the memory is connected to the wireless network.
The method aims to enable the wireless network to directly use the memory address range sent to the wireless network by the baseband processor, and the problem that the memory utilization rate is reduced by reusing other memory addresses when audio is played is solved.
Step 209, the baseband processor is set to a preset sleep mode.
It is understood that the sleep state here is that the baseband processor enters the sleep state after receiving the screen-blanking instruction, i.e. the baseband processor stops working.
Step 210, receiving a screen-up command, and after receiving the screen-up command, executing step 211.
It is understood that the screen-turning instruction refers to an instruction taken by a user to turn on a screen, and may be a screen-turning instruction generated when the user wants to turn on the screen by clicking a lock key of the mobile terminal, by voice or by clicking a specific button on the screen.
Step 211, obtain a third value of the mode register in the wireless network.
The third value of the mode register in the wireless network obtained here means that the third value of the mode register in the wireless network obtained at this time stamp of the mode register is obtained. Here, the third value is a value in a position corresponding to the preset value in the mode register, for example: the preset value is the 2 nd and 3 rd bits from right to left in the mode register, and the third value is the 2 nd and 3 rd bits from right to left.
Step 212, determine whether the third value is the same as the preset value, if so, execute step 213.
It is understood that the determination of whether the third value is the same as the preset value is to detect whether the wireless network is in the audio playing state in the current state. For example: and if the third numerical value is 01 and the preset numerical value is 01, determining that the wireless network is in the audio playing state in the current state.
Step 213, the baseband processor interrupts the connection of the memory to the wireless network and connects the memory.
The baseband processor uses other memory addresses again to reduce the memory utilization rate when the audio playing state of the wireless network is changed to the preset normal working state.
Step 214, setting the baseband processor to be a preset working state of the baseband processor, and the baseband processor updates the playing information and controls the wireless network to exit the audio playing state.
Specifically, the baseband processor is activated and changed from a sleep state to a preset operating state, where the preset operating state is a normal operating state of the baseband processor. And updating audio playing information, where the audio playing information is the audio name, progress, and the like of the currently played audio, for example: the "recording of the first work meeting" in the "mountain go", audio playing information with a playing progress of 65% and the like is played.
Controlling the wireless network to exit the audio playing state, for example: the mode register of the wireless network is eight bits, wherein the 2 nd bit and the 3 rd bit from right to left are used for changing the working state of the wireless network, when the 2 nd bit and the 3 rd bit are '01', the wireless network is in a preset normal working state, and the wireless network can exit the audio playing state by setting '01' in the 2 nd bit and the 3 rd bit from right to left of the mode register of the wireless network.
The audio playing method provided by the embodiment of the application comprises the following steps: when detecting that audio playing data are acquired through a wireless network, configuring the working state of the wireless network as an audio playing state; when an instruction of screen turning is received, setting the baseband processor to be in a dormant state; and when receiving a screen-on instruction, setting the baseband processor to be in a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from an audio playing state. The baseband processor can enter a dormant state in the breath screen state, thereby reducing the power consumption of a user when the user uses the wireless network to listen to the audio.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an audio playing system according to an embodiment of the present application. The audio playing system comprises: the baseband processor 1801, the wireless network 1701, the memory 120, link between the said baseband processor 1801 and the said memory 120 through the first switch 210, the said memory 120 links with the said wireless network 1701 through the second switch 220, the said first switch 210 and said second switch 220 are controlled to turn on or off by the said baseband processor 1801, the said baseband processor 1801 includes: configuration module 31, setting module 32, and processing module 33.
The configuration module 31 is configured to configure the working state of the wireless network as an audio playing state when detecting that data of audio playing is acquired through the wireless network.
It can be understood that, when detecting that the data of the audio playing is acquired through the wireless network refers to that the user wants to listen to the online audio by using the mobile terminal, the mobile terminal will detect whether the mobile terminal acquires the online audio playing file after connecting to the wireless network in real time.
When detecting that the mobile terminal acquires the audio playing file through the wireless network, the mobile terminal changes the current working state of the wireless network into an audio playing state. The current working state of the wireless network refers to a working mode of the wireless network in a normal state, and the working mode of the wireless network in the normal state is changed into an audio playing state only when a user acquires an audio playing file through the wireless network, wherein the method for changing the working mode of the wireless network is to set a relevant register of the wireless network.
And the setting module 32 is configured to set the baseband processor to be in a sleep state when receiving the instruction of screen turning.
It is understood that the sleep state here is that the baseband processor enters the sleep state after receiving the screen-off command, and the baseband processor stops working.
And the processing module 33 is configured to set the baseband processor to be a preset working state of the baseband processor and update audio playing information when receiving a screen-lighting instruction, and control the wireless network to exit from an audio playing state.
Specifically, after receiving an instruction to light a screen, the baseband processor activates the baseband processor and changes the sleep state to a preset operating state, where the preset operating state is a normal operating state of the baseband processor. And updating audio playing information, where the audio playing information is the audio name, progress, and the like of the currently played audio, for example: for example, in the "work meeting record" of the first time, audio playing information with the playing progress of 65% is recorded.
Controlling the wireless network to exit the audio playing state, for example: the mode register of the wireless network is eight bits, wherein the 2 nd bit and the 3 rd bit from right to left are used for changing the working state of the wireless network, when the 2 nd bit and the 3 rd bit are '01', the wireless network is in a preset normal working state, and the wireless network can exit the audio playing state by setting '01' in the 2 nd bit and the 3 rd bit from right to left of the mode register of the wireless network.
Based on the above method, the present invention further provides a storage medium having a plurality of instructions stored thereon, wherein the instructions are suitable for being loaded by a processor and executing the audio playing method as described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Fig. 4 is a block diagram illustrating a specific structure of a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be used to implement the audio playing method, system, storage medium, and mobile terminal provided in the foregoing embodiments. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 4, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 4 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE 802.2.access, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Microwave Access (Microwave for Wireless Communication), other suitable protocols for short message service (Max), and any other suitable protocols, and may even include those protocols that have not yet been developed.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the audio playing method, system, storage medium and mobile terminal in the foregoing embodiments, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120, that is, realizes the functions of mutually identifying the chips. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 120 may further include memory located remotely from processor 180, which may be connected to mobile terminal 1200 via a network. Examples of the above network include, but are not limited to, the internet, an intranet, a lan, a mobile communication network, and a combination thereof, and the storage 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means 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 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to touch-sensitive surface 131, input unit 130 may include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 3, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions. In the above embodiment, the display interface of the mobile terminal may be represented by the display unit 140, and content that associates the current mobile payment information with the current store information may be displayed on the display unit 140 of the mobile terminal 1200, that is, the display content displayed on the display interface may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, through the transmission module 170 (e.g., the wireless network module 1701) may assist the user in e-mail transmission, web browsing, streaming media access, etc., which provides the user with wireless broadband internet access. Although fig. 3 illustrates the transmission module 170, it is understood that it does not belong to the essential constitution of the mobile terminal 1200, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: baseband processor 1801, Arithmetic Logic Unit (ALU), application processor, Global Positioning System (GPS), and control and status Bus (Bus) (not shown). The baseband processor 1801 is configured to perform transceiving, modulation and demodulation on signals.
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) that powers the various components and, in some embodiments, may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
when detecting that audio playing data are acquired through a wireless network, configuring the working state of the wireless network as an audio playing state;
when an instruction of screen turning is received, setting the baseband processor to be in a dormant state;
and when receiving a screen-on instruction, setting the baseband processor to be in a preset working state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from an audio playing state.
In some embodiments, the step of configuring the operating state of the wireless network to be an audio playing state includes:
and setting a first value of a mode register in the wireless network according to a preset value so as to change the preset working state of the wireless network into an audio playing state.
In some embodiments, before the step of setting the baseband processor to the sleep state, the method further comprises:
acquiring a second numerical value of the mode register in the wireless network;
judging whether the second numerical value is the same as the preset numerical value or not;
and if so, setting the baseband processor to be in a preset sleep mode.
In some embodiments, before the step of setting the baseband processor to the preset sleep mode, the method further includes:
acquiring a memory address range occupied during audio playing;
sending the memory address range to the wireless network;
and interrupting the connection of the baseband processor and the wireless network, and connecting the memory and the wireless network.
In some embodiments, before the steps of setting the baseband processor to be a preset operating state of the baseband processor, updating audio playing information, and controlling the wireless network to exit from the audio playing state, the method further includes:
acquiring a third numerical value of a mode register in the wireless network;
judging whether the third numerical value is the same as the preset numerical value or not;
if yes, setting the baseband processor to be a preset working state of the baseband processor, and updating audio playing information and controlling the wireless network to exit the audio playing state by the baseband processor.
In some embodiments, before the step of setting the baseband processor to be in the preset operating state of the baseband processor, the step of the baseband processor updating the audio playing information and controlling the wireless network to exit the audio playing state further includes:
the baseband processor interrupts the connection of the memory to the wireless network and connects the memory.
In some embodiments, before the step of configuring the operating state of the wireless network to be an audio playing state, the method further includes:
and acquiring an audio play list of audio to be played.
In the foregoing 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.
The audio playing method, the audio playing system, the storage medium and the mobile terminal provided by the embodiments of the present application are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the technical scheme and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (8)

1. An audio playing method is applied to a mobile terminal comprising a wireless network, a baseband processor and a memory, and is characterized by comprising the following steps:
when detecting that audio playing data are acquired through a wireless network, configuring the working state of the wireless network as an audio playing state;
when a screen turning instruction is received, acquiring a second numerical value of a mode register in the wireless network;
judging whether the second numerical value is the same as a preset numerical value, wherein the preset numerical value is a numerical value of a position, corresponding to the second numerical value, in a mode register in the wireless network;
if so, acquiring a memory address range occupied by the audio playing;
sending the memory address range to the wireless network;
interrupting the connection between the baseband processor and the memory, connecting the memory with the wireless network, and setting the baseband processor to be in a preset dormant state;
and when receiving a screen-on instruction, the baseband processor interrupts the connection between the memory and the wireless network, is connected with the memory, sets the baseband processor to be in a preset working state of the baseband processor, updates audio playing information and controls the wireless network to exit from an audio playing state.
2. The audio playing method according to claim 1, wherein the step of configuring the operating status of the wireless network to be an audio playing status comprises:
and setting a first value of a mode register in the wireless network according to a preset value so as to change the preset working state of the wireless network into an audio playing state.
3. The audio playing method according to claim 1, wherein before the steps of setting the baseband processor to be a preset operating state of the baseband processor, updating audio playing information, and controlling the wireless network to exit the audio playing state, the method further comprises:
acquiring a third numerical value of a mode register in the wireless network;
judging whether the third numerical value is the same as a preset numerical value or not;
if yes, setting the baseband processor to be a preset working state of the baseband processor, controlling the baseband processor to update audio playing information and controlling the wireless network to exit from the audio playing state.
4. The audio playing method according to claim 3, wherein before the steps of setting the baseband processor to be a preset operating state of the baseband processor, and controlling the baseband processor to update the audio playing information and control the wireless network to exit the audio playing state, the method further comprises:
the memory is disconnected from the wireless network and connected to the baseband processor.
5. The audio playing method according to claim 1, wherein before the step of configuring the operating state of the wireless network to be the audio playing state, the method further comprises:
and acquiring an audio play list of audio to be played.
6. An audio playback system, comprising: the baseband processor is connected with the memory through a first switch, the memory is connected with the wireless network through a second switch, the first switch and the second switch are controlled to be switched on and off by the baseband processor, and the baseband processor comprises:
the configuration module is used for configuring the working state of the wireless network into an audio playing state when detecting that audio playing data are acquired through the wireless network;
the setting module is used for acquiring a second numerical value of the mode register in the wireless network when receiving a screen turning instruction;
judging whether the second numerical value is the same as a preset numerical value, wherein the preset numerical value is a numerical value of a position, corresponding to the second numerical value, in a mode register in the wireless network;
if so, acquiring a memory address range occupied by the audio playing;
sending the memory address range to the wireless network;
interrupting the connection between the baseband processor and the memory, connecting the memory with the wireless network, and setting the baseband processor to be in a preset dormant state;
and the processing module is used for interrupting the connection between the memory and the wireless network when receiving a screen-on instruction, connecting the memory with the baseband processor, setting the baseband processor to be a preset working state of the baseband processor, updating audio playing information and controlling the wireless network to exit from an audio playing state.
7. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the audio playback method according to any one of claims 1 to 5.
8. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the audio playing method according to any one of claims 1 to 5 by calling the computer program stored in the memory.
CN201910480539.4A 2019-06-04 2019-06-04 Audio playing method, system, storage medium and mobile terminal Active CN110191503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910480539.4A CN110191503B (en) 2019-06-04 2019-06-04 Audio playing method, system, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910480539.4A CN110191503B (en) 2019-06-04 2019-06-04 Audio playing method, system, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN110191503A CN110191503A (en) 2019-08-30
CN110191503B true CN110191503B (en) 2022-06-10

Family

ID=67720128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910480539.4A Active CN110191503B (en) 2019-06-04 2019-06-04 Audio playing method, system, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN110191503B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971760B (en) * 2019-12-04 2021-02-26 Tcl移动通信科技(宁波)有限公司 Network communication content output control method and device, storage medium and terminal equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156217B (en) * 2014-08-15 2017-06-30 广东欧珀移动通信有限公司 A kind of shared method of screen content, device and mobile terminal
CN105263182B (en) * 2015-09-17 2019-01-04 小米科技有限责任公司 Apparatus control method, device and terminal
CN105872642A (en) * 2015-11-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for controlling WiHD transmission on mobile phone and related device thereof
CN105813180A (en) * 2016-03-14 2016-07-27 福州瑞芯微电子股份有限公司 Modem intelligent dormancy method and system
US10768920B2 (en) * 2016-06-15 2020-09-08 Microsoft Technology Licensing, Llc Update coordination in a multi-tenant cloud computing environment
CN108572774A (en) * 2017-03-09 2018-09-25 上海传英信息技术有限公司 Music gesture switching method and mobile terminal under standby mode
CN107027141B (en) * 2017-05-08 2019-02-12 Oppo广东移动通信有限公司 Information processing method, device and mobile terminal
CN107332992B (en) * 2017-06-29 2020-08-25 维沃移动通信有限公司 Video playing method and mobile terminal
CN108337363A (en) * 2017-12-26 2018-07-27 努比亚技术有限公司 A kind of terminal puts out screen display control method, terminal

Also Published As

Publication number Publication date
CN110191503A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
WO2018219119A1 (en) Application function control method and relevant product
WO2015081664A1 (en) Method, apparatus, device and system for controlling wireless network to be switched on/off
WO2018120905A1 (en) Message reminding method for terminal, and terminal
CN108541002B (en) A kind of monitor method of paging message, mobile terminal and server
WO2018214744A1 (en) Information processing method and related product
CN108628430A (en) A kind of game electricity-saving control method, terminal and computer readable storage medium
CN108494639A (en) Network access method and mobile terminal
JP2020507979A (en) Call control method and related products
CN109687922B (en) Signal monitoring method and device of wireless network, storage medium and mobile terminal
CN106792434B (en) Hotspot establishing method and terminal equipment
CN110191503B (en) Audio playing method, system, storage medium and mobile terminal
CN106454953B (en) Flow control method, device and terminal
CN109831798B (en) Signal acquisition method, system, storage medium and mobile terminal
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN106815077B (en) Data processing method based on intelligent device architecture and intelligent device
WO2018219117A1 (en) Component display method and related product
CN108391288A (en) A kind of method and mobile terminal of optimization communication service quality
CN108833712A (en) A kind of message prompt method, terminal and computer readable storage medium
CN109189482A (en) A kind of display control method, terminal and computer readable storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN106331825B (en) Multimedia synchronous plays method, device, terminal and system
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN112929793B (en) Audio framework, audio control method, device and equipment
CN108287755A (en) A kind of control method and mobile terminal of application program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240201

Address after: Room 1203, No. 2 Houkenanli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen Luan Chuang Technology Co.,Ltd.

Country or region after: Zhong Guo

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

Country or region before: Zhong Guo

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240320

Address after: No. 75, Jinghu Avenue, Xinya Street, Huadu District, Guangzhou City, Guangdong Province, 510000

Patentee after: GUANGZHOU HUAXING ELECTRONIC CO.,LTD.

Country or region after: Zhong Guo

Address before: Room 1203, No. 2 Houkenanli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee before: Xiamen Luan Chuang Technology Co.,Ltd.

Country or region before: Zhong Guo