Data transmission method, device and electronic device

By implementing the data transmission function in the input method application, the problem of single function of the input method application is solved, the data sharing capability between devices is provided, and the user experience is improved.

CN113885986BActive Publication Date: 2024-10-11BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111153288.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-29
Publication Date
2024-10-11
Estimated Expiration
2041-09-29

AI Technical Summary

Technical Problem

Input method applications lack other functions other than information input functions, resulting in an insufficient user experience.

Method used

The data transmission function is implemented in the input method application, allowing users to transfer shared data from one electronic device to another, and view it through the input method application. It supports multiple communication connection methods such as WiFi, NFC, Bluetooth and mobile networks. , and provides the transmission of data types such as documents, videos, audios and images.

Benefits of technology

It enriches the functions of the input method application, improves the user experience, realizes data sharing between devices through multiple communication methods, and simplifies the data transmission process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113885986B_ABST
    Figure CN113885986B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a data transmission method, device and electronic device, which are applied to a first electronic device installed with an input method application, the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, the method comprising: receiving shared data to be transmitted determined by the first electronic device; transmitting the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application. The embodiment of the present invention provides a data transmission function in the input method application, enriches the functions of the input method application, and thus improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data processing technology, and in particular to a data transmission method, device and electronic device. Background Art

[0002] With the development of computer technology, electronic devices such as mobile phones and tablet computers are becoming more and more popular, bringing great convenience to people's life, study and work. These electronic devices are usually installed with input method applications, so that users can use the input method applications to input information.

[0003] As a widely used Internet product, if the input method application can provide other functions besides the information input function, it can enrich the functions of the input method application and improve the user experience. Summary of the invention

[0004] The embodiment of the present invention provides a data transmission method, which provides a data transmission function in an input method application, enriches the functions of the input method application, and improves the user experience.

[0005] Correspondingly, an embodiment of the present invention further provides a data transmission device and an electronic device to ensure the implementation and application of the above method.

[0006] In order to solve the above problem, an embodiment of the present invention discloses a data transmission method, which is applied to a first electronic device installed with an input method application, wherein the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and specifically comprises:

[0007] Receiving shared data to be transmitted determined by the first electronic device;

[0008] The shared data is transmitted to the second electronic device, so that the second electronic device can view the shared data through the input method application.

[0009] Optionally, the transmitting the shared data to the second electronic device so that the second electronic device views the shared data through the input method application includes:

[0010] Displaying several options of the second electronic device, and full information and / or abbreviated information of the shared data;

[0011] In response to a selection operation on an option of the second electronic device, determining a target second electronic device;

[0012] The shared data is transmitted to the target second electronic device, so that the second electronic device can view the shared data through the input method application.

[0013] Optionally, the transmitting the shared data to the target second electronic device includes:

[0014] Determine a target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device;

[0015] The shared data is transmitted to the target second electronic device based on the target communication connection mode.

[0016] Optionally, determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device includes:

[0017] Obtaining sharing data parameters of the sharing data;

[0018] According to the shared data parameter, a target communication connection mode is determined from communication connection modes commonly supported by the first electronic device and the second electronic device.

[0019] Optionally,

[0020] The input method application program is resident in the background of the first electronic device and the second electronic device;

[0021] The communication connection mode includes at least WiFi, NFC, Bluetooth and mobile network;

[0022] The shared data parameters include at least data size and data type;

[0023] The data types of the shared data include at least documents, videos, audios and images.

[0024] Optionally, the transmitting the shared data to the second electronic device so that the second electronic device views the shared data through the input method application includes:

[0025] When the shared data is a video, generating a video link of the video;

[0026] The video link is transmitted to the second electronic device, so that the second electronic device obtains the video based on the video link through the input method application for viewing.

[0027] Optionally, the transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application includes:

[0028] Providing an input interface for the input method application;

[0029] Responding to an input operation on the input interface, obtaining input information;

[0030] Determining target shared data from the shared data according to the input information;

[0031] The target shared data is transmitted to the target second electronic device, so that the second electronic device can view the target shared data through the input method application.

[0032] An embodiment of the present invention further discloses a data transmission method, which is applied to a second electronic device installed with an input method application, wherein the second electronic device is bound to a plurality of first electronic devices also installed with the input method application, and the method comprises:

[0033] Receiving the shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is used to transmit the shared data to the second electronic device after receiving the shared data to be transmitted determined by the first electronic device;

[0034] View the shared data.

[0035] Optionally, viewing the shared data includes:

[0036] Providing processing options and summary information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data;

[0037] In response to a selection operation of the viewing option, the input method application is invoked to view the shared data.

[0038] The embodiment of the present invention further discloses a data transmission device, which is applied to a first electronic device installed with an input method application, and the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and the device comprises:

[0039] A shared data determination module, configured to receive shared data to be transmitted determined by the first electronic device;

[0040] The shared data transmission module is used to transmit the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application.

[0041] Optionally, the shared data transmission module is used to display several options of the second electronic device, as well as all information and / or abbreviated information of the shared data in the program interface of the input method application; determine the target second electronic device in response to a selection operation of an option of the second electronic device; and transmit the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application.

[0042] Optionally, the shared data transmission module is used to determine a target communication connection mode from communication connection modes commonly supported by the first electronic device and the second electronic device; and transmit the shared data to the target second electronic device based on the target communication connection mode.

[0043] Optionally, the shared data transmission module is used to obtain shared data parameters of the shared data; and determine a target communication connection mode from communication connection modes commonly supported by the first electronic device and the second electronic device according to the shared data parameters.

[0044] Optionally, the input method application resides in the background of the first electronic device and the second electronic device; the communication connection mode includes at least WiFi, NFC, Bluetooth and mobile network; the shared data parameters include at least data size and data type; the data type of the shared data includes at least documents, videos, audio and images.

[0045] Optionally, the transmitting the shared data to the second electronic device so that the second electronic device views the shared data through the input method application includes:

[0046] When the shared data is a video, generating a video link of the video;

[0047] The video link is transmitted to the second electronic device, so that the second electronic device obtains the video based on the video link through the input method application for viewing.

[0048] Optionally, the transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application includes:

[0049] Providing an input interface for the input method application;

[0050] Responding to an input operation on the input interface, obtaining input information;

[0051] Determining target shared data from the shared data according to the input information;

[0052] The target shared data is transmitted to the target second electronic device, so that the second electronic device can view the target shared data through the input method application.

[0053] Optionally, the shared data transmission module is used to generate a video link of the video when the shared data is a video; and transmit the video link to the second electronic device so that the second electronic device can obtain the video based on the video link for viewing through the input method application.

[0054] Optionally, the shared data transmission module is used to provide an input interface for the input method application; obtain input information in response to input operations on the input interface; determine target shared data from the shared data based on the input information; and transmit the target shared data to the target second electronic device so that the second electronic device can view the target shared data through the input method application.

[0055] The embodiment of the present invention further discloses a data transmission device, which is applied to a second electronic device installed with an input method application, and the second electronic device is bound to a plurality of first electronic devices also installed with the input method application, and the device comprises:

[0056] a shared data receiving module, configured to receive shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is configured to transmit the shared data to the second electronic device after receiving the shared data to be transmitted determined by the first electronic device;

[0057] The shared data viewing module is used to view the shared data.

[0058] Optionally, the shared data viewing module is used to provide processing options and thumbnail information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data; in response to a selection operation of the viewing option, the input method application is called up to view the shared data.

[0059] An embodiment of the present invention further discloses a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the data transmission method as described in any one of the embodiments of the present invention.

[0060] The embodiment of the present invention further discloses an electronic device, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations:

[0061] The embodiments of the present invention include the following advantages:

[0062] In the embodiment of the present invention, for the first electronic device and the second electronic device that both have the input method application installed, after receiving the shared data determined by the first electronic device, the shared data is transmitted to the second electronic device, so that the second electronic device can view the shared data through the input method application. The embodiment of the present invention provides a data transmission function in the input method application, enriches the functions of the input method application, and thus improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 is a flowchart of a data transmission method embodiment of the present invention;

[0064] Figure 2 is a flowchart of steps of an optional embodiment of a data transmission method of the present invention;

[0065] Figure 3 is a flowchart of steps of another optional embodiment of a data transmission method of the present invention;

[0066] Figure 4 is a schematic diagram of data transmission between electronic devices of the present invention;

[0067] Figure 5 is a structural block diagram of an embodiment of a data transmission device of the present invention;

[0068] Figure 6 is a structural block diagram of an optional embodiment of a data transmission device of the present invention;

[0069] Figure 7 A structural block diagram of an electronic device for data transmission according to an exemplary embodiment;

[0070] Figure 8 It is a structural schematic diagram of an electronic device for data transmission according to another exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0071] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0072] Reference Figure 1 , shows a flowchart of a data transmission method embodiment of the present invention, which is applied to a first electronic device installed with an input method application, and the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and specifically may include the following steps:

[0073] Step 102: Receive the shared data to be transmitted determined by the first electronic device.

[0074] The first electronic device is a data transmitter, and the second electronic device is a data receiver. Of course, in practical applications, the first electronic device and the second electronic device can be converted to each other, for example, the first electronic device is a data receiver, and the second electronic device is a data transmitter, and the embodiments of the present invention do not need to limit this.

[0075] In an embodiment of the present invention, an input method application is installed in both the first electronic device and the second electronic device. After the first electronic device is bound to the second electronic device, data can be transmitted through the input method application. The input method application is an application that resides in the background of the electronic device. Specifically, the application that resides in the background refers to an application that resides in the memory of the electronic device, so it can help users manage and control the electronic device in real time.

[0076] As a specific example, the shared data may include but is not limited to documents, videos, audios, images, and the like.

[0077] Step 104: Transmit the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application.

[0078] In an embodiment of the present invention, a user can select shared data to be transmitted in the first electronic device, for example, an image (such as a photo) currently being viewed, or a presentation in a meeting, etc., can be determined as shared data to be transmitted, and the input method application receives the shared data determined by the first electronic device, and at this time, the shared data can be transmitted to the second electronic device through the input method application. After receiving the shared data, the second electronic device can also view the shared data through the input method application.

[0079] In a specific implementation, electronic devices are generally capable of implementing multiple communication connection modes, such as Wi-Fi (Wi-Fi Direct), NFC (Near Field Communication), Bluetooth, and mobile networks, etc. A first electronic device can perform data transmission with a second electronic device through one or more of the above communication connection modes, and the embodiments of the present invention do not need to be limited to this.

[0080] In the above data transmission method, for the first electronic device and the second electronic device that also install the input method application, after receiving the shared data determined by the first electronic device, the shared data is transmitted to the second electronic device, so that the second electronic device can view the shared data through the input method application. The embodiment of the present invention provides the function of data transmission in the input method application, enriches the function of the input method application, and thus improves the user experience.

[0081] Reference Figure 2 , shows a flowchart of the steps of an optional embodiment of a data transmission method of the present invention, which is applied to a first electronic device installed with an input method application, and the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and specifically may include the following steps:

[0082] Step 202: Receive the shared data to be transmitted determined by the first electronic device.

[0083] In a specific implementation, in addition to the input method application, other applications such as chat applications and shopping applications are also installed in the first electronic device, and some of the applications have data transmission functions. In an embodiment of the present invention, in order to facilitate the user to determine the target second electronic device for data transmission, several application options can be displayed in the first electronic device, such as options for the input method application, options for the chat application, and options for the shopping application. When a user's selection operation on the input method application option is detected, such as a user clicking on the input method application option, the input application is called up.

[0084] Step 204: display several options of the second electronic device, and the complete information and / or abbreviated information of the shared data.

[0085] Step 206: In response to the selection operation of the option of the second electronic device, determine the target second electronic device.

[0086] It can be understood that there can be more than one second electronic device bound to the first electronic device and bound through an input method application. Therefore, in the first electronic device, data transmission is selected through the input method application, the program interface of the input method application is called up, and the options of the second electronic device are displayed in the program interface. In response to the user's option for the second electronic device, the target second electronic device for the first electronic device to transmit the shared data is determined.

[0087] For example, assuming that the second electronic device has device A, device B and device C, the options of device A, device B and device C can be displayed in the program interface. If the user selects the option of device B in the program interface, device B will be used as the target second electronic device.

[0088] In an embodiment of the present invention, the entire information and / or thumbnail information of the shared data can also be displayed in the program interface of the input method application, wherein the entire information can be directly displayed shared data, for example, assuming that the shared data is an image, the image is directly displayed, assuming that the shared data is a document, the document is directly displayed (such as the home page in the document), assuming that the shared data is a video, the video is directly displayed (such as a video frame in the video or a played video); thumbnail information is information generated based on the shared data and used by the user to quickly determine the content of the shared data, for example, assuming that the shared data is an image, the thumbnail information can be a thumbnail of the image, if the shared data is a document, the thumbnail information can be the home page of the document or the file name of the document, if the shared data is a video, the thumbnail information can be a key video frame or video name of the video, if the shared data is audio, the thumbnail information can be a key text information or audio name extracted based on the audio. Through the thumbnail information of the shared data, the user can determine the content of the shared data to be transmitted, so as to further select the target second electronic device. Optionally, the thumbnail information of the shared data can be transmitted to the target second electronic device together with the shared data.

[0089] Step 208: Transmit the shared data to the target second electronic device, so that the second electronic device can view the shared data through the input method application.

[0090] In an embodiment of the present invention, after determining the target second electronic device, the input method application of the first electronic device can transmit the shared data to the target second electronic device, and then the shared data can be viewed in the target second electronic device, thereby realizing data transmission between devices.

[0091] In the above-mentioned data transmission method, for the first electronic device and the second electronic device that also install the input method application, after receiving the shared data to be transmitted determined by the first electronic device, several options of the second electronic device and the full information and / or thumbnail information of the shared data are displayed, and after the user selects the target second electronic device, the shared data can be transmitted to the target second electronic device, so that the target second electronic device can view the shared data through the input method application. During data transmission, the embodiment of the present invention provides several options of the second electronic device, and at the same time provides the full information and / or thumbnail information of the shared data, so as to facilitate the user to make a selection, realize interaction with the user, and improve the user experience.

[0092] In an exemplary embodiment, the step 208, transmitting the shared data to the target second electronic device, may include the following steps:

[0093] Determine a target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device;

[0094] The shared data is transmitted to the target second electronic device based on the target communication connection mode.

[0095] In an embodiment of the present invention, a target communication connection method is determined from among the commonly supported communication connection methods supported by both the first electronic device and the second electronic device. For example, if the communication connection methods of the electronic device include WiFi, NFC, Bluetooth and mobile network, one of them can be selected as the target communication connection method, so that the shared data can be transmitted to the target second electronic device through the input method application based on the target communication connection method.

[0096] In specific applications, the priority of each communication connection mode can be pre-set, wherein the priority can be determined according to the data transmission speed and the user fee required to be consumed. For example, in order to reduce user fees and speed up data transmission, the priority of the communication connection modes of wifi and bluetooth can be set to be higher. After determining the target second electronic device, data transmission can be carried out through wifi and bluetooth to realize file sharing.

[0097] In an exemplary embodiment, determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device may include the following steps:

[0098] Obtaining sharing data parameters of the sharing data;

[0099] According to the shared data parameter, a target communication connection mode is determined from communication connection modes commonly supported by the first electronic device and the second electronic device.

[0100] The shared data parameters may include at least data size and data type.

[0101] In an optional example, for the shared data to be transmitted determined by the first electronic device, the data size of the shared data is judged. If it exceeds a first preset threshold, for example, exceeds 50M (megabytes), WiFi and Bluetooth communication connection methods can be selected as target communication connection methods. If it does not exceed 50M, the mobile network can be selected as the target communication connection method for data transmission.

[0102] In another optional example, for the shared data to be transmitted determined by the first electronic device, the data type of the shared data is determined. If it belongs to a preset data type, such as a video, Wi-Fi and Bluetooth communication connection methods can be selected as the target communication connection methods. If it is a document, the mobile network can be selected as the target communication connection method for data transmission.

[0103] In the above optional embodiment, the target communication connection mode is determined according to the shared data parameters of the shared data, thereby optimizing the transmission mode of the shared data.

[0104] In an exemplary embodiment, the step 208, transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application, may include the following steps:

[0105] When the shared data is a video, generating a video link of the video;

[0106] The video link is transmitted to the second electronic device, so that the second electronic device obtains the video based on the video link through the input method application for viewing.

[0107] In a specific implementation, the volume of a video is larger than other data. If the shared data is a video, in addition to transmitting the video to the second electronic device, you can also choose to generate a video link of the video, and then transmit the video link as shared data to the second electronic device. The second electronic device can then obtain the video based on the video link through the input method application and view it. Optionally, the video link can be generated by the input method application based on the video. If the second electronic device wants to watch the video, it can obtain and view it from the first electronic device through the video link.

[0108] In an exemplary embodiment, the step 208, transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application, may include the following steps:

[0109] Providing an input interface for the input method application;

[0110] Responding to an input operation on the input interface, obtaining input information;

[0111] Determining target shared data from the shared data according to the input information;

[0112] The target shared data is transmitted to the target second electronic device, so that the second electronic device can view the target shared data through the input method application.

[0113] The input operation includes but is not limited to voice input, keyboard input, handwriting input, etc.

[0114] In an embodiment of the present invention, when the shared data is displayed in the input method application of the first electronic device, an input interface of the input method application can be provided at the same time. At this time, the user can perform input operations through the input interface. In response to the input operations, the input method application can obtain the input information, and then further find the target shared data from the shared data according to the input information, so as to transmit the target shared data to the target second electronic device.

[0115] For example, assuming that sharing data of multiple images and an input interface are displayed in the input method application of the first electronic device, the user can enter "sunset" through the input interface, and then obtain images named sunset or with a name containing sunset as sharing data.

[0116] In the above optional embodiment, by providing an input interface for the input method application, it is possible to facilitate sharing of more data. For example, when a user selects a folder, one or more shared data can be determined based on the input information entered in the input interface, thereby improving the efficiency of the user in determining the shared data.

[0117] Reference Figure 3 , shows a flowchart of steps of another optional embodiment of a data transmission method of the present invention, which is applied to a second electronic device installed with an input method application, and the second electronic device is bound to a plurality of first electronic devices also installed with the input method application, and specifically may include the following steps:

[0118] Step 302: receiving the shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is used to transmit the shared data to the second electronic device after determining the shared data to be transmitted;

[0119] Step 304: View the shared data.

[0120] In the above data transmission method, for the first electronic device and the second electronic device that also have the input method application installed, after receiving the shared data transmitted by the input application of the first electronic device, the shared data can be viewed through the input method application of the second electronic device. In the embodiment of the present invention, after receiving the shared data, the shared data can be viewed through the input method application.

[0121] In an exemplary embodiment, the step 304, viewing the shared data, may include the following methods:

[0122] Providing processing options and summary information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data;

[0123] In response to a selection operation on the viewing option, the shared data is viewed.

[0124] In an embodiment of the present invention, after receiving the shared data transmitted by the input application of the first electronic device, processing options and thumbnail information of the shared data are provided in the second electronic device, wherein the processing options may include a [View] option and a [Cancel View] option.

[0125] Specifically, if the user selects the [View] option, the shared data can be viewed through the input method application. Optionally, a [Cancel View] option can also be provided in the second electronic device, and if the user selects the [Cancel View] option, the option can be hidden. In addition, when the user clicks on a portion of the electronic device screen other than the input method application, the option can also be hidden.

[0126] In order to enable those skilled in the art to better understand the embodiments of the present invention, a specific example is used below to illustrate the data transmission process. A first electronic device with an input method application installed is connected to a second electronic device via a communication connection method such as wifi, Bluetooth, or a mobile network; Figure 4 , is a schematic diagram of data transmission between electronic devices of the present invention, and the specific process is:

[0127] After the user determines the shared data 402 to be transmitted on the first electronic device, the input method application of the first electronic device receives the shared data 402, and displays an application selection interface 404 on the first electronic device. When the user selects the input method application from the application options 406 displayed on the selection interface 404, the program page 408 of the input method application is called out;

[0128] The thumbnail information (or all information) of the shared data 402 is displayed above the program page 408. Below the program page 408, several second terminal device options 410 may be displayed, and the user may select one as the target second electronic device. Then, the first electronic device will transmit the shared data 402 to the target second electronic device through the input method application.

[0129] After receiving the shared data 402, processing options for the shared data can be displayed in the target second electronic device. If the user selects the [View] option, the input method application can be called up and the shared data 402 can be displayed in the program page of the input method application for the user to view. If the user selects the [Cancel] option, the processing options can be hidden.

[0130] In summary, by applying the embodiments of the present invention, electronic devices are interconnected through input method applications, data transmission between electronic devices under WiFi, Bluetooth, and mobile networks is achieved, the functions of the input method applications are enriched, and the user experience is improved.

[0131] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0132] Reference Figure 5 , shows a structural block diagram of an embodiment of a data transmission device of the present invention, which is applied to a first electronic device installed with an input method application, and the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and specifically may include the following modules:

[0133] A shared data determination module 502, configured to receive shared data to be transmitted determined by the first electronic device;

[0134] The shared data transmission module 504 is used to transmit the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application.

[0135] In an exemplary embodiment, the shared data transmission module 504 is used to display several options of the second electronic device, as well as all information and / or abbreviated information of the shared data in the program interface of the input method application; determine the target second electronic device in response to a selection operation of an option of the second electronic device; and transmit the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application.

[0136] In an exemplary embodiment, the shared data transmission module 504 is used to determine a target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device; and transmit the shared data to the target second electronic device based on the target communication connection mode.

[0137] In an exemplary embodiment, the shared data transmission module 504 is used to obtain shared data parameters of the shared data; and determine a target communication connection mode from communication connection modes commonly supported by the first electronic device and the second electronic device according to the shared data parameters.

[0138] In an exemplary embodiment, the input method application resides in the background of the first electronic device and the second electronic device; the communication connection mode includes at least WiFi, NFC, Bluetooth and mobile network; the shared data parameters include at least data size and data type; the data type of the shared data includes at least documents, videos, audio and images.

[0139] In an exemplary embodiment, the shared data transmission module 504 is used to generate a video link of the video when the shared data is a video; and transmit the video link to the second electronic device so that the second electronic device can obtain the video for viewing based on the video link through the input method application.

[0140] In an exemplary embodiment, the shared data transmission module 504 is used to provide an input interface for the input method application; obtain input information in response to an input operation on the input interface; determine target shared data from the shared data based on the input information; and transmit the target shared data to the target second electronic device so that the second electronic device can view the target shared data through the input method application.

[0141] In an exemplary embodiment, the shared data transmission module 504 is used to generate a video link of the video when the shared data is a video; and transmit the video link to the second electronic device so that the second electronic device can obtain the video for viewing based on the video link through the input method application.

[0142] In an exemplary embodiment, the shared data transmission module 504 is used to provide an input interface for the input method application; obtain input information in response to an input operation on the input interface; determine target shared data from the shared data based on the input information; and transmit the target shared data to the target second electronic device so that the second electronic device can view the target shared data through the input method application.

[0143] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0144] Reference Figure 6 , shows a structural block diagram of an embodiment of a data transmission device of the present invention, which is applied to a second electronic device installed with an input method application, and the second electronic device is bound to a plurality of first electronic devices also installed with the input method application, and specifically may include the following modules:

[0145] The shared data receiving module 602 is used to receive the shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is used to transmit the shared data to the second electronic device after determining the shared data to be transmitted;

[0146] The shared data viewing module 604 is used to view the shared data.

[0147] In an exemplary embodiment, the shared data viewing module 704 is used to provide processing options and thumbnail information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data; in response to a selection operation of the viewing option, the shared data is viewed.

[0148] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0149] Figure 7 1 is a block diagram of an electronic device 600 for data transmission according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0150] Reference Figure 7 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .

[0151] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0152] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0153] The power component 606 provides power to the various components of the electronic device 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.

[0154] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0155] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0156] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0157] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0158] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 614 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 614 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0159] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0160] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0161] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a data transmission method, the method comprising: receiving shared data to be transmitted determined by a first electronic device; transmitting the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application.

[0162] Optionally, transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application includes: displaying several options of the second electronic device, as well as all information and / or abbreviated information of the shared data; determining a target second electronic device in response to a selection operation of an option of the second electronic device; transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application.

[0163] Optionally, transmitting the shared data to the target second electronic device includes: determining a target communication connection mode from communication connection modes commonly supported by the first electronic device and the second electronic device; and transmitting the shared data to the target second electronic device based on the target communication connection mode.

[0164] Optionally, determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device includes: obtaining sharing data parameters of the shared data; and determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device based on the sharing data parameters.

[0165] Optionally, the input method application resides in the background of the first electronic device and the second electronic device; the communication connection mode includes at least WiFi, NFC, Bluetooth and mobile network; the shared data parameters include at least data size and data type; the data type of the shared data includes at least documents, videos, audio and images.

[0166] Optionally, transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application includes: when the shared data is a video, generating a video link of the video; transmitting the video link to the second electronic device so that the second electronic device can obtain the video based on the video link through the input method application for viewing.

[0167] Optionally, transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application includes: providing an input interface for the input method application; obtaining input information in response to an input operation on the input interface; determining target shared data from the shared data based on the input information; and transmitting the target shared data to the target second electronic device so that the second electronic device can view the target shared data through the input method application.

[0168] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform a data transmission method, the method comprising: receiving shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is used to transmit the shared data to the second electronic device after receiving the shared data to be transmitted determined by the first electronic device; and viewing the shared data.

[0169] Optionally, viewing the shared data includes: providing processing options and thumbnail information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data; in response to a selection operation of the viewing option, calling up the input method application to view the shared data.

[0170] Figure 8 : is a schematic diagram of the structure of an electronic device 700 for data transmission according to another exemplary embodiment of the present invention. The electronic device 700 may be a server, which may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 722 (for example, one or more processors) and a memory 732, and one or more storage media 730 (for example, one or more mass storage devices) storing application programs 742 or data 744. Among them, the memory 732 and the storage medium 730 may be temporary storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processor 722 may be configured to communicate with the storage medium 730 and execute a series of instruction operations in the storage medium 730 on the server.

[0171] The server may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input and output interfaces 758, one or more keyboards 756, and / or one or more operating systems 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0172] An electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: receiving shared data to be transmitted determined by a first electronic device; transmitting the shared data to a second electronic device so that the second electronic device can view the shared data through the input method application.

[0173] Optionally, transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application includes: displaying several options of the second electronic device, as well as all information and / or abbreviated information of the shared data; determining a target second electronic device in response to a selection operation of an option of the second electronic device; transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application.

[0174] Optionally, transmitting the shared data to the target second electronic device includes: determining a target communication connection mode from communication connection modes commonly supported by the first electronic device and the second electronic device; and transmitting the shared data to the target second electronic device based on the target communication connection mode.

[0175] Optionally, determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device includes: obtaining sharing data parameters of the shared data; and determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device based on the sharing data parameters.

[0176] Optionally, the input method application resides in the background of the first electronic device and the second electronic device; the communication connection mode includes at least WiFi, NFC, Bluetooth and mobile network; the shared data parameters include at least data size and data type; the data type of the shared data includes at least documents, videos, audio and images.

[0177] Optionally, transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application includes: when the shared data is a video, generating a video link of the video; transmitting the video link to the second electronic device so that the second electronic device can obtain the video based on the video link through the input method application for viewing.

[0178] Optionally, transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application includes: providing an input interface for the input method application; obtaining input information in response to an input operation on the input interface; determining target shared data from the shared data based on the input information; and transmitting the target shared data to the target second electronic device so that the second electronic device can view the target shared data through the input method application.

[0179] An electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: receiving shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is used to transmit the shared data to the second electronic device after receiving the shared data to be transmitted determined by the first electronic device; and viewing the shared data.

[0180] Optionally, viewing the shared data includes: providing processing options and thumbnail information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data; in response to a selection operation of the viewing option, calling up the input method application to view the shared data.

[0181] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0182] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0183] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0185] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0186] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0187] The data transmission method, the data transmission device and the electronic device provided by the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained by using specific examples in this article. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and the scope of application. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A data transmission method, characterized in that: The method is applied to a first electronic device installed with an input method application, wherein the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and comprises: Receiving shared data to be transmitted determined by the first electronic device; transmitting the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application; The transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application includes: Displaying several options of the second electronic device, and full information and / or abbreviated information of the shared data; In response to a selection operation on an option of the second electronic device, determining a target second electronic device; transmitting the shared data to the target second electronic device, so that the second electronic device can view the shared data through the input method application; The method further comprises: Displaying several application options on the first electronic device, and calling up the input method application when a selection operation on the option of the input method application is detected; The step of determining the target second electronic device in response to the selection operation of the option of the second electronic device includes: In the first electronic device, data transmission is performed through the input method application, a program interface of the input method application is called up, and options of the second electronic device are displayed in the program interface. In response to the selection operation of the options of the second electronic device, the target second electronic device to which the first electronic device transmits the shared data is determined.

2. The method according to claim 1, characterized in that The transmitting the shared data to the target second electronic device includes: Determine a target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device; The shared data is transmitted to the target second electronic device based on the target communication connection mode.

3. The method according to claim 2, characterized in that The determining the target communication connection mode from the communication connection modes commonly supported by the first electronic device and the second electronic device includes: Obtaining sharing data parameters of the sharing data; According to the shared data parameter, a target communication connection mode is determined from communication connection modes commonly supported by the first electronic device and the second electronic device.

4. The method according to claim 3, characterized in that The input method application program is resident in the background of the first electronic device and the second electronic device; The communication connection mode includes at least WiFi, NFC, Bluetooth and mobile network; The shared data parameters include at least data size and data type; The data types of the shared data include at least documents, videos, audios and images.

5. The method according to claim 4, characterized in that The transmitting the shared data to the second electronic device so that the second electronic device can view the shared data through the input method application includes: When the shared data is a video, generating a video link of the video; The video link is transmitted to the second electronic device, so that the second electronic device obtains the video based on the video link through the input method application for viewing.

6. The method according to claim 1, characterized in that The transmitting the shared data to the target second electronic device so that the second electronic device can view the shared data through the input method application comprises: Providing an input interface for the input method application; Responding to an input operation on the input interface, obtaining input information; Determining target shared data from the shared data according to the input information; The target shared data is transmitted to the target second electronic device, so that the second electronic device can view the target shared data through the input method application.

7. A data transmission method, characterized in that: The method is applied to a second electronic device installed with an input method application, wherein the second electronic device is bound to a plurality of first electronic devices also installed with the input method application, and comprises: Receiving the shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is used to transmit the shared data to the second electronic device after receiving the shared data to be transmitted determined by the first electronic device; View the shared data; the shared data is obtained by the method described in claim 1.

8. The method according to claim 7, characterized in that The viewing of the shared data includes: Providing processing options and summary information of the shared data; the processing options include viewing options, and the viewing options are used to determine whether to view the shared data; In response to a selection operation of the viewing option, the input method application is invoked to view the shared data.

9. A data transmission device, characterized in that: The device is applied to a first electronic device installed with an input method application, wherein the first electronic device is bound to a plurality of second electronic devices also installed with the input method application, and the device comprises: A sharing data determination module, configured to receive sharing data determined by the first electronic device; A shared data transmission module, used for transmitting the shared data to the second electronic device, so that the second electronic device can view the shared data through the input method application; The shared data transmission module is used to display several options of the second electronic device and all information and / or abbreviated information of the shared data in the program interface of the input method application; determine the target second electronic device in response to the selection operation of the option of the second electronic device; transmit the shared data to the target second electronic device, so that the second electronic device can view the shared data through the input method application; The device also includes: Displaying several application options on the first electronic device, and calling up the input method application when a selection operation on the option of the input method application is detected; The step of determining the target second electronic device in response to the selection operation of the option of the second electronic device includes: In the first electronic device, data transmission is performed through the input method application, a program interface of the input method application is called up, and options of the second electronic device are displayed in the program interface. In response to the selection operation of the options of the second electronic device, the target second electronic device to which the first electronic device transmits the shared data is determined.

10. A data transmission device, characterized in that: The device is applied to a second electronic device installed with an input method application, the second electronic device is bound to a plurality of first electronic devices also installed with the input method application, and the device comprises: a shared data receiving module, configured to receive shared data transmitted by the input method application of the first electronic device; the input method application of the first electronic device is configured to transmit the shared data to the second electronic device after receiving the shared data to be transmitted determined by the first electronic device; A shared data viewing module, used to view the shared data; the shared data is obtained by the device described in claim 9.

11. An electronic device, characterized in that: It comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include the data transmission method as described in any one of method claims 1-6 and 7-8.

12. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the data transmission method as described in any one of method claims 1-6 and 7-8.