CN108040176B - Playing method, device and mobile terminal - Google Patents

Playing method, device and mobile terminal Download PDF

Info

Publication number
CN108040176B
CN108040176B CN201711292572.1A CN201711292572A CN108040176B CN 108040176 B CN108040176 B CN 108040176B CN 201711292572 A CN201711292572 A CN 201711292572A CN 108040176 B CN108040176 B CN 108040176B
Authority
CN
China
Prior art keywords
data
vehicle
application program
output
playing
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
CN201711292572.1A
Other languages
Chinese (zh)
Other versions
CN108040176A (en
Inventor
邱靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711292572.1A priority Critical patent/CN108040176B/en
Publication of CN108040176A publication Critical patent/CN108040176A/en
Application granted granted Critical
Publication of CN108040176B publication Critical patent/CN108040176B/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/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • 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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a playing method and a mobile terminal, wherein the method comprises the following steps: acquiring first application program information and second application program information which run on a mobile terminal simultaneously; determining that part of data required to be output by the first application program is first data and part of data required to be output by the second application program is second data; and respectively outputting the first data and the second data to different vehicle-mounted equipment connected with the mobile terminal for playing. According to the method and the device, part of data required to be output by the first application program and the second application program which run simultaneously is output to different vehicle-mounted devices for playing, so that the effect of simultaneously playing the data of the two application programs which run simultaneously can be achieved on the vehicle-mounted devices, and the user experience is improved.

Description

Playing method, device and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a playing method and apparatus, and a mobile terminal.
Background
With the popularization of the family cars, the mode of the mobile phone is added with a vehicle-mounted mode (driving mode) on the basis of the original modes such as a conference mode, an outdoor mode and the like, and the vehicle-mounted mode is a mode used by the mobile phone in the process of driving a vehicle.
In the prior art, when the mobile phone enters the vehicle-mounted mode and is connected with the vehicle-mounted device, the data of the application program running on the mobile phone is projected onto the vehicle-mounted device, so that a user can know the data of the application program running on the mobile phone through the vehicle-mounted device.
The problem in the prior art is that when data of one application program is already projected on the vehicle-mounted device, if data of another application program is projected on the vehicle-mounted device, the data projected by the previous application program is covered by the data newly projected on the vehicle-mounted device, so that a user cannot know the data of the previous application program through the vehicle-mounted device. In summary, the problem in the prior art is that the vehicle-mounted device cannot output data of two applications running on the mobile phone at the same time, which results in poor user experience.
Disclosure of Invention
The invention provides a playing method, a playing device and a mobile terminal, and aims to solve the problem that the user experience is poor due to the fact that vehicle-mounted equipment cannot output data of two application programs which are in running states on a mobile phone at the same time.
In a first aspect, an embodiment of the present invention provides a playing method, applied to a mobile terminal, including:
acquiring first application program information and second application program information which run on a mobile terminal simultaneously;
determining that part of data required to be output by the first application program is first data, and determining that part of data required to be output by the second application program is second data;
and respectively outputting the first data and the second data to different vehicle-mounted equipment connected with the mobile terminal for playing.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the mobile terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first application program information and second application program information which run on the mobile terminal simultaneously;
the determining module is used for determining that partial data required to be output by the first application program is first data and determining that partial data required to be output by the second application program is second data;
and the output module is used for respectively outputting the first data and the second data to different vehicle-mounted equipment connected with the mobile terminal for playing.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the playing method as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the playing method as described above.
In this way, in the embodiment of the invention, part of data to be output of the first application program and the second application program which run simultaneously is output to different vehicle-mounted devices for playing, so that the effect of simultaneously playing the data of the two application programs which run simultaneously can be realized on the vehicle-mounted devices, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 shows a flow chart of an embodiment of a playback method of the present invention;
FIG. 2 is a flow chart of step 102 of the playing method of the present invention;
FIG. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of an embodiment of a mobile terminal according to the present invention;
fig. 5 is a third schematic structural diagram of an embodiment of a mobile terminal according to the present invention;
fig. 6 shows a block diagram of an embodiment of a mobile terminal of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a playing method applied to a mobile terminal, including:
step 101, acquiring the information of a first application program and the information of a second application program which are simultaneously operated on the mobile terminal at present.
In particular, the first application and the second application may be two applications of the same type, for example, two WeChat applications; but also different types of applications, for example, two applications of WeChat and music.
The first application program and the second application program which run simultaneously are two application programs which are started at different moments, and when the second application program is started to run, the first application program is still in a running state; for example, the user starts the application program of WeChat at the moment of 09:30AM, and the user starts the application program of navigation at the moment of 09:50AM during the running state of the WeChat.
Before the step of acquiring the first application information and the second application information, the mobile terminal should be in a state of communicating with the in-vehicle terminal and in an in-vehicle mode.
The mobile terminal may be connected to the vehicle-mounted terminal through bluetooth, USB (Universal Serial Bus), WLAN (Wireless Local Area Networks), or the like.
The in-vehicle mode is a mode in which the mobile terminal can project data (display data and/or audio data) to be output by the application program in the running state onto the in-vehicle device for playing. In the vehicle-mounted mode state, the mobile terminal can only project the preset data of part of the application programs to the vehicle-mounted equipment for playing.
In the embodiment of the present invention, the mobile terminal may be a mobile terminal already connected with the in-vehicle terminal, or may be a mobile terminal that is not connected with the mobile terminal.
Step 102, determining that a part of data required to be output by the first application program is first data, and determining that a part of data required to be output by the second application program is second data.
In an embodiment of the present invention, the data types include two types, which are respectively: the display data type and the audio data type. Wherein one of the first data and the second data is audio data, and the other is display data. The audio data corresponds to an audio data type and the display data corresponds to a display data type.
The display data refers to display interface data of the application program, for example: a chat display interface of WeChat, a lyric display interface of music, a navigation display interface of navigation and the like. The audio data is, for example: call audio data, music audio data, recording audio data, and the like.
In the embodiment of the present invention, the contents of how to determine the first data and the second data are specifically described later.
And 103, respectively outputting the first data and the second data to different vehicle-mounted devices connected with the mobile terminal for playing.
The specific step 103 comprises:
step 1031, determining vehicle-mounted equipment corresponding to the first data and the second data respectively according to a corresponding relation between each piece of pre-stored data and the vehicle-mounted equipment;
and 1032, sending the first data and the second data to the vehicle-mounted terminal, so that the vehicle-mounted terminal sends the first data and the second data to the corresponding vehicle-mounted equipment for playing.
According to the embodiment of the invention, part of data required to be output by the first application program and the second application program which run simultaneously is output to different vehicle-mounted devices for playing, so that the effect of simultaneously playing the data of the two application programs which run simultaneously can be realized on the vehicle-mounted devices, and the user experience is improved.
Further, in an embodiment of the present invention, referring to fig. 2, step 102 includes:
step 1021, acquiring data that the first application program and the second application program need to output respectively.
Step 1022, determining a first data type corresponding to the first application program and a second data type corresponding to the second application program according to a pre-stored correspondence between the application program and the data type.
Step 1023, according to the first data type, determining partial data corresponding to the first data type as first data from the data required to be output by the first application program.
And step 1024, determining that partial data corresponding to the second data type is second data from the data required to be output by the second application program according to the second data type.
In step 1022, only the correspondence between the data type and a part of the applications that the mobile terminal can project to the in-vehicle device for data playback in the in-vehicle mode is included in the correspondence between each application and the data type that are stored in advance.
Specifically, the pre-stored correspondence between each application program and a data type refers to a data type determined according to characteristics of different application programs, where each application program corresponds to one data type. For example, for audio applications (such as music), audio data is more important than display data, and the type of audio data is determined as the data type corresponding to the audio application. Similarly, for a chat application (e.g., WeChat), the display data is more important than the audio data, and at this time, the data type of the display interface is determined as the data type corresponding to the chat application.
After the data type corresponding to each application program is determined through step 1022, the partial data that needs to be output by each application program may be determined according to the corresponding relationship between the data type and the partial data that needs to be output.
Further, in the embodiment of the present invention, the manner of outputting the first data and the second data to different vehicle-mounted devices connected to the mobile terminal for playing may be the following two manners.
The first mode is as follows: outputting the display data to vehicle-mounted display equipment for playing; and outputting the audio data to the vehicle-mounted audio equipment for playing.
The vehicle-mounted display device refers to a display of an automobile, and the display can be a vehicle-mounted display integrated on the automobile or other displays which are independently arranged and connected with a vehicle-mounted terminal.
The vehicle-mounted audio equipment can be a vehicle-mounted audio player integrated on an automobile, and can also be an audio player which is independently arranged and connected with a vehicle-mounted terminal.
Specifically, the step of outputting the display data to the vehicle-mounted display device for playing specifically includes: and outputting the display data to the vehicle-mounted terminal, so that the vehicle-mounted terminal outputs the display data to the corresponding vehicle-mounted display equipment for playing.
Specifically, the step of outputting the audio data to the vehicle-mounted audio device for playing includes: and outputting the audio data to the vehicle-mounted terminal, so that the vehicle-mounted terminal outputs the audio data to the corresponding vehicle-mounted audio equipment for playing.
In the playing method of the present invention, the first data and the second data are respectively output to different vehicle-mounted devices connected to the mobile terminal in the first mode for playing. Assuming that the first application program is a navigation application program (the corresponding voice prompt function of the first application program is in an open state), and the second application program is a telephone application program, after the first application program is opened and operated, acquiring data (namely display data and audio data) required to be output by the first application program, outputting the navigation display data to vehicle-mounted display equipment for playing, and outputting the navigation audio data to the vehicle-mounted audio equipment for playing; after the second application program is opened and operated, acquiring data (display data and audio data) required to be output by the second application program, determining that part of the data required to be output by the first application program is display data (first data) according to the mode in step 102, and part of the data required to be output by the second application program is audio data (second data), continuously outputting the first data to the vehicle-mounted display device for playing, pausing to output the audio data for navigation, and outputting the second data to the vehicle-mounted audio device for playing.
The first mode is to output the audio data to the vehicle-mounted audio equipment for playing, and output the display data to the vehicle-mounted display equipment for playing. The playing of the first data and the playing of the second data cannot interfere with each other, and a user can simultaneously know the first data corresponding to the first application program and the second data corresponding to the second application program, so that the use experience of the user is improved.
Furthermore, in the embodiment of the present invention, a second way of outputting the first data and the second data to different vehicle-mounted devices connected to the mobile terminal for playing is as follows: outputting the first data to a vehicle-mounted multimedia player for playing; and transmitting the second data to a vehicle-mounted indicator light and/or a vehicle-mounted vibration element for playing.
In the second mode, the second data should include direction indication information, and the second application should be an application including navigation information.
The vehicle-mounted multimedia player is a vehicle-mounted audio device or a vehicle-mounted display device; the specific steps of outputting the first data to the vehicle-mounted multimedia player for playing are as follows:
and when the data type of the first data is the audio data type, outputting the first data to the vehicle-mounted audio equipment for playing, and when the data type of the first data is the display data type, outputting the first data to the vehicle-mounted display equipment for playing.
In the embodiment of the invention, when the second data can be only output to one of the vehicle-mounted indicator lamp or the vehicle-mounted vibration element for playing. And outputting the second data to one of the devices with higher priority for playing according to the priority between the vehicle-mounted indicator lamp and the vehicle-mounted vibration element. In the embodiment of the invention, the priority of the vehicle-mounted indicator lamp is higher than that of the vehicle-mounted vibration element.
The step of transmitting the second data to the vehicle-mounted indicator light or the vehicle-mounted vibration element for playing specifically comprises the following steps:
extracting direction indication information in the second data;
and controlling the vehicle-mounted indicator lamp and/or the vehicle-mounted vibration element corresponding to the indication direction to start according to the indication direction in the direction indication information.
The mode of controlling the start of the vehicle-mounted indicator lamp corresponding to the indication direction can be the following implementation mode:
set up 4 on-vehicle pilot lamps towards 4 directions settings respectively in car inside, 4 directions are respectively: the straight-going direction, the left-turning direction, the right-turning direction and the turning direction control one of the 4 vehicle-mounted indicator lamps corresponding to the indication direction to be turned on, for example, if the direction indication information extracted from the second data is the left-turning direction, the vehicle-mounted indicator lamp facing the left-turning direction is controlled to be turned on; or, a vehicle-mounted indicator lamp arranged in the automobile can light 4 different colors, each color corresponds to one direction, and the vehicle-mounted indicator lamp is controlled to light in different colors. Such as: green corresponds to a straight direction, red corresponds to a left turning direction, yellow corresponds to a right turning direction, and blue corresponds to a turning direction.
The mode of controlling the vehicle-mounted vibration element corresponding to the indication direction to start can be as follows:
set up 4 on-vehicle vibrations components that set up towards 4 directions respectively in car inside, 4 directions are respectively: the straight-going direction, the left-turning direction, the right-turning direction and the turning direction control one of the 4 vehicle-mounted vibration elements corresponding to the indication direction to vibrate, for example, if the direction indication information extracted from the second data is the left-turning direction, the vehicle-mounted vibration element facing the left-turning direction is controlled to vibrate; or, a vehicle-mounted vibration element arranged in the automobile can vibrate in a mode of 4 different vibration frequencies, each vibration frequency corresponds to one orientation, and the vehicle-mounted vibration element is controlled to vibrate at different vibration frequencies.
In the playing method of the present invention, the manner of outputting the first data and the second data to different vehicle-mounted devices connected to the mobile terminal for playing through the second manner is described as an example. Assuming that the first application program is a telephone application program and the second application program is a navigation application program (the corresponding voice prompt function of the first application program is in an open state), after the first application program is opened and operated, acquiring data (namely display data and audio data) required to be output by the first application program, outputting the display data of the telephone to a vehicle-mounted display device for playing, and outputting the audio data of the telephone to the vehicle-mounted audio device for playing; after the second application program is opened and operated, acquiring data (display data and audio data) required to be output by the second application program, determining that part of the data required to be output by the first application program is display data (first data) according to the mode in the step 102, and part of the data required to be output by the second application program is audio data (second data), and continuously outputting the first data to the vehicle-mounted display equipment for playing; and extracting direction indicating information from the second data, determining an indicating direction in the direction indicating information, and controlling the vehicle-mounted indicating lamp corresponding to the indicating direction to be turned on. And, another part of data (audio data) that the first application program needs to output can still be continuously output to the vehicle-mounted audio equipment for playing.
Through the second mode of outputting the first data and the second data in the embodiment of the invention, the driver can acquire the first data of the first application program according to the vehicle-mounted multimedia player, and simultaneously acquire the second data of the second application program through the vehicle-mounted indicator lamp or the vehicle-mounted vibration element. Compared with the first mode, the second mode can output the data (display data and audio data) of the first application program to be output to the vehicle-mounted multimedia player for playing and output the second data of the second application program to the vehicle-mounted display lamp or the vehicle-mounted vibration element for playing simultaneously.
It should be noted that the above method of the embodiment of the present invention is only used for data output and playback between first data and second data with different data types. If the first data and the second data are of the same data type, the second data is output in a mode that the second data covers the first data, and the first output is continuously output after the second data is output. For example, the first application program is music, the second application program is a telephone, the first data corresponding to the music is determined to be audio data according to the step 102, the second data corresponding to the telephone is audio data, at this time, the output of the audio data of the music is suspended, the audio data of the music output to the vehicle-mounted audio equipment for playing is replaced by the audio data of the telephone, and after the audio data of the telephone is output, the audio data of the music is continuously output to the vehicle-mounted audio equipment for playing.
By the playing method provided by the embodiment of the invention, the data which needs to be output by two application programs running on the mobile terminal at the same time can be played at the same time on the vehicle-mounted equipment, so that the user experience is improved.
Referring to fig. 3 to 5, according to another aspect of the present invention, an embodiment of the present invention further provides a mobile terminal 200, including:
an obtaining module 201, configured to obtain first application information and second application information that run simultaneously on the mobile terminal 200;
a determining module 202, configured to determine that part of data that needs to be output by a first application is first data, and determine that part of data that needs to be output by a second application is second data;
and an output module 203, configured to output the first data and the second data to different vehicle-mounted devices connected to the mobile terminal 200 respectively for playing.
Further, in the embodiment of the present invention, one of the first data and the second data is audio data, and the other is display data.
Further, in the embodiment of the present invention, referring to fig. 4, the output module 203 includes:
a first output unit 2031 for outputting display data to the in-vehicle display device for playback;
and a second output unit 2032 for outputting audio data to the in-vehicle audio apparatus for playback.
Further, in the embodiment of the present invention, referring to fig. 5, the output module 203 includes:
a third output unit 2033, configured to output the first data to the vehicle-mounted multimedia player for playing;
and a fourth output unit 2034 for transmitting the second data to the vehicle-mounted indicating light and/or the vehicle-mounted vibration element for playing.
Further, in the embodiment of the present invention, referring to fig. 4 and 5, the determining module 202 includes:
an obtaining unit 2021, configured to obtain data that needs to be output by the first application program and the second application program respectively;
a first determining unit 2022, configured to determine, according to a correspondence between pre-stored application programs and data types, a first data type corresponding to a first application program and a second data type corresponding to a second application program;
the second determining unit 2023 is configured to determine, according to the first data type, partial data corresponding to the first data type from data that needs to be output by the first application as the first data;
the third determining unit 2024 is configured to determine, according to the second data type, that a part of data corresponding to the second data type is the second data from the data that needs to be output by the second application.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition. Partial data which need to be output by the first application program and the second application program which run simultaneously are output to different vehicle-mounted devices to be played, so that the effect of simultaneously playing the data of the two application programs which run simultaneously can be achieved on the vehicle-mounted devices, and user experience is improved.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 301 is configured to obtain a first application program and a second application program that are currently running on the mobile terminal at the same time;
the processor 310 is configured to determine that a part of data that needs to be played and output by a first application is first data and a part of data that needs to be played and output by a second application is second data; and outputting the first data and the second data to different vehicle-mounted devices connected with the mobile terminal 300 respectively for playing.
Partial data which need to be output by the first application program and the second application program which run simultaneously are output to different vehicle-mounted devices to be played, so that the effect of playing the data of the two running application programs simultaneously on the vehicle-mounted devices can be achieved, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 302, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the mobile terminal 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The mobile terminal 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 6 to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the mobile terminal 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 300 or may be used to transmit data between the mobile terminal 300 and external devices.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the mobile terminal. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The mobile terminal 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 300 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program is executed by the processor 310 to implement each process of the foregoing playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (7)

1. A playing method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring first application program information and second application program information which run on the mobile terminal at the same time;
determining that part of data required to be output by the first application program is first data, and determining that part of data required to be output by the second application program is second data; the first data and the second data are data of two different data types;
respectively outputting the first data and the second data to different vehicle-mounted equipment connected with the mobile terminal for simultaneous playing;
respectively outputting the first data and the second data to different vehicle-mounted devices connected with the mobile terminal for playing comprises:
outputting the first data to a vehicle-mounted multimedia player for playing;
transmitting the second data to a vehicle-mounted indicator light and/or a vehicle-mounted vibration element for playing;
wherein the second application comprises an application containing navigation information, and the second data comprises direction indication information;
the transmitting the second data to a vehicle-mounted indicator light and/or a vehicle-mounted vibration element for playing comprises:
extracting direction indication information in the second data;
according to the indication direction in the direction indication information, controlling a vehicle-mounted indicator lamp and/or a vehicle-mounted vibration element corresponding to the indication direction to start;
the step of determining that the part of data required to be output by the first application is the first data and the step of determining that the part of data required to be output by the second application is the second data comprises the following steps:
acquiring data which needs to be output by the first application program and the second application program respectively;
determining a first data type corresponding to the first application program and a second data type corresponding to the second application program according to a pre-stored corresponding relationship between the application program and the data types; the pre-stored corresponding relationship between the application program and the data type comprises a corresponding relationship between part of application programs and the data type, wherein the part of application programs and the data type can be projected to vehicle-mounted equipment by the mobile terminal to be played in a vehicle-mounted mode;
according to the first data type, determining partial data corresponding to the first data type as the first data from the data needing to be output by the first application program;
and according to the second data type, determining partial data corresponding to the second data type as the second data from the data needing to be output by the second application program.
2. The playback method according to claim 1, wherein one of the first data and the second data is audio data, and the other is display data.
3. The playing method according to claim 2, wherein the step of outputting the first data and the second data to different vehicle-mounted devices connected to the mobile terminal for playing respectively comprises:
outputting the display data to vehicle-mounted display equipment for playing;
and outputting the audio data to the vehicle-mounted audio equipment for playing.
4. A playback apparatus, comprising:
the mobile terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first application program information and second application program information which run on the mobile terminal simultaneously;
the determining module is used for determining that partial data required to be output by the first application program is first data and determining that partial data required to be output by the second application program is second data; the first data and the second data are data of two different data types;
the output module is used for respectively outputting the first data and the second data to different vehicle-mounted devices connected with the mobile terminal for simultaneous playing;
the output module includes:
the third output unit is used for outputting the first data to a vehicle-mounted multimedia player for playing;
the fourth output unit is used for transmitting the second data to a vehicle-mounted indicator lamp and/or a vehicle-mounted vibration element for playing;
wherein the second application comprises an application containing navigation information, and the second data comprises direction indication information;
the fourth output unit is specifically further configured to:
extracting direction indication information in the second data;
according to the indication direction in the direction indication information, controlling a vehicle-mounted indicator lamp and/or a vehicle-mounted vibration element corresponding to the indication direction to start;
the determining module comprises:
an obtaining unit, configured to obtain data that needs to be output by the first application program and the second application program respectively;
the first determining unit is used for determining a first data type corresponding to the first application program and a second data type corresponding to the second application program according to a pre-stored corresponding relationship between the application program and the data types; the pre-stored corresponding relationship between the application program and the data type comprises a corresponding relationship between part of application programs and the data type, wherein the part of application programs and the data type can be projected to vehicle-mounted equipment by the mobile terminal to be played in a vehicle-mounted mode;
a second determining unit, configured to determine, according to the first data type, that, from data that needs to be output by the first application, part of data corresponding to the first data type is the first data;
and a third determining unit, configured to determine, according to the second data type, that, from the data that needs to be output by the second application, part of the data corresponding to the second data type is the second data.
5. The playback apparatus according to claim 4, wherein one of the first data and the second data is audio data, and the other is display data.
6. The playback device of claim 5, wherein the output module comprises:
the first output unit is used for outputting the display data to vehicle-mounted display equipment for playing;
and the second output unit is used for outputting the audio data to the vehicle-mounted audio equipment for playing.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the playback method according to any one of claims 1 to 3.
CN201711292572.1A 2017-12-08 2017-12-08 Playing method, device and mobile terminal Active CN108040176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711292572.1A CN108040176B (en) 2017-12-08 2017-12-08 Playing method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711292572.1A CN108040176B (en) 2017-12-08 2017-12-08 Playing method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108040176A CN108040176A (en) 2018-05-15
CN108040176B true CN108040176B (en) 2021-02-19

Family

ID=62101557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711292572.1A Active CN108040176B (en) 2017-12-08 2017-12-08 Playing method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108040176B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764730B (en) * 2018-07-25 2023-11-14 杭州海康威视数字技术股份有限公司 Method and device for playing audio data
CN112231042B (en) * 2020-12-17 2021-10-26 智道网联科技(北京)有限公司 Interaction method and device based on navigation information, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201426232Y (en) * 2009-03-13 2010-03-17 深圳市奥拓普科技有限公司 Vehicle-mounted DVD navigation device
CN202855298U (en) * 2012-08-13 2013-04-03 深圳市徐港电子有限公司 Vehicle-loaded multimedia playing apparatus
WO2014157839A1 (en) * 2013-03-26 2014-10-02 Samsung Electronics Co., Ltd. Terminal apparatus mountable in vehicle, mobile device for working with the terminal apparatus, and methods for providing service thereof
CN103716069B (en) * 2013-12-19 2016-06-01 吴根佑 A kind of bluetooth call reminding system and method based on onboard system
CN107168638A (en) * 2016-03-07 2017-09-15 阿里巴巴集团控股有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN108040176A (en) 2018-05-15

Similar Documents

Publication Publication Date Title
CN107908383B (en) Screen color adjusting method and device and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108551534B (en) Method and device for multi-terminal voice call
CN110851220A (en) Information output method and electronic equipment
CN109144703B (en) Multitask processing method and terminal equipment thereof
CN112596625A (en) Electronic equipment, display control method and device
CN109710130B (en) Display method and terminal
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
CN111131885A (en) Play control method and electronic equipment
CN111061404A (en) Control method and first electronic device
CN109005297B (en) Display method of navigation application and mobile terminal
CN108040176B (en) Playing method, device and mobile terminal
CN111124569A (en) Application sharing method, electronic equipment and computer readable storage medium
CN107231486B (en) Intelligent control method and terminal for vehicle and computer readable storage medium
CN108319440B (en) Audio output method and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN111417929A (en) Interface display method and control terminal
CN109753776B (en) Information processing method and device and mobile terminal
CN108418961B (en) Audio playing method and mobile terminal
CN110839108A (en) Noise reduction method and electronic equipment
CN110990029A (en) Application processing method and electronic equipment
CN108430025B (en) Detection method and mobile terminal

Legal Events

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