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

Application control method and device and electronic equipment Download PDF

Info

Publication number
CN112738910A
CN112738910A CN202011629181.6A CN202011629181A CN112738910A CN 112738910 A CN112738910 A CN 112738910A CN 202011629181 A CN202011629181 A CN 202011629181A CN 112738910 A CN112738910 A CN 112738910A
Authority
CN
China
Prior art keywords
terminal
application
default
audio
default application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011629181.6A
Other languages
Chinese (zh)
Other versions
CN112738910B (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

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 the application corresponding to the preset operation as a default application; and running a default application in the first terminal under the condition that the first terminal is detected to establish communication connection with a second terminal, so that the second terminal uses the default application. According to the application control method and the application control device, the default application is determined according to the received preset operation executed aiming at the application in the first terminal, and the default application is operated under the condition that the first terminal is detected to be in communication connection with the second terminal, so that the second terminal can directly use the default application as long as being connected to the first terminal, the operation process that the second terminal is connected with 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
With the development of mobile communication technology, smart phones are more and more widely applied, and many users entertain and work through the mobile phones, and connect with other devices through bluetooth for playing audio and video, transmitting files and the like on other devices.
However, in the prior art, if a user connects to another device through the mobile phone bluetooth to play audio and video or transmit files, the mobile phone bluetooth needs to be opened to pair with the other device, after the pairing is successful, mobile phone audio and video playing software or a file memory is opened to search for the audio and video to be played or the files to be transmitted, and then the audio and video to be played or the files to be transmitted are clicked to share and upload, so that the whole operation process is complicated.
Content of application
The embodiment of the application control method aims to solve the problems that in the prior art, when a mobile phone and other equipment are connected through communication and the application in the mobile phone is used through the other equipment, the operation process is complicated.
In order to solve the technical problem, the present application is implemented 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 the application corresponding to the preset operation as a default application;
and running a default application in the first terminal under the condition that the first terminal is detected to establish communication connection with a second 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;
a default application setting module, configured to set an 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, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the default application is determined according to the received preset operation executed aiming at the application in the first terminal, and the default application is operated under the condition that the first terminal is detected to establish communication connection with the second terminal, so that the second terminal can directly use the default application as long as the second terminal is connected to the first terminal through communication, the operation process that the second terminal uses 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 application;
FIG. 2 is a schematic diagram of a preset operation provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a preset interface for displaying a connection list according to an embodiment of the present disclosure;
fig. 4 is a structural diagram of an application control apparatus according to a second embodiment of the present application;
fig. 5 is a structural diagram of an electronic device according to a third embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to a third embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application control method and the application control apparatus provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Example one
Referring to fig. 1, specific steps of an application control method provided in a first 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.
Step 103, running a default application in the first terminal to enable the second terminal to use the default application when detecting that the first terminal establishes a communication connection with the second terminal.
Alternatively, the first terminal establishing a communication connection with the second terminal may be establishing a bluetooth communication connection.
The preset operation is used for determining a default application in the first terminal, and when the first terminal is detected to be in communication connection with the second terminal, 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 to be operated and send the operation data of the application to the second terminal for the second terminal to use after establishing the communication connection between the first terminal and the second terminal, so that the operation step of using the application in the first terminal on the second terminal is simplified.
It should be noted that the application control method in 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 (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like, or the electronic device may also be a non-mobile electronic device such as a server, a Network Attached Storage (NAS), a Personal Computer (PC), a television (television, TV), a teller machine, or a self-service machine, and the embodiment of the present application is not particularly limited, and the embodiment of the present application describes the electronic device by taking the mobile terminal as an example.
In an optional embodiment of the present application, the receiving, in step 101, a preset operation performed on an application in a first terminal includes:
and step S11, receiving an operation of dragging the application icon in the first terminal to a preset control area in the first terminal.
Step 102, setting the application corresponding to the preset operation as a default application, including:
and step S12, setting the application corresponding to the application icon as a default application.
The preset control area can be a Bluetooth icon display area in a shortcut operation interface of the mobile terminal, and can also be any target area as long as the target area can meet the setting requirement of default application.
In the embodiment of the application, the preset operation performed by the user on the first terminal may be various, including a dragging operation on an 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", the user may open an operation interface of a 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 the "i music", and the second terminal can use the "i music" through the communication connection. Of course, the schematic diagram of the dragging operation shown in fig. 2 is only an exemplary illustration of the operation process of setting the default application, and other applications may also be set as default applications by performing the dragging operation on other applications in the first terminal, which is not specifically limited in this embodiment of the application.
In the embodiment of the application, except that the application icon in the first terminal is dragged to the preset control area in the first terminal, the application corresponding to the application icon is set as the default application, and the default application can be set in the setting interface of the first terminal. Specifically, the user triggers the first terminal to display the bluetooth setting interface by executing a trigger 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 long-pressing the preset control area in the shortcut center operation interface in the first terminal. In other words, the first terminal displays a bluetooth setting interface under the condition that the triggering operation of the preset control area in the first terminal is received, wherein the bluetooth setting interface comprises a communication connection list, and the communication connection list comprises the device identification of the bluetooth device which is successfully connected with the first terminal in history. The first terminal sets the application selected by the user through the application selection operation as the default application corresponding to the target equipment identification according to the received application selection operation of the user on the target equipment identification 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, operating the default application corresponding to the target equipment identifier.
The specific step of setting the default application may be determined according to an operating system of the first terminal, which is not specifically limited in this embodiment of the present application.
In an optional embodiment of the present application, the receiving, in step 101, a preset operation performed on an application in a first terminal includes:
and step S21, displaying a connection list, wherein the connection list comprises the equipment identification of the terminal connected with the first terminal within the preset time.
Step S22, receiving an operation of dragging the application icon to a target device identifier in the connection list, where the connection list includes the target device identifier.
The setting of the application corresponding to the preset operation as a default application includes:
and step S23, setting the application corresponding to the application icon as the default application of the terminal corresponding to the target equipment identifier.
The running of the default application in the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected comprises the following steps:
step S24, when it is detected that the first terminal and the second terminal establish a communication connection, determining whether the device identifier of the second terminal matches the target device identifier.
Step S25, running a default application of the terminal corresponding to the target device identifier in the first terminal when the device identifier of the second terminal matches the target device identifier.
In this embodiment of the application, the same default application may be set for all terminals connected to the first terminal, or the default application set for a terminal corresponding to a certain target device identifier, and if and only if the first terminal is connected to the terminal corresponding to 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 form of a list to obtain a connection list, where the device information may include a device identifier of the bluetooth device, such as a device model and a device name. After the first terminal receives an operation of dragging an 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 view. 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 receiving an 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, popping up a preset interface beside the preset control area, wherein a connection list is displayed in the preset interface, and the connection list comprises a device identifier of the terminal connected with the first terminal within a preset time. Further, the user may set "music a" as the default application of the terminal corresponding to the target device identifier by dragging the application icon corresponding to the "music a" 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 is connected with the second terminal again, whether the device identifier of the connected second terminal is matched with the target device identifier is judged, and the first terminal automatically runs the default application under the condition that the device identifier of the second terminal is matched with the target device identifier.
The embodiment of the application can also set different default applications for different terminals, for example, set a first default application for a first device identifier in a connection list, and set a second default application for a second device identifier in the connection list; if the equipment identification of the second terminal connected with the first terminal is matched with the first equipment identification, running a first default application; and if the equipment identification of the second terminal connected with the first terminal is matched with the second equipment identification, running a second default application. Therefore, the corresponding default application can be flexibly and automatically operated according to the equipment identification of the terminal connected with the first terminal, and a user can conveniently and quickly set the default application according to different communication connection requirements.
In an optional embodiment of the present application, after the setting, in step 102, the application corresponding to the preset operation as a default application, the method further includes:
and step S31, determining first scene information corresponding to the default application.
The running of the default application in the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected comprises the following steps:
step S32, when it is detected that the first terminal establishes a communication connection with a second terminal, obtaining second scene information corresponding to the first terminal.
Step S33, determining whether the second scene information matches the first scene information.
And step S34, running the default application in the first terminal under the condition that the second scene information is matched with the first scene information.
Generally, when a user connects a bluetooth device through a first terminal in a specific scene, a specific application needs to be started, for example, when the scene in which the first terminal connects a second terminal is a conference room, generally, the user connects a mobile phone with a projection device of the conference room, an office application or a file transfer application in the first terminal needs to be started, such as starting a PPT presentation application, presenting a PPT on the projection device, or transferring a file on the mobile phone 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, a user is connected with a television through a mobile phone, and a video playing application needs to be started, so that a movie or a TV play can be played 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 context information when the first terminal is connected to the second terminal.
Specifically, in this embodiment of the application, a corresponding relationship between each application in the first terminal and the first context information may be pre-established, or a corresponding relationship between the application type and the first context 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 pre-established corresponding relationship 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. The method comprises the steps of acquiring second scene information currently corresponding to a first terminal under the condition that communication connection between the first terminal and a second terminal is detected, matching the second scene information with first scene information, and running default application in the first terminal under the condition that the second scene information is matched with the first scene information. For example, the first scene information corresponding to the file transfer application is preset as a conference room, and when it is detected that the first terminal is connected with the second terminal, the corresponding second scene information is also the conference room, and 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 when detecting that the first terminal establishes a communication connection with a second terminal, includes:
and step S42, judging whether the second terminal has the audio playing function or not under the condition that the first terminal and the second terminal are detected to be in communication connection.
Step S43, if the second terminal has an audio playing function, running the audio playing application, and transmitting the 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 this embodiment of the present application, the application type of the default application set according to the received preset operation may be a file transfer application, a document editing application, an audio playing application, a video playing application, and the like, which is not specifically limited in this embodiment of the present application. Optionally, for the audio playing application, a default audio playing list of the audio playing application may be predetermined, so that when it is detected that the first terminal and the second terminal establish a communication connection, if the second terminal has an audio playing function, the audio playing application may be directly operated, the audio data of the current audio in the default audio list is transmitted to the second terminal, and the current audio in the default audio list is played through the second terminal. For example, when a user connects a mobile phone and a bluetooth headset, the user can directly play 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 flexibly and automatically played according to the connected second terminal, and the convenience of playing the audio in the first terminal through the second terminal is improved.
In an optional embodiment of the present application, after the 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 the device attribute corresponding to each playing sound quality provided by the audio playing application.
Step S43, if the second terminal has an audio playing function, running the audio playing application, and transmitting the audio data of the current audio in the default audio list to the second terminal, including:
a12, if the second terminal has the audio playing function, acquiring the device attribute of the second terminal.
And A13, determining the playing sound quality matched with the equipment attribute of the second terminal.
And A14, operating the audio playing application, and transmitting the audio data of the current audio in the default audio list corresponding to the playing tone quality matched with the current audio to the second terminal, so that the second terminal plays the current audio according to the playing tone quality matched with the current audio.
The device attribute of the second terminal may be a device type of the second terminal, and taking the second terminal as an earphone as an example, the device attribute may be a bluetooth earphone, a moving coil earphone, a moving iron earphone, or the like. Any feature information capable of identifying the playback tone quality supported by the second terminal may be used as the device attribute of the second terminal.
In this embodiment of the application, in case that the application type of the default application is an audio playing application, a corresponding relationship between a playing tone quality provided by the audio playing application and a device attribute of the bluetooth device may be further established, so that under the condition that 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 playing tone quality of the current audio in the default audio playing list is transmitted to the second terminal, so that the second terminal plays the current audio according to the matched playing tone quality. The playing sound quality may include standard quality, high quality, lossless quality, and the like.
In summary, 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 run when 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 connecting the second terminal to use the application in the first terminal is simplified, and the application control efficiency is improved.
In the application control method provided in the embodiment of the present application, the execution main 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 apparatus executes an application control method as an example, and the method provided in the embodiment of the present application is described.
Example two
Referring to fig. 4, a structural diagram of an application control apparatus according to a second embodiment of the present invention is shown, which specifically includes:
a preset operation receiving module 201, configured to receive a preset operation executed on an application in a first terminal.
And a default application setting module 202, configured to set an application corresponding to the preset operation as a default application.
A default application running module 203, configured to run a default application in the first terminal when it is detected that the first terminal establishes a communication connection with a second terminal, so that the second terminal uses the default application.
In an optional 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 sub-module 2021 is configured to set an application corresponding to the application icon as a default application.
In an optional 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 within a preset time;
a dragging operation receiving submodule 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:
the second application setting sub-module 2022 is configured to set the 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 determining submodule 2031, configured to determine whether the device identifier of the second terminal matches the target device identifier when it is detected that the first terminal and the second terminal establish a communication connection;
the first application running sub-module 2032 is configured to run a default application in the first terminal when the device identifier of the second terminal matches the target device identifier.
In an optional embodiment of the present application, the apparatus further comprises:
a first context information determining module 204, configured to determine first context information corresponding to the default application;
the default application running module 203 includes:
a second scene information obtaining sub-module 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 a communication connection;
a scene information matching sub-module 2034 configured to determine whether the second scene information matches the first scene information;
the second application running sub-module 2035 is configured to run a default application in the first terminal when the second scene information matches the first scene information.
In an optional embodiment of the present application, the default application comprises an audio playback application, and the apparatus further comprises:
a default audio list determining module 205, 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 203 includes:
an audio playing function determining submodule 2036, configured to determine whether the second terminal has an audio playing function when detecting that the first terminal and the second terminal establish a communication connection;
a third application running sub-module 2037, configured to run the audio playing application if the second terminal has an audio playing function, and transmit the 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 optional embodiment of the present application, the apparatus further comprises:
a device attribute determining module 206, configured to determine a device attribute corresponding to each playing sound quality provided by the audio playing application;
the third application execution sub-module 2037 includes:
the device attribute acquiring unit is used for acquiring the device attribute of the second terminal if the second terminal has an audio playing function;
the playing tone quality matching unit is used for determining playing tone quality matched with the 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 in the default audio list corresponding to the matched playing tone quality 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 can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
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 (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 is not described here again to avoid repetition.
In the embodiment of the application, the default application is determined according to the received preset operation executed aiming at 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 that the second terminal uses the application in the first terminal in a connected mode is simplified, and the application control efficiency is improved.
EXAMPLE III
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing application control method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through 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 those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Example four
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above embodiment of the application control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the 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 (RAM), a magnetic disk or an optical disk, and the like.
EXAMPLE five
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above embodiment of the application control method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An application control method, characterized in that the method comprises:
receiving a preset operation executed on an application in a first terminal;
setting the application corresponding to the preset operation as a default application;
and running a default application in the first terminal under the condition that the first terminal is detected to establish communication connection with a second terminal, so that the second terminal uses the default application.
2. The method according to claim 1, wherein the receiving a preset operation performed on the application in the first terminal comprises:
receiving an operation of dragging an application icon in a first terminal to a preset control area in the first terminal;
the setting of 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 identification of a terminal connected with the first terminal within preset time;
receiving an operation of dragging the application icon to a target device identifier in the connection list, wherein the connection list comprises the target device identifier;
the setting of 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;
the running of the default application in the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected comprises the following steps:
under the condition that the first terminal and the second terminal are detected to establish communication connection, whether the equipment identification of the second terminal is matched with the target equipment identification is judged;
and running the default application of the terminal corresponding to the target equipment identification in the first terminal under the condition that the equipment identification of the second terminal is matched with the target equipment identification.
4. The method according to claim 1, wherein after the setting of the application corresponding to the preset operation as a default application, the method further comprises:
determining first scene information corresponding to the default application;
the running of the default application in the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected comprises the following steps:
under the condition that the first terminal is detected to establish communication connection with a second terminal, second scene information corresponding to the first terminal is obtained;
judging whether the second scene information is matched with the first scene information;
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. The method according to claim 1, wherein the default application comprises an audio playing application, and before the default application in the first terminal is executed in the case that the first terminal is detected to establish a communication connection with a second terminal, the method further comprises:
determining a default audio list of the audio playing application according to historical audio playing information of the audio playing application;
the running of the default application in the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected comprises the following steps:
under the condition that the first terminal and a second terminal are detected to establish communication connection, judging whether the second terminal has an audio playing function;
and if the second terminal has an audio playing function, operating the audio playing application, and transmitting the audio data of the current audio in the default audio list to the second terminal so that the second terminal plays the current audio.
6. The method of claim 5, wherein after determining the default audio list for the audio playback application based on historical audio playback information for the audio playback application, the method further comprises:
determining the equipment attribute corresponding to each playing tone quality provided by the audio playing application;
if the second terminal has an audio playing function, the audio playing application is run, and the audio data of the current audio in the default audio list is transmitted to the second terminal, including:
if the second terminal has an audio playing function, acquiring the equipment attribute of the second terminal;
determining the playing tone quality matched with the equipment attribute of the second terminal;
and operating the audio playing application, and transmitting the audio data of the current audio in the default audio list corresponding to the matched playing tone quality to the second terminal so that the second terminal plays the current audio according to the matched playing tone quality.
7. An application control apparatus, characterized in that the apparatus comprises:
the preset operation receiving module is used for receiving preset operation executed on the application in the first terminal;
a default application setting module, configured to set an 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.
8. The apparatus of claim 7, wherein the preset operation receiving module comprises:
the preset operation receiving submodule 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.
9. The apparatus of claim 8, wherein the preset operation receiving module comprises:
the connection list display submodule is used for displaying a connection list, and the connection list comprises equipment identifications of terminals connected with the first terminal within preset time;
a dragging operation receiving submodule, configured to receive an operation of dragging the 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 submodule is used for setting the application corresponding to the application icon as the default application of the terminal corresponding to the target equipment identifier;
the default application running module comprises:
the device identifier judging submodule is used for judging whether the device identifier of the second terminal is matched with the target device identifier 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 the 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.
10. The apparatus of claim 7, further comprising:
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 submodule is used for acquiring second scene information corresponding to the first terminal under the condition that the communication connection between the first terminal and the second terminal is detected;
the scene information matching submodule is used for judging whether the second scene information is matched with the first scene information;
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 true CN112738910A (en) 2021-04-30
CN112738910B 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 (4)

* 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
US20160381553A1 (en) * 2013-12-05 2016-12-29 Lg Electronics Inc. Electronic device and electronic device system
WO2018049884A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and device
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic equipment and computer readable storage medium

Patent Citations (4)

* 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
US20160381553A1 (en) * 2013-12-05 2016-12-29 Lg Electronics Inc. Electronic device and electronic device system
WO2018049884A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and device
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
CN112738910B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN111913628B (en) Sharing method and device and electronic equipment
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
US10673790B2 (en) Method and terminal for displaying instant messaging message
EP3029678A1 (en) Recording method, playing method, device, terminal and system
CN104967889A (en) Method used for controlling intelligent television to carry out video information processing and device
US20200258517A1 (en) Electronic device for providing graphic data based on voice and operating method thereof
US9444927B2 (en) Methods for voice management, and related devices
CN104468329A (en) Member adding method and device based on instant messaging
US11157231B2 (en) Method and apparatus for controlling sound signal output
CN105635254A (en) Method and device for downloading multimedia resource
CN109495638B (en) Information display method and terminal
CN106128440A (en) A kind of lyrics display processing method, device, terminal unit and system
CN113037929A (en) Information relay output method and device, electronic equipment and storage medium
CN104881304A (en) Resource downloading method and device
CN105554087A (en) Information setting method and device
CN110908638A (en) Operation flow creating method and electronic equipment
US20090100494A1 (en) System and method for controlling playlist entry selection
CN111399796B (en) Voice message aggregation method and device, electronic equipment and storage medium
CN105430469A (en) Method and device for playing audio/video data, terminal and server
CN113840033B (en) Audio data playing method and device
CN112738910B (en) Application control method and device and electronic equipment
CN104468706A (en) Audio file transmission method and device
CN113992786A (en) Audio playing method and device
CN110808985B (en) Song on-demand method, device, terminal, server and storage medium
CN111399797A (en) Voice message playing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
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.