Data processing method and related device
By displaying a user interface containing the second application icon in the second terminal device on the first terminal device, the problem of large differences between the cross-device data transmission method and the local sharing process is solved, and a more intuitive and low-cost data transmission process is achieved.
Patent Information
- Application Number
- CN202311676251.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2025-06-10
AI Technical Summary
The data transmission method across devices in the prior art is very different from the local sharing process on the same device, resulting in high user learning costs.
By displaying a user interface containing the second application icon in the second terminal device on the first terminal device, the user can realize the operation of transmitting content to the second terminal device by clicking the icon. The process is consistent with local sharing and reduces user learning costs.
It simplifies user operation processes, reduces user learning costs, makes cross-device data transmission more in line with user intuition, and does not require dragging and dropping data to the screen projection interface or transit station.
Smart Images

Figure CN120122905A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of terminals, and in particular, to a data processing method and related devices. Background Art
[0002] In some scenarios, assuming that the first application is deployed in the first terminal device and the second application is not deployed, when the user needs to share the content in the first application with other users through the second application, the content in the first application can be first transmitted from the first terminal device to the second terminal device where the second application is deployed, and then the content in the first application can be shared with other users through the second application in the second terminal device.
[0003] Currently, cross-device data transmission can be achieved between the first terminal device and the second terminal device through multi-screen collaboration. For example, when the first terminal device and the second terminal device are in a connected state, the screen mirroring interface of the second terminal device can be displayed on the first terminal device, and the user can open the user sharing interface in the second application on this screen mirroring interface, and drag or copy the data in the first application to the user sharing interface on this screen mirroring interface to complete the data transmission.
[0004] However, this cross-device data transmission method is quite different from the local sharing process on the same device, and the learning cost for users is high. Summary of the Invention
[0005] This application provides a data processing method and related devices, which are used to solve the problem that the cross-device data transmission method in the prior art is quite different from the local sharing process on the same device.
[0006] In a first aspect, this application provides a data processing method, which is applied to a first terminal device in which a first application is deployed. The method includes: receiving a first operation for requesting to share first content in the first application; and displaying a first user interface that includes an icon of a second application in a second terminal device, where the first terminal device and the second terminal device are in a connected state.
[0007] As an example, the first terminal device can be a tablet, and the second terminal device can be a mobile phone.
[0008] In this method, the first application can be a system application or a third-party application. As an example, the first application can be a third-party music application.
[0009] In this method, the first content can include any one or more of the following information: web page, song, video, link, picture, text, etc. As an example, when the first application is a third-party music application, the first content can be a song.
[0010] In this method, the first user interface can be an interface for selecting a sharing method for the first content.
[0011] Optionally, the second application may not be deployed in the first terminal device, or the second application may be deployed in the first terminal device but the second application is in an unlogged state.
[0012] In this method, an icon of the second application can be displayed in the first application of the first terminal device, so that the user can click on the icon of the second application to implement the transfer of the first content from the first terminal device to the second terminal device. This method is consistent with the process of local sharing on the same device, more in line with user intuition, and the user learning cost is low.
[0013] In addition, compared with the prior art, the user does not need to drag the first content to the screen mirroring interface or the transfer station, and the user operation process is natural.
[0014] In some possible implementation manners, the displaying the first user interface includes: receiving first information from the second terminal device, where the first information is used to indicate that the second application is deployed in the second terminal device; and displaying the first user interface based on the first information.
[0015] In this method, after receiving the first operation, or before receiving the first operation, the first terminal device may obtain the first information from the second terminal device, then create an icon of the second application based on the first information, and then display the icon of the second application in the first user interface.
[0016] In this method, the first terminal device may create an icon of the second application based on the first information. Subsequently, the user can click on the icon of the second application to implement the operation of transferring the first content from the first terminal device to the second terminal device, and the user operation process is natural.
[0017] In some possible implementation manners, the method further includes: receiving a second operation, where the second operation is used to indicate that the user clicks on the icon of the second application in the second terminal device in the first user interface; and sending the first content to the second terminal device.
[0018] In this method, the user clicks on the icon of the second application to implement the operation of transferring the first content from the first terminal device to the second terminal device, and the user operation process is natural.
[0019] In some possible implementation manners, sending the first content to the second terminal device includes: displaying a second user interface, where the second user interface includes an icon of a cloned application of a second application, and the cloned application of the second application is created based on the second application in the second terminal device; receiving a third operation, where the third operation is used to instruct the user to click the icon of the cloned application of the second application; and sending the first content to the second terminal device.
[0020] In one example, the first user interface may be as shown in FIG. 4(b). In this first user interface, icons of the second application of the second terminal device and icons of other social applications may be displayed. Assume that in this first user interface, icons of Application 1, Application 2, and Application 3 may be displayed, where Application 1 may be the second application, and Application 2 and Application 3 may be other social applications.
[0021] In this example, when the user clicks Application 1 in the first user interface as shown in FIG. 4(b), the first terminal device may receive a second operation, and then the first terminal device may display a second user interface as shown in Figure 9 . The second user interface may include an icon of a cloned application of the second application, and the cloned application of the second application may be created based on the second application.
[0022] In this example, the user may input a third operation in the second user interface as shown in Figure 9 . The third operation is used to instruct the user to click the icon of the cloned application of the second application, and then the first terminal device may receive this third operation.
[0023] In this implementation manner, the first terminal device may display an icon of a cloned application of the second application. The user can click the icon of the cloned application of the second application to implement the first terminal device to transmit the first content to the second terminal device, and the user operation process is natural.
[0024] In some possible implementation manners, the second application is also deployed in the first terminal device, and the second user interface also includes an icon of the second application.
[0025] As an example, the second user interface of the first terminal device may be as shown in Figure 10 . In this example, the second user interface may include an icon of the second application and an icon of a cloned application of the second application.
[0026] In this example, the icon of the cloned application of the second application and the icon of the second application may be different. For example, the icon of the cloned application of the second application may include a cloning mark, and the icon of the second application does not include a cloning mark. Optionally, the cloning mark may be represented by a circle, and the cloning mark may be displayed at the lower right corner of the icon of the cloned application of the second application.
[0027] Optionally, in some embodiments, the accounts logged in to the second application in the first terminal device and the second application in the second terminal device may be different. In this way, the first terminal device can determine whether to share the first content through the second application in the first terminal device or through the second application in the second terminal device based on the icon clicked by the user.
[0028] Optionally, in some embodiments, assuming that the second application in the first terminal device is in an unlogged state, the second user interface may not display the icon of the second application. At this time, the second user interface may be as Figure 9 shown.
[0029] In this implementation manner, the first terminal device can distinguish the icon of the second application from the icon of the split application of the second application, which is beneficial for the user to select a suitable icon and the user operation process is natural.
[0030] In some possible implementation manners, the method further includes: receiving a fourth operation, where the fourth operation is used to indicate to display the first user interface.
[0031] As an example, after receiving the first operation, the first terminal device may display a user interface as Figure 11 shown. This user interface includes a "More" button. When the user clicks the "More" button, the first terminal device may receive the fourth operation and display the first user interface as Figure 12 shown.
[0032] In this example, the first user interface may include a first area and a second area. The first area may be an area for displaying the applications in the first terminal device, and the second area may be an area for displaying the applications in other devices other than the first terminal device.
[0033] Assume that the social applications in the first terminal device may include Application 2 and Application 3, and the second application may be Application 1. Then, the icons of Application 2 and Application 3 may be displayed in the first area, and the icon of Application 1 may be displayed in the second area.
[0034] In this implementation manner, after the user inputs the fourth operation, the first terminal device may display the first user interface. Furthermore, the user can transmit the first content from the first terminal device to the second terminal device through the icon of the second application in the first user interface, and the user operation process is natural.
[0035] In some possible implementation manners, the second application is further deployed in the first terminal device, and the first user interface further includes the icon of the second application in the first terminal device.
[0036] As an example, when the second application is deployed in the first terminal device, the first user interface of the first terminal device can be as follows Figure 13 shown. In this example, the first user interface also includes an icon of the second application in the first terminal device, and the social application in the first terminal device includes the second application in the first terminal device.
[0037] In this example, the icon of the second application in the first terminal device and the icon of the second application in the second terminal device are located in different areas. For example, the icon of the second application in the first terminal device is located in the first area, and the icon of the second application in the second terminal device is located in the second area.
[0038] Optionally, in some embodiments, the accounts logged in to the second application in the first terminal device and the second application in the second terminal device may be different.
[0039] Optionally, in some embodiments, assuming that the second application in the first terminal device is in an unlogged state, the first user interface may not display the icon of the second application in the first terminal device. At this time, the first user interface can be as follows Figure 12 shown.
[0040] In this implementation manner, the first terminal device can distinguish the icon of the second application in the first terminal device from the icon of the second application in the second terminal device, which is beneficial for the user to select a suitable icon and the user operation process is natural.
[0041] In some possible implementation manners, after sending the first content to the second terminal device, the method further includes: sending second information to the second terminal device, where the second information is used to instruct the user to send the first content based on the second application; receiving third information from the second terminal device, where the third information is used to indicate the sharing interface of the second application; displaying a third user interface, where the third user interface includes the sharing interface of the second application; receiving a fifth operation, where the fifth operation is used to instruct the user to confirm the sharing object in the sharing interface of the second application; sending fourth information to the second terminal device, where the fourth information is used to instruct the second terminal device to send the first content to the sharing object based on the second application.
[0042] Optionally, before sending the third information, the second terminal device may display the sharing interface of the second application through a physical screen or a virtual screen, and display the sharing interface of the second application on the first terminal device by means of screen mirroring.
[0043] Taking the first terminal device as a tablet, the second terminal device as a mobile phone, the first application as a third-party music application, and the second application as Application 1 as an example, the third user interface can be as shown in Figure 4(c). The third user interface can display at least one social user, where the at least one social user includes User 1, User 2, and User 3.
[0044] As an example, assume that after the user selects User 1 in the third user interface shown in Figure 4(c), the first terminal device can determine that User 1 is the sharing object. At this time, the first terminal device can display the fourth user interface shown in Figure 4(d), and the fourth user interface contains a sharing button. In this example, after the user clicks the sharing button in the fourth user interface, the first terminal device can receive a fifth operation.
[0045] In this method, the user can confirm the sharing object and click the confirmation sharing button in the sharing interface of the second application in the third user interface to share the first content to the sharing object through the second application, and the user operation process is natural.
[0046] In some possible implementation manners, the first terminal device and the second terminal device log in to the same user account.
[0047] The first terminal device and the second terminal device can log in to the same user account, which is beneficial to ensuring the privacy security when the first terminal device and the second terminal device cooperate.
[0048] In a second aspect, the present application provides a data processing method. The method is applied to the second terminal device, and the method includes: sending a first message to the first terminal device, where the first message is used to indicate that the second application is deployed in the second terminal device, and the first message is used for the first terminal device to display a first user interface, and the first user interface includes an icon of the second application in the second terminal device, and the first terminal device and the second terminal device are in a connected state.
[0049] In some possible implementation manners, the method further includes: receiving first content from a first application in the first terminal device, where the first terminal device and the second terminal device are in a connected state; receiving a second message, where the second message is used to indicate that the user sends the first content based on the second application; displaying a sharing interface of the second application based on the first content and the second message; sending a third message, where the third message is used to indicate the sharing interface of the second application; receiving a fourth message, where the fourth message is used to indicate that the second terminal device sends the first content to the sharing object based on the second application.
[0050] In some possible implementations, the first terminal device and the second terminal device log in to the same user account.
[0051] In a third aspect, the present application provides a data processing device, including modules or units for implementing the methods in the first aspect and any possible implementation manner of the first aspect. It should be understood that each module or unit can implement the corresponding functions by executing a computer program.
[0052] As an example, the data processing device can be the first terminal device or a chip applied to the first terminal device.
[0053] As an example, the data processing device can include a receiving module and a processing module.
[0054] Among them, the receiving module can be used to receive a first operation, and the first operation is used to request sharing of first content in the first application.
[0055] The processing module can be used to display a first user interface, and the first user interface includes an icon of a second application in the second terminal device, and the first terminal device and the second terminal device are in a connected state.
[0056] In some possible implementations, the receiving module can also be used to receive first information from the second terminal device, and the first information is used to indicate that the second application is deployed in the second terminal device.
[0057] The processing module can also be used to display the first user interface based on the first information.
[0058] In some possible implementations, the data processing device can also include a sending module.
[0059] Among them, the receiving module can also be used to receive a second operation, and the second operation is used to indicate that the user clicks on the icon of the second application in the second terminal device in the first user interface.
[0060] The sending module can be used to send the first content to the second terminal device.
[0061] In some possible implementations, the processing module can also be used to display a second user interface, and the second user interface includes an icon of a split application of the second application, and the split application of the second application is created based on the second application in the second terminal device.
[0062] The receiving module can also be used to receive a third operation, and the third operation is used to indicate that the user clicks on the icon of the split application of the second application.
[0063] The sending module may also be used to send the first content to the second terminal device.
[0064] In some possible implementation manners, the second application is further deployed in the first terminal device, and an icon of the second application is further included in the second user interface.
[0065] In some possible implementation manners, the receiving module may also be used to receive a fourth operation, where the fourth operation is used to indicate displaying the first user interface.
[0066] In some possible implementation manners, the second application is further deployed in the first terminal device, and an icon of the second application in the first terminal device is further included in the first user interface.
[0067] In some possible implementation manners, the sending module may also be used to send second information to the second terminal device, where the second information is used to instruct a user to send the first content based on the second application.
[0068] The receiving module may also be used to receive third information from the second terminal device, where the third information is used to indicate a sharing interface of the second application.
[0069] The processing module may also be used to display a third user interface, where the third user interface includes the sharing interface of the second application.
[0070] The receiving module may also be used to receive a fifth operation, where the fifth operation is used to instruct a user to confirm a sharing object in the sharing interface of the second application.
[0071] The sending module may also be used to send fourth information to the second terminal device, where the fourth information is used to instruct the second terminal device to send the first content to the sharing object based on the second application.
[0072] In some possible implementation manners, the first terminal device and the second terminal device log in to the same user account.
[0073] Fourthly, the present application provides a data processing device, including modules or units for implementing the method in the second aspect and any possible implementation manner of the second aspect. It should be understood that each module or unit may implement corresponding functions by executing a computer program.
[0074] As an example, the data processing device may be the second terminal device, or may be a chip applied to the second terminal device.
[0075] As an example, the data processing device may include a sending module.
[0076] The sending module can be used to send a first piece of information to a first terminal device. The first piece of information is used to indicate that a second application is deployed in the second terminal device. The first piece of information is used for the first terminal device to display a first user interface, and the first user interface includes an icon of the second application in the second terminal device. The first terminal device and the second terminal device are in a connected state.
[0077] In some possible implementation manners, the data processing device may further include a receiving module and a processing module.
[0078] The receiving module can be used to receive first content from a first application in a first terminal device. The first terminal device and the second terminal device are in a connected state.
[0079] The receiving module can also be used to receive a second piece of information. The second piece of information is used to indicate that a user sends the first content based on the second application.
[0080] The processing module can be used to display a sharing interface of the second application based on the first content and the second piece of information.
[0081] The sending module can also be used to send a third piece of information. The third piece of information is used to indicate the sharing interface of the second application.
[0082] The receiving module can also be used to receive a fourth piece of information. The fourth piece of information is used to indicate that the second terminal device sends the first content to a sharing object based on the second application.
[0083] In some possible implementation manners, the first terminal device and the second terminal device log in to the same user account.
[0084] In a fifth aspect, the present application provides a data processing device, including a processor. The processor is used to execute the method described in any one of the possible implementation manners in the first aspect or the second aspect.
[0085] The device may further include a memory for storing instructions and data. The memory is coupled to the processor. When the processor executes the instructions stored in the memory, the methods described in the above aspects can be implemented. The device may further include a communication interface. The communication interface is used for the device to communicate with other devices. Exemplarily, the communication interface may be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.
[0086] In a sixth aspect, the present application provides a computer-readable storage medium. The computer-readable medium stores program code for a device to execute. The program code includes instructions for implementing the method described in any one of the possible implementation manners in the first aspect or the second aspect.
[0087] In a seventh aspect, the present application provides a computer program product including instructions, which, when the computer program product runs on a device, causes the device to implement the method described in any one of the possible implementation manners of the first aspect or the second aspect.
[0088] It can be understood that the effects achievable in the second aspect to the seventh aspect can be referred to the description in the first aspect, and will not be elaborated here. Description of the Drawings
[0089] Figure 1 Schematic diagram of an application scenario applicable to the embodiments of the present application;
[0090] Figure 2 Schematic diagram of the structure of a first terminal device provided by the embodiments of the present application;
[0091] Figure 3 Software structure block diagram of a first terminal device provided by the embodiments of the present application;
[0092] Figure 4(a) is a schematic diagram of a user interface of the first terminal device;
[0093] Figure 4(b) is another schematic diagram of a user interface of the first terminal device;
[0094] Figure 4(c) is yet another schematic diagram of a user interface of the first terminal device;
[0095] Figure 4(d) is yet another schematic diagram of a user interface of the first terminal device;
[0096] Figure 4(e) is a schematic diagram of a user interface of the first terminal device;
[0097] Figure 5(a) is a schematic diagram of a user interface of the first terminal device;
[0098] Figure 5(b) is another schematic diagram of a user interface of the first terminal device;
[0099] Figure 5(c) is yet another schematic diagram of a user interface of the first terminal device;
[0100] Figure 5(d) is yet another schematic diagram of a user interface of the first terminal device;
[0101] Figure 6(a) is yet another schematic diagram of a user interface of the first terminal device;
[0102] Figure 6(b) is yet another schematic diagram of a user interface of the first terminal device;
[0103] Figure 7(a) is a schematic diagram of a user interface of the second terminal device;
[0104] Figure 7(b) is another schematic diagram of the user interface of the second terminal device;
[0105] Figure 7(c) is yet another schematic diagram of the user interface of the second terminal device;
[0106] Figure 7(d) is yet another schematic diagram of the user interface of the second terminal device;
[0107] Figure 8 It is a schematic flowchart of a data processing method provided by an embodiment of the present application;
[0108] Figure 9 It is a schematic diagram of a second user interface of the first terminal device provided by an embodiment of the present application;
[0109] Figure 10 It is another schematic diagram of a second user interface of the first terminal device provided by an embodiment of the present application;
[0110] Figure 11 It is another schematic diagram of the user interface of the first terminal device provided by an embodiment of the present application;
[0111] Figure 12 It is another schematic diagram of a first user interface of the first terminal device provided by an embodiment of the present application;
[0112] Figure 13 It is yet another schematic diagram of a first user interface of the first terminal device provided by an embodiment of the present application;
[0113] Figure 14 It is another schematic flowchart of a data processing method provided by an embodiment of the present application;
[0114] Figure 15 It is a schematic diagram of a data processing device provided by an embodiment of the present application;
[0115] Figure 16 It is a schematic diagram of a data processing device provided by another embodiment of the present application;
[0116] Figure 17 It is a schematic diagram of a data processing device provided by yet another embodiment of the present application. Detailed implementation manners
[0117] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application.
[0118] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. For example, the first information and the second information are only used to distinguish different information, and do not limit their sequence. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and the terms "first" and "second" do not necessarily limit being different from each other.
[0119] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a, b, and c. Where a, b, and c can be single or multiple.
[0120] The method of the present application can be applied to Figure 1 the application scenarios as shown. Figure 1 In, the first terminal device and the second terminal device can be connected to each other.
[0121] Among them, any one of the first terminal device and the second terminal device can be a mobile phone, a tablet computer, a personal computer (PC), a smart screen, a vehicle-mounted device, and wearable terminal devices such as smart watches, and can also be various teaching aids (such as learning machines, early education machines), smart toys, portable robots, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, etc., and can also be devices with mobile office functions, devices with smart home functions, devices with audio-visual entertainment functions, devices supporting smart travel, etc. It should be understood that the embodiments of the present application do not limit the specific technologies and specific device forms adopted by the terminal device.
[0122] In order to better understand the embodiments of the present application, the following introduces the hardware structures of the first terminal device and the second terminal device of the embodiments of the present application. Exemplarily, Figure 2A schematic structural diagram of a first terminal device provided by an embodiment of the present application.
[0123] The first terminal device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0124] Optionally, the above sensor module 280 may include a pressure sensor 2180A, a touch sensor 280B, etc.
[0125] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the first terminal device. In other embodiments of the present application, the first terminal device may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0126] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, etc. Among them, different processing units may be independent devices or integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
[0127] The USB interface 230 is an interface compliant with the USB standard specification, which can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the first terminal device, and can also be used for data transmission between the first terminal device and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other terminal devices, such as AR devices, etc.
[0128] The charging management module 240 is used to receive charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. While charging the battery 242, the charging management module 240 can also charge the terminal device through the power management module 241.
[0129] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives inputs from the battery 242 and / or the charging management module 240 and powers the processor 210, the internal memory 221, the external memory, the camera 293, the display screen 294, the audio module 270, the wireless communication module 260, etc. In some embodiments, the power management module 241 can also be provided in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be provided in the same device.
[0130] Optionally, in some embodiments, the power management module 241 can also be referred to as a battery management unit (PMU). The PMU can be used to obtain the status information of the battery 242, such as the remaining battery power and temperature of the battery 242, etc.
[0131] The wireless communication function of the first terminal device can be implemented through antenna 1, antenna 2, the mobile communication module 250, the wireless communication module 260, the modulation and demodulation processor, and the baseband processor, etc.
[0132] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The antennas in the first terminal device can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas.
[0133] The mobile communication module 250 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the first terminal device. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves through antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through antenna 1 and radiate it out.
[0134] The wireless communication module 260 can provide solutions for wireless communications such as wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc. applied to the first terminal device. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves through antenna 2, performs frequency modulation and filtering on the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 can also receive the signals to be sent from the processor 210, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through antenna 2 and radiate them out.
[0135] In some embodiments, antenna 1 of the first terminal device is coupled to the mobile communication module 250, and antenna 2 is coupled to the wireless communication module 260, so that the first terminal device can communicate with the network and other devices through wireless communication technologies.
[0136] The camera 293 is used to capture still images or videos. In some embodiments, the terminal device may include one or N cameras 293, where N is a positive integer greater than 1.
[0137] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the terminal device may include one or N display screens 294, where N is a positive integer greater than 1.
[0138] In the embodiments of the present application, the interface of a preset application and the like can be displayed on the display screen 294. Among them, the interface of the preset application may include: video frame pictures, video duration, etc.
[0139] In some embodiments of the present application, the preset application may include, but is not limited to, application programs that can play audio or video, such as video playback applications, audio playback applications, game applications, shopping applications, and social applications, etc.
[0140] The first terminal device can implement the display function through a graphics processing unit (GPU), a display screen 294, an application processor, etc. The GPU is a microprocessor for image processing, connecting the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The GPU can also be referred to as a display core, a visual processor, a display chip, etc.
[0141] The first terminal device can implement the shooting function through an ISP, a camera 293, a video codec, a GPU, a display screen 294, and an application processor, etc.
[0142] The video codec is used to compress or decompress digital video. The first terminal device can support one or more video codecs. In this way, the first terminal device can play or record videos in multiple encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc. In addition, the first terminal device can implement the encapsulation and playback of audio and video data and screen recording data, etc.
[0143] In some embodiments, the display screen can also be referred to as a physical screen.
[0144] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first terminal device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0145] The internal memory 221 can be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 221 can include a program storage area and a data storage area. Among them, the program storage area can store application programs required for at least one function in the operating system (such as the sound playback function, the image playback function, etc.). The data storage area can store data created during the use of the terminal device (such as audio data, phone book, etc.).
[0146] The first terminal device can implement the audio function through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone interface 270D, and an application processor, etc. Such as music playback, recording, etc.
[0147] The audio module 270 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The speaker 270A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The first terminal device can listen to music or a hands-free call through the speaker 270A. The receiver 270B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the first terminal device answers a call or a voice message, the voice can be listened to by placing the receiver 270B close to the ear. The microphone 270C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. The headphone jack 270D is used to connect a wired headphone.
[0148] The pressure sensor 280A is used to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be disposed on the display screen 294. When a touch operation acts on the display screen 294, the first terminal device can detect the intensity of the touch operation according to the pressure sensor 280A. The first terminal device can also calculate the position of the touch according to the detection signal of the pressure sensor 280A. The touch sensor 280B can be disposed on the display screen 294, and the touch sensor 280B and the display screen 294 form a touch screen, also known as a "touch panel". The touch sensor 280B is used to detect a touch operation acting thereon or nearby. The touch sensor 280B can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 294. In other embodiments, the touch sensor 280B can also be disposed on the surface of the first terminal device, at a different position from that of the display screen 294.
[0149] The keys 290 include a power-on key, volume keys, etc. The keys 290 can be mechanical keys or touch keys. The first terminal device can receive key inputs and generate key signal inputs related to the user settings and function controls of the first terminal device. The motor 291 can generate a vibration prompt. The indicator 292 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The timer 296 can be used to record time information. For example, when the first terminal device records a video, the start time and end time of the video can be recorded, and the duration of the recorded video can also be recorded.
[0150] In the embodiments of the present application, by way of example, the software system of the first terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. The layered architecture can adopt the Android system, the iOS system, or other operating systems, and the embodiments of the present application do not limit this. The following takes Figure 3For example, the software structure of the first terminal device will be exemplarily described.
[0151] Figure 3 This is a software structure block diagram of a first terminal device provided by an embodiment of the present application. The layered architecture divides the software system of the first terminal device into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the system may include an application layer (applications), an application framework layer (application framework), an Android runtime, system libraries, a hardware abstraction layer (hardware abstraction layer, HAL), and a kernel layer (kernel).
[0152] The application layer may include a series of application packages, and the application layer runs the applications by calling the application programming interfaces (APIs) provided by the application framework layer.
[0153] For example, the application packages may include applications such as a camera, a gallery, a calendar, a call, a map, a navigation, a wireless local area network (WLAN), Bluetooth, music, video, text messages, and recording. Of course, the application layer may also include third-party application packages, such as social applications, third-party music applications, third-party video applications, payment applications, shopping applications, bank applications, chat applications, or financial management applications, etc., which are not limited in this application.
[0154] Among them, the social application may have the function of playing video and audio. In response to the user's operation of playing video, the first terminal device may play the video frame and its corresponding audio. In a possible design of the present application, the social application may, in response to the user's operation of playing video, call the media playback interface to start the system's one or more players.
[0155] In some embodiments of the present application, during the process of the first terminal device playing audio, the first terminal device may respond to the user operation to set the volume level of the audio. In the case where the first terminal device automatically plays video, the first terminal device may play the audio corresponding to the video based on the set volume level.
[0156] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. For example, it may include an activity manager, a window manager, a content provider, a view system, a resource manager, an audio service, etc. The embodiments of this application do not impose any restrictions on this.
[0157] Among them, the audio service can be started during the startup phase of the first terminal device. The audio service can be used to transfer and save the relevant audio data information of the audio module.
[0158] The Android runtime includes a core library, a virtual machine, and a virtual machine monitor. The Android runtime is responsible for the scheduling and management of the Android system. The core library consists of two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0159] The system library can include modules with multiple functions, such as: a surface manager, a media library, a 3D graphics processing library, and an identification algorithm module, etc.
[0160] The surface manager is used to manage the display subsystem and provides the fusion of 2D layers and 3D layers for multiple applications. The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. The identification algorithm module can be used for sign language recognition, speech recognition, and text semantic recognition. Among them, sign language recognition refers to recognizing speech or text as sign language, speech recognition refers to recognizing sign language or text as speech, and text semantic recognition refers to recognizing sign language or speech as text.
[0161] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface upward and shielding the implementation details of the lower-level hardware.
[0162] The HAL layer may include a video HAL, an audio HAL, a camera HAL, etc.
[0163] The kernel layer is the layer between hardware and software. The kernel layer is used to drive the hardware so that the hardware can work. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, etc. Among them, the audio driver is the driver layer for audio-related devices (such as speakers), and is mainly responsible for interacting with the hardware.
[0164] In the embodiments of the present application, the display driver may include the driver corresponding to the display, and the audio driver may include the driver corresponding to the speaker, the driver corresponding to the receiver, and the driver corresponding to the microphone.
[0165] The hardware layer includes a display, a camera, a speaker, a receiver, and a microphone, etc.
[0166] It can be understood that Figure 3 In the illustrated embodiment, the software structure of the first terminal device is only a simple example and does not limit the scope of the present application. For example, cross-device services and virtual screen services can also be deployed in the first terminal device. The cross-device services can be used for information transfer with other devices, and the virtual screen services can be used to create and manage virtual screens and run selected applications in the virtual screens.
[0167] Optionally, in this embodiment, the existence of the virtual screen has nothing to do with whether it is connected to the display screen. For example, when the user clicks to turn off the display screen, the applications in the virtual screen still continue to run.
[0168] In the present application, the hardware architecture of the second terminal device is similar to Figure 2 the hardware architecture of the first terminal device shown, and the software architecture of the second terminal device is similar to Figure 3 the software architecture of the first terminal device shown, which will not be elaborated here.
[0169] In some scenarios, the first application and the second application can be deployed in the first terminal device at the same time. In this way, when the user needs to share the content in the first application with other users through the second application, it can be shared in a local sharing manner on the first terminal device.
[0170] Or, the first application and the second application can be deployed in the second terminal device. In this way, when the user needs to share the content in the first application with other users through the second application, it can be shared in a local sharing manner on the second terminal device.
[0171] Taking the first terminal device as an example, assuming that the first terminal device is a tablet, the first application is a third-party music application, and the second application is a social application, the first terminal device can display the user interface shown in Figure 4(a). The sharing button for the content in the first application can be displayed in this user interface. In this example, the content in the first application can be a song.
[0172] After the user clicks the sharing button, the first terminal device can display a user interface as shown in FIG. 4(b). At least one social application, such as Application 1, Application 2, and Application 3, can be displayed in this user interface.
[0173] Assuming that the second application is Application 1, when the user clicks on Application 1, the first terminal device can display a user interface as shown in FIG. 4(c). Optionally, at least one social user can be displayed in this user interface. For example, the at least one social user includes User 1, User 2, and User 3.
[0174] Assuming that the user clicks on User 1, the first terminal device can display a user interface as shown in FIG. 4(d). This user interface contains a sharing button and a cancel button. After the user clicks the confirmation button, the first terminal device shares the content in the first application with User 1 based on the second application.
[0175] After the first terminal device sends the content in the first application to User 1 based on the second application, the first terminal device can display a user interface as shown in FIG. 4(e). This user interface can indicate that the content in the first application has been successfully shared.
[0176] In some other scenarios, the first application can be deployed in the first terminal device, and the second application can be deployed in the second terminal device. When the user needs to share the content in the first application with other users through the second application, the content in the first application can be first transmitted from the first terminal device to the second terminal device, and then the content in the first application can be shared with other users through the second application in the second terminal device.
[0177] Currently, cross-device data transmission can be achieved between the first terminal device and the second terminal device through the multi-screen collaboration method. In this method, a multi-screen collaboration service can be deployed in the first terminal device and the second terminal device. When the first terminal device and the second terminal device are in a connected state, the first terminal device can display the screen mirroring interface of the second terminal device based on the multi-screen collaboration service. Then, the user can open the user sharing interface in the second application on this screen mirroring interface and drag or copy the data in the first application to the user sharing interface on this screen mirroring interface to complete the data transmission.
[0178] Taking the first terminal device as a tablet and the second terminal device as a mobile phone as an example, assuming that the first application is a third-party music application and the second application is a social application, the first application is deployed in the tablet, and the second application is deployed in the mobile phone. When the tablet and the mobile phone are in a connected state, the user can perform an operation on the tablet to display the screen mirroring interface of the mobile phone. In some embodiments, when both the tablet and the mobile phone turn on Bluetooth, the tablet and the mobile phone access the same WiFi, and both the tablet and the mobile phone turn on the multi-screen collaboration service, the tablet and the mobile phone can be in a connected state.
[0179] Optionally, after the user performs an operation on the tablet to display the mobile phone screen mirroring interface, the tablet can display the interface shown in Figure 5(a), which includes the mobile phone screen mirroring interface.
[0180] After the user performs an operation on the mobile phone screen mirroring interface to open a social application and select a sharing object, the tablet can display the interface shown in Figure 5(b), and the user sharing interface of the social application is displayed in the mobile phone screen mirroring interface.
[0181] The user can copy the sharing link in a third-party music application and paste the sharing link in the user sharing interface of the social application, and then the tablet can display the interface shown in Figure 5(c), which may include a sharing button.
[0182] After the user clicks the sharing button, the tablet can display the interface shown in Figure 5(d), which indicates that the sharing has been completed.
[0183] In addition, cross-device data transmission can also be achieved between the first terminal device and the second terminal device through a transfer station. In this method, a transfer station service can be deployed in the first terminal device and the second terminal device. When the first terminal device and the second terminal device are in a connected state, the user can drag the content of the first application into the transfer station of the first terminal device, and the transfer station of the second terminal device can display the content of the first application. Then the user can select the content of the first application from the transfer station of the second terminal device and share it with other users through the application sharing interface of the second application in the second terminal device.
[0184] Taking the first terminal device as a tablet and the second terminal device as a mobile phone as an example, assume that the first application is a gallery software and the second application is a social application. The first application is deployed in the tablet and the second application is deployed in the mobile phone.
[0185] As shown in Figure 6(a), when the tablet and the mobile phone are in a connected state, the user can select a photo in the gallery of the tablet and drag the selected photo into the transfer station of the tablet.
[0186] In some embodiments, when both the tablet and the mobile phone turn on Bluetooth, the tablet and the mobile phone access the same WiFi, and both the tablet and the mobile phone turn on the transfer station service, the tablet and the mobile phone can be in a connected state.
[0187] After the user drags the selected photo into the transfer station of the tablet, the tablet can display the interface shown in Figure 6(b).
[0188] Optionally, after the user drags the selected photo into the transfer station of the tablet, the mobile phone can display the interface shown in Figure 7(a). In this interface, the transfer station of the mobile phone also includes the photo selected by the user.
[0189] As shown in FIG. 7(b), the user can open the sharing interface of the social application on the mobile phone and drag the photos in the mobile phone transfer station to the sharing interface.
[0190] After the user drags the photos in the mobile phone transfer station to the sharing interface, the mobile phone can display the interface shown in FIG. 7(c), and this interface can include a button for confirming sharing. After the user clicks the button for confirming sharing, the mobile phone can display the interface shown in FIG. 7(d), and this interface indicates that the sharing has been completed.
[0191] Although both of these two methods can achieve cross-device data transmission, the processes of these two methods are quite different from the local sharing process, and the learning cost for users is high. Therefore, the present application provides a data processing method to solve the problem of large differences from the local sharing process in the prior art.
[0192] In the technical solution of the present application, the first terminal device displays a first user interface after receiving a first operation, and this first operation can be used to request sharing of the first content in the first application. The first user interface may include an icon of the second application in the second terminal device.
[0193] In this method, the first application may be deployed in the first terminal device, the second application may be deployed in the second terminal device, and the first terminal device and the second terminal device may be in a connected state.
[0194] As an example, the first terminal device may be a tablet, and the second terminal device may be a mobile phone.
[0195] In this method, the first application may be a system application or a third-party application. As an example, the first application may be a third-party music application.
[0196] In this method, the first content may include any one or more of the following information: web page, song, video, link, picture, text, etc. As an example, when the first application is a third-party music application, the first content may be a song.
[0197] In this method, the first user interface may be an interface for selecting a sharing method for the first content.
[0198] Optionally, before the first terminal device displays the first user interface, it may receive a first message from the second terminal device, and this first message is used to indicate that the second application is deployed in the second terminal device.
[0199] Further, after the user clicks the icon of the second application in the second terminal device on the first user interface, the first terminal device may send the first content to the second terminal device.
[0200] In a possible implementation, after the user clicks on the icon of the second application in the second terminal device on the first user interface, the first terminal device may further display a second user interface, and the second user interface may include an icon of a cloned application of the second application.
[0201] Wherein, the cloned application of the second application may be created by the first terminal device based on the second application in the second terminal device.
[0202] Further, after the user clicks on the icon of the cloned application of the second application, the first terminal device may send a first content to the second terminal device.
[0203] In another possible implementation, before the first terminal device displays the first user interface, the user may also input an operation to display the first user interface on the first terminal device.
[0204] Further, after the first terminal device sends the first content to the second terminal device, it may also send a second message to the second terminal device, where the second message is used to indicate sending the first content based on the second application; after receiving the first content and the second message, the second terminal device may display a sharing interface of the second application through a physical screen or a virtual screen, and send a third message to the first terminal device, where the third message is used to indicate the sharing interface of the second application; after receiving the third message, the first terminal device may display a third user interface, and the third user interface includes the sharing interface of the second application, so that the user may select a sharing object in the sharing interface of the second application in the third user interface, and send a fourth message to the second terminal device, where the fourth message is used to indicate the second terminal device to share the first content to the sharing object based on the second application.
[0205] Optionally, the first terminal device and the second terminal device may log in to the same user account.
[0206] In this method, an icon of the second application may be displayed in the first application of the first terminal device, so that the user may transmit the first content from the first terminal device to the second terminal device by clicking on the icon of the second application. This method is consistent with the process of local sharing, more in line with user intuition, and has a low user learning cost.
[0207] In addition, compared with the prior art, the user does not need to drag the first content to the screen mirroring interface or the transfer station, and the user operation process is natural.
[0208] Next, this application will be combined with Figures 8 to 17 , and the method of this application will be introduced in detail.
[0209] Figure 8 It is a schematic flowchart of a data processing method provided by an embodiment of this application. As Figure 8As shown, the data processing method may include S801 and S802.
[0210] S801, the first terminal device receives a first operation for requesting to share first content in a first application.
[0211] In this method, the first terminal device may be the first terminal device as Figure 1 shown, and the first application is deployed in the first terminal device. As an example, the first terminal device may be a tablet.
[0212] In this method, the first application may be a system application or a third-party application. As an example, the first application may be a third-party music application.
[0213] In this method, the first content may include any one or more of the following information: web page, song, video, link, picture, text, etc. As an example, when the first application is a third-party music application, the first content may be a song.
[0214] Taking the first application as a third-party music application and the first content as a song as an example, assume that the first terminal device can display a user interface as shown in Figure 4(a). A sharing button for the first content may be displayed in the user interface. When the user clicks the sharing button, the first terminal device can receive the first operation.
[0215] S802, the first terminal device displays a first user interface that includes an icon of a second application in a second terminal device, and the first terminal device and the second terminal device are in a connected state.
[0216] In this method, the second terminal device may be the second terminal device as Figure 1 shown. As an example, the second terminal device may be a mobile phone.
[0217] In this method, a second application may be deployed in the second terminal device, and the second application may be a social application.
[0218] In this method, the first user interface may be an interface for selecting a sharing method for the first content. In some embodiments, at least one sharing method may be displayed in the first user interface, and the user can select a sharing method from the at least one sharing method to share the first content.
[0219] Taking the first terminal device as a tablet and the second terminal device as a mobile phone as an example, in some embodiments, when both the tablet and the mobile phone turn on Bluetooth and the tablet and the mobile phone are connected to the same WiFi network, the tablet and the mobile phone may be in a connected state.
[0220] In this method, the icon of the second application of the second terminal device in the first user interface needs to meet the following requirement: after the icon of the second application of the second terminal device in the first user interface is clicked, the second application of the second terminal device can be operated.
[0221] Here, operating the second application of the second terminal device can be understood as the second terminal device operating the second application of the second terminal device. For example, the second terminal device opens the second application, displays the interface of the second application, etc. The operation here is only to emphasize the result of the second terminal operating the second application, and does not limit the specific operation process.
[0222] Optionally, the method for the first terminal device to display the first user interface may include: the second terminal device sends a first message to the first terminal device, and the first message is used to indicate that the second application is deployed in the second terminal device. Correspondingly, the first terminal device receives the first message; after receiving the first message, the first terminal device can create an icon of the second application based on the first message and display the icon of the second application in the first user interface.
[0223] Among them, the second application may be an application deployed in the second terminal device but not deployed in the first terminal device, or may also be an application deployed in both the first terminal device and the second terminal device, but the second application deployed in the first terminal device is in an unlogged-in state.
[0224] As an example, the second terminal device may send application installation information of the second terminal device to the first terminal device, and the application installation information is used to indicate the applications installed in the second terminal device. Correspondingly, the first terminal device receives the application installation information and obtains the first message therefrom.
[0225] Optionally, the first terminal device may also send application installation information of the first terminal device to the second terminal device, and the application installation information is used to indicate the applications installed in the first terminal device.
[0226] Optionally, the step of the first terminal device obtaining the first message and creating the icon of the second application based on the first message may be executed after S801, or may be executed in advance, that is, before S801.
[0227] In this method, the first terminal device can create an icon of the second application based on the first message. Subsequently, the user can click the icon of the second application to implement the operation of the first terminal device transmitting the first content to the second terminal device, and the user operation process is natural.
[0228] Furthermore, the first terminal device may further receive a second operation, and the second operation may be used to indicate that the user clicks the icon of the second application in the second terminal device in the first user interface, and then sends the first content to the second terminal device based on the second operation.
[0229] In this method, the user can transfer the first content from the first terminal device to the second terminal device by clicking on the icon of the second application, and the user operation process is natural.
[0230] In a first possible implementation, the first user interface may be as shown in Fig. 4(b). The first user interface may display the icon of the second application of the second terminal device and the icons of other social applications. Suppose the first user interface can display the icons of Application 1, Application 2, and Application 3, where Application 1 may be the second application, and Application 2 and Application 3 may be other social applications. Subsequently, this application will take Application 1 as the second application as an example for illustration.
[0231] In this example, when the user clicks on Application 1 in the first user interface shown in Fig. 4(b), the first terminal device can receive the second operation, and then the first terminal device can display the Figure 9 second user interface as shown. The second user interface may include the icon of the split application of the second application, and the split application of the second application can be created based on the second application.
[0232] As an example, after receiving the first information, the first terminal device can create a split application of the second application based on the first information.
[0233] Optionally, the step of the first terminal device creating the split application of the second application can be executed after S801, or can be executed in advance, that is, before S801.
[0234] Among them, the split application of the second application and the second application can be deployed in different terminal devices, or can be deployed in different storage spaces in the same terminal device.
[0235] For example, suppose the second application is not deployed in the first terminal device, the second application is deployed in the second terminal device, and the split application of the second application is deployed in the first terminal device.
[0236] Another example, suppose the second application is deployed in the first terminal device, then the second application can be deployed in the first storage space of the first terminal device, and the split application of the second application can be deployed in the second storage space of the first terminal device.
[0237] Optionally, the storage space here can be a storage device or a storage system, and this application does not make a limitation on this.
[0238] In some embodiments, the split application of the second application may also be referred to as the virtual split application of the second application, or the split virtual application of the second application.
[0239] Optionally, in some embodiments, when the second application is deployed in the first terminal device, the second user interface of the first terminal device may be as follows Figure 10 shown. In this example, the second user interface may include an icon of the second application and an icon of the dual application of the second application.
[0240] In this example, the icon of the dual application of the second application and the icon of the second application may be different. For example, the icon of the dual application of the second application may include a dual mark, and the icon of the second application does not include a dual mark. Optionally, the dual mark may be represented by a circle, and the dual mark may be displayed in the lower right corner of the icon of the dual application of the second application.
[0241] Optionally, the first terminal device may also distinguish the icon of the second application and the icon of the dual application of the second application in other ways. As an example, if the icon of the second application and the icon of the dual application of the second application are the same, they may be distinguished by text. For example, the word "duplicate" may be displayed below the icon of the dual application of the second application, and the word "duplicate" is not displayed below the icon of the second application.
[0242] Optionally, in some embodiments, the account logged in to the second application in the first terminal device may be different from the account logged in to the second application in the second terminal device. In this way, the first terminal device may determine whether to share the first content through the second application in the first terminal device or through the second application in the second terminal device based on the icon clicked by the user.
[0243] In this method, the first terminal device may distinguish the icon of the second application and the icon of the dual application of the second application, which is beneficial for the user to select the appropriate icon and the user operation process is natural.
[0244] Optionally, in some embodiments, assuming that the second application in the first terminal device is in an unlogged state, the second user interface may not display the icon of the second application. At this time, the second user interface may be as follows Figure 9 shown.
[0245] In this implementation, the user may input a third operation in the second user interface shown in Figure 9 or Figure 10 The third operation is used to instruct the user to click on the icon of the dual application of the second application, then the first terminal device may receive the third operation. After receiving the third operation, the first terminal device may send the first content to the second terminal device. Correspondingly, the first terminal device may receive the first content.
[0246] In this method, after the first terminal device receives the third operation, the split application of the second application in the first terminal device can obtain the first content and send the first content to the second terminal device through the cross-device sharing service in the first terminal device. Correspondingly, the second terminal device can receive the first content through the cross-device sharing service in the second terminal device.
[0247] Optionally, when the first terminal device sends the first content to the second terminal device, it can first serialize the first content. After obtaining the serialized first content, it sends the serialized first content to the second terminal device. Correspondingly, after the second terminal device receives the serialized first content, it can deserialize it to obtain the first content.
[0248] In this implementation, the first terminal device sends the first content to the second terminal device through the sharing method of the software development kit (SDK) of the second application.
[0249] In this implementation, the first terminal device can display the icon of the split application of the second application. The user clicks the icon of the split application of the second application to implement the transmission of the first content from the first terminal device to the second terminal device, and the user operation process is natural.
[0250] In the second possible implementation, after the first terminal device receives the first operation, it can display a user interface as shown in Figure 11 The user interface contains a "More" button. When the user clicks the "More" button, the first terminal device can receive a fourth operation, and the fourth operation is used to indicate the display of the first user interface.
[0251] After the first terminal device receives the fourth operation, it can display the first user interface as shown in Figure 12 In this example, the first user interface can include a first area and a second area. The first area can be an area for displaying the applications in the first terminal device, and the second area can be an area for displaying the applications in other devices except the first terminal device.
[0252] Assume that the social applications in the first terminal device can include Application 2 and Application 3, and the second application can be Application 1. Then, the icons of Application 2 and Application 3 can be displayed in the first area, and the icon of Application 1 can be displayed in the second area.
[0253] In this implementation, after the user inputs the fourth operation, the first terminal device can display the first user interface. Furthermore, the user can use the icon of the second application in the first user interface to implement the transmission of the first content from the first terminal device to the second terminal device, and the user operation process is natural.
[0254] Optionally, in some embodiments, when the second application is deployed in the first terminal device, the first user interface of the first terminal device may be as follows Figure 13 shown. In this example, the first user interface further includes an icon of the second application in the first terminal device, and the social application in the first terminal device includes the second application in the first terminal device.
[0255] In this example, the icon of the second application in the first terminal device and the icon of the second application in the second terminal device are located in different areas. For example, the icon of the second application in the first terminal device is located in the first area, and the icon of the second application in the second terminal device is located in the second area.
[0256] Optionally, the first terminal device may also distinguish the icon of the second application in the first terminal device from the icon of the second application in the second terminal device in other ways.
[0257] As an example, the icon of the second application in the first terminal device and the icon of the second application in the second terminal device may be different.
[0258] As another example, when the icon of the second application in the first terminal device is the same as the icon of the second application in the second terminal device, they may be distinguished by text. For example, the word "local" may be included below the icon of the second application in the first terminal device, and the word "non-local" may be included below the icon of the second application in the second terminal device.
[0259] In this implementation manner, the first terminal device can distinguish the icon of the second application in the first terminal device from the icon of the second application in the second terminal device, which is beneficial for the user to select the appropriate icon and the user operation process is natural.
[0260] Optionally, in some embodiments, the account logged in to the second application in the first terminal device may be different from the account logged in to the second application in the second terminal device.
[0261] In this way, the first terminal device can determine whether to share the first content through the second application in the first terminal device or through the second application in the second terminal device based on the icon clicked by the user.
[0262] Optionally, in some embodiments, assuming that the second application in the first terminal device is in an unlogged state, the first user interface may not display the icon of the second application in the first terminal device. At this time, the first user interface may be as follows Figure 12 shown.
[0263] In this implementation manner, the user may be at Figure 12 or Figure 13Input a second operation in the first user interface shown, where the second operation is used to instruct the user to click on the icon of the second application in the second terminal device. Correspondingly, the first terminal device can receive this second operation.
[0264] After the first terminal device receives the second operation, it can send the first content to the second terminal device. Correspondingly, the first terminal device can receive this first content.
[0265] In this method, after the first terminal device receives the second operation, the first terminal device can send the first content to the second terminal device through a cross-device sharing service. Correspondingly, the second terminal device can receive this first content through the cross-device sharing service in the second terminal device.
[0266] Optionally, when the first terminal device sends the first content to the second terminal device, it can first serialize the first content. After obtaining the serialized first content, it sends the serialized first content to the second terminal device. Correspondingly, after the second terminal device receives the serialized first content, it can deserialize it to obtain the first content.
[0267] In this implementation, the first terminal device sends the first content to the second terminal device through the system sharing method.
[0268] Optionally, after the first terminal device sends the first content to the second terminal device, the first terminal device and the second terminal device can share the first content with the sharing object of the second application through the screen mirroring service. The specific method can be as Figure 14 shown.
[0269] S1401, The first terminal device sends the first content to the second terminal device. Correspondingly, the second terminal device receives this first content.
[0270] In this method, the step of the first terminal device sending the first content to the second terminal device can refer to the foregoing embodiments and will not be elaborated here.
[0271] S1402, The first terminal device sends the second information to the second terminal device, where the second information is used to instruct the user to send the first content based on the second application. Correspondingly, the second terminal device receives this second information.
[0272] As an example, assume that when the user clicks on the icon of the split-screen application of the second application in the second user interface as shown in Figure 9 or Figure 10 shown, the second information may include a first indication information, which is used to instruct the user to click on the icon of the split-screen application of the second application.
[0273] As another example, assume that when the user clicks on the icon of the split-screen application of the second application in the second user interface as shown in Figure 12 orFigure 13 When the first user interface shown clicks on the icon of the second application of the second terminal device, the second information may include second indication information for indicating that the user clicks on the icon of the second application of the second terminal device.
[0274] S1403. The second terminal device displays a sharing interface of the second application.
[0275] Optionally, when the second terminal device displays the sharing interface of the second application, the sharing interface of the second application may be displayed on the physical screen or virtual screen of the second terminal device.
[0276] S1404. The second terminal device sends third information to the first terminal device, and the third information is used to indicate the sharing interface of the second application. Correspondingly, the first terminal device receives the third information.
[0277] In this method, the first terminal device and the second terminal device may transmit the third information based on the screen mirroring service. For example, the second terminal device may send the third information to the first terminal device through the screen mirroring service in the second terminal device, and the first terminal device may receive the third information through the screen mirroring service in the first terminal device.
[0278] S1405. The first terminal device displays a third user interface, and the third user interface includes the sharing interface of the second application.
[0279] Optionally, the sharing interface of the second application included in the third user interface may be the screen mirroring interface of the second terminal device. Among them, the screen mirroring services of the first terminal device and the second terminal device are both in the on state.
[0280] Taking the first terminal device as a tablet, the second terminal device as a mobile phone, the first application as a third-party music application, and the second application as Application 1 as an example, the third user interface may be as shown in Figure 4(c), and the third user interface may display at least one social user, where the at least one social user includes User 1, User 2, and User 3.
[0281] S1406. The first terminal device receives a fifth operation, and the fifth operation is used to indicate that the user confirms the sharing object in the sharing interface of the second application.
[0282] As an example, assuming that after the user selects User 1 in the third user interface shown in Figure 4(c), the first terminal device may determine that User 1 is the sharing object. At this time, the first terminal device may display a fourth user interface as shown in Figure 4(d), and the fourth user interface includes a sharing button.
[0283] In this example, after the user clicks the sharing button in the fourth user interface, the first terminal device may receive the fifth operation.
[0284] S1407, the first terminal device sends fourth information to the second terminal device, and the fourth information is used to instruct the second terminal device to send the first content to the sharing object based on the second application. Correspondingly, the second terminal device receives the fourth information.
[0285] S1408, the second terminal device sends the first content to the sharing object based on the second application.
[0286] Optionally, after the second terminal device sends the first content to the sharing object based on the second application, the first terminal device may display a fifth user interface as shown in FIG. 4(e), and the fifth user interface may indicate that the first content has been successfully shared.
[0287] Optionally, after the first content is successfully shared, the second terminal device may send an indication message indicating that the first content has been successfully shared to the first terminal device. Correspondingly, after receiving the indication message, the first terminal device may close the screen mirroring interface of the second terminal device.
[0288] In this method, the user may confirm the sharing object in the sharing interface of the second application in the third user interface and click the confirmation sharing button to share the first content to the sharing object through the second application, and the user operation process is natural.
[0289] In this application, the first terminal device and the second terminal device may log in to the same user account, which is beneficial to ensuring the privacy security when the first terminal device and the second terminal device cooperate.
[0290] Figure 15 Schematic diagram of a data processing device provided for an embodiment of this application. As Figure 15 shown, the data processing device 1500 may include a receiving module 1501 and a processing module 1502.
[0291] As an example, the data processing device 1500 may be used to implement Figure 8 the method of the embodiment shown. Among them, the receiving module 1501 may be used to execute S801, and the processing module 1502 may be used to execute S802.
[0292] Optionally, the data processing device 1500 may further include a sending module 1503.
[0293] As another example, the data processing device 1500 may also be used to implement Figure 14 the method of the embodiment shown. Among them, the receiving module 1501 may be used to execute S1404, the processing module 1502 may be used to execute S1405 and S1406, and the sending module 1503 may be used to execute S1401, S1402, and S1407.
[0294] The data processing device 1500 can be the first terminal device as shown in Figure 1 or can be a chip applied to the first terminal device as shown in Figure 1 .
[0295] Figure 16 FIG. is a schematic diagram of a data processing device provided in another embodiment of the present application. As shown in Figure 16 , the data processing device 1600 may include a receiving module 1601, a processing module 1602, and a sending module 1603.
[0296] As another example, the data processing device 1600 can be used to implement the method of the embodiment shown in Figure 14 . Among them, the receiving module 1601 can be used to execute S1401, S1402, and S1407, the processing module 1602 can be used to execute S1403 and S1408, and the sending module 1603 can be used to execute S1404.
[0297] The data processing device 1600 can be the second terminal device as shown in Figure 1 or can be a chip applied to the second terminal device as shown in Figure 1 .
[0298] Figure 17 FIG. is a schematic diagram of a data processing device provided in yet another embodiment of the present application. As shown in Figure 17 , the data processing device 1700 includes a processor 1701 and an interface circuit 1702. The processor 1701 and the interface circuit 1702 are coupled to each other. It can be understood that the interface circuit 1702 can be a transceiver or an input / output interface. Optionally, the processing device 1700 may further include a memory 1703 for storing instructions executed by the processor 1701 or storing input data required for the processor 1701 to run instructions or storing data generated after the processor 1701 runs instructions.
[0299] As an example, the processor 1701 can be used to implement the functions of the above-mentioned processing module 1502, and the interface circuit 1702 can be used to implement the functions of the above-mentioned receiving module 1501 and sending module 1503.
[0300] As another example, the processor 1701 can be used to implement the functions of the above-mentioned processing module 1602, and the interface circuit 1702 can be used to implement the functions of the above-mentioned receiving module 1601 and sending module 1603.
[0301] The method steps in the embodiments of the present application can be implemented in a hardware manner or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, register, hard disk, removable hard disk, CD-ROM, or any other form of storage medium well-known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also exist as discrete components in a network device or a terminal device.
[0302] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable devices. The computer program or instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center integrating one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc; or it can be a semiconductor medium, such as a solid-state drive.
[0303] In the various embodiments of the present application, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0304] It is understood that the various numerical numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The magnitudes of the serial numbers of the above processes do not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic.
Claims
1. A data processing method, characterized in that, applied to a first terminal device, where a first application is deployed in the first terminal device, and the method includes: Receiving a first operation for requesting to share first content in the first application; Displaying a first user interface that includes an icon of a second application in a second terminal device, where the first terminal device and the second terminal device are in a connected state.
2. The method according to claim 1, characterized in that, the displaying of the first user interface includes: Receiving first information from the second terminal device, where the first information is used to indicate that the second application is deployed in the second terminal device; Displaying the first user interface based on the first information.
3. The method according to claim 1 or 2, characterized in that, the method further includes: Receiving a second operation for instructing a user to click on the icon of the second application in the second terminal device in the first user interface; Sending the first content to the second terminal device.
4. The method according to claim 3, characterized in that, the sending of the first content to the second terminal device includes: Displaying a second user interface that includes an icon of a clone application of the second application, where the clone application of the second application is created based on the second application in the second terminal device; Receiving a third operation for instructing a user to click on the icon of the clone application of the second application; Sending the first content to the second terminal device.
5. The method according to claim 4, characterized in that, the second application is also deployed in the first terminal device, and the second user interface also includes an icon of the second application.
6. The method according to claim 3, characterized in that, the method further includes: Receiving a fourth operation for instructing to display the first user interface.
7. The method according to claim 6, characterized in that, the second application is also deployed in the first terminal device, and the first user interface also includes an icon of the second application in the first terminal device.
8. The method according to any one of claims 3 to 7, characterized in that, after sending the first content to the second terminal device, the method further includes: Sending second information to the second terminal device, where the second information is used to instruct a user to send the first content based on the second application; Receiving third information from the second terminal device, where the third information is used to indicate the sharing interface of the second application; Displaying a third user interface that includes the sharing interface of the second application; Receiving a fifth operation for instructing a user to confirm a sharing object in the sharing interface of the second application; Sending fourth information to the second terminal device, where the fourth information is used to instruct the second terminal device to send the first content to the sharing object based on the second application.
9. The method according to any one of claims 1 to 8, characterized in that, The first terminal device and the second terminal device log in to the same user account.
10. A data processing method, characterized in that, applied to a second terminal device, where a second application is deployed in the second terminal device, and the method includes: Sending a first message to a first terminal device, where the first message is used to indicate that the second application is deployed in the second terminal device, the first message is used for the first terminal device to display a first user interface, the first user interface includes an icon of the second application in the second terminal device, and the first terminal device and the second terminal device are in a connected state.
11. The method according to claim 10, characterized in that, the method further includes: Receiving first content from a first application in the first terminal device, where the first terminal device and the second terminal device are in a connected state; Receiving a second message, where the second message is used to indicate that the user sends the first content based on the second application; Displaying a sharing interface of the second application based on the first content and the second message; Sending a third message, where the third message is used to indicate the sharing interface of the second application; Receiving a fourth message, where the fourth message is used to indicate that the second terminal device sends the first content to the sharing object based on the second application.
12. The method according to claim 10 or 11, characterized in that, the first terminal device and the second terminal device log in to the same user account.
13. A processing device, characterized in that, including a functional module for implementing the method according to any one of claims 1 to 12.
14. A processing device, characterized in that, including: a memory and a processor; the memory is used to store program instructions; the processor is used to execute the program instructions in the memory to implement the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores program code for computer execution, and the program code includes instructions for implementing the method according to any one of claims 1 to 12.
16. A computer program product, characterized in that, the computer program product includes instructions for implementing the method according to any one of claims 1 to 12.