CN106020992B - Data transmission method and electronic equipment - Google Patents
Data transmission method and electronic equipment Download PDFInfo
- Publication number
- CN106020992B CN106020992B CN201610286273.6A CN201610286273A CN106020992B CN 106020992 B CN106020992 B CN 106020992B CN 201610286273 A CN201610286273 A CN 201610286273A CN 106020992 B CN106020992 B CN 106020992B
- Authority
- CN
- China
- Prior art keywords
- target
- data
- application program
- transmitted
- electronic equipment
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
When data, namely to-be-transmitted data, needs to be transmitted between two devices, the electronic device establishes communication connection with target electronic equipment so as to detect whether an application program matched with the to-be-transmitted data exists in the target electronic equipment, and when the application program matched with the to-be-transmitted data does not exist in the target electronic equipment, in order to ensure that the target electronic equipment can process the to-be-transmitted data, the electronic device sends searched target application data information matched with the to-be-transmitted data to the target electronic equipment, so that the process that a user of the target electronic equipment searches which application programs can be matched with the to-be-transmitted data and can determine the target application programs from the searched application programs is saved, and user experience is greatly improved.
Description
Technical Field
The present disclosure relates to the field of data transmission between devices, and more particularly, to a data transmission method and an electronic device.
Background
Nowadays, the functions of electronic devices are more powerful at any time, and when some data need to be acquired from other electronic devices, the data transmission between the devices can be realized by using Bluetooth or other online transmission application programs only after the two electronic devices are in communication connection, so that the method is simple and convenient.
However, when data is transmitted between devices, sometimes a user cannot process received data because the receiving device does not install an application program matching the received data, and user experience is reduced.
Disclosure of Invention
In view of this, the present invention provides a data transmission method and an electronic device, which solve the technical problem that in the prior art, a target electronic device receiving data to be transmitted cannot open and receive the data to be transmitted because a corresponding target application program is not installed, thereby reducing user experience.
In order to achieve the above object, the present application provides the following technical solutions:
a data transmission method is applied to electronic equipment, and the method comprises the following steps:
establishing a communication connection with a target electronic device;
detecting whether a target application program matched with data to be transmitted exists on the target electronic equipment, wherein the data to be transmitted is data to be sent to the target electronic equipment;
and when the target application program matched with the data to be transmitted does not exist on the target electronic equipment, sending the searched target application program information matched with the data to be transmitted to the target electronic equipment.
Preferably, the sending the searched target application information matched with the data to be transmitted to the target electronic device includes:
and sending the searched application name or installation file of the target application program matched with the data to be transmitted to the target electronic equipment.
Preferably, the searching for the target application information matched with the data to be transmitted includes:
obtaining relevant information of an application program matched with the type of the data to be transmitted through a network;
and selecting target application program information according to a preset rule by using the relevant information of the application program.
Preferably, the selecting target application information according to a preset rule by using the relevant information of the application includes:
and selecting target application program information matched with the target equipment according to the preset priority of the use information of the application program, wherein the use information comprises a download rate and/or an application score.
Preferably, the obtaining, through the network, the related information of the application program matched with the type of the data to be transmitted includes:
triggering an application center of the electronic equipment, and entering an application center interface of the application center through a network;
and obtaining the relevant information of the application program matched with the type of the data to be transmitted.
Preferably, the method further comprises:
and when a target application program matched with the data to be transmitted exists on the target electronic equipment, transmitting the data to be transmitted to the target electronic equipment.
A method of data transmission, the method comprising:
establishing communication connection with target electronic equipment so that the target electronic equipment detects whether a target application program matched with data to be transmitted exists on the electronic equipment, wherein the data to be transmitted is data to be sent to the electronic equipment by the target electronic equipment;
and receiving target application program information which is sent by the target electronic equipment and matched with the data to be transmitted, wherein the target application program information is obtained by searching when the target electronic equipment determines that the target application program matched with the data to be transmitted does not exist on the electronic equipment.
Preferably, when the target application is an installation file, the method further includes:
and operating the installation file of the target application program to enable the electronic equipment to install the target application program matched with the data to be transmitted.
Preferably, when the target application information is an application name of a target application matched with the data to be transmitted, the method further includes:
outputting the target application program information;
detecting a search instruction input by a user aiming at the target application program information;
and obtaining a target application program installation file consistent with the application name of the target application program based on the search instruction and operating the target application program installation file so as to enable the electronic equipment to install the target application program matched with the data to be transmitted.
An electronic device, the electronic device comprising:
the communication module is used for establishing communication connection with the target electronic equipment;
and the processor is used for detecting whether a target application program matched with the data to be transmitted exists on the target electronic equipment or not, and when the target application program matched with the data to be transmitted does not exist on the target electronic equipment, sending the searched target application program information matched with the data to be transmitted to the target electronic equipment through the communication module.
Preferably, the processor is specifically configured to obtain, through a network, related information of an application program that matches the type of the data to be transmitted, and select, by using the related information of the application program, target application program information according to a preset rule.
Preferably, the electronic device further includes:
the application center is used for switching to an application interface through a network when receiving the trigger signal of the processor;
the processor is specifically configured to obtain usage information of an application program that is matched with the type of the data to be transmitted, and select target application program information that is matched with the target device according to a preset priority level of the usage information of the application program, where the usage information includes a download rate and/or an application score.
Preferably, the communication module is further configured to transmit the data to be transmitted to the target electronic device when a target application program matching the data to be transmitted exists on the target electronic device.
An electronic device, the electronic device comprising:
the communication module is used for establishing communication connection with target electronic equipment so that the target electronic equipment detects whether a target application program matched with data to be transmitted exists on the electronic equipment, wherein the data to be transmitted is data to be sent to the electronic equipment by the target equipment;
and the processor is used for receiving target application program information which is sent by the target electronic equipment and matched with the data to be transmitted, wherein the target application program information is obtained by searching when the target electronic equipment determines that the target application program which is matched with the data to be transmitted does not exist on the electronic equipment.
Preferably, when the target application program is an installation file, the processor is further configured to run the installation file of the target application program, so that the electronic device installs the target application program matched with the data to be transmitted.
Preferably, when the target application information is an application name of a target application matched with the data to be transmitted, the electronic device further includes:
a display for outputting the target application information;
the processor is further configured to detect a search instruction input by a user for the target application information, and based on the search instruction, obtain an application installation file consistent with the application name and run the application installation file, so that the electronic device installs a target application matched with the data to be transmitted.
Therefore, compared with the prior art, the data transmission method and the electronic equipment are provided, when data to be transmitted, namely the data to be transmitted, needs to be transmitted between the two equipment, the electronic equipment establishes communication connection with the target electronic equipment so as to detect whether the target electronic equipment has an application program matched with the data to be transmitted, and when the target electronic equipment does not have the application program matched with the data to be transmitted, in order to ensure that the target electronic equipment can process the data to be transmitted, the electronic equipment sends the searched target application data information matched with the data to be transmitted to the target electronic equipment, so that the process that a user of the target electronic equipment searches which application programs can be matched with the data to be transmitted, the target application program can be determined from the searched application program is saved, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a data transmission method provided in the present application;
FIG. 2 is a partial flow diagram of another embodiment of a method for data transmission provided herein;
FIG. 3 is a flow chart of yet another embodiment of a method for data transmission provided herein;
FIG. 4 is a partial flow diagram of another embodiment of a method for data transmission provided herein;
fig. 5 is a schematic structural diagram of an embodiment of an electronic device provided in the present application;
fig. 6 is a schematic diagram of a data transmission application between two electronic devices according to the present application;
fig. 7 is a schematic structural diagram of another embodiment of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When data, namely to-be-transmitted data, needs to be transmitted between two devices, the electronic device establishes communication connection with a target electronic device, detects whether an application program matched with the to-be-transmitted data exists in the target electronic device, and when the target electronic device is determined not to exist the application program matched with the to-be-transmitted data, in order to ensure that the target electronic device can process the to-be-transmitted data, the electronic device sends searched target application data information matched with the to-be-transmitted data to the target electronic device, so that the process that a user of the target electronic device searches for which application programs matched with the to-be-transmitted data can determine the target application program from the searched application programs is saved, and user experience is greatly improved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a flowchart of a first embodiment of a data transmission method provided by the present application, where the method may be used in an electronic device, such as a mobile phone, an ipad, a notebook, and the like, and the present application does not limit a specific structure of the electronic device. In practical application, the data transmission method provided by this embodiment is described from a sending side that sends data, and may specifically include the following steps:
step S11: a communication connection is established with the target electronic device.
In practical applications, according to the needs of users in terms of life or work, data transmission between different electronic devices is generally required to meet the actual needs. Therefore, when a user needs to send data to be transmitted to a target electronic device, a communication channel needs to be established between the electronic device and the target electronic device.
Optionally, the Communication channel between the electronic device and the target electronic device may be a bluetooth channel, a WIFI channel, a GPRS (General Packet Radio Service)/GSM (global system for Mobile communications) channel, or other wireless Communication channels, and may also be a wired data transmission channel.
Step S12: detecting whether a target application program matched with the data to be transmitted exists on the target electronic equipment, and if not, entering step S13; if so, step S14 is performed.
The data to be transmitted, which is data to be sent to the target electronic device by the electronic device, may be files, pictures, videos, and/or voices in various formats, and the specific content of the data is not limited in the present application.
In practical application of this embodiment, the electronic device may first determine an application program that matches data to be transmitted, and then query, by using corresponding identification information of the application program, whether content associated with the identification information is stored in a memory of a target electronic device, where if the content exists, it indicates that the target electronic device has the application program that matches the data to be transmitted; otherwise, it indicates that the target electronic device does not have an application program matched with the data to be transmitted.
The identification information corresponding to the application program may be an installation file name of the application program, an application name of the application program, or information that is generated after the application program is installed and can indicate the type of the application program, and the specific content of the information is not limited in the present application.
Optionally, in the application, after determining that the electronic device establishes a communication connection with a target electronic device, the data to be transmitted is sent to the target electronic device, and then the target electronic device queries whether an application program matching the data to be transmitted exists or not, and feeds back a query result to the electronic device.
In practical application, when an application program matched with data to be transmitted does not exist on the target electronic device, the display mode of the data to be transmitted can usually directly indicate whether the application program matched with the data to be transmitted exists on the target electronic device, so that the target electronic device can detect whether the application program matched with the data to be transmitted exists on the target electronic device according to the given identification information, and can also judge whether the application program matched with the data to be transmitted exists on the target electronic device by detecting the display mode of the data to be transmitted on the target electronic device, but is not limited to this.
For example, the following steps are carried out: taking data to be transmitted as a video file as an example, when the target electronic device does not have an application program matching with the video file, that is, the target electronic device cannot output the video file, the video file displays an icon on the target electronic device, which usually includes "? "may be displayed in a specific display manner, which is preset to show the icon when the target electronic device cannot output the data. Based on the method, the current display icon of the data to be transmitted can be detected, then the current display icon is compared with the preset icon, and if the current display icon and the preset icon are consistent, the application program matched with the data to be transmitted does not exist on the target electronic equipment; otherwise, it may be considered that an application program matching the data to be transmitted exists on the target electronic device.
It should be noted that the method for detecting whether the application program matching the data to be transmitted exists on the target electronic device is not limited to the above-described manner.
Step S13: and sending the searched target application program information matched with the data to be transmitted to the target electronic equipment.
In this embodiment, when the electronic device determines that the application program matched with the data to be transmitted does not exist on the target electronic device in the above manner, the electronic device may search for the target application program information matched with the data to be transmitted through a network; and target application program information matched with the data to be transmitted can be searched in the memory of the device, and the like, which is not limited in the application.
The target application information may include an installation file or an application name of an application program matched with the data to be transmitted, but is not limited to this, and may be determined according to actual needs, and this application is not listed here any more.
As for the method of querying the target application information through the network, optionally, the electronic device may first obtain, through the network, the related information of the application program that matches the type of the data to be transmitted, such as obtaining the application names or installation files of all the application programs that match the type of the data to be transmitted, but is not limited thereto. And then, the obtained related information of the application program can be utilized to select the target application program information according to the preset rule.
Specifically, as shown in fig. 2, the process of searching for the target application information in step S13 may include:
step S21: and triggering an application center of the electronic equipment, and entering an application interface of the application center through a network.
The Application center APP can be directly triggered to start to enter the Application center interface when the electronic equipment determines that the Application program matched with the data to be transmitted does not exist on the target electronic equipment. Generally, the application center interface displays various application information in a sorted manner, such as displaying application icons including application names, and the like, which is not limited in this application.
Step S22: usage information of an application program matching the type of data to be transmitted is obtained.
Based on the above description, after the application center interface outputs various application program information, after determining the type of the data to be transmitted by the electronic device, determining the application program to be selected that is matched with the type of the data to be transmitted, and then verifying whether the application center interface currently outputs the application program information corresponding to the application program to be selected, so as to obtain the application program information that is currently output by the application center interface and is matched with the type of the data to be transmitted.
Of course, after the type of the data to be transmitted is determined, the application information output on the application center interface may be sequentially detected, so as to obtain the use information of each application matched with the transmission data.
It should be noted that the manner for obtaining the information of each application program matched with the type of the data to be transmitted is not limited to the manner described above, and the application is not listed here.
Step S23: and selecting target application program information matched with the target equipment according to the preset priority of the use information of the application program.
In this embodiment, when the usage information of the application includes multiple types of information, priorities of the various types of information may be preset, and it may be determined according to which type of information the target application information is selected at this time, and then the information of each application may be sorted according to the type of information with the highest priority in the selected current usage information, so that the application information corresponding to the largest type of information is selected as the target application information.
The preset priority can be set according to the actual needs of the user or the use habits and other standards, and the specific content contained in the priority is not limited in the application.
For example, the following steps are carried out: when the obtained usage information of the application programs includes the download rates and the application scores of the application programs, the priority of the application scores may be preset to be higher than the priority of the download rates, at this time, the application program information matched with the data to be transmitted may be sorted in the descending order of the application scores, and then, the application program information with the highest application score is selected as the target application program information. Similarly, when the selected highest priority usage information type is other information, the target application information may also be determined in this manner, and the detailed description of the present application is omitted here.
In addition, in addition to sorting and selecting the target application information according to the single type of usage information, the application information corresponding to the maximum value (i.e., highest application score, highest download rate, etc.) selected by multiple types of usage information sorting (which may be determined according to the current needs of the user) in the current needs of the user (in this case, the sorting is performed in a manner of selecting the application from the most willing to the least willing) may be integrated, and the application information located at the maximum number of times may be selected as the target application information, but the present invention is not limited thereto.
In addition, it should be noted that, the manner of obtaining the relevant information of the application program matching the type of the data to be transmitted through the network and the manner of selecting the target application program information in the present embodiment are not limited to the manner illustrated in the above embodiment, and the present application is only described by taking the manner described in fig. 2 as an example.
Step S14: and transmitting the data to be transmitted to the target electronic equipment.
In practical application of this embodiment, when it is determined that an application program matching the data to be transmitted exists on the target electronic device, the data to be transmitted may be directly sent to the target electronic device.
Of course, after the communication connection between the electronic device and the target electronic device is established, the application program matched with the data to be transmitted does not need to be detected on the target electronic device, and the data to be transmitted can be directly sent to the target electronic device. The time for sending the data to be transmitted to the target electronic equipment is not limited.
Based on this, when it is determined that the application program matched with the data to be transmitted does not exist on the target electronic device, according to the description, the data to be transmitted may be first sent to the target electronic device, and then, after the electronic device obtains the target application program information matched with the data to be transmitted, the target application program information is sent to the target electronic device; of course, the data to be transmitted and the target application information may also be sent to the target electronic device together after the electronic device obtains the target application information matched with the data to be transmitted, which is not limited in the present application.
To sum up, in this embodiment, when data, that is, to-be-transmitted data, needs to be transmitted between two devices, the electronic device establishes a communication connection with a target electronic device, and detects whether an application program matching the to-be-transmitted data exists in the target electronic device, and when it is determined that the target electronic device does not have an application program matching the to-be-transmitted data, in order to ensure that the target electronic device can process the to-be-transmitted data, the electronic device sends the searched target application data information matching the to-be-transmitted data to the target electronic device, so that a process that a user of the target electronic device searches for which application programs matching the to-be-transmitted data can determine the target application program from the searched application programs is saved, and user experience is greatly improved.
Fig. 3 is a flowchart of another embodiment of a data transmission method provided in the present application, where the method may be used in an electronic device, such as a mobile phone, an ipad, a notebook, and the like, and the present application does not limit the specific structure of the electronic device. In practical application, the data transmission method provided by this embodiment is described from a receiving side that receives data, and may specifically include the following steps:
step S31: and establishing communication connection with target electronic equipment so that the target electronic equipment detects whether a target application program matched with the data to be transmitted exists on the electronic equipment.
It should be noted that, in this embodiment, the target electronic device refers to an electronic device that needs to send data to be transmitted, that is, an electronic device of a sender, and the electronic device refers to an electronic device that receives data to be transmitted. It can be seen that the data to be transmitted in this embodiment may be data to be sent to the electronic device by a target electronic device, and may be files in various formats, videos, voices, and the like.
In practical application, when the target electronic device needs to send data to the electronic device, or the electronic device needs to acquire data from the target electronic device, the electronic device may establish a communication connection with the target electronic device, specifically, the electronic device may be in a wireless communication mode such as bluetooth, WIFI, GPRS, or GSM, and certainly, the electronic device may be in a wired network communication mode, and the specific communication connection mode between the electronic device and the target electronic device is not limited in the present application.
In addition, as for a method for detecting whether a target application program matched with data to be transmitted exists on the electronic device by the target electronic device, reference may be made to the description of the corresponding part in the embodiment described from the data sending side, and this embodiment is not described herein again.
Step S32: and receiving target application program information which is sent by the target electronic equipment and matched with the data to be transmitted.
In this embodiment, the target application information is obtained by searching when the target electronic device determines that the target application matched with the data to be transmitted does not exist on the electronic device.
That is to say, when the target electronic device detects that there is no target application program matching the data to be transmitted on the electronic device, the target electronic device searches for target application program information matching the data to be transmitted, and the specific search manner may refer to the description of the corresponding part of the embodiment described from the sending side, which is not described in detail herein.
After the target electronic equipment finds the target application program information matched with the data to be transmitted, the target application program information and the data to be transmitted can be sent to the electronic equipment together; certainly, the data to be transmitted may also be sent to the target electronic device after the target electronic device establishes a communication connection with the electronic device, and then the target electronic device finds the target application information matched with the data to be transmitted and sends the target application information to the electronic device.
Optionally, after receiving the target application information, the electronic device may analyze the target application information, so as to install the target application matched with the data to be transmitted on the electronic device according to an analysis result, thereby enabling the electronic device to normally output the data to be transmitted.
The specific operation process of the electronic device after receiving the target application information is different when the target application information is specifically different content, and the application is described here only by taking the target application information as an example of an installation file of the target application or an application name of the target application, but it should be noted that the specific content included in the target application information is not limited to these two information contents.
Specifically, when the target application program information is an installation file of the target application program, the electronic device may directly run the target application program information, so that the electronic device installs the target application program matched with the data to be transmitted, optionally, after the electronic device installs the target application program, the target electronic device may be directly started to output the data to be transmitted, and after a start instruction for the target application program is detected, the target application program may be started to output the data to be transmitted.
As another embodiment of the present application, when the target application information is an application name of the target application, as shown in fig. 4, the present application may enable the electronic device to install the target application matched with the data to be transmitted in the following manner:
step S41: and outputting the application name of the target application program.
In practical application of this embodiment, when the target application information is the application name of the target application, the electronic device may directly output the application name of the target application, so that the user can search by using the application name of the target application.
Step S42: and detecting a search instruction input by a user aiming at the application name of the target application program.
After seeing the application name of the target application program output by the electronic equipment, a user can directly start the application center APP of the electronic equipment and input the application name of the target application program in the search input box, so that a corresponding search instruction is generated.
Of course, if the application name of the target application program sent to the electronic device by the target electronic device carries link information, that is, link information associated with the download interface of the target application program, the user may directly trigger the application name of the target application program, and may generate a corresponding search instruction. The present application does not limit the manner in which the search instruction for searching for the installation file of the target application program is acquired in the electronic device.
Step S43: and obtaining the target application program installation file consistent with the application name of the target application program based on the search instruction and running the target application program installation file.
Based on the above description, after the device of the present application detects the search instruction, the device may directly enter the download interface of the target application, so that the user may download the target application installation file according to the corresponding prompt.
Optionally, after the device detects the search instruction, the device may also directly output a prompt message indicating whether to download the installation file of the target application program, and when the user clicks yes, a corresponding download instruction is generated, so that the electronic device downloads the installation file of the target application program; of course, the installation file of the target application program may also be directly obtained after the search instruction is detected, and the method for obtaining the installation file of the target application program is not limited in the present application.
After the installation file of the target application program is obtained, the installation file of the target application program can be directly operated, or the installation file of the target application program can be operated after an installation instruction input by a user is detected, so that the target application program is installed by the electronic equipment to output data to be transmitted.
To sum up, in this embodiment, when data, that is, to-be-transmitted data, needs to be transmitted between two devices, a communication connection is established between the two electronic devices, and the electronic device of the sender detects whether the electronic device of the receiver has an application program matched with the to-be-transmitted data, and when it is determined that the electronic device of the receiver does not have an application program matched with the to-be-transmitted data, in order to ensure that the electronic device of the sender can output the to-be-transmitted data, the electronic device of the sender will send the searched target application data information matched with the to-be-transmitted data to the electronic device of the receiver, so that a process that a user of the target electronic device searches which application programs can be matched with the to-be-transmitted data can determine the target application programs from the searched application programs.
As shown in fig. 5, a schematic structural diagram of an embodiment of an electronic device provided in the present application is shown, where the embodiment is mainly described from a side of sending data to be transmitted, that is, the electronic device is an electronic device of a sender, and in practical application, the electronic device may include:
and a communication module 51, configured to establish a communication connection with the target electronic device.
As can be known from the description of the corresponding part of the above method embodiment, the communication module 51 may specifically be a wireless communication module such as a bluetooth module, a WIFI module, a GPRS module, or a GSM module, and at this time, as shown in fig. 6, the electronic device 50 communicates with the target electronic device 60 in a wireless manner, it should be noted that fig. 6 only uses a notebook to represent the electronic device 50, and a mobile phone to represent the target electronic device 60, but the types of the electronic device and the target electronic device are not limited to those shown in fig. 6, and may be determined according to actual needs, and this application is not listed here.
Of course, if the electronic device (in this embodiment, the electronic device of the sender) and the electronic device of the target (in this embodiment, the electronic device of the receiver) are directly linked through a wired network, the communication module 51 may also be a wired communication module. It can be seen that the present application does not limit the specific structure of the communication module 51.
Optionally, in practical application, after determining that the electronic device establishes a communication connection with a target electronic device, the electronic device may directly send data to be transmitted to the target electronic device through the communication module 51; of course, the data to be transmitted and the target application information may be sent to the target electronic device together after the subsequent processor 52 obtains the target application information matched with the data to be transmitted; or after the target electronic equipment is provided with the target application program, the data to be transmitted is sent to the target electronic equipment, and the time for sending the data to be transmitted to the target electronic equipment is not limited in the application.
And the processor 52 is configured to detect whether a target application program matched with the data to be transmitted exists on the target electronic device, and send the found target application program information matched with the data to be transmitted to the target electronic device through the communication module when the target application program matched with the data to be transmitted does not exist on the target electronic device.
The data to be transmitted may be files, pictures, videos, and/or voice data of various formats to be sent to the target electronic device by the electronic device, and the specific content included in the data is not limited in the present application.
Optionally, the processor 52 may specifically obtain, through the network, related information of an application program that is matched with the type of the data to be transmitted, and select target application program information according to a preset rule by using the related information of the application program.
The related information of the application program may include usage information of the application program, such as a download rate, a download frequency, an application score, and the like of the application program, and the specific content included in the information is not limited in the present application.
It can be seen that, in practical applications, the process of the processor 52 selecting the target application information according to the preset rule may be: the processor 52 selects target application information matched with the target device according to the preset priority of the use information of the application, and the specific implementation process may refer to the description of the corresponding part of the foregoing method embodiment, which is not described herein again.
As another embodiment of the present application, the electronic device may further include:
and the application center is used for switching to an application interface through a network when receiving the trigger signal of the processor.
Correspondingly, the processor 52 may be specifically configured to obtain the usage information of the application program matched with the type of the data to be transmitted, and select the target application program information matched with the target device according to the preset priority of the usage information of the application program.
It should be noted that, the specific implementation process of the above functions of the processor 52 may refer to the description of the corresponding parts of the above method embodiments, and the embodiment is not described in detail here.
In summary, when data, that is, data to be transmitted, needs to be transmitted between two devices, the electronic device establishes a communication connection with a target electronic device, detects whether the target electronic device has an application program matched with the data to be transmitted, and when it is determined that the target electronic device does not have an application program matched with the data to be transmitted, in order to ensure that the target electronic device can process the data to be transmitted, the electronic device sends the searched target application data information matched with the data to be transmitted to the target electronic device, so that a process that a user of the target electronic device searches which application programs can be matched with the data to be transmitted can determine the target application program from the searched target application programs is saved, and user experience is greatly improved.
As shown in fig. 7, a schematic structural diagram of another electronic device embodiment provided by the present application is different from the electronic device embodiment in that the electronic device refers to an electronic device from a receiver that receives data to be transmitted, that is, an electronic device denoted by reference numeral 60 in fig. 6, and a target electronic device is an electronic device from a sender that sends data to be transmitted, that is, an electronic device denoted by reference numeral 50 in fig. 6. In this embodiment, the electronic device may include:
the communication module 61 is configured to establish communication connection with a target electronic device, so that the target electronic device detects whether a target application program matched with data to be transmitted exists on the electronic device.
In this embodiment, the data to be transmitted is data to be sent to the electronic device by the target device.
With reference to the above description of each embodiment, according to the difference in the communication mode between the electronic device and the target electronic device, the specific structure of the communication module 61 is different, and the communication module may be a wireless communication module such as a bluetooth module, a WIFI module, a GPRS module or a GSM module, or a wired communication module, and the structure of the communication module is not limited in the present application.
In practical application, after determining that the electronic device establishes communication connection with the target electronic device, the target electronic device may directly send data to be transmitted to the electronic device through the communication module 61; of course, the target electronic device may also send the data to be transmitted and the target application information to the electronic device; or after the target application program is installed on the electronic equipment, the target electronic equipment sends the data to be transmitted to the electronic equipment, and the time for sending the data to be transmitted to the electronic equipment is not limited.
And the processor 62 is used for receiving target application program information which is sent by the target electronic equipment and matched with the data to be transmitted.
It should be noted that the target application information is obtained by searching when the target electronic device determines that the target application matching the data to be transmitted does not exist on the electronic device, and the specific search process and the process of detecting, by the target electronic device, whether the target application matching the data to be transmitted exists on the electronic device may refer to the description of the corresponding part of the above method embodiment, which is not described in detail herein.
Optionally, the target application information may be an installation file of the target application, and at this time, the electronic device may directly run the installation file of the target application, so that the electronic device installs the target application.
Of course, the target application information may also be an application name of the target application, and in this case, as shown in fig. 7, the electronic device may further include:
and a display 63 for outputting the target application information.
In practical application of this embodiment, when the display outputs an application name of a target application program, the processor 62 may detect a search instruction input by a user for the target application program information, so as to obtain an application program installation file consistent with the application name based on the search instruction and operate the application program installation file, so that the electronic device installs the target application program matched with the data to be transmitted.
In the present application, the content included in the target application information is not limited to the installation file of the target application and the application name of the target application.
Optionally, for each of the above embodiments, after the processor controls the electronic device to install the target application program, the target application program may be directly started and the data to be transmitted may be displayed on the display for the user to view; or after receiving a start instruction of the user, the target application program may be started to output the data to be transmitted, which is not limited in the present application.
In addition, when the target electronic equipment detects that the electronic equipment does not have a target application program matched with the data to be transmitted, the processor can also control the electronic equipment to output corresponding prompt information to inform a user of the condition, at the moment, the user only needs to wait for the target electronic equipment to send the target application program information to the electronic equipment, the user does not need to inquire the type of the data to be transmitted, the application program needs to be opened, and then the application program can be downloaded.
More specifically, when data, namely data to be transmitted, needs to be transmitted between two pieces of equipment, communication connection is established between the two pieces of electronic equipment, the electronic equipment of the sender detects whether the electronic equipment of the receiver has an application program matched with the data to be transmitted, and when the electronic equipment of the receiver is determined not to have the application program matched with the data to be transmitted, the electronic equipment of the sender sends the searched target application data information matched with the data to be transmitted to the electronic equipment of the receiver in order to ensure that the electronic equipment of the receiver can output the data to be transmitted, so that the process that a user of the target electronic equipment searches which application programs can be matched with the data to be transmitted and can determine the target application programs from the searched application programs is saved, and user experience is greatly improved.
Finally, it should be noted that, in relation to the above-mentioned embodiments, the terms "comprises", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, so that a process, method or system including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or system that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the electronic equipment disclosed by the embodiment, the method disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (16)
1. A data transmission method, applied to an electronic device, the method comprising:
establishing a communication connection with a target electronic device;
detecting whether a target application program matched with data to be transmitted exists on the target electronic equipment, wherein the data to be transmitted is data to be sent to the target electronic equipment;
when a target application program matched with the data to be transmitted does not exist on the target electronic equipment, sending the searched target application program information matched with the data to be transmitted to the target electronic equipment;
the detecting whether a target application program matched with the data to be transmitted exists on the target electronic equipment comprises the following steps:
inquiring whether the memory of the target electronic equipment stores the content associated with the identification information of the target application program or not, and if not, determining that the target application program matched with the data to be transmitted does not exist on the target electronic equipment;
or,
and judging whether an application program matched with the data to be transmitted exists or not according to the display mode of the data to be transmitted on the target electronic equipment.
2. The method according to claim 1, wherein the sending the found target application information matched with the data to be transmitted to the target electronic device includes:
and sending the searched application name or installation file of the target application program matched with the data to be transmitted to the target electronic equipment.
3. The method of claim 1, wherein finding the target application information that matches the data to be transmitted comprises:
obtaining relevant information of an application program matched with the type of the data to be transmitted through a network;
and selecting target application program information according to a preset rule by using the relevant information of the application program.
4. The method according to claim 3, wherein the selecting target application information according to a preset rule by using the relevant information of the application comprises:
and selecting target application program information matched with the target electronic equipment according to the preset priority of the use information of the application program, wherein the use information comprises a download rate and/or an application score.
5. The method according to claim 3, wherein the obtaining, through the network, the related information of the application program matching the type of the data to be transmitted comprises:
triggering an application center of the electronic equipment, and entering an application center interface of the application center through a network;
and obtaining the relevant information of the application program matched with the type of the data to be transmitted.
6. The method according to any one of claims 1-5, further comprising:
and when a target application program matched with the data to be transmitted exists on the target electronic equipment, transmitting the data to be transmitted to the target electronic equipment.
7. A method of data transmission, the method comprising:
establishing communication connection with target electronic equipment so that the target electronic equipment detects whether a target application program matched with data to be transmitted exists on the electronic equipment, wherein the data to be transmitted is data to be sent to the electronic equipment by the target electronic equipment;
receiving target application program information which is sent by the target electronic equipment and matched with the data to be transmitted, wherein the target application program information is obtained by searching when the target electronic equipment determines that the target application program matched with the data to be transmitted does not exist on the electronic equipment;
the target electronic equipment detects whether a target application program matched with the data to be transmitted exists on the electronic equipment, and the method comprises the following steps:
the target electronic equipment inquires whether the memory of the electronic equipment stores the content associated with the identification information of the target application program, and if the content does not exist, the target application program matched with the data to be transmitted does not exist on the electronic equipment;
or,
and the target electronic equipment judges whether an application program matched with the data to be transmitted exists or not according to the display mode of the data to be transmitted on the target electronic equipment.
8. The method of claim 7, wherein when the target application is an installation file, the method further comprises:
and operating the installation file of the target application program to enable the electronic equipment to install the target application program matched with the data to be transmitted.
9. The method according to claim 7, wherein when the target application information is an application name of a target application matched with the data to be transmitted, the method further comprises:
outputting the target application program information;
detecting a search instruction input by a user aiming at the target application program information;
and obtaining a target application program installation file consistent with the application name of the target application program based on the search instruction and operating the target application program installation file so as to enable the electronic equipment to install the target application program matched with the data to be transmitted.
10. An electronic device, characterized in that the electronic device comprises:
the communication module is used for establishing communication connection with the target electronic equipment;
the processor is used for detecting whether a target application program matched with the data to be transmitted exists on the target electronic equipment or not, and when the target application program matched with the data to be transmitted does not exist on the target electronic equipment, sending the searched target application program information matched with the data to be transmitted to the target electronic equipment through the communication module;
when the processor detects whether a target application program matched with the data to be transmitted exists on the target electronic device, the processor is specifically configured to:
inquiring whether the memory of the target electronic equipment stores the content associated with the identification information of the target application program or not, and if not, determining that the target application program matched with the data to be transmitted does not exist on the target electronic equipment;
or,
and judging whether an application program matched with the data to be transmitted exists or not according to the display mode of the data to be transmitted on the target electronic equipment.
11. The electronic device according to claim 10, wherein the processor is specifically configured to obtain, via a network, information related to an application program that matches the type of the data to be transmitted, and select, using the information related to the application program, target application program information according to a preset rule.
12. The electronic device of claim 11, further comprising:
the application center is used for switching to an application interface through a network when receiving the trigger signal of the processor;
the processor is specifically configured to obtain usage information of an application program that is matched with the type of the data to be transmitted, and select target application program information that is matched with the target electronic device according to a preset priority of the usage information of the application program, where the usage information includes a download rate and/or an application score.
13. The electronic device according to any one of claims 10 to 12, wherein the communication module is further configured to transmit the data to be transmitted to the target electronic device when a target application program matching the data to be transmitted exists on the target electronic device.
14. An electronic device, characterized in that the electronic device comprises:
the communication module is used for establishing communication connection with target electronic equipment so that the target electronic equipment detects whether a target application program matched with data to be transmitted exists on the electronic equipment, wherein the data to be transmitted is data to be sent to the electronic equipment by the target electronic equipment;
the processor is used for receiving target application program information which is sent by the target electronic equipment and matched with the data to be transmitted, wherein the target application program information is obtained by searching when the target electronic equipment determines that the target application program which is matched with the data to be transmitted does not exist on the electronic equipment;
the target electronic equipment detects whether a target application program matched with the data to be transmitted exists on the electronic equipment, and the method comprises the following steps:
the target electronic equipment inquires whether the memory of the electronic equipment stores the content associated with the identification information of the target application program, and if the content does not exist, the target application program matched with the data to be transmitted does not exist on the electronic equipment;
or,
and the target electronic equipment judges whether an application program matched with the data to be transmitted exists or not according to the display mode of the data to be transmitted on the target electronic equipment.
15. The electronic device of claim 14, wherein when the target application is an installation file, the processor is further configured to run the installation file of the target application, so that the electronic device installs the target application matching the data to be transmitted.
16. The electronic device according to claim 14, wherein when the target application information is an application name of a target application that matches the data to be transmitted, the electronic device further comprises:
a display for outputting the target application information;
the processor is further configured to detect a search instruction input by a user for the target application information, and based on the search instruction, obtain an application installation file consistent with the application name and run the application installation file, so that the electronic device installs a target application matched with the data to be transmitted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610286273.6A CN106020992B (en) | 2016-05-03 | 2016-05-03 | Data transmission method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610286273.6A CN106020992B (en) | 2016-05-03 | 2016-05-03 | Data transmission method and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106020992A CN106020992A (en) | 2016-10-12 |
| CN106020992B true CN106020992B (en) | 2020-06-23 |
Family
ID=57081748
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610286273.6A Active CN106020992B (en) | 2016-05-03 | 2016-05-03 | Data transmission method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106020992B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106649613A (en) * | 2016-11-30 | 2017-05-10 | 努比亚技术有限公司 | Terminal, PC and storage object opening method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010250732A (en) * | 2009-04-20 | 2010-11-04 | Mitsubishi Electric Corp | Transfer device and transfer program |
| CN103500232A (en) * | 2013-10-25 | 2014-01-08 | 乐视网信息技术(北京)股份有限公司 | Multimedia data sharing method and electronic equipment |
| CN104021122A (en) * | 2013-02-28 | 2014-09-03 | 联想(北京)有限公司 | Method and device for locally starting webpage |
| CN104866322A (en) * | 2015-06-10 | 2015-08-26 | 联想(北京)有限公司 | Data information transmission display method and electronic equipment |
| CN105183513A (en) * | 2015-08-31 | 2015-12-23 | 小米科技有限责任公司 | Application recommendation method and apparatus |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104660484B (en) * | 2013-11-21 | 2017-08-22 | 腾讯科技(深圳)有限公司 | A kind of data transmission method and device for instant communication client |
-
2016
- 2016-05-03 CN CN201610286273.6A patent/CN106020992B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010250732A (en) * | 2009-04-20 | 2010-11-04 | Mitsubishi Electric Corp | Transfer device and transfer program |
| CN104021122A (en) * | 2013-02-28 | 2014-09-03 | 联想(北京)有限公司 | Method and device for locally starting webpage |
| CN103500232A (en) * | 2013-10-25 | 2014-01-08 | 乐视网信息技术(北京)股份有限公司 | Multimedia data sharing method and electronic equipment |
| CN104866322A (en) * | 2015-06-10 | 2015-08-26 | 联想(北京)有限公司 | Data information transmission display method and electronic equipment |
| CN105183513A (en) * | 2015-08-31 | 2015-12-23 | 小米科技有限责任公司 | Application recommendation method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106020992A (en) | 2016-10-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20220103612A1 (en) | Application Recommendation Method, Device, and System | |
| KR101885133B1 (en) | Apparatus and method for providing application auto install function in digital device | |
| CN107818046B (en) | A/B test method and device for application program page | |
| CN109542551B (en) | Application icon display method, device, equipment and medium | |
| US20110252114A1 (en) | Download system, information processing terminal, management device, and method and program used therefor | |
| WO2005121981A1 (en) | Information terminal, set information distribution server, right information distribution server, network connection setting program and method | |
| WO2006036323A1 (en) | System and method for wireless download capability of media objects from multiple sources | |
| CN110633112A (en) | Information processing method and device, device, storage medium | |
| CN104580534A (en) | Information processing method, device and electronic device | |
| US7831261B2 (en) | Communication terminal | |
| CN112711723B (en) | Malicious website detection method and device and electronic equipment | |
| CN110162347A (en) | A kind of application program launching method, device, equipment and storage medium | |
| CN106020992B (en) | Data transmission method and electronic equipment | |
| KR20110052304A (en) | Location-based content update device and method | |
| KR101148488B1 (en) | Methods, apparatuses, and computer program products, for automatically finding configuration settings for services | |
| CN106503023A (en) | The method and device of prompting nearby friends | |
| US10187744B2 (en) | Simplified method for placing telephone call and simplified method for requesting location-based service | |
| CN105578437A (en) | A business processing method, device and system | |
| CN105975354B (en) | Data output method and electronic equipment | |
| CN103905094B (en) | A kind of application sharing method and electronic equipment | |
| WO2016042555A2 (en) | System and method for device availability signaling | |
| CN109032723A (en) | A kind of interface jump method, device and equipment | |
| KR100834134B1 (en) | Call connection method and system using wink service in portable terminal | |
| US20140325504A1 (en) | Method and system for downloading and installing control software and smart electronic device using the same | |
| CN106502805B (en) | Terminal application sharing method and system and equipment terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |