CN112738910B - Application control method and device and electronic equipment - Google Patents

Application control method and device and electronic equipment Download PDF

Info

Publication number
CN112738910B
CN112738910B CN202011629181.6A CN202011629181A CN112738910B CN 112738910 B CN112738910 B CN 112738910B CN 202011629181 A CN202011629181 A CN 202011629181A CN 112738910 B CN112738910 B CN 112738910B
Authority
CN
China
Prior art keywords
terminal
application
default
audio
module
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
CN202011629181.6A
Other languages
Chinese (zh)
Other versions
CN112738910A (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 Hangzhou 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 CN202011629181.6A priority Critical patent/CN112738910B/en
Publication of CN112738910A publication Critical patent/CN112738910A/en
Application granted granted Critical
Publication of CN112738910B publication Critical patent/CN112738910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an application control method, and belongs to the technical field of communication. The method comprises the following steps: receiving a preset operation executed on an application in a first terminal; setting an application corresponding to the preset operation as a default application; and under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal so that the second terminal uses the default application. According to the method and the device for controlling the application, the default application is determined according to the received preset operation executed for the application in the first terminal, and the default application is operated under the condition that the communication connection between the first terminal and the second terminal is detected, so that the second terminal can directly use the default application as long as the second terminal is connected to the first terminal, the operation process of the second terminal for connecting and using the application in the first terminal is simplified, and the application control efficiency is improved.

Description

Application control method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an application control method, an application control device and electronic equipment.
Background
Along with the development of mobile communication technology, smart phones are increasingly used, and many users perform entertainment and office work through the mobile phones and are connected with other devices through bluetooth, so as to play audio and video, transmit files and the like on the other devices.
However, in the prior art, if a user connects other devices to play audio and video or transmit files through a bluetooth of a mobile phone, the bluetooth of the mobile phone needs to be opened to pair with the other devices, after the pairing is successful, the audio and video playing software or the file memory of the mobile phone is opened, the audio and video to be played or the files to be transmitted are searched, and then the user clicks to play or clicks to share and upload, so that the whole operation process is complicated.
Content of the application
The embodiment of the application control method aims at providing an application control method which can solve the problem that in the prior art, when a mobile phone and other equipment are connected through communication and are used in the mobile phone through other equipment, the operation process is complex.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides an application control method, where the method includes:
receiving a preset operation executed on an application in a first terminal;
setting an application corresponding to the preset operation as a default application;
and under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal so that the second terminal uses the default application.
In a second aspect, an embodiment of the present application provides an application control apparatus, including:
the preset operation receiving module is used for receiving preset operation executed on the application in the first terminal;
the default application setting module is used for setting the application corresponding to the preset operation as a default application;
and the default application running module is used for running the default application in the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected, so that the second terminal uses the default application.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, the default application is determined according to the received preset operation executed for the application in the first terminal, and the default application is operated under the condition that the communication connection between the first terminal and the second terminal is detected, so that the second terminal can directly use the default application only by being connected to the first terminal through communication, the operation process of the second terminal using the application in the first terminal through communication connection is simplified, and the application control efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating specific steps of an application control method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a preset operation according to a first embodiment of the present disclosure;
fig. 3 is a schematic diagram of a preset interface for displaying a connection list according to an embodiment of the present application;
fig. 4 is a block diagram of an application control device according to a second embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to a third embodiment of the present application;
fig. 6 is a schematic hardware structure of an electronic device according to a third embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The application control method and the application control device provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Example 1
Referring to fig. 1, specific steps of an application control method according to an embodiment of the present application are shown.
Step 101, receiving a preset operation executed on an application in a first terminal.
And 102, setting the application corresponding to the preset operation as a default application.
And step 103, running a default application in the first terminal under the condition that the first terminal and the second terminal are detected to establish communication connection, so that the second terminal uses the default application.
Alternatively, the first terminal may establish a communication connection with the second terminal by establishing a bluetooth communication connection.
The default application in the first terminal is determined, and when the first terminal and the second terminal are detected to be connected through communication, the first terminal can directly run the default application, so that the second terminal can use the default application in the first terminal through Bluetooth. By adopting the method provided by the embodiment of the application, when a user wants to use the application in the first terminal on the second terminal through Bluetooth, the user does not need to manually search the application which wants to run after the communication connection between the first terminal and the second terminal is established, and the running data of the application is sent to the second terminal for the second terminal to use, so that the operation steps of using the application in the first terminal on the second terminal are simplified.
It should be noted that, the application control method of the embodiment of the present application may be applied to an electronic device, where the electronic device may be a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), or the like, or the electronic device may also be a server, a network attached memory (NetworkAttached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine, or a self-service machine, which is not specifically limited, and the embodiment of the present application is described by taking the mobile terminal as an example.
In an optional embodiment of the present application, the receiving a preset operation performed on the application in the first terminal in step 101 includes:
and S11, receiving an operation of dragging the application icon in the first terminal to a preset control area in the first terminal.
Step 102 of setting the application corresponding to the preset operation as a default application includes:
and step S12, setting the application corresponding to the application icon as a default application.
The preset control area may be a bluetooth icon display area in a shortcut operation interface of the mobile terminal, or may be any target area, as long as the target area can meet the setting requirement of a default application.
In this embodiment of the present application, the preset operation performed by the user on the first terminal may be various, including a drag operation on the application icon in the first terminal. Referring to fig. 2, a schematic diagram of a preset operation provided in an embodiment of the present application is shown. As shown in fig. 2, assuming that the application type of the default application that the user wants to set is an audio playing application, and the selected default application is "i music", then the user may open an operation interface of the shortcut center in a display interface where an application icon corresponding to the "i music" is located, drag the application icon corresponding to the "i music" to a preset control area in the operation interface of the shortcut center, so that when the first terminal receives an operation of dragging the application icon corresponding to the "i music" in the first terminal to the preset control area in the first terminal, the "i music" is set as the default application. When the first terminal establishes a communication connection with the second terminal, the first terminal automatically runs "i music", and the second terminal can use "i music" through the communication connection. Of course, the schematic diagram of the drag operation shown in fig. 2 is only an exemplary illustration of an operation procedure of setting a default application, and other applications may be set as default applications by executing the drag operation on other applications in the first terminal, which is not specifically limited in this embodiment of the present application.
In this embodiment of the present application, in addition to dragging an application icon in a first terminal to a preset control area in the first terminal, an application corresponding to the application icon is set as a default application, and the default application may also be set in a setting interface of the first terminal. Specifically, the user triggers the first terminal to display the bluetooth setting interface by performing a triggering operation on a preset control area of the first terminal, for example, the user triggers the first terminal to display the bluetooth setting interface by pressing the preset control area in a shortcut center operation interface in the first terminal for a long time. In other words, the first terminal displays a bluetooth setting interface under the condition that the first terminal receives a triggering operation of a preset control area in the first terminal, wherein the bluetooth setting interface comprises a communication connection list, and the communication connection list comprises device identifiers of bluetooth devices which are successfully connected by the first terminal in a history way. The user can select a corresponding default application according to the device identifier of the Bluetooth device, and the first terminal sets the application selected by the user through the application selection operation as the default application corresponding to the target device identifier according to the received application selection operation of the user according to the target device identifier in the communication connection list. And under the condition that the first terminal is detected to be connected with the second terminal through communication, judging whether the equipment identifier of the second terminal is matched with the target equipment identifier, and if the equipment identifier of the second terminal is matched with the target equipment identifier, running a default application corresponding to the target equipment identifier.
The specific step of setting the default application may be determined according to the operating system of the first terminal, which is not specifically limited in the embodiment of the present application.
In an optional embodiment of the present application, the receiving a preset operation performed on the application in the first terminal in step 101 includes:
step S21, a connection list is displayed, wherein the connection list comprises equipment identifiers of terminals connected with the first terminal in preset time.
And S22, receiving an operation of dragging the application icon to a target equipment identifier in the connection list, wherein the connection list comprises the target equipment identifier.
The setting the application corresponding to the preset operation as a default application includes:
and S23, setting the application corresponding to the application icon as a default application of the terminal corresponding to the target equipment identifier.
And under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal, wherein the method comprises the following steps:
and step S24, judging whether the equipment identifier of the second terminal is matched with the target equipment identifier or not under the condition that the first terminal and the second terminal are detected to establish communication connection.
And step S25, running a default application of the terminal corresponding to the target equipment identifier in the first terminal under the condition that the equipment identifier of the second terminal is matched with the target equipment identifier.
In the embodiment of the application, the same default application can be set for all terminals connected with the first terminal, or the default application set for the corresponding terminal can be set for a certain target device identifier, and if and only if the first terminal is connected with the corresponding terminal of the target device identifier through communication, the first terminal runs the default application.
Specifically, the device information of the terminal connected to the first terminal in the preset period may be recorded, and the device information of the terminal connected to the first terminal in the preset period may be stored in a list form, so as to obtain a connection list, where the device information may include a device identifier of the bluetooth device, for example, a device model, a device name, and the like. And after the first terminal receives the operation of dragging the application icon in the first terminal to a preset control area in the first terminal, the first terminal displays a connection list in a preset interface for a user to check. Referring to fig. 3, a schematic diagram of a preset interface for displaying a connection list according to an embodiment of the present application is shown. Assuming that the application type of the default application set by the user is an audio playing application, the default application selected by the user is "A music", after the operation of dragging an application icon corresponding to the "A music" in the first terminal to a preset control area in an operation interface of a shortcut center in the first terminal is received, a preset interface is popped up beside the preset control area, a connection list is displayed in the preset interface, and the connection list comprises equipment identifiers of terminals connected with the first terminal in preset time. Further, the user may set "a music" as a default application of the terminal corresponding to the target device identifier by dragging the application icon corresponding to "a music" to the display position of the target device identifier in the connection list displayed by the first terminal. In this way, when the first terminal connects the second terminal again, it is first determined whether the device identifier of the connected second terminal matches the target device identifier, and if the device identifier of the second terminal matches the target device identifier, the first terminal automatically runs the default application.
Different default applications can be set for different terminals, for example, a first default application is set for a first device identifier in a connection list, and a second default application is set for a second device identifier in the connection list; if the equipment identifier of the second terminal connected with the first terminal is matched with the first equipment identifier, a first default application is operated; and if the equipment identifier of the second terminal connected with the first terminal is matched with the second equipment identifier, running a second default application. Therefore, the corresponding default application can be automatically operated flexibly according to the equipment identification of the terminal connected with the first terminal, and the user can conveniently and fast set the default application according to different communication connection requirements.
In an optional embodiment of the present application, after setting the application corresponding to the preset operation as the default application in step 102, the method further includes:
step S31, determining first scene information corresponding to the default application.
And under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal, wherein the method comprises the following steps:
step S32, under the condition that the first terminal and the second terminal are detected to establish communication connection, second scene information corresponding to the first terminal is acquired.
And step S33, judging whether the second scene information is matched with the first scene information.
And step S34, running a default application in the first terminal under the condition that the second scene information is matched with the first scene information.
When a user connects a bluetooth device through a first terminal under a specific scenario, a specific application needs to be started, for example, when the scenario that the first terminal connects a second terminal is a meeting room, a user typically connects a mobile phone with a projection device of the meeting room, an office application or a file transfer application in the first terminal needs to be started, for example, a PPT demonstration application is started, a PPT is demonstrated on the projection device, or a file on the mobile phone is transferred to the projection device through the file transfer application. When the scene that the first terminal is connected with the second terminal is a living room, the video playing application needs to be started by connecting the user with the television through the mobile phone, and the screen throwing playing of the movie or the television play is carried out on the television. Therefore, in the embodiment of the present application, in addition to setting a corresponding default application for the device identifier of the bluetooth device, a corresponding default application may also be set for the scenario information when the first terminal connects to the second terminal.
Specifically, in the embodiment of the present application, a correspondence between each application in the first terminal and the first scene information may be pre-established, or a correspondence between an application type and the first scene information may be pre-established. After the first terminal sets the application corresponding to the received preset operation as a default application, the first scene information corresponding to the default application is determined directly according to the corresponding relation between the application and the scene information, or the application type of the default application is determined, and the first scene information corresponding to the default application is determined according to the application type. Under the condition that the first terminal and the second terminal are detected to establish communication connection, second scene information corresponding to the first terminal at present is obtained, the second scene information is matched with the first scene information, and under the condition that the second scene information is matched with the first scene information, a default application in the first terminal is operated. For example, the first scene information corresponding to the file transfer application is preset as a conference room, and when the first terminal is detected to be connected with the second terminal, the corresponding second scene information is also the conference room, so that the file transfer application in the first terminal is operated.
In an optional embodiment of the present application, the default application includes an audio playing application, and before the step 103 of running the default application in the first terminal in the case that it is detected that the first terminal establishes a communication connection with the second terminal, the method further includes:
step S41, determining a default audio list of the audio playing application according to the historical audio playing information of the audio playing application.
Step 103, running a default application in the first terminal under the condition that the first terminal and the second terminal are detected to establish communication connection, including:
step S42, judging whether the second terminal has an audio playing function or not under the condition that the first terminal and the second terminal are detected to establish communication connection.
And step S43, if the second terminal has the audio playing function, the audio playing application is operated, and the audio data of the current audio in the default audio list is transmitted to the second terminal, so that the second terminal plays the current audio.
In this embodiment of the present application, the application type of the default application set according to the received preset operation may be a file transmission application, a document editing application, an audio playing application, a video playing application, or the like, which is not specifically limited. Optionally, a default audio play list of the audio play application may be predetermined for the audio play application, so that if the second terminal has the audio play function when the communication connection between the first terminal and the second terminal is detected, the audio play application may be directly operated, and audio data of current audio in the default audio list may be transmitted to the second terminal, and the current audio in the default audio list may be played through the second terminal. For example, when the user connects the mobile phone and the bluetooth headset, the user can directly play the audio in the default audio play list of the default audio play application set by the bluetooth headset, so that the corresponding default audio can be played flexibly and automatically according to the connected second terminal, and the convenience of playing the audio in the first terminal by the second terminal is improved.
In an optional embodiment of the present application, after determining the default audio list of the audio playing application according to the historical audio playing information of the audio playing application in step S41, the method further includes:
a11, determining equipment attributes corresponding to each play tone quality provided by the audio play application.
If the second terminal has the audio playing function, the step S43 of running the audio playing application and transmitting the audio data of the current audio in the default audio list to the second terminal includes:
a12, if the second terminal has the audio playing function, acquiring the equipment attribute of the second terminal.
A13, determining the playing tone quality matched with the equipment attribute of the second terminal.
And A14, running the audio playing application, and transmitting the audio data of the current audio corresponding to the matched playing tone quality in the default audio list to the second terminal, so that the second terminal plays the current audio according to the matched playing tone quality.
The device attribute of the second terminal may be a device type of the second terminal, and taking the second terminal as an example of an earphone, the device attribute may be a bluetooth earphone, a moving coil earphone, a moving iron earphone, and the like. As the device attribute of the second terminal, any characteristic information that can identify the playback sound quality supported by the second terminal may be used.
In this embodiment of the present application, for the case that the application type of the default application is an audio playing application, a correspondence between playing tone quality provided by the audio playing application and a device attribute of the bluetooth device may also be established, so that, when the first terminal is connected to the second terminal and the second terminal has an audio playing function, the playing tone quality matched with the device attribute of the second terminal is determined, and audio data corresponding to the current audio in the default audio playlist and the playing tone quality is transmitted to the second terminal, so that the second terminal plays the current audio according to the matched playing tone quality. The playing tone quality may include standard quality, high quality, lossless quality, and the like, among others.
In summary, in the embodiment of the present application, by determining a default application according to a received preset operation performed for an application in a first terminal, and running the default application when it is detected that a communication connection is established between the first terminal and a second terminal, the second terminal can directly use the default application as long as the second terminal is connected to the first terminal, so that an operation process of the second terminal for connecting to use the application in the first terminal is simplified, and application control efficiency is improved.
It should be noted that, in the application control method provided in the embodiment of the present application, the execution body may be an application control device, or a control module in the application control device for executing the application control method. In the embodiment of the present application, an application control device executes an application control method as an example, and a method provided in the embodiment of the present application is described.
Example two
Referring to fig. 4, a block diagram of an application control device according to a second embodiment of the present invention is shown, which specifically includes:
the preset operation receiving module 201 is configured to receive a preset operation performed on an application in the first terminal.
The default application setting module 202 is configured to set an application corresponding to the preset operation as a default application.
And a default application running module 203, configured to run a default application in the first terminal when it is detected that the first terminal and the second terminal establish communication connection, so that the second terminal uses the default application.
In an alternative embodiment of the present application, the preset operation receiving module 201 includes:
a preset operation receiving submodule 2011, configured to receive an operation of dragging an application icon in a first terminal to a preset control area in the first terminal;
the default application setting module 202 includes:
the first application setting submodule 2021 is configured to set an application corresponding to the application icon as a default application.
In an alternative embodiment of the present application, the preset operation receiving module 201 includes:
a communication connection list display sub-module 2012, configured to display a connection list, where the connection list includes a device identifier of a terminal connected to the first terminal in a preset time;
a drag operation receiving sub-module 2013, configured to receive an operation of dragging the application icon to a target device identifier in the connection list;
the default application setting module 202 includes:
a second application setting submodule 2022, configured to set an application corresponding to the application icon as a default application of the terminal corresponding to the target device identifier;
the default application running module 203 includes:
a device identifier judging submodule 2031, configured to judge whether a device identifier of the second terminal is matched with the target device identifier when it is detected that the first terminal and the second terminal establish communication connection;
a first application running submodule 2032, configured to run a default application in the first terminal if the device identifier of the second terminal matches the target device identifier.
In an alternative embodiment of the present application, the apparatus further comprises:
a first scene information determining module 204, configured to determine first scene information corresponding to the default application;
the default application running module 203 includes:
a second scene information obtaining submodule 2033, configured to obtain second scene information corresponding to the first terminal when it is detected that the first terminal and the second terminal establish communication connection;
a scene information matching submodule 2034, configured to determine whether the second scene information is matched with the first scene information;
a second application running sub-module 2035, configured to run a default application in the first terminal when the second scene information matches the first scene information.
In an alternative embodiment of the present application, the default application includes an audio playing application, and the apparatus further includes:
a default audio list determining module 205, configured to determine a default audio list of the audio playing application according to the historical audio playing information of the audio playing application;
the default application running module 203 includes:
an audio playing function judging submodule 2036, configured to judge whether the second terminal has an audio playing function when it is detected that the first terminal and the second terminal establish communication connection;
and a third application running submodule 2037, configured to, if the second terminal has an audio playing function, run the audio playing application, and transmit audio data of the current audio in the default audio list to the second terminal, so that the second terminal plays the current audio.
In an alternative embodiment of the present application, the apparatus further comprises:
a device attribute determining module 206, configured to determine a device attribute corresponding to each play tone quality provided by the audio play application;
the third application execution submodule 2037 includes:
the device attribute obtaining unit is used for obtaining the device attribute of the second terminal if the second terminal has the audio playing function;
a playing tone quality matching unit, configured to determine a playing tone quality that matches with an equipment attribute of the second terminal;
and the audio playing application running unit is used for running the audio playing application and transmitting the audio data of the current audio corresponding to the matched playing tone quality in the default audio list to the second terminal so that the second terminal plays the current audio according to the matched playing tone quality.
The application control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (NetworkAttached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The application control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The application control device provided in the embodiment of the present application can implement each process implemented by the application control device in the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
In the embodiment of the application, the default application is determined according to the received preset operation executed for the application in the first terminal, and the default application is operated under the condition that the communication connection between the first terminal and the second terminal is detected, so that the second terminal can directly use the default application as long as being connected to the first terminal, the operation process of the second terminal for connecting and using the application in the first terminal is simplified, and the application control efficiency is improved.
Example III
Optionally, as shown in fig. 5, the embodiment of the present application further provides an electronic device 500, including a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and capable of running on the processor 501, where the program or the instruction implements each process of the embodiment of the application control method when executed by the processor 501, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 610 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Example IV
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, where the program or the instruction realizes each process of the embodiment of the application control method when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (RandomAccess Memory, RAM), a magnetic disk or an optical disk, and the like.
Example five
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the application control method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. An application control method, the method comprising:
receiving a preset operation executed on an application in a first terminal;
setting an application corresponding to the preset operation as a default application;
under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal so that the second terminal uses the default application;
wherein the default application includes an audio playing application, and before the default application in the first terminal is operated under the condition that the first terminal and the second terminal are detected to establish communication connection, the method further includes:
determining a default audio list of the audio playing application according to the historical audio playing information of the audio playing application;
and under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal, wherein the method comprises the following steps:
judging whether the second terminal has an audio playing function or not under the condition that the first terminal and the second terminal are detected to establish communication connection;
if the second terminal has the audio playing function, the audio playing application is operated, and audio data of current audio in the default audio list are transmitted to the second terminal, so that the second terminal plays the current audio;
wherein after the default audio list of the audio playing application is determined according to the historical audio playing information of the audio playing application, the method further comprises:
determining equipment attributes corresponding to each play tone quality provided by the audio play application;
if the second terminal has the audio playing function, the audio playing application is operated, and audio data of current audio in the default audio list is transmitted to the second terminal, including:
if the second terminal has the audio playing function, acquiring the equipment attribute of the second terminal;
determining a playing tone quality matched with the equipment attribute of the second terminal;
and running the audio playing application, and transmitting the audio data of the current audio corresponding to the matched playing tone quality in the default audio list to the second terminal, so that the second terminal plays the current audio according to the matched playing tone quality.
2. The method according to claim 1, wherein the receiving a preset operation performed on the application in the first terminal comprises:
the method comprises the steps of receiving an operation of dragging an application icon in a first terminal to a preset control area in the first terminal;
the setting the application corresponding to the preset operation as a default application includes:
and setting the application corresponding to the application icon as a default application.
3. The method according to claim 1, wherein the receiving a preset operation performed on the application in the first terminal comprises:
displaying a connection list, wherein the connection list comprises equipment identifiers of terminals connected with the first terminal in preset time;
receiving an operation of dragging an application icon to a target equipment identifier in the connection list, wherein the connection list comprises the target equipment identifier;
the setting the application corresponding to the preset operation as a default application includes:
setting the application corresponding to the application icon as a default application of the terminal corresponding to the target equipment identifier;
and under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal, wherein the method comprises the following steps:
judging whether the equipment identifier of the second terminal is matched with the target equipment identifier or not under the condition that the first terminal and the second terminal are detected to establish communication connection;
and running a default application of the terminal corresponding to the target equipment identifier in the first terminal under the condition that the equipment identifier of the second terminal is matched with the target equipment identifier.
4. The method according to claim 1, wherein after the setting the application corresponding to the preset operation as a default application, the method further comprises:
determining first scene information corresponding to the default application;
and under the condition that the first terminal and the second terminal are detected to establish communication connection, running a default application in the first terminal, wherein the method comprises the following steps:
under the condition that the first terminal and the second terminal are detected to establish communication connection, second scene information corresponding to the first terminal is obtained;
judging whether the second scene information is matched with the first scene information or not;
and running a default application in the first terminal under the condition that the second scene information is matched with the first scene information.
5. An application control device, the device comprising:
the preset operation receiving module is used for receiving preset operation executed on the application in the first terminal;
the default application setting module is used for setting the application corresponding to the preset operation as a default application;
a default application running module, configured to run a default application in the first terminal when it is detected that the first terminal and the second terminal establish communication connection, so that the second terminal uses the default application;
wherein the default application includes an audio playing application, and the application control device further includes:
a default audio list determining module, configured to determine a default audio list of the audio playing application according to historical audio playing information of the audio playing application;
the default application running module comprises:
the function judging sub-module is used for judging whether the second terminal has an audio playing function or not under the condition that the first terminal and the second terminal are detected to establish communication connection;
a default application running sub-module, configured to, if the second terminal has an audio playing function, run the audio playing application, and transmit audio data of a current audio in the default audio list to the second terminal, so that the second terminal plays the current audio;
wherein, the application control device further includes:
the device attribute determining module is used for determining the device attribute corresponding to each play tone quality provided by the audio play application;
the default application running sub-module includes:
the device attribute obtaining unit is used for obtaining the device attribute of the second terminal if the second terminal has the audio playing function;
a play tone quality determining unit, configured to determine a play tone quality that matches with an equipment attribute of the second terminal;
and the default application running unit is used for running the audio playing application and transmitting the audio data of the current audio corresponding to the matched playing tone quality in the default audio list to the second terminal so that the second terminal plays the current audio according to the matched playing tone quality.
6. The apparatus of claim 5, wherein the preset operation receiving module comprises:
the preset operation receiving sub-module is used for receiving the operation of dragging the application icon in the first terminal to a preset control area in the first terminal;
the default application setting module comprises:
and the first application setting sub-module is used for setting the application corresponding to the application icon as a default application.
7. The apparatus of claim 5, wherein the preset operation receiving module comprises:
the connection list display sub-module is used for displaying a connection list, wherein the connection list comprises equipment identifiers of terminals connected with the first terminal in preset time;
a drag operation receiving sub-module, configured to receive an operation of dragging an application icon to a target device identifier in the connection list, where the connection list includes the target device identifier;
the default application setting module comprises:
the second application setting sub-module is used for setting the application corresponding to the application icon as a default application of the terminal corresponding to the target equipment identifier;
the default application running module comprises:
the equipment identification judging sub-module is used for judging whether the equipment identification of the second terminal is matched with the target equipment identification or not under the condition that the first terminal and the second terminal are detected to establish communication connection;
and the first application running sub-module is used for running a default application of the terminal corresponding to the target equipment identifier in the first terminal under the condition that the equipment identifier of the second terminal is matched with the target equipment identifier.
8. The apparatus of claim 5, wherein the apparatus further comprises:
the first scene information determining module is used for determining first scene information corresponding to the default application;
the default application running module comprises:
the second scene information acquisition sub-module is used for acquiring second scene information corresponding to the first terminal under the condition that communication connection between the first terminal and the second terminal is detected;
the scene information matching sub-module is used for judging whether the second scene information is matched with the first scene information or not;
and the second application running sub-module is used for running the default application in the first terminal under the condition that the second scene information is matched with the first scene information.
CN202011629181.6A 2020-12-30 2020-12-30 Application control method and device and electronic equipment Active CN112738910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011629181.6A CN112738910B (en) 2020-12-30 2020-12-30 Application control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011629181.6A CN112738910B (en) 2020-12-30 2020-12-30 Application control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112738910A CN112738910A (en) 2021-04-30
CN112738910B true CN112738910B (en) 2023-04-28

Family

ID=75608163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011629181.6A Active CN112738910B (en) 2020-12-30 2020-12-30 Application control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112738910B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281467A (en) * 2013-07-03 2015-01-14 宏达国际电子股份有限公司 Method of sharing application and electronic device using the same
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150065508A (en) * 2013-12-05 2015-06-15 엘지전자 주식회사 Electronic device and electronic device system
CN106469028B (en) * 2016-09-14 2019-04-16 Oppo广东移动通信有限公司 A kind of data migration method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281467A (en) * 2013-07-03 2015-01-14 宏达国际电子股份有限公司 Method of sharing application and electronic device using the same
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112738910A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
WO2018184488A1 (en) Video dubbing method and device
CN105045552A (en) Multi-screen splicing display method and apparatus
CN105338389A (en) Method and apparatus for controlling intelligent television
CN104468329A (en) Member adding method and device based on instant messaging
CN105183513A (en) Application recommendation method and apparatus
CN104796743A (en) Content item display system, method and device
US20200310741A1 (en) Method and apparatus for controlling sound signal output
CN105354017A (en) Information processing method and apparatus
CN104881304A (en) Resource downloading method and device
CN110278273B (en) Multimedia file uploading method, device, terminal, server and storage medium
US20210019030A1 (en) Display interface switching method, display interface switching apparatus, and electronic device
CN105550260A (en) Picture display method and device
CN104572230A (en) Script file loading method, script file generating method and script file generating device
CN112738910B (en) Application control method and device and electronic equipment
CN113840033B (en) Audio data playing method and device
CN105450507A (en) Method and device for sharing information in social network
CN113542488B (en) Method, device and storage medium for controlling controlled terminal using terminal device
CN104468706A (en) Audio file transmission method and device
CN113992786A (en) Audio playing method and device
CN114599020A (en) Bluetooth connection method, Bluetooth connection device, electronic device and readable storage medium
CN114666643A (en) Information display method and device, electronic equipment and storage medium
CN107070816A (en) Recognition methods, device and the mobile terminal of application
CN113407147A (en) Audio playing method, device, equipment and storage medium
CN112969147A (en) Call method and device
CN112954760A (en) Connection method and device of Bluetooth equipment and electronic equipment

Legal Events

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

Effective date of registration: 20230717

Address after: 311121 Room 305, Building 20, Longquan Road, Cangqian Street, Yuhang District, Hangzhou City, Zhejiang Province

Patentee after: VIVO MOBILE COMMUNICATION (HANGZHOU) Co.,Ltd.

Address before: No.168 Jinghai East Road, Chang'an Town, Dongguan City, Guangdong Province

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right