CN108418947A - Including the document play-back method of audio, device and computer readable storage medium - Google Patents

Including the document play-back method of audio, device and computer readable storage medium Download PDF

Info

Publication number
CN108418947A
CN108418947A CN201810001700.0A CN201810001700A CN108418947A CN 108418947 A CN108418947 A CN 108418947A CN 201810001700 A CN201810001700 A CN 201810001700A CN 108418947 A CN108418947 A CN 108418947A
Authority
CN
China
Prior art keywords
screen
file
mobile terminal
audio
play
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.)
Granted
Application number
CN201810001700.0A
Other languages
Chinese (zh)
Other versions
CN108418947B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810001700.0A priority Critical patent/CN108418947B/en
Publication of CN108418947A publication Critical patent/CN108418947A/en
Application granted granted Critical
Publication of CN108418947B publication Critical patent/CN108418947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • 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
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The invention discloses a kind of document play-back methods including audio, are applied to double-sided screen mobile terminal, and for the method when the first screen the first file being played on includes audio, whether the second file that detection user is opening also includes audio;If so, pause plays first file, and the content currently shown on the first screen is transferred on the second screen;It is shown in first screen simultaneously and plays second file;The invention also discloses a kind of file playing device and computer readable storage medium comprising audio.The invention enables users when having browsed the second file, can return to the first file of browsing at any time, saves reproduction time, improve playing efficiency;And user need to only overturn mobile terminal and reset again, you can the content of the second screen is transferred in the first screen and is browsed, whole-process automatic triggering operates on the screen without user, time saving and energy saving, improves user experience.

Description

Including the document play-back method of audio, device and computer readable storage medium
Technical field
The invention belongs to double-sided screen mobile terminal application field more particularly to a kind of document play-back method comprising audio, Include the file playing device and computer readable storage medium of audio.
Background technology
With the fast development of electronic information technology, electric terminal equipment is ubiquitous in our daily life, special It is not intelligent mobile terminal, such as smart mobile phone.Due to popularizing for intelligent mobile terminal, various for intelligent mobile terminal answer With also emerging one after another, these applications greatly facilitate our life so that we can be can be completed by mobile terminal The various work that could must have previously completed on computers.It is more and more based on accessible affairs on mobile terminal, inevitably There is the scene using frequent switching, in order to reduce switching, double-sided screen mobile terminal is born, currently, double-sided screen mobile terminal Electrical screen and flexible screen two parts usually may be used for double-sided screen in the daily life for coming into user, wherein Electrical screen is used for the related contents such as browsing pictures, video, and the electronic ink screen that flexible screen uses is black and white interface, is mainly used for Word read.Certainly, different according to demand, double-sided screen has been not limited only to the screen using two unlike materials, can also be The screen of same material, such as all use electrical screen.
However, user is only the operations such as simple bright screen when using double-sided screen mobile terminal, between two screens, two Content between screen does not interact, and is all the preset content of independent display, does not make full use of double-sided screen to solve to use The problem of family physical presence, browses webpage on one side for example, user listens to music on one side, it is seen that want the video further appreciated that, User once opens the video, and music will be automatically stopped broadcasting, even if user sees that the video file that is over, music cannot be certainly It is dynamic to play, it needs user to be switched to music application, continues to play;If the music that user listens before is Online Music and accidentally closes Fall, then wanting to be again turned on the music, it is necessary to first find webpage, then find the music, then reload, Cai Nengchong It newly listens to, user experience is poor.
Invention content
It is an object of the present invention to provide a kind of document play-back method comprising audio, include the file playing device of audio And computer readable storage medium, to improve the problem of existing double-sided screen mobile terminal usage experience difference.
The present invention provides a kind of document play-back methods including audio, are applied to double-sided screen mobile terminal, the above method Including:
When the first screen the first file being played on includes audio, whether the second file that detection user is opening Including audio;
If so, pause plays above-mentioned first file, and the content currently shown on the first screen is transferred on the second screen;
It is shown in above-mentioned first screen simultaneously and plays above-mentioned second file.
Preferably, the above method by the content currently shown on the first screen after being transferred to the second screen display, in closing State the second screen.
Preferably, the above method also executes following steps after the first screen is shown and plays above-mentioned second file:
Detect whether above-mentioned second file finishes;
If so, whether detection mobile terminal overturns, i.e., above-mentioned second screen has been turned to it from above-mentioned first screen;
If so, lighting above-mentioned second screen and continuing to play above-mentioned first file.
Preferably, the above method also executes following steps in above-mentioned second file playing process:
Whether detection mobile terminal overturns, i.e., has been turned to above-mentioned second screen from above-mentioned first screen;
If so, pause plays above-mentioned second file;It lights above-mentioned second screen simultaneously and continues to play above-mentioned first file.
Preferably, the above method also executes following steps in above-mentioned second file playing process:
Judge whether above-mentioned second file suspends broadcasting or closing;
If so, continuing to play above-mentioned first file, and execute whether above-mentioned detection mobile terminal turns over from above-mentioned first screen Above-mentioned second screen step is gone to.
Preferably, the above method by detect above-mentioned first screen along plane where it Y-axis clockwise or counterclockwise Angle, and above-mentioned angle is judged whether within the scope of preset flip angle, to judge whether mobile terminal overturns.
Preferably, the above method also executes following steps after detecting that mobile terminal is overturn:
Judge whether above-mentioned mobile terminal resets in preset time, i.e., is flipped back to the first screen from the second screen;
If so, by above-mentioned second screen content and above-mentioned first screen exchange.
The present invention also provides a kind of file playing devices including audio, are applied to the mobile terminal with double-sided screen, Above-mentioned apparatus includes:
Program module is detected, for when the first screen the first file being played on includes audio, detection user to beat Whether the second file opened also includes audio;
Playback process program module, for when above-mentioned second file includes audio, suspending and playing above-mentioned first file, and The content currently shown on first screen is transferred on the second screen;It is shown in above-mentioned first screen simultaneously and plays above-mentioned second text Part.
Preferably, above-mentioned
Program module is detected, for detecting whether above-mentioned second file suspends broadcasting or closing;For detecting above-mentioned second Whether file finishes;For detecting whether mobile terminal overturns, i.e., it has been turned to above-mentioned second from above-mentioned first screen Screen;And for detecting the angle of the Y-axis of above-mentioned first screen plane where it clockwise or counterclockwise, and judge above-mentioned Whether angle is within the scope of preset flip angle;And judge whether above-mentioned mobile terminal resets in preset time, i.e., from Second screen is flipped back to the first screen;
Playback process program module, for after the content currently shown on the first screen is transferred to the second screen display, Close above-mentioned second screen;For when the second paper suspension plays or closes, continuing to play above-mentioned first file;For above-mentioned In second file playing process, after mobile terminal is overturn, pause plays above-mentioned second file, while lighting above-mentioned second screen And continue to play above-mentioned first file;For after above-mentioned second file finishes and mobile terminal is overturn, lighting It states the second screen and continues to play above-mentioned first file;And be used for after then mobile terminal resets in preset time, it will be above-mentioned Second screen content and above-mentioned first screen exchange.
Invention further provides a kind of computer readable storage medium, stored on above computer readable storage medium storing program for executing Having can be executed by processor, program the step of for realizing above-mentioned document play-back method comprising audio or instruction.
The present invention makes full use of double-sided screen mobile terminal to have the characteristics of there are two display screens, includes sound in user's playing When the first file of frequency, and when wanting to open another and including the second file of audio, only suspend the first file being played on and It does not exit;So that user is when having browsed the second file, the first file of browsing can be returned again at any time, reproduction time is saved, carries High playing efficiency;The present invention is further by judging whether user overturns mobile terminal, to judge whether user wants browsing The content of second screen is lighted the second screen for user and is browsed for user in time;The present invention also provides all browsing all the first screen into Capable function, user need to only overturn mobile terminal and reset again, you can and the content of the second screen is transferred in the first screen and is browsed, it is whole Automatic trigger operates on the screen without user, time saving and energy saving, improves user experience.
Description of the drawings
The hardware architecture diagram of Fig. 1 one optional mobile terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the document play-back method preferred embodiment one of the present invention comprising audio;
Fig. 4 is the flow chart of the document play-back method preferred embodiment two of the present invention comprising audio;
Fig. 5 is the flow chart of the document play-back method preferred embodiment three of the present invention comprising audio;
Fig. 6 is the flow chart of the document play-back method preferred embodiment four of the present invention comprising audio;
Fig. 7 is the flow chart of the document play-back method preferred embodiment five of the present invention comprising audio;
Fig. 8 is the file playing device preferred embodiment functional block diagram of the present invention comprising audio.
Reference numeral:
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..
In addition, radio frequency unit 101 can also be communicated with network and other equipment by radio communication.
Above-mentioned wireless communication can use any communication standard or agreement, including but not limited to GSM (Global System Of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, General packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
As shown in figure 3, being the flow chart of the document play-back method preferred embodiment one of the present invention comprising audio;This hair It is bright to be applied to the double-sided screen mobile terminal with the first screen and the second screen, and include sound in the first screen the first file being played on When frequency, include the following steps:
Step S100:Whether the second file that detection user is opening also includes audio;If so, being performed simultaneously step S101 and step S102;Otherwise, this step is continued to execute;
Step S101:Pause plays first file, and the content currently shown on the first screen is transferred to the second screen Upper display;
Step S102:It is shown in the first screen and plays second file.
The present embodiment is user while playing the file comprising audio, and Treatment stations when opening comprising audio file Application interface comprising the first file being played on is transferred to the second screen by scape, by the second file opened One screen is shown;Two files comprising audio are respectively displayed on two screens, include audio so as to avoid what is newly opened The second file cover the first file being played on comprising audio after, when user wants to return to the first file played before, It needs to reopen or be reloaded after returning, expend energy time-consuming problem again, save switching time, improve Switching efficiency.
As shown in figure 4, being the document play-back method of the present invention for including audio, the present embodiment is equally based on mobile terminal The first screen playing include the first file of audio, include the following steps:
Step S200:Detect whether user's the second file to be opened also includes audio;If so, being performed simultaneously step S201 and step S204;Otherwise, this step is continued to execute;
Step 201:Pause plays first file, and the content currently shown on the first screen is transferred on the second screen Display;
Step S202:Second screen is closed, step S204 is transferred to;
Step S203:It is shown in the first screen and plays second file;
Step S204:Detect whether second file finishes;If so, thening follow the steps S205;Otherwise, continue to hold This step of row;
Step S205:Whether detection mobile terminal overturns, if so, thening follow the steps S206;Otherwise, this is continued to execute Step;
Whether this step is by detecting first screen along the Y-axis angle clockwise or counterclockwise of plane where it Degree, and the angle is judged whether within the scope of preset flip angle, to judge whether mobile terminal overturns;Flip angle Degree range can use 150-180 degree for viewing effect, will check the content that the second screen is shown, it will usually overturn under normal circumstances 180 degree, i.e. the second screen are opposite with face.In other embodiments, this step can also for example be detected mobile whole by other methods The mode of end gyroscope parameters judges whether mobile terminal overturns, this step can be achieved.
Step S206:It lights second screen and continues to play first file.
The present embodiment detects whether second file finishes in real time when playing the second file, and is playing Bi Hou includes first file to judge whether user needs browsing by detecting whether mobile terminal overturns in real time Interface, and light the second screen in time, browsed for user;It avoids after user overturns mobile terminal and lights the second screen manually again Action, improves user experience.
As shown in figure 5, being the flow chart of the document play-back method preferred embodiment three of the present invention comprising audio, this reality The first file that first screen playing of the example based on mobile terminal includes audio is applied, is included the following steps:
Step S300:Detect whether user's the second file to be opened also includes audio;If so, being performed simultaneously step S301 and step S304;Otherwise, this step is continued to execute;
Step 301:Suspend first file, and the content currently shown on the first screen is transferred on the second screen and is shown Show;
Step S302:Second screen is closed, step S205 is transferred to;
Step S303:It is shown in the first screen and plays second file;
Step S304:Detect whether second file finishes;If so, thening follow the steps S307;Otherwise, step is executed Rapid S305;
Step S305:Whether detection mobile terminal overturns;If so, thening follow the steps S306;Otherwise, step is executed S304;
Step S306:Pause plays second file;Second screen is lighted simultaneously and continues to play first text Part;Current operation processing terminates.
Step S307:Whether detection mobile terminal overturns, if so, thening follow the steps S308;Otherwise, this is continued to execute Step;
Step S308:It lights second screen and continues to play first file, current operation processing terminates.
Step S305 and step S307 by detect first screen whether along plane where it Y-axis it is clockwise or inverse The angle of hour hands rotation, and the angle is judged whether within the scope of preset flip angle, to judge whether mobile terminal is sent out Raw overturning;Flip angle range can use 150-180 degree for viewing effect, will check that the second screen is shown interior under normal circumstances Hold, it will usually overturn 180 degree, i.e. the second screen is opposite with face.In other embodiments, it can also for example be detected by other methods The mode of mobile terminal gyroscope parameters judges whether mobile terminal overturns, and is not described in detail herein.
The present embodiment is increased in the second file playing but when not finishing, user thinks relative to embodiment two Processing procedure when browsing and playing the first file, at this point, need to only to overturn mobile terminal opposite with face to the second screen by user , the present invention, which is automatically stopped, plays the second file, and lights the second screen, continues to play the first file.
As shown in fig. 6, being the flow chart of the document play-back method preferred embodiment four of the present invention comprising audio, this reality The first file that first screen playing of the example based on mobile terminal includes audio is applied, is included the following steps:
Step S400:Detect whether user's the second file to be opened also includes audio;If so, being performed simultaneously step S401 and step S403;Otherwise, this step is continued to execute;
Step 401:Suspend first file, and the content currently shown on the first screen is transferred on the second screen and is shown Show;
Step S402:Second screen is closed, step S404 is transferred to;
Step S403:It is shown in the first screen and plays second file;
Step S404:Detect whether second file finishes;If so, thening follow the steps S412;Otherwise, step is executed Rapid S405;
Step S405:Detect whether second file suspends broadcasting or closing;If so, thening follow the steps S406;Otherwise, Execute step S407;
Step S406:Continue to play first file;
Step S407:Whether detection mobile terminal overturns;If so, thening follow the steps S408;Otherwise, step is executed S404;
Step S408:Judge the second file whether playing, if so, thening follow the steps S409;Otherwise, step is executed S410;
Step S409:Pause plays second file;
Step S410:Judge the first file whether playing, if so, thening follow the steps S411;Otherwise, step is executed S413;
Step S411:Light second screen;Current operation processing terminates.
Step S412:Whether detection mobile terminal overturns, if so, thening follow the steps S413;Otherwise, this is continued to execute Step;
Step S413:It lights second screen and continues to play first file, current operation processing terminates.
Step S407 and step S412 by detect first screen whether along plane where it Y-axis it is clockwise or inverse The angle of hour hands rotation, and the angle is judged whether within the scope of preset flip angle, to judge whether mobile terminal is sent out Raw overturning;Flip angle range can use 150-180 degree for viewing effect, will check that the second screen is shown interior under normal circumstances Hold, it will usually overturn 180 degree, i.e. the second screen is opposite with face.In other embodiments, it can also for example be detected by other methods The mode of mobile terminal gyroscope parameters judges whether mobile terminal overturns, and is not described in detail herein.
For the present embodiment with respect to embodiment three, embodiment adds do not finished in the second file but artificially suspend broadcasting Or the processing procedure after closing, it is similar to embodiment two at this time, it immediately continues with and plays the first file, then by judging that user is No overturning mobile terminal is to the second screen, to judge whether user needs the content browsed on the second screen and light the second screen.
As shown in fig. 7, being the flow chart of the document play-back method preferred embodiment five of the present invention comprising audio, this reality Example the first file that still the first screen playing based on mobile terminal includes audio is applied, is included the following steps:
Step S500:Detect whether user's the second file to be opened also includes audio;If so, being performed simultaneously step S501 and step 504;Otherwise, this step is continued to execute;
Step 501:Suspend first file, and the content currently shown on the first screen is transferred on the second screen and is shown Show;
Step S502:Second screen is closed, step S504 is transferred to;
Step S503:It is shown in the first screen and plays second file;
Step S504:Detect whether second file finishes;If so, thening follow the steps S513;Otherwise, continue to hold Row step S505;
Step S505:Detect whether second file suspends or close;If so, thening follow the steps S507;Otherwise, it executes Step S508;
Step S506:Continue to play first file;
Step S507:Whether detection mobile terminal overturns;If so, thening follow the steps S509;Otherwise, step is executed S505;
Step S508:Judge whether mobile terminal resets in preset time;If so, thening follow the steps S513;Otherwise, it holds Row step S509;
Step S509:Judge the second file whether playing, if so, thening follow the steps S511;Otherwise, step is executed S512;
Step S510:Pause plays second file;
Step S511:Judge the first file whether playing, if so, thening follow the steps S512;Otherwise, step is executed S513;
Step S512:Light second screen;Current operation processing terminates.
Step S513:By the second screen content and the first screen exchange;
Step S514:Judge the second file whether playing, if so, thening follow the steps S515;Otherwise, step is executed S516;
Step S515:Pause plays second file;
Step S516:Judge first file whether playing, if so, current operation processing terminates;Otherwise, it holds Row step S517;
Step S517:Continue to play first file, current operation processing terminates.
Step S518:Whether detection mobile terminal overturns, if so, thening follow the steps S519;Otherwise, this is continued to execute Step;
Step S519:Judge whether mobile terminal resets in preset time;If so, thening follow the steps S520;Otherwise, it holds Row step S521;
Step S520:Second screen is shown that content shows exchange with first screen;Execute step S522;
Step S521:Light second screen;
Step S522:Continue to play first file, current operation processing terminates.
Step S507, S508, S518 and step S519 by detect first screen whether along plane where it Y-axis Angle clockwise or counterclockwise, and the angle is judged whether within the scope of preset flip angle, to judge to move Whether terminal overturns;Flip angle range can use 150-180 degree for viewing effect, will check second under normal circumstances Shield the content of display, it will usually overturn 180 degree, i.e. the second screen is opposite with face.In other embodiments, its other party can also be passed through The mode that method for example detects mobile terminal gyroscope parameters judges whether mobile terminal overturns, and is not described in detail herein.Step In S508 and step S519, the reset, i.e. mobile terminal are first turned to the second screen from the first screen, and are turned to the from the second screen One screen;Such as it is turned to the second screen from the first screen, the first screen of mobile terminal is inverse with respect to the Y-axis of plane where it or turns over clockwise 180 degree is turned, the second screen is opposite with face at this time, is then turned to the first screen, the second screen phase of mobile terminal from the second screen again It is inverse to the Y-axis of plane where it or it is clockwise overturn 180 degree, the first screen is opposite with face at this time.
Since in two screens of the double-sided screen mobile terminal having, only there are one being color screen, another shields to be monochromatic, uses The webpage of browsing is wished preferably in the color screen display as the first screen in family, and therefore, the present embodiment is increased with respect to example IV The content of second screen is shown in the first screen, by the second screen only as the processing mode of standby, the present embodiment is used by detecting Whether family overturns after overturning mobile terminal and in preset time resets to judge whether user requires to show by the first screen The content to be browsed;The problem of so as to avoid user's manual switching screen, improve user experience.
As shown in figure 8, be the functional block diagram of the preferred embodiment of the file playing device of the present invention comprising audio, this Embodiment includes checking program module 10 and playback process program module 20;Wherein,
Program module 10 is detected, for when the first screen the first file being played on includes audio, detection user to be Whether the second file opened also includes audio;For detecting whether second file suspends broadcasting or closing;For detecting Whether second file finishes;For detecting whether mobile terminal overturns, i.e., it is turned to from first screen Second screen;And for detecting the angle of the Y-axis of first screen plane where it clockwise or counterclockwise, and Judge the angle whether within the scope of preset flip angle;And judge whether the mobile terminal is multiple in preset time Position, i.e., be flipped back to the first screen from the second screen;
Playback process program module 20, for when second file includes audio, suspending and playing first file, And the content currently shown on the first screen is transferred on the second screen;It is shown in first screen simultaneously and plays described second File;For after the content currently shown on the first screen is transferred to the second screen display, closing second screen;For When second paper suspension is played or closed, continue to play first file;For in the second file playing process, moving After dynamic terminal is overturn, pause plays second file, while lighting second screen and continuing to play first text Part;For after second file finishes and mobile terminal is overturn, lighting second screen and continuing to play institute State the first file;And be used for after then mobile terminal resets in preset time, by the second screen content and described first Shield exchange.
Invention further provides a kind of computer readable storage medium, stored on the computer readable storage medium Having can be executed by processor, for realizing the document play-back method step comprising audio as described in Fig. 3-Fig. 7 program or Instruction.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, by sentence " including one
It is a ... " limit element, it is not excluded that also deposited in process, method, article or the device including the element In other identical element.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of document play-back method including audio is applied to double-sided screen mobile terminal, which is characterized in that the method packet It includes:
When the first screen the first file being played on includes audio, the second file for opening of detection user whether also include Audio;
If so, pause plays first file, and the content currently shown on the first screen is transferred on the second screen;
It is shown in first screen simultaneously and plays second file.
2. the as described in claim 1 document play-back method for including audio, which is characterized in that the method is will be on the first screen After the content currently shown is transferred to the second screen display, second screen is closed.
3. the document play-back method as described in claim 1 for including audio, which is characterized in that the method is shown in the first screen And after playing second file, also execute following steps:
Detect whether second file finishes;
If so, whether detection mobile terminal overturns, i.e., second screen has been turned to it from first screen;
If so, lighting second screen and continuing to play first file.
4. the document play-back method as described in claim 1 for including audio, which is characterized in that the method is in second text In part playing process, following steps are also executed:
Whether detection mobile terminal overturns, i.e., has been turned to second screen from first screen;
If so, pause plays second file;It lights second screen simultaneously and continues to play first file.
5. the document play-back method as claimed in claim 4 for including audio, which is characterized in that the method is in second text In part playing process, following steps are also executed:
Judge whether second file suspends broadcasting or closing;
If so, continuing to play first file, and execute whether the detection mobile terminal is turned to from first screen The second screen step.
6. including the document play-back method of audio as described in claim 4 or 5, which is characterized in that the method passes through detection The angle of the Y-axis of first screen plane where it clockwise or counterclockwise, and judge the angle whether default Flip angle within the scope of, to judge whether mobile terminal overturns.
7. the document play-back method as claimed in claim 6 for including audio, which is characterized in that the method is detecting movement After terminal is overturn, following steps are also executed:
Judge whether the mobile terminal resets in preset time, i.e., is flipped back to the first screen from the second screen;
If so, by the second screen content and the first screen exchange.
8. a kind of file playing device including audio is applied to the mobile terminal with double-sided screen, which is characterized in that the dress Set including:
Program module is detected, for when the first screen the first file being played on includes audio, detecting what user was opening Whether the second file also includes audio;
Playback process program module, for when second file includes audio, pause plays first file, and by the The content currently shown on one screen is transferred on the second screen;It is shown in first screen simultaneously and plays second file.
9. the file playing device as claimed in claim 8 for including audio, which is characterized in that described
Program module is detected, for detecting whether second file suspends broadcasting or closing;For detecting second file Whether finish;For detecting whether mobile terminal overturns, i.e., second screen has been turned to it from first screen;With And for detecting the angle of the Y-axis of first screen plane where it clockwise or counterclockwise, and judge the angle Whether within the scope of preset flip angle;And judge whether the mobile terminal resets in preset time, i.e., from second Screen is flipped back to the first screen;
Playback process program module, for after the content currently shown on the first screen is transferred to the second screen display, closing Second screen;For when the second paper suspension plays or closes, continuing to play first file;For described second In file playing process, after mobile terminal is overturn, pause plays second file, at the same light second screen and after First file is put in continued broadcasting;For after second file finishes and mobile terminal is overturn, lighting described Two screens simultaneously continue to play first file;And be used for after then mobile terminal resets in preset time, by described second Shield content and the first screen exchange.
10. a kind of computer readable storage medium, which is characterized in that be stored with and can be located on the computer readable storage medium Manage device execute, for realizing the document play-back method step comprising audio as described in claim 1-7 is any program or Instruction.
CN201810001700.0A 2018-01-02 2018-01-02 Method and device for playing file containing audio and computer readable storage medium Active CN108418947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810001700.0A CN108418947B (en) 2018-01-02 2018-01-02 Method and device for playing file containing audio and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810001700.0A CN108418947B (en) 2018-01-02 2018-01-02 Method and device for playing file containing audio and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108418947A true CN108418947A (en) 2018-08-17
CN108418947B CN108418947B (en) 2021-01-01

Family

ID=63125698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810001700.0A Active CN108418947B (en) 2018-01-02 2018-01-02 Method and device for playing file containing audio and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108418947B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020186941A1 (en) * 2019-03-15 2020-09-24 维沃移动通信有限公司 File management method and device, mobile terminal, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027791A (en) * 2016-06-29 2016-10-12 努比亚技术有限公司 Mobile terminal and application service switching method
WO2017078366A1 (en) * 2015-11-06 2017-05-11 삼성전자 주식회사 Electronic device comprising plurality of displays and method for operating same
CN106843791A (en) * 2017-02-06 2017-06-13 宇龙计算机通信科技(深圳)有限公司 Multi-screen display method and device
CN106954097A (en) * 2017-03-03 2017-07-14 腾讯科技(深圳)有限公司 The control method and device of video playback
CN107277242A (en) * 2017-06-14 2017-10-20 黄之 A kind of processing method of displaying information on screen, display methods and display system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017078366A1 (en) * 2015-11-06 2017-05-11 삼성전자 주식회사 Electronic device comprising plurality of displays and method for operating same
CN106027791A (en) * 2016-06-29 2016-10-12 努比亚技术有限公司 Mobile terminal and application service switching method
CN106843791A (en) * 2017-02-06 2017-06-13 宇龙计算机通信科技(深圳)有限公司 Multi-screen display method and device
CN106954097A (en) * 2017-03-03 2017-07-14 腾讯科技(深圳)有限公司 The control method and device of video playback
CN107277242A (en) * 2017-06-14 2017-10-20 黄之 A kind of processing method of displaying information on screen, display methods and display system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020186941A1 (en) * 2019-03-15 2020-09-24 维沃移动通信有限公司 File management method and device, mobile terminal, and storage medium

Also Published As

Publication number Publication date
CN108418947B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN108052302A (en) Association display methods, terminal and the computer readable storage medium of double-sided screen
CN108182028A (en) A kind of control method, terminal and computer readable storage medium
CN108390988A (en) Fast operating method, mobile terminal and computer readable storage medium
CN107729115A (en) A kind of display methods, equipment and computer-readable storage medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108255368A (en) Using methods of exhibiting, device and computer readable storage medium
CN108322609A (en) A kind of notification information regulation and control method, equipment and computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN109276881A (en) A kind of game control method, equipment
CN108771861A (en) A kind of game control method, mobile terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN108650399A (en) A kind of volume adjusting method, mobile terminal and computer readable storage medium
CN108744495A (en) A kind of control method of virtual key, terminal and computer storage media
CN108334302A (en) A kind of sound transmission method, mobile terminal and computer readable storage medium
CN108156325A (en) A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium
CN107682541A (en) Audio control method, mobile terminal and the storage medium of screen prjection
CN108881542A (en) Mobile terminal call method, mobile terminal and computer readable storage medium
CN108307042A (en) A kind of double-sided screen interaction control method, equipment and computer readable storage medium
CN108540697A (en) It is double before and after one kind to take the photograph circuit structure and its mobile terminal
CN108322595A (en) A kind of control method, terminal and computer readable storage medium
CN107643870A (en) Multi-screen display method, mobile terminal and computer-readable recording medium
CN109684020A (en) A kind of method for switching theme, equipment and computer readable storage medium
CN109358796A (en) A kind of game visual field sharing method, terminal and readable storage medium storing program for executing
CN108536529A (en) A kind of multitask regulation and control method, equipment and computer readable 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