A content continuation method, system and electronic device
By configuring NFC units in electronic devices, wireless communication connections can be quickly established using NFC technology, and application interface tags can be automatically transmitted. This solves the problem of cumbersome content switching between multiple devices, achieves seamless content continuity across devices, and improves the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2019-09-26
- Publication Date
- 2026-04-24
AI Technical Summary
When switching between playback content on multiple electronic devices, existing technologies require manual operation by the user, which is time-consuming, cumbersome, and results in a poor user experience.
By configuring an NFC unit in electronic devices, wireless communication connections can be quickly established using NFC technology, automatically transmitting application interface tags to enable cross-device content continuity and simplifying the operation process.
It enables seamless switching of content across devices, improves user experience, simplifies operation processes, and reduces the complexity of device switching.
Smart Images

Figure CN120321610B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 201910918888.X and the original application date is September 26, 2019. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminals, and more particularly to a content continuation method, system, and electronic device. Background Technology
[0003] With the development of smart terminal technology, a user or household often has multiple electronic devices, and users frequently need to switch between them. For example, a user might watch a video on their phone on their way home from get off work and then want to switch to the TV to continue watching when they get home. Similarly, a user might work on a laptop at home and want to transfer files from their laptop to their phone when they leave home.
[0004] In such cross-device interaction scenarios, users typically need to manually switch playback content from one device to another. For example, if a user needs to switch webpage A, which is being viewed on their phone, to play on their laptop, they would enter the URL of webpage A into the laptop's browser, thus opening webpage A on the laptop. Clearly, this process of switching playback content between multiple devices is time-consuming, cumbersome, and results in a poor user experience. Summary of the Invention
[0005] This application provides a content continuation method, system, and electronic device, which can conveniently and quickly switch the content playing on a first electronic device to a second electronic device for continued playback, reducing the operational complexity for users when interacting across devices and improving the user experience.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] In a first aspect, this application provides a content continuation system, which may include a first electronic device and a second electronic device. The first electronic device is equipped with a first NFC unit, and the second electronic device is equipped with a second NFC unit. The second NFC unit includes device information of the second electronic device. Specifically, the NFC unit may be an NFC chip or an electronic tag.
[0008] When the first electronic device displays the first application interface of the first application, it can obtain device information of the second electronic device from the second NFC unit through the first NFC unit. Then, the first electronic device can establish a wireless communication connection with the second electronic device according to the device information. This wireless communication connection can be a Bluetooth connection or a Wi-Fi P2P connection. Subsequently, the first electronic device can send a tag of the first application interface to the second electronic device based on the wireless communication connection. This tag is used to indicate the display content in the first application interface. After receiving the tag, the second electronic device can display the second application interface of the first application corresponding to the first application interface. The first application interface and the second application interface contain the same display content.
[0009] In other words, when a user wants to switch between electronic devices to browse a certain application interface, a wireless communication connection can be quickly established through the NFC units in the two electronic devices. This allows the content tag currently displayed on the first electronic device to be sent to the second electronic device, enabling the second electronic device to continue playing the application interface on the first electronic device based on the tag. This simplifies the user's operation process when interacting with the same content across devices, and improves and enriches the user experience.
[0010] In one possible implementation, the first electronic device can specifically be used to: obtain device information of the second electronic device from the second NFC unit via the first NFC unit in response to an operation of approaching or touching the second NFC unit.
[0011] In one possible implementation, the first electronic device can be used to: send an electromagnetic wave signal through a first NFC unit, the electromagnetic wave signal being used to drive a second NFC unit to send device information of the second electronic device; and then, obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0012] In other words, users can trigger a communication connection between the first electronic device and the second electronic device by tapping them together, thereby switching the content displayed on the first electronic device to the second electronic device for continued playback.
[0013] In one possible implementation, the first electronic device is also used to: acquire a label of the first application interface.
[0014] In one possible implementation, the first electronic device is specifically used for: the tap application in the first electronic device sending a first request to the first application running in the foreground, the first request being used to request the label of the first application interface being displayed; in response to the first request, the first application obtaining the label of the first application interface.
[0015] In one possible implementation, the first electronic device is specifically used to: obtain the label of the first application interface from the application server of the first application.
[0016] For example, the first electronic device may be used to: send a second request to the application server, the second request including one or more indexes corresponding to the first application interface; the application server may also be used to: generate a label for the first application interface based on one or more indexes in the second request, and send the label for the first application interface to the first electronic device.
[0017] In one possible implementation, the first electronic device is further configured to: obtain authentication information from the application server, which is used to log in to a user's registered account in the first application; and send the authentication information to the second electronic device via the wireless communication connection. The second electronic device is further configured to: use the authentication information to log in to the first application installed on the second electronic device. Thus, after automatically logging into the first application, the second electronic device can display a second application interface corresponding to the first application interface based on the labels on the first application interface.
[0018] In one possible implementation, the first electronic device is further configured to: predict the user's browsing position in the first application interface; and send the browsing position to the second electronic device based on the aforementioned wireless communication connection; the second electronic device is specifically configured to: display the second application interface according to the tags of the first application interface and the browsing position.
[0019] In one possible implementation, the first electronic device is further configured to: send a file contained in the first application interface to the second electronic device based on the aforementioned wireless communication connection; the second electronic device is specifically configured to: display the second application interface according to the labels of the first application interface and the file received from the first electronic device.
[0020] In one possible implementation, the second electronic device is further configured to: launch the installed first application and send a label of the first application interface to the first application so that the first application displays the corresponding second application interface according to the label; or, when the first application is not installed on the second electronic device, the second electronic device is specifically configured to: open the second application interface using a browser according to the label of the first application interface.
[0021] In one possible implementation, the second electronic device is also used to: prompt the user to download and install the first application on the second electronic device when the first application is not installed on the second electronic device.
[0022] In one possible implementation, the aforementioned device information may include the identifier of the second electronic device, such as the Bluetooth MAC address of the second electronic device. In this case, the first electronic device may be used to: establish a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; or, first establish a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; then obtain connection configuration information from the second electronic device through the Bluetooth connection; and use the connection configuration information to establish a Wi-Fi P2P connection with the second electronic device.
[0023] In one possible implementation, the first electronic device is specifically used to: if the first application is a preset application, or if the first application interface is a preset application interface, then send a tag of the first application interface to the second electronic device based on a wireless communication connection.
[0024] In one possible implementation, the first electronic device is specifically configured to: send a tag of the first application interface to the second electronic device via a wireless communication connection if the dwell time when the first NFC unit and the second NFC unit are close to or in contact with each other meets a first preset condition; or; send a tag of the first application interface to the second electronic device via a wireless communication connection if the signal strength when the first NFC unit and the second NFC unit are close to or in contact with each other meets a second preset condition; or; send a tag of the first application interface to the second electronic device via a wireless communication connection if the distance between the first NFC unit and the second NFC unit meets a third preset condition.
[0025] In other words, the first electronic device can determine whether the user's current operation intention is to continue playing the content displayed on the first electronic device on the second electronic device based on the distance, signal strength, or contact time between itself and the NFC unit in the second electronic device. If the user's intention is not to continue playing the content displayed on the first electronic device on the second electronic device, the first electronic device can transfer the file contained in the first application interface to the second electronic device, realizing the "one-touch transfer" file transfer function.
[0026] In one possible implementation, the first electronic device is further configured to: display a first option and a second option, wherein the first option indicates that a tag of the first application interface is sent to the second electronic device, and the second option indicates that a file in the first application interface is sent to the second electronic device. Then, if the user selects the first option, the first electronic device can send the tag of the first application interface to the second electronic device based on the aforementioned wireless communication connection, thereby achieving a "one-touch resume" content playback function.
[0027] Secondly, this application provides a content continuation method, which can be applied to the content continuation system in the first aspect; wherein, when a first electronic device displays a first application interface of a first application, it can obtain device information of a second electronic device through its first NFC unit; the first electronic device establishes a wireless communication connection with the second electronic device according to the device information, the wireless communication connection being a Bluetooth connection or a Wi-Fi P2P connection; the first electronic device sends a tag of the first application interface to the second electronic device based on the wireless communication connection, the tag being used to indicate the displayed content in the first application interface; after receiving the tag of the first application interface, the second electronic device can display a second application interface corresponding to the first application interface according to the tag, the first application interface and the second application interface containing the same displayed content.
[0028] In one possible implementation, the first electronic device obtains device information of the second electronic device from the second NFC unit via the first NFC unit, including: in response to an operation of approaching or touching the second NFC unit in the second electronic device, the first electronic device obtains device information of the second electronic device from the second NFC unit via the first NFC unit.
[0029] In one possible implementation, the first electronic device obtains device information of the second electronic device from the first NFC unit, including: the first electronic device sending an electromagnetic wave signal through the first NFC unit, the electromagnetic wave signal being used to drive the second NFC unit to send the device information of the second electronic device; and then, the first electronic device can obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0030] In one possible implementation, the above-mentioned content continuation method further includes: the first electronic device acquiring the label of the first application interface.
[0031] For example, the first electronic device obtains the tag of the first application interface by: the tap application in the first electronic device sending a first request to the first application running in the foreground, the first request being used to request to obtain the tag of the first application interface that is being displayed; in response to the first request, the first application obtains the tag of the first application interface.
[0032] In one possible implementation, the first application obtains the label of the first application interface by: the first electronic device obtaining the label of the first application interface from the application server of the first application.
[0033] For example, the first electronic device obtains the tag of the first application interface from the application server of the first application, including: the first electronic device sending a second request to the application server, the second request including one or more indexes corresponding to the first application interface; the application server generating the tag of the first application interface according to the one or more indexes in the second request, and sending the tag of the first application interface to the first electronic device.
[0034] In one possible implementation, the above-mentioned content continuation method further includes: the first electronic device obtaining authentication information from the application server, which is used to log in to the account registered by the user in the first application; then, the first electronic device can send the authentication information to the second electronic device based on the above-mentioned wireless communication connection; after receiving the authentication information, the second electronic device can use the authentication information to log in to the first application installed on the second electronic device.
[0035] In one possible implementation, the above-mentioned content continuation method further includes: a first electronic device predicting the user's browsing position in the first application interface; and the first electronic device transmitting the browsing position to a second electronic device based on the aforementioned wireless communication connection. Thus, the second electronic device can display a second application interface based on the tags of the first application interface and the browsing position.
[0036] In one possible implementation, the above content continuation method further includes: the first electronic device sending a file contained in the first application interface to the second electronic device via a wireless communication connection. In this way, the second electronic device can display the second application interface based on the labels of the first application interface and the file received from the first electronic device.
[0037] In one possible implementation, before the second electronic device displays the second application interface according to the label of the first application interface, the method further includes: the second electronic device launching the installed first application and sending the label of the first application interface to the first application.
[0038] Alternatively, if the first application is not installed on the second electronic device, the second electronic device can open the second application interface using a browser based on the tabs on the first application interface; or, the second electronic device can prompt the user to download and install the first application on the second electronic device.
[0039] In one possible implementation, the device information may include the identifier of the second electronic device; wherein, the first electronic device establishes a wireless communication connection with the second electronic device according to the device information, including: the first electronic device establishing a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; or, the first electronic device establishing a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; then, the first electronic device obtains connection configuration information from the second electronic device through the Bluetooth connection; and uses the connection configuration information to establish a Wi-Fi P2P connection with the second electronic device.
[0040] In one possible implementation, the first electronic device sends a tag of the first application interface to the second electronic device via a wireless communication connection, including: if the first application is a preset application, or if the first application interface is a preset application interface, then the first electronic device sends the tag of the first application interface to the second electronic device via the wireless communication connection.
[0041] In one possible implementation, the first electronic device sends a tag of the first application interface to the second electronic device via a wireless communication connection, including: if the dwell time when the first NFC unit and the second NFC unit are close to or in contact with each other meets a first preset condition, then the first electronic device sends the tag of the first application interface to the second electronic device via a wireless communication connection; or; if the signal strength when the first NFC unit and the second NFC unit are close to or in contact with each other meets a second preset condition, then the first electronic device sends the tag of the first application interface to the second electronic device via a wireless communication connection; or; if the distance between the first NFC unit and the second NFC unit meets a third preset condition, then the first electronic device sends the tag of the first application interface to the second electronic device via a wireless communication connection.
[0042] In one possible implementation, before the first electronic device sends the tag of the first application interface to the second electronic device via a wireless communication connection, the method further includes: the first electronic device displaying a first option and a second option, whereby the first option indicates sending the tag of the first application interface to the second electronic device, and the second option indicates sending a file from the first application interface to the second electronic device. Then, if the user selects the first option, the first electronic device can send the tag of the first application interface to the second electronic device via the wireless communication connection.
[0043] Thirdly, this application provides a first electronic device, including a processor, and a first NFC unit, a display screen, a communication module, and a memory coupled to the processor. The first NFC unit is an NFC chip or an electronic tag. The processor is configured to: instruct the display screen to display a first application interface of a first application; the processor is further configured to: instruct the first NFC unit to acquire device information of a second electronic device; the processor is further configured to: instruct the communication module to establish a wireless communication connection with the second electronic device according to the device information, the wireless communication connection being a Bluetooth connection or a Wi-Fi P2P connection; the processor is further configured to: instruct the communication module to send a tag of the first application interface to the second electronic device based on the wireless communication connection, the tag indicating the display content in the first application interface, so that the second electronic device displays a second application interface of the first application corresponding to the first application interface according to the tag.
[0044] In one possible implementation, the first NFC unit is specifically used to: detect the operation of the first electronic device approaching or touching the second NFC unit in the second electronic device; and in response to the operation of approaching or touching the second NFC unit, read device information of the second electronic device from the second NFC unit.
[0045] In one possible implementation, the first NFC unit is specifically used to: send an electromagnetic wave signal, which drives the second NFC unit in the second electronic device to send device information of the second electronic device; and obtain the device information of the second electronic device from the second NFC unit.
[0046] In one possible implementation, the processor is further configured to: instruct the communication module to obtain the label of the first application interface from the application server of the first application.
[0047] In one possible implementation, the processor is further configured to: instruct the communication module to obtain authentication information from the application server of the first application, the authentication information being used to log in to the user's registered account in the first application; and instruct the communication module to send the authentication information to the second electronic device via a wireless communication connection.
[0048] In one possible implementation, the processor is further configured to: predict the user's browsing location in the first application interface; and instruct the communication module to send the browsing location to a second electronic device via a wireless communication connection.
[0049] In one possible implementation, the processor is further configured to: instruct the communication module to send a file contained in the first application interface to the second electronic device via a wireless communication connection.
[0050] In one possible implementation, the processor is specifically configured to: if the first application is a preset application, or if the first application interface is a preset application interface, instruct the communication module to send a tag of the first application interface to the second electronic device based on the wireless communication connection.
[0051] In one possible implementation, the processor is specifically configured to: determine whether the dwell time when the first NFC unit approaches or contacts the second NFC unit in the second electronic device meets a first preset condition; or, determine whether the signal strength when the first NFC unit approaches or contacts the second NFC unit in the second electronic device meets a second preset condition; or, determine whether the distance between the first NFC unit and the second NFC unit in the second electronic device meets a third preset condition; if at least one of the first, second, or third preset conditions is met, instruct the communication module to send a tag of the first application interface to the second electronic device based on the wireless communication connection.
[0052] In one possible implementation, the processor is further configured to: instruct the display screen to show a first option and a second option, wherein the first option is configured to instruct the sending of a label of the first application interface to the second electronic device, and the second option is configured to instruct the sending of a file in the first application interface to the second electronic device.
[0053] Fourthly, this application provides a content continuation method, comprising: when a first electronic device displays a first application interface of a first application, it can obtain device information of a second electronic device through its first NFC unit; the first electronic device establishes a wireless communication connection with the second electronic device according to the device information, the wireless communication connection being a Bluetooth connection or a Wi-Fi P2P connection; the first electronic device sends a tag of the first application interface to the second electronic device based on the wireless communication connection, the tag being used to indicate the display content in the first application interface, so that the second electronic device displays a second application interface corresponding to the first application interface according to the tag, the first application interface and the second application interface containing the same display content.
[0054] In one possible implementation, the first electronic device obtains device information of the second electronic device from the first NFC unit, including: in response to the first NFC unit approaching or touching the second NFC unit in the second electronic device, the first electronic device reads the device information of the second electronic device from the second NFC unit.
[0055] In one possible implementation, the first electronic device obtains device information of the second electronic device from the first NFC unit, including: the first electronic device sending an electromagnetic wave signal, which drives the second NFC unit in the second electronic device to send device information of the second electronic device; and the first electronic device obtaining the device information of the second electronic device from the second NFC unit.
[0056] In one possible implementation, the above-mentioned content continuation method further includes: the first electronic device obtaining the label of the first application interface from the application server of the first application.
[0057] In one possible implementation, the above-mentioned content continuation method further includes: the first electronic device obtaining authentication information from the application server of the first application, the authentication information being used to log in to the user's registered account in the first application; and then, the first electronic device sending the authentication information to the second electronic device via the wireless communication connection.
[0058] In one possible implementation, the above content continuation method further includes: the first electronic device predicting the user's browsing location in the first application interface; and then, the first electronic device sending the browsing location to the second electronic device based on the wireless communication connection.
[0059] In one possible implementation, the above content continuation method further includes: the first electronic device can send files contained in the first application interface to the second electronic device based on the wireless communication connection.
[0060] In one possible implementation, the first electronic device sends a tag of the first application interface to the second electronic device via a wireless communication connection, including: if the first application is a preset application, or if the first application interface is a preset application interface, then the first electronic device sends the tag of the first application interface to the second electronic device via the wireless communication connection.
[0061] In one possible implementation, the first electronic device sends a tag of the first application interface to the second electronic device via a wireless communication connection, including: the first electronic device determining whether the dwell time when the first NFC unit and the second NFC unit in the second electronic device are close to or in contact with each other meets a first preset condition; or, determining whether the signal strength when the first NFC unit and the second NFC unit in the second electronic device are close to or in contact with each other meets a second preset condition; or, determining whether the distance between the first NFC unit and the second NFC unit in the second electronic device meets a third preset condition; if at least one of the first preset condition, the second preset condition, or the third preset condition is met, the first electronic device sends a tag of the first application interface to the second electronic device via a wireless communication connection.
[0062] In one possible implementation, before the first electronic device sends the tag of the first application interface to the second electronic device via a wireless communication connection, the method further includes: the first electronic device displaying a first option and a second option, whereby the first option indicates sending the tag of the first application interface to the second electronic device, and the second option indicates sending a file from the first application interface to the second electronic device. Then, if the user selects the first option, the first electronic device sends the tag of the first application interface to the second electronic device via the wireless communication connection.
[0063] Fifthly, this application provides a second electronic device, including a processor, and a second NFC unit coupled to the processor, a display screen, a communication module, and a memory. The second NFC unit is an NFC chip or an electronic tag, and the second NFC unit includes device information of the second electronic device; wherein,
[0064] The communication module is used to: establish a wireless communication connection with a first electronic device, the wireless communication connection being a Bluetooth connection or a Wi-Fi P2P connection; receive a tag of a first application interface sent by the first electronic device based on the wireless communication connection, the first application interface being the interface currently displayed by the first electronic device, the tag being used to indicate the display content in the first application interface; the processor is used to: instruct the display screen to display a second application interface of the first application corresponding to the first application interface according to the tag, the first application interface and the second application interface containing the same display content.
[0065] In one possible implementation, the processor is specifically used to: instruct the communication module to establish a wireless communication connection with the first electronic device in response to the operation of the first NFC unit approaching or contacting the second NFC unit in the first electronic device.
[0066] In one possible implementation, the communication module is further configured to: receive authentication information sent by the first electronic device, the authentication information being used to log in to an account registered by a user in the first application; the processor is further configured to: use the authentication information to log in to the first application installed in the second electronic device.
[0067] In one possible implementation, the communication module is further configured to: receive the user's browsing location in the first application interface sent by the first electronic device; in this case, the processor is specifically configured to: instruct the display screen to display a second application interface corresponding to the first application interface based on the tag and the browsing location.
[0068] In one possible implementation, the communication module is further configured to: receive a file contained in a first application interface sent by a first electronic device; in this case, the processor is specifically configured to: instruct the display screen to display a second application interface corresponding to the first application interface based on the tag and the file received from the first electronic device.
[0069] In one possible implementation, the processor is further configured to: open a second application interface corresponding to the first application interface on the display screen using a browser according to the label of the first application interface; or, prompt the user on the display screen to install the first application on the second electronic device.
[0070] Sixthly, this application provides a content continuation method, comprising: a second electronic device establishing a wireless communication connection with a first electronic device, the wireless communication connection being a Bluetooth connection or a Wi-Fi P2P connection; the second electronic device receiving a tag of a first application interface sent by the first electronic device based on the wireless communication connection, the first application interface being the interface currently displayed by the first electronic device, the tag being used to indicate the displayed content in the first application interface; and then, the second electronic device displaying a second application interface corresponding to the first application interface according to the tag, the first application interface and the second application interface containing the same displayed content.
[0071] In one possible implementation, the second electronic device includes a second NFC unit, which is an NFC chip or an electronic tag; wherein, the second electronic device establishes a wireless communication connection with the first electronic device, including: in response to an operation in which the first NFC unit in the first electronic device approaches or touches the second NFC unit, the second electronic device establishes a wireless communication connection with the first electronic device.
[0072] In one possible implementation, the above-mentioned content continuation method further includes: the second electronic device receiving authentication information sent by the first electronic device, the authentication information being used to log in to the account registered by the user in the first application; and then, the second electronic device can use the authentication information to log in to the first application installed on the second electronic device.
[0073] In one possible implementation, the above content continuation method further includes: the second electronic device receiving the user's browsing location in the first application interface sent by the first electronic device; then, the second electronic device can display a second application interface corresponding to the first application interface based on the tag and the browsing location.
[0074] In one possible implementation, the above content continuation method further includes: the second electronic device receiving a file contained in the first application interface sent by the first electronic device; then, the second electronic device can display a second application interface corresponding to the first application interface based on the tag and the file received from the first electronic device.
[0075] In one possible implementation, after the second electronic device receives the tag of the first application interface sent by the first electronic device based on the wireless communication connection, the method further includes: the second electronic device using a browser to open a second application interface corresponding to the first application interface according to the tag of the first application interface; or, prompting the user to install the first application on the second electronic device.
[0076] In a seventh aspect, this application provides a computer storage medium including computer instructions that, when executed on the first electronic device, cause the first electronic device to perform the content continuation method as described in any one of the fourth aspects.
[0077] Eighthly, this application provides a computer storage medium including computer instructions that, when executed on the second electronic device, cause the second electronic device to perform the content continuation method as described in any one of the sixth aspects.
[0078] Ninthly, this application provides a computer program product that, when run on the first electronic device, causes the first electronic device to execute the content continuation method as described in any one of the fourth aspects.
[0079] In a tenth aspect, this application provides a computer program product that, when run on the second electronic device, causes the second electronic device to execute the content continuation method as described in any one of the sixth aspects.
[0080] Understandably, the content continuation method, electronic device, computer storage medium, and computer program product provided above are all used in the content continuation system provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding system provided above, and will not be repeated here. Attached Figure Description
[0081] Figure 1 This application provides an architectural diagram of a content continuation system as an embodiment of the present application.
[0082] Figure 2 A schematic diagram of a laptop computer provided for an embodiment of this application;
[0083] Figure 3 An interactive illustration of a content continuation method provided in this application embodiment. Figure 1 ;
[0084] Figure 4 A scenario illustration of a content continuation method provided in this application embodiment. Figure 1 ;
[0085] Figure 5 A schematic diagram of the structure of an electronic device provided in this application embodiment. Figure 1 ;
[0086] Figure 6 A schematic diagram of the architecture of an operating system in an electronic device provided in an embodiment of this application;
[0087] Figure 7 A scenario illustration of a content continuation method provided in this application embodiment. Figure 2 ;
[0088] Figure 8 An interactive illustration of a content continuation method provided in this application embodiment. Figure 2 ;
[0089] Figure 9 A scenario illustration of a content continuation method provided in this application embodiment. Figure 3 ;
[0090] Figure 10 A scenario illustration of a content continuation method provided in this application embodiment. Figure 4 ;
[0091] Figure 11 A scenario illustration of a content continuation method provided in this application embodiment. Figure 5 ;
[0092] Figure 12 A scenario illustration of a content continuation method provided in this application embodiment. Figure 6 ;
[0093] Figure 13 A scenario illustration of a content continuation method provided in this application embodiment. Figure 7 ;
[0094] Figure 14 A scenario illustration of a content continuation method provided in this application embodiment. Figure 8 ;
[0095] Figure 15 A schematic diagram of the structure of an electronic device provided in this application embodiment. Figure 2 ;
[0096] Figure 16 A schematic diagram of the structure of an electronic device provided in this application embodiment. Figure 3 . Detailed Implementation
[0097] The implementation of this embodiment will now be described in detail with reference to the accompanying drawings.
[0098] The content continuation method provided in this application embodiment can be applied to... Figure 1 The content shown continues from system 200. For example... Figure 1As shown, the content continuation system 200 may include a first electronic device 101 and a second electronic device 102.
[0099] The first electronic device 101 and the second electronic device 102 can specifically be mobile phones, tablets, smart TVs, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable electronic devices, in-vehicle devices, virtual reality devices, etc., and this application embodiment does not impose any limitations on them. For example, the first electronic device 101 and the second electronic device 102 can both be mobile phones, or the first electronic device 101 and the second electronic device 102 can both be laptops, or the first electronic device 101 can be a mobile phone or a tablet, and the second electronic device 102 can be a laptop or a smart TV, etc.
[0100] Taking a mobile phone as the first electronic device 101 and a laptop computer as the second electronic device 102 as examples, in some scenarios, users may need to switch the displayed content such as web pages, images, text, animations, or videos from the mobile phone to the laptop for continued playback. Of course, if the mobile phone is playing corresponding audio content while displaying the above-mentioned content, that audio content can also be switched to the laptop for continued playback. For example, if a user is playing video A on their mobile phone using a video app on their way home, they can switch video A from their mobile phone to their laptop to continue playing it after arriving home, thus achieving seamless playback of the same content across multiple electronic devices.
[0101] For example, when a user is detected to have a need to resume playback across two electronic devices, the first electronic device 101 can first establish a communication connection with the second electronic device 102, and then send relevant information about the display content (or audio content) to the second electronic device 102 through the communication connection, so that the second electronic device 102 can complete the playback task.
[0102] Taking a mobile phone as the first electronic device 101 and a laptop computer as the second electronic device 102 as an example, Figure 2As shown, an electronic tag 201 can be set on a laptop computer. This electronic tag can also be called an NFC (near field communication) tag. The electronic tag 201 typically contains a coil. Device information of the laptop, such as its Bluetooth MAC (media access control) address, can be pre-written into the coil of the electronic tag 201 at the factory. Alternatively, an NFC chip 201 can be pre-installed in the laptop, and this NFC chip can also store the laptop's device information. In the following detailed embodiments, the electronic tag 201 mentioned can be replaced by an NFC chip, which will not be described in detail below.
[0103] For example, such as Figure 3 As shown, when a user needs to switch playback from their mobile phone to their laptop, they can enable the phone's NFC function and bring the phone close to the laptop, causing the phone's NFC chip to approach or contact the electronic tag 201 on the laptop. In this way, the phone can read the laptop's device information from the electronic tag 201 by emitting a near-field signal when the two are close together. Then, the phone can establish a wireless communication connection with the laptop based on the laptop's device information. For example, this wireless communication connection can be a Bluetooth connection, a Wi-Fi connection, or a Wi-Fi P2P (peer-to-peer) connection, etc., and this embodiment does not impose any limitations on this.
[0104] Still Figure 3 As shown, after a mobile phone establishes a wireless communication connection with a laptop, the phone can obtain the tag of the currently displayed content from the application running in the foreground. This tag is used to record the user's browsing position of the currently displayed content. For example... Figure 4 As shown, taking a video A (e.g., episode 11 of "Novoland: Eagle Flag") running in the foreground on a mobile phone as an example, the phone can request the video app to query the identifier of the playback page of video A, such as the URL (uniform resource locator) of the playback page, and the playback progress of video A (e.g., playback progress is 00:05 seconds). Furthermore, as... Figure 4As shown, the mobile phone can send the playback progress and playback page identifier of video A to the laptop as tags for the currently displayed content. If the laptop also has the same video app installed, after receiving the aforementioned display content tags, the laptop can open the video app installed on the laptop. This allows the video app on the laptop to open the playback page of video A according to the aforementioned playback page identifier and continue playing video A on the laptop according to the aforementioned playback progress.
[0105] Of course, if the laptop does not have a video app installed, the laptop can also open the playback page of video A in the browser according to the instructions sent by the mobile phone, and continue playing video A on the laptop according to the playback progress of video A mentioned above.
[0106] In other words, when a user wants to switch between electronic devices to view the same content, they can trigger a quick wireless communication connection between the first and second electronic devices by touching them, and automatically switch the content being displayed on the first electronic device to the second electronic device for continued playback. This simplifies the user's operation process when interacting with the same content across devices, and improves and enriches the user experience.
[0107] Furthermore, the above embodiment illustrates the example of switching the displayed content from a mobile phone to a laptop for continued playback. It is understood that the laptop can also be used as the first electronic device 101, and the mobile phone as the second electronic device 102, and the displayed content from the laptop can be switched to the mobile phone for continued playback using the same method. This application embodiment does not impose any limitations on this. In other words, the roles of the first electronic device 101 and the second electronic device 102 in content continuation are interchangeable. The second electronic device 102 can also switch the currently displayed content to the first electronic device 101 for continued playback.
[0108] The content continuation method between the first electronic device 101 and the second electronic device 102 will be described in detail in subsequent embodiments with specific examples, so it will not be repeated here.
[0109] Taking a mobile phone as the first electronic device 101 in the aforementioned content continuation system 200 as an example, Figure 5 A schematic diagram of the mobile phone structure is shown.
[0110] The mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, etc.
[0111] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone. In other embodiments of this application, the mobile phone may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0112] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0113] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0114] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0115] The wireless communication function of a mobile phone can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0116] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0117] The mobile communication module 150 can provide solutions for wireless communication applications in mobile phones, including 2G / 3G / 4G / 5G. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0118] The wireless communication module 160 can provide solutions for wireless communication applications in mobile phones, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0119] In some embodiments, antenna 1 of the mobile phone is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the mobile phone to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).
[0120] The mobile phone implements its display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0121] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone may include one or N displays 194, where N is a positive integer greater than 1.
[0122] Mobile phones can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0123] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0124] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the mobile phone may include one or N cameras 193, where N is a positive integer greater than 1.
[0125] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when a mobile phone is selecting a frequency, the DSP performs Fourier transforms on the frequency energy.
[0126] Video codecs are used to compress or decompress digital video. A mobile phone can support one or more video codecs. This allows the phone to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0127] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the phone's storage capacity. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0128] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various mobile phone functions and data processing by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during mobile phone use (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0129] Mobile phones can perform audio functions, such as music playback and recording, through components like the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0130] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0131] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. Mobile phones can use the speaker 170A to listen to music or make hands-free calls.
[0132] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When answering a phone call or voice message, the receiver 170B can be brought close to the user's ear to hear the voice.
[0133] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. A mobile phone can have at least one microphone 170C. In some embodiments, a mobile phone can have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, a mobile phone can have three, four, or more microphones 170C, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions.
[0134] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0135] The sensor module 180 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0136] Of course, the mobile phone may also include a charging management module 140, a power management module 141, a battery 142, a button 190, an indicator 192, and one or more SIM card interfaces, etc. This application embodiment does not impose any restrictions on this.
[0137] The software system of the aforementioned mobile phone can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of the mobile phone.
[0138] Figure 6 (a) is a software structure block diagram of an electronic device 100 according to an embodiment of this application.
[0139] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0140] The application layer can include a series of application packages.
[0141] like Figure 6 As shown in (a), apps such as call, memo, browser, contacts, camera, gallery, calendar, map, Bluetooth, music, video, and SMS can be installed in the application layer.
[0142] In the embodiments of this application, it is still as follows Figure 6 As shown in (a), the application layer may also include a tap-to-connect application. This tap-to-connect application can be used to establish a wireless communication connection with another electronic device by invoking NFC services or similar services in the application framework layer when the user triggers the phone's tap-to-connect function. Furthermore, this tap-to-connect application can obtain the tag of the currently displayed content from the foreground application running in the application layer, so that the phone can send the tag of the currently displayed content to the other electronic device to resume playback.
[0143] In other words, the tap app can act as a bridge to interact with various services that create wireless communication connections, and interact with applications in the application layer that need to be connected. This allows the phone to switch the displayed content that needs to be connected in the application to other electronic devices for playback by tapping, thus providing users with a "tap to continue" cross-device playback function.
[0144] For example, the tap app can run as a persistent process in the phone's application layer after the phone is powered on.
[0145] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0146] like Figure 6 As shown in (a), the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0147] In the embodiments of this application, it is still as follows Figure 6As shown in (a), the application framework layer can also run NFC service, Bluetooth service, and Wi-Fi service, etc.
[0148] For example, after enabling NFC on a mobile phone, the NFC service can begin running in the application framework layer. When the phone approaches or touches the electronic tag of another electronic device (such as a laptop), the NFC service can call the NFC driver in the kernel layer to read device information from the electronic tag, such as the laptop's MAC address. The NFC service can then report the obtained MAC address to the tap-to-connect application. The tap-to-connect application can then use this MAC address to call the Bluetooth service and establish a Bluetooth connection with the corresponding laptop via the Bluetooth driver.
[0149] Of course, the phone can also obtain authentication information from the electronic tag for identity verification, such as the key, token, or device serial number used by the laptop. In this way, while establishing a Bluetooth connection with the laptop, the phone can also use this authentication information to complete identity verification with the laptop, ensuring the security of the Bluetooth connection.
[0150] In some embodiments, after a mobile phone establishes a Bluetooth connection with a laptop, the phone can also use this Bluetooth connection to obtain connection configuration information such as the SSID (Service Set Identifier) and password required to establish a P2P connection with the laptop. Then, the "Tap to Connect" app can invoke the Wi-Fi service and use the aforementioned SSID and password to establish a Wi-Fi P2P connection with the laptop via the Wi-Fi driver. Because Wi-Fi P2P connections offer high transmission speed and security, the mobile phone and laptop can subsequently perform data transmission based on the established Wi-Fi P2P connection.
[0151] Of course, after establishing a Bluetooth connection with the laptop, the mobile phone can also use the Bluetooth connection to transfer data with the laptop. In this case, the mobile phone does not need to obtain the laptop's SSID and password, nor does it need to call the Wi-Fi service to establish a Wi-Fi P2P connection with the laptop.
[0152] In this embodiment of the application, when the tap-to-click application detects a touch between the electronic tag on the mobile phone and the laptop, the tap-to-click application can also request the tag of the currently displayed content from the application running in the foreground. For example... Figure 7As shown, when a mobile phone touches the laptop's electronic tag, it is using the WPS application to browse a Word document. At this time, the phone is displaying page 2 of the Word document. After detecting the phone touching the laptop's electronic tag, the "Tap to Connect" application on the phone can request the WPS application to generate a tag for the currently displayed content, thus recording the user's current browsing position on the phone. For example, the WPS application can record the current Word document's name as "Meeting Minutes of August 8, 2018" and its current display position as page 2. Then, the WPS application can send the Word document's name and display position as a tag for the currently displayed content to the "Tap to Connect" application. The "Tap to Connect" application can then send this tag to the laptop via an established Bluetooth or Wi-Fi P2P connection.
[0153] Similar to the system architecture of mobile phones, such as Figure 6 As shown in (b), the Tap to Tap service can also be set up in the laptop's applications. For example, the Tap to Tap service can be set up in the laptop's phone manager application. Wi-Fi and Bluetooth drivers can be installed in the laptop's kernel layer. After the laptop receives a tag of the currently displayed content from the phone via the Wi-Fi or Bluetooth driver, it can pass the tag of the currently displayed content to the WPS application on the laptop via the Tap to Tap service. Furthermore, as... Figure 7 As shown, the WPS application on the laptop can find the Word document named "Meeting Minutes of August 8, 2018" saved on the laptop based on the currently displayed content's tags, open and display the second page of the Word document, achieving seamless continuation of the Word document between the mobile phone and the laptop.
[0154] In some embodiments, in addition to sending the tabs of the currently displayed content to the laptop, the mobile phone can also send the currently playing Word document to the laptop. Thus, when the laptop does not have a Word document named "Meeting Minutes of August 8, 2018" saved on it, the laptop can receive the Word document from the mobile phone, open the second page of the Word document according to the tabs of the currently displayed content, and achieve seamless continuation of the Word document between the mobile phone and the laptop.
[0155] As can be seen, devices can easily and quickly establish a connection by tapping each other, and automatically complete the task of continuing the same content, reducing the complexity of operation for users when interacting across devices and improving the user experience.
[0156] In addition, the window manager mentioned above is used to manage window programs. The window manager can obtain the screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0157] The aforementioned content provider is used to store and retrieve data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0158] The aforementioned view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0159] The aforementioned telephone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and hang-up).
[0160] The aforementioned resource manager provides applications with various resources, such as localized strings, icons, images, layout files, video files, and so on.
[0161] The notification manager described above allows applications to display notifications in the status bar. These notifications can be used to convey informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the system's top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0162] like Figure 6 As shown in (a), a system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0163] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Library supports playback and recording of various common audio and video formats, as well as still image files. The Media Library supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. The 3D Graphics Processing Library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D Graphics Engine is the drawing engine for 2D graphics.
[0164] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0165] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0166] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and 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.
[0167] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, audio drivers, sensor drivers, etc., but this application embodiment does not impose any limitations on this.
[0168] The following will describe in detail, with reference to the accompanying drawings, a content continuation method provided by an embodiment of this application.
[0169] like Figure 8 As shown, taking the example of a user switching the displayed content on a mobile phone (i.e., the first electronic device) to a laptop computer (i.e., the second electronic device) for continued playback, the content continuation method provided in this application embodiment may include the following steps:
[0170] S801, the phone displays the application interface of the first application.
[0171] For example, taking the Weibo app as the primary application, such as... Figure 9 As shown, after a user opens the Weibo app, the phone displays the app's application interface 901. This means the content displayed on the phone is the text, images, audio, etc., shown in application interface 901. For example, application interface 901 might be the Weibo homepage of user "Zhang San" within the Weibo app, where the user is browsing multiple Weibo posts.
[0172] In addition, after a user opens the Weibo app, the phone can start running the Weibo app process. At this time, the Weibo app process can register a listening service with the tap-to-feed app on the phone. Subsequently, when the tap-to-feed app detects the user's tap input, it can trigger the tap-to-feed app to request the Weibo app to obtain the tag of the currently displayed content, so as to realize the continuation function of the displayed content (i.e., the application interface 901 mentioned above).
[0173] S802, In response to the user's tap-to-click operation, the mobile phone obtains the device information of the laptop.
[0174] When a user is browsing the application interface 901, if they need to switch the currently viewed content (i.e., application interface 901) to another electronic device (such as a laptop) to continue playback, such as... Figure 10 As shown, the user can use their mobile phone to touch the electronic tag 201 set on the laptop. When the mobile phone is close to or touches the electronic tag 201, that is, after the mobile phone and the electronic tag 201 are tapped, the mobile phone can use its NFC function to read the device information of the laptop recorded in the electronic tag 201.
[0175] To facilitate understanding by those skilled in the art, the working principle of the above-described electronic tag 201 is described herein in this application embodiment.
[0176] For example, the electronic tag 201 may include three implementations: passive tag, semi-active tag, and active tag.
[0177] (1) Passive Tag: When the electronic tag 201 is a passive tag, it has no internal power supply. When the electronic tag 201 is close to the NFC chip of another device, it can receive electromagnetic wave signals sent by the NFC chip of that other device. At this time, the internal integrated circuit (IC) of the electronic tag 201 is driven by the received electromagnetic wave signals. When the electronic tag 201 receives an electromagnetic wave signal of sufficient strength, it can send the data stored in the electronic tag 201, such as the device information of the laptop mentioned above, to the NFC chip of the other device.
[0178] (2) Semi-active tag: The operation of a semi-active tag is similar to that of a passive tag. When the electronic tag 201 is a semi-active tag, it includes a small battery. The power of this small battery is sufficient to drive the internal IC of the electronic tag 201, making the IC active. Because the semi-active tag includes the aforementioned small battery, it has a faster response speed compared to a passive tag.
[0179] (3) Active Tag: When the electronic tag 201 is an active tag, it includes an internal power supply to provide the power required by the internal IC to generate external signals. Generally, active tags allow NFC communication over longer distances and have a larger storage space, which can be used to store data transmitted from the NFC chips of other devices.
[0180] In this embodiment, the electronic tag 201 can be any of the passive tag, semi-active tag, or active tag described above. In practical applications, considering the advantages of passive tags—low cost, small size, and no power requirement—the electronic tag 201 in the laptop can be set as a passive tag.
[0181] Alternatively, after the mobile phone detects a touch operation on the electronic tag 201, if the mobile phone has not yet enabled its NFC function, the mobile phone can respond to the touch operation by automatically opening the NFC function to read the device information in the electronic tag 201. Or, the mobile phone can prompt the user to manually open the NFC function, thereby using the mobile phone's NFC function to read the device information in the electronic tag 201.
[0182] For example, the device information mentioned above may include the laptop's identifier, such as the laptop's Bluetooth MAC address, laptop name, and the channel used. Additionally, the device information may also include authentication information used for identity verification when the mobile phone and laptop establish a wireless communication connection. For example, this authentication information may be a token used by the laptop, a pre-shared key (PSK), or a device serial number, etc., and this application embodiment does not impose any limitations on this.
[0183] Step S802 illustrates the example of a user triggering a mobile phone to obtain the laptop's device information via NFC through a tap operation. It is understood that those skilled in the art can devise other methods to obtain the laptop's device information based on practical experience or application scenarios. For example, the laptop's device information can be pre-written into a QR code or barcode, so that the user can obtain the laptop's device information by scanning the QR code or barcode with their mobile phone. Alternatively, after the laptop detects a user tapping the aforementioned electronic tag 201, it can trigger the laptop to display a QR code or barcode containing device information on its screen. Then, the user can obtain the laptop's device information by scanning the QR code or barcode with their mobile phone.
[0184] S803. The mobile phone establishes a wireless communication connection with the laptop based on the above device information.
[0185] After obtaining the device information of the laptop, the mobile phone can establish a wireless communication connection with the laptop based on the device information, such as a Bluetooth connection or a Wi-Fi P2P connection, so that the mobile phone can switch the currently playing application interface 901 to the laptop to continue playing based on the wireless communication connection.
[0186] For example, the mobile phone can establish an ACL (asynchronous connectionless) connection with the laptop according to the laptop's identifier (e.g., Bluetooth MAC address) in the BR / EDR (base rate and enhanced rate) working mode of the Bluetooth protocol, thereby establishing a Bluetooth channel, such as a Bluetooth socket channel, between the mobile phone and the laptop.
[0187] Alternatively, the phone can establish a BLE connection with the laptop using the BLE (Bluetooth Low Energy) operating mode in the Bluetooth protocol, based on the laptop's identifier (such as the Bluetooth MAC address), thereby establishing a Bluetooth channel between the phone and the laptop.
[0188] After establishing a Bluetooth channel between the mobile phone and the laptop, to ensure the security of subsequent Bluetooth transmissions, the mobile phone can also authenticate its identity with the laptop based on the authentication information carried in the aforementioned device information. For example, the mobile phone can send a token obtained from the electronic tag 201 to the laptop. Once the laptop confirms that the token is correct, the laptop's authentication of the mobile phone is successful. Alternatively, the mobile phone can generate a public key for the laptop, such as an RSA256 public key, based on authentication information such as the device serial number obtained from the electronic tag 201. The mobile phone can then send this public key to the laptop. Once the laptop confirms that the public key is its own correct public key, the laptop's authentication of the mobile phone is successful.
[0189] Subsequently, the mobile phone and laptop can use an authentication-enabled encryption algorithm (or decryption algorithm) to transmit data over the established Bluetooth channel, thereby switching the application interface 901 playing on the mobile phone to the laptop for continued playback.
[0190] In some embodiments, after a mobile phone and a laptop establish a Bluetooth channel, the mobile phone can also obtain connection configuration information required to establish a Wi-Fi P2P channel with the laptop based on this Bluetooth channel. For example, this connection configuration information may include the SSID, password, MAC address, and supported frequency bands of the Wi-Fi P2P channel. After obtaining this connection configuration information, the mobile phone can use it to establish a Wi-Fi P2P channel with the laptop. Establishing a Wi-Fi P2P channel between the mobile phone and the laptop will not affect the Wi-Fi network that the mobile phone and laptop were originally connected to.
[0191] Because of the higher security and transmission speed of the Wi-Fi P2P channel, the mobile phone and the laptop can subsequently transfer data on the established Wi-Fi P2P channel, thereby switching the application interface 901 that is playing on the mobile phone to the laptop for continued playback.
[0192] In some embodiments, since the connection configuration information such as the SSID or password of the Wi-Fi P2P channel can change dynamically, after the mobile phone and laptop establish a Bluetooth channel, the laptop can automatically generate a QR code based on the connection configuration information such as the SSID and password used by the current Wi-Fi P2P channel, and display the QR code on the laptop screen. In this way, the user can scan the QR code with their mobile phone to obtain the connection configuration information required to establish a Wi-Fi P2P channel with the laptop. Furthermore, the mobile phone can use the connection configuration information to establish a Wi-Fi P2P channel with the laptop.
[0193] In other embodiments, the information in the electronic tag 201 on the laptop can be dynamically changed. For example, the processor in the laptop can be electrically connected to the electronic tag 201. The processor can then dynamically update the connection configuration information used by the current Wi-Fi P2P channel, such as the SSID, MAC address, and password, in the electronic tag 201. Thus, when a user touches the electronic tag 201 with their mobile phone, the phone can read the connection configuration information required to establish a Wi-Fi P2P channel with the laptop from the electronic tag 201. Furthermore, the phone can use this connection configuration information to directly establish a Wi-Fi P2P channel with the laptop, without needing to establish a separate Bluetooth channel.
[0194] In other embodiments, an NFC chip may also be included in the laptop computer, and this NFC chip may store device information of the laptop computer. For example, the processor in the laptop computer may be electrically connected to the NFC chip. For example, such as... Figure 11 As shown in (a), a touch area 1101 corresponding to the NFC chip can be pre-marked on the laptop's casing. When an NFC-enabled device such as a mobile phone approaches the touch area 1101, it can effectively detect the NFC signal emitted by the NFC chip in the laptop. The touch area 1101 can be marked on the laptop's casing using text, images, or colors. Thus, when a user touches the laptop's touch area 1101 with their mobile phone, the phone can read the laptop's device information from the laptop's NFC chip and establish a wireless communication connection with the laptop.
[0195] Alternatively, the laptop's processor can dynamically update the connection configuration information, such as the SSID, MAC address, and password used for the current Wi-Fi P2P channel, in the laptop's NFC chip. In this way, when a user touches the aforementioned touch area 1101 with their mobile phone, the phone can read the connection configuration information required to establish a Wi-Fi P2P channel with the laptop from the NFC chip. Furthermore, the phone can use this connection configuration information to directly establish a Wi-Fi P2P channel with the laptop, without needing to establish a separate wireless communication connection with the laptop.
[0196] Or, as Figure 11 As shown in (b), the laptop is equipped with an NFC chip. When the laptop detects that a user has activated the NFC function for the first time, the laptop can display a tutorial on the tap-to-talk operation through text, video, or animation, thus indicating to the user the specific location of the touch area corresponding to the NFC chip on the laptop. The user can then use their mobile phone to tap the laptop's touch area according to the prompts, thereby reading the device information (or connection configuration information) stored in the laptop's NFC chip. This allows the mobile phone to establish a Bluetooth channel (or Wi-Fi P2P channel) with the laptop based on the aforementioned device information (or connection configuration information). Of course, the user can also access the tap-to-talk operation tutorial through the laptop's settings or related applications; this embodiment does not impose any limitations on this.
[0197] In addition, after establishing a Bluetooth or Wi-Fi P2P channel with the laptop, the phone can further obtain the laptop's IP address. This allows the phone to subsequently establish a TCP connection based on the TCP (transmission control protocol) / IP protocol over the Bluetooth or Wi-Fi P2P channel, and then use this TCP connection to interact with the laptop.
[0198] S804, the mobile phone obtains the tags of the above application interface.
[0199] After the mobile phone detects the user's tap input operation, it can establish a wireless communication connection between the mobile phone and the laptop computer by executing the above steps S802-S803. On the other hand, the mobile phone can execute step S804 to obtain the label of the currently displayed content (i.e. the current application interface). The label of the displayed content can be used to indicate the user's browsing position on the current application interface.
[0200] For example, after the mobile phone detects a tap-to-play operation on the electronic tag 201, it can query the currently running foreground applications. Generally, the mobile phone can record the currently running apps or tasks in real time. For example, when the mobile phone is running an application, it can build a corresponding application stack. Usually, the content at the top of the application stack is the content currently running and displayed on the mobile phone. So, after the mobile phone detects a tap-to-play operation on the electronic tag 201, the tap-to-play application can query the application interface 901 of the Weibo APP currently running on the mobile phone at the top of the application stack. If the Weibo APP has already registered a listening service in the tap-to-play application, it means that the Weibo APP supports the "tap to continue" cross-device playback function. In this case, the tap-to-play application can send a request message to the Weibo APP. This request message is used to request the Weibo APP to obtain the tag of the currently displayed content (i.e., application interface 901).
[0201] After receiving a request message from the Tap to Connect app, the Weibo app can generate a tag corresponding to the currently displayed application interface 901, thereby recording the user's specific browsing content and location within the Weibo app. For example, such as... Figure 12 As shown, each piece of content in the Weibo app's application interface 901 displayed on the phone has a corresponding index. For example, the index corresponding to "Zhang San's" Weibo homepage is 001, the index corresponding to the first Weibo post displayed on "Zhang San's" homepage is 002, the index corresponding to the second Weibo post displayed on "Zhang San's" homepage is 003, and so on. Therefore, the Weibo app can send the index of each piece of content in application interface 901 to its application server in a certain order. The application server can generate tags for application interface 901 according to these indexes in a specific format. These tags can be used to indicate the specific content currently being displayed by the Weibo app. The application server can then send the generated tags for application interface 901 to the Weibo app on the phone. Furthermore, the Weibo app can pass the tags for application interface 901 to the "Tap to Connect" application by calling a preset callback function.
[0202] Alternatively, when the Weibo app displays application interface 901, the application server can record one or more indices corresponding to application interface 901. For example, when the Weibo app needs to display application interface 901, it can send a corresponding display request to the application server. The application server can respond to the display request, determine and save the indices corresponding to application interface 901: 001, 002, and 003. Then, the application server can send the display data corresponding to each index to the mobile phone, allowing the mobile phone to display application interface 901 according to the displayed data. However, at this time, the mobile phone does not save the various indices in application interface 901. Then, after receiving the request message from the "Tap to Connect" application, the Weibo app can request the application server to generate tags for application interface 901. Then, the application server can generate tags for application interface 901 based on the saved indices in application interface 901 and send the tags of application interface 901 to the Weibo app on the mobile phone. In this way, the Weibo app can also pass the tags of application interface 901 to the "Tap to Connect" application by calling a preset callback function.
[0203] Additionally, the application server can send authentication information to the mobile phone for logging into the Weibo app. For example, this authentication information could be a security token generated by the application server. Alternatively, it could be the user's currently logged-in Weibo account and password. Subsequently, the mobile phone can send the label of application interface 901 and the aforementioned authentication information to the laptop, allowing the laptop to automatically log into the user's Weibo account and display application interface 901 based on the authentication information.
[0204] In some embodiments, the foreground application running on the phone can also respond to the request message sent by the tap application to generate a tag for the currently displayed content without interacting with the application server. For example, taking the WPS application running on the phone as an example, after receiving the request message sent by the tap application, the WPS application can respond to the request message to query the name of the currently opened Word document and the display position of the Word document, and pass the name and display position of the Word document as a tag for the currently displayed content to the tap application.
[0205] It should be noted that each application vendor can customize how to respond to the request message sent by the tap application to generate the tag for the currently displayed content, and this application embodiment does not impose any restrictions on this. For example, after receiving the request message sent by the tap application, different applications can interact with the application server in a way predefined by their respective application vendors and generate the tag for the currently displayed content according to a predefined format. Since the tag for the displayed content can reflect the specific content being played when the mobile phone is running the application, the laptop can subsequently obtain the tag and continue playing the application interface indicated by the tag in the corresponding application or website.
[0206] S805. The mobile phone sends the label of the application interface to the laptop computer based on the above wireless communication connection.
[0207] After the mobile phone obtains the tag of the current application interface, it can send the tag of the application interface to the laptop computer through the wireless communication connection established with the laptop computer in step S804, thereby continuing to play the content displayed on the mobile phone.
[0208] Taking the Weibo app application interface 901 running on the mobile phone as an example, after the Tap app receives the tag of the application interface 901 sent by the Weibo app, it can call the Bluetooth service or Wi-Fi service to send the tag of the application interface 901 to the laptop computer using the established Bluetooth channel or Wi-Fi P2P channel.
[0209] In some embodiments, in addition to sending the application interface 901 label to the laptop, the mobile phone can also send the authentication information sent by the Weibo APP's application server to the laptop so that the laptop can automatically log in to the user's Weibo account according to the authentication information.
[0210] In some embodiments, in addition to sending the tag of the application interface 901 to the laptop, the mobile phone can also send files such as pictures, videos, audio, or documents contained in the application interface 901 to the laptop. In this way, when the laptop continues to play the application interface 901, it does not need to download the resources such as pictures, videos, audio, or documents contained in the application interface 901 separately.
[0211] S806 The laptop continues to display the application interface of the first application according to the labels of the above application interface.
[0212] Continuing with the example of the Weibo app's interface 901 on a mobile phone, after the laptop receives the tag of interface 901 from the phone, it can use the laptop's tap-to-connect service to pass the tag of interface 901 to the Weibo app installed on the laptop. Furthermore, the laptop can also pass the authentication information sent by the phone to the Weibo app installed on the laptop. Figure 13 As shown, the Weibo app on the laptop can automatically log in to the user's Weibo account based on the authentication information. Furthermore, the Weibo app on the laptop can interact with the Weibo app's application server based on the tags on application interface 901, retrieving the display content corresponding to those tags. Thus, the Weibo app on the laptop can display application interface 1301 corresponding to application interface 901 based on the display content sent by the application server. The application interface 1301 displayed on the laptop and the application interface 901 displayed on the mobile phone contain the same display content, enabling cross-device playback of the same content on both the mobile phone and the laptop.
[0213] Of course, if the laptop does not have the Weibo app installed, it can still open and log in to the user's Weibo account using a browser, and reopen the corresponding application interface according to the labels on application interface 901, thus enabling cross-device continuation of the same displayed content on both the phone and the laptop. Alternatively, if the laptop does not have the Weibo app installed, it can prompt the user to install it. For example, the laptop can automatically redirect to the Weibo app download page in the app store. If the laptop detects that the user has downloaded the Weibo app, the Weibo app on the laptop can automatically log in to the user's Weibo account using the above method and display the corresponding application interface 1301 according to the labels on application interface 901.
[0214] It should be noted that, as Figure 13 As shown, the display layout and display effect of the Weibo APP application interface 901 displayed on the mobile phone and the Weibo APP application interface 1301 displayed on the laptop may be different, and this application embodiment does not impose any restrictions on this.
[0215] In some embodiments, the tags of the currently displayed content obtained by the application (such as the Weibo APP mentioned above) may be incomplete. For example, the tags of the application interface 901 may only record that the current page displayed by the Weibo APP is "Zhang San's" Weibo homepage. In this case, the mobile phone or laptop cannot accurately determine the specific location of the user browsing "Zhang San's" Weibo homepage based on this tag. Therefore, the mobile phone can also record the user's specific operations on the application interface 901, such as the user's swiping operations on the application interface 901. Furthermore, the mobile phone can predict the user's browsing position on the application interface 901 based on the user's specific operations on the application interface 901. For example, the mobile phone can predict that the user is browsing the 5th Weibo post on the current Weibo homepage based on the number of swiping operations or the swiping distance entered by the user on the application interface 901. Then, when the mobile phone sends the tags of the application interface 901 to the laptop, it can also send the user's predicted current browsing position. In this way, the laptop can also combine the browsing position predicted by the mobile phone to continuously display the application interface corresponding to the application interface 901 for the user. Taking the example where the mobile phone predicts the browsing location to be the 5th Weibo post on the homepage, the laptop can open the Weibo homepage of "Zhang San" according to the tab of application interface 901 and display the application interface containing the 5th Weibo post. For example, the laptop can display the content of the 4th to 6th Weibo posts on "Zhang San's" Weibo homepage.
[0216] Furthermore, due to the differences in display capabilities between mobile phones and laptops, when predicting a user's browsing position, the mobile phone can also determine the corresponding browsing position on the laptop based on differences in display aspects such as resolution, font size, or line spacing. For example, since a laptop can display more lines per page, if the third page a user is browsing on the mobile phone corresponds to the second page on the laptop, the mobile phone can determine the user's current browsing position as page 2. Subsequently, when the laptop receives this browsing position, it can use this information to more accurately resume playback of the current content from the same position for the user.
[0217] In some embodiments of this application, in addition to triggering the mobile phone to switch the currently displayed content to the laptop for continued playback by tapping, the user can also trigger the mobile phone to transfer the currently displayed file to the laptop by tapping, thus providing the user with a "one-tap transfer" cross-device transfer function.
[0218] For example, similar to steps S801-S806 above, when the mobile phone is displaying a local file (such as a photo, video, or document), if the user needs to transfer the file to the laptop, the user can touch the electronic tag on the laptop with the mobile phone to obtain the laptop's device information. Then, the mobile phone can automatically establish a wireless communication connection with the laptop based on this device information and automatically transfer the currently displayed file to the laptop through this wireless communication connection.
[0219] As can be seen, similar to the "one-touch resume" cross-device playback function provided in steps S801-S806 above, before resuming the display of content or transferring files, the user needs to trigger the establishment of a wireless communication connection between the mobile phone and the laptop by tapping the device.
[0220] Therefore, in some embodiments, when it is detected that a user touches an electronic tag set on the laptop with their mobile phone, or when a wireless communication connection is established between the mobile phone and the laptop, such as... Figure 14 As shown in (a), the mobile phone can provide the user with the "One-Touch Resume" option 1201 and the "One-Touch Transfer" option 1202. Alternatively, as... Figure 14 As shown in (b), the laptop can also provide the user with the "One-Touch Resume" option 1301 and the "One-Touch Transfer" option 1302. If the user selects option 1201 (or 1301), it means the user wants to continue playing the content displayed on the mobile phone on the laptop, and the mobile phone can continue to switch the current display content to the laptop for playback according to the above steps S802-S806. If the user selects option 1202 (or 1302), it means the user wants to transfer the file currently displayed on the mobile phone to the laptop, and the mobile phone can automatically transfer the currently displayed file to the laptop.
[0221] In other embodiments, the mobile phone can also determine whether to continue playing the currently displayed content on the laptop or transfer the currently displayed file to the laptop based on the distance between the mobile phone and the electronic tag. For example, NFC communication mode can support data interaction within 10cm. If the distance between the mobile phone and the electronic tag is detected to be less than a preset value (e.g., less than 2cm), it means that the user wants to continue playing the displayed content on the mobile phone on the laptop, and the mobile phone can continue to switch the currently displayed content to the laptop for playback according to the above steps S802-S806. If the distance between the mobile phone and the electronic tag is detected to be greater than a preset value, it means that the user wants to transfer the file currently displayed on the mobile phone to the laptop, and the mobile phone can automatically transfer the currently displayed file to the laptop.
[0222] In other embodiments, the mobile phone can also determine whether to continue playing the currently displayed content on the laptop or transfer the currently displayed file to the laptop based on the NFC signal strength between the mobile phone and the electronic tag. For example, if the NFC signal strength between the mobile phone and the electronic tag is detected to be greater than a preset threshold, it means that the user wants to continue playing the content displayed on the mobile phone on the laptop, and the mobile phone can continue to switch the current display content to the laptop for continued playback according to the above steps S802-S806. If the NFC signal strength between the mobile phone and the electronic tag is detected to be less than a preset threshold, it means that the user wants to transfer the file currently displayed on the mobile phone to the laptop, and the mobile phone can automatically transfer the currently displayed file to the laptop.
[0223] In other embodiments, the mobile phone can also determine whether to continue playing the currently displayed content on the laptop or transfer the currently displayed file to the laptop based on the length of time the phone touches the electronic tag. For example, if the detected contact time between the phone and the electronic tag is greater than a preset value, it indicates that the user wants to continue playing the content displayed on the phone on the laptop, and the phone can continue to switch the current display content to the laptop for continued playback according to the above steps S802-S806. If the detected contact time between the phone and the electronic tag is less than a preset value, it indicates that the user wants to transfer the file currently displayed on the phone to the laptop, and the phone can automatically transfer the currently displayed file to the laptop.
[0224] In other embodiments, the mobile phone can also be pre-configured with application scenarios supporting the "one-touch resume" function and the "one-touch transfer" function. For example, when the phone detects that a user has touched an electronic tag on a laptop, the phone can obtain the identifier of the application running in the foreground (e.g., package name) or the identifier of the application interface running in the foreground (e.g., activity name). If the application (or application interface) running in the foreground is a pre-configured application (or application interface) that supports the "one-touch transfer" function, the phone can automatically transfer the currently displayed file to the laptop. If the application (or application interface) running in the foreground is a pre-configured application (or application interface) that supports the "one-touch resume" function, the phone can switch the currently displayed content to the laptop for continued playback according to the steps S802-S806 described above.
[0225] Alternatively, when the phone detects that a user has touched an electronic tag on the laptop, the phone can also identify whether the current application interface contains local photos, videos, audio files, or documents. If one or more local files are present, the phone can automatically transfer the currently displayed file to the laptop, completing the "one-touch transfer" function; if no local files are present, the phone can automatically switch the currently displayed content to the laptop to continue playback, completing the "one-touch resume" function. This application embodiment does not impose any limitations on this.
[0226] It should be noted that the above embodiments use a mobile phone as the first electronic device and a laptop computer as the second electronic device, illustrating the application scenario of switching the content displayed on the mobile phone to the laptop computer for continued playback. It is understood that when a user wants to switch the content being played on any electronic device to another electronic device, they can trigger a rapid wireless communication connection between the first and second electronic devices by touching them, automatically switching the content displayed on the first electronic device to the second electronic device for continued playback. This simplifies the user's operation process when continuing the same content across devices, improving and enriching the user experience.
[0227] like Figure 15 As shown, this application discloses a first electronic device, such as the mobile phone described above. The first electronic device may specifically include: a touchscreen 1501, which includes a touch-sensitive surface 1506 and a display screen 1507; one or more processors 1502; a memory 1503; a communication module 1508; a first NFC unit 1509, which may be an NFC chip or an electronic tag; one or more application programs (not shown); and one or more computer programs 1504. All of the above devices can be connected via one or more communication buses 1505. The one or more computer programs 1504 are stored in the memory 1503 and configured to be executed by the one or more processors 1502. The one or more computer programs 1504 include instructions that can be used to perform the various steps in the above embodiments.
[0228] like Figure 16As shown, this application discloses a second electronic device, such as the laptop computer described above. The second electronic device specifically includes: a display screen 1601; one or more processors 1602; a memory 1603; a second NFC unit 1606, which may be an NFC chip or an electronic tag, and stores device information of the second electronic device; a communication module 1607; one or more application programs (not shown); and one or more computer programs 1604. All of the above devices can be connected via one or more communication buses 1605. The one or more computer programs 1604 are stored in the memory 1603 and configured to be executed by the one or more processors 1602. The one or more computer programs 1604 include instructions that can be used to perform the various steps in the above embodiments.
[0229] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0230] In the embodiments of this application, the functional units can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0231] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.
[0232] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of this application should be covered within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
Claims
1. A content continuation system, characterized in that, The system includes a first electronic device and a second electronic device. The first electronic device is equipped with a first near-field communication (NFC) unit, and the second electronic device is equipped with a second NFC unit. The second NFC unit includes device information of the second electronic device, and the NFC unit is an NFC chip or an electronic tag. When the first electronic device displays the first application interface of the first application, the first electronic device obtains the device information of the second electronic device from the second NFC unit through the first NFC unit, wherein the first application registers a listening service with the tap-to-pay application in the first electronic device; The first electronic device establishes a wireless communication connection with the second electronic device according to the device information, wherein the wireless communication connection is a Bluetooth connection or a Wi-Fi peer-to-peer (P2P) connection. The first electronic device acquires the tags of the first application interface; The first electronic device sends a tag of the first application interface to the second electronic device based on the wireless communication connection, the tag being used to indicate the displayed content in the first application interface; The second electronic device displays a second application interface of the first application corresponding to the first application interface according to the label, and the first application interface and the second application interface contain the same display content; The first electronic device acquires the tags of the first application interface including: The tap-to-tap application in the first electronic device sends a first request to the first application running in the foreground, the first request being used to request the label of the first application interface that is being displayed; In response to the first request, the first application obtains the tags of the first application interface; The tap-to-tap application in the first electronic device receives a tag sent by the first application interface.
2. The content continuation system according to claim 1, characterized in that, The first electronic device is specifically used to: in response to an operation of approaching or touching the second NFC unit, obtain device information of the second electronic device from the second NFC unit through the first NFC unit.
3. The content continuation system according to claim 1, characterized in that, The first electronic device is specifically used for: sending an electromagnetic wave signal through the first NFC unit, the electromagnetic wave signal being used to drive the second NFC unit to send device information of the second electronic device; and obtaining device information of the second electronic device from the second NFC unit through the first NFC unit.
4. The content continuation system according to claim 3, characterized in that, The first electronic device is specifically used to: obtain the tags of the first application interface from the application server of the first application.
5. The content continuation system according to claim 4, characterized in that, The first electronic device is further configured to: obtain authentication information from the application server, the authentication information being used to log in to the user's registered account in the first application; and send the authentication information to the second electronic device via the wireless communication connection. The second electronic device is also used to: log in to a first application installed on the second electronic device using the authentication information.
6. The content continuation system according to claim 1, characterized in that, The first electronic device is further configured to: predict the user's browsing location in the first application interface; and send the browsing location to the second electronic device based on the wireless communication connection; The second electronic device is specifically used to: display the second application interface according to the label of the first application interface and the browsing position.
7. The content continuation system according to claim 1, characterized in that, The first electronic device is further configured to: send files contained in the first application interface to the second electronic device based on the wireless communication connection; The second electronic device is specifically used to: display the second application interface according to the labels of the first application interface and the file received from the first electronic device.
8. The content continuation system according to claim 1, characterized in that, The second electronic device is further configured to: launch the installed first application and send a label of the first application interface to the first application, so that the first application displays the second application interface according to the label; or, The second electronic device is specifically used to: open the second application interface using a browser according to the tab of the first application interface.
9. The content continuation system according to claim 8, characterized in that, The second electronic device is also used to prompt the user to download and install the first application on the second electronic device.
10. The content continuation system according to claim 1, characterized in that, The device information includes the identifier of the second electronic device; The first electronic device is specifically used for: establishing a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; or, establishing a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; obtaining connection configuration information from the second electronic device through the Bluetooth connection; and establishing a Wi-Fi P2P connection with the second electronic device using the connection configuration information.
11. The content continuation system according to claim 1, characterized in that, The first electronic device is specifically used to: if the first application is a preset application, or if the first application interface is a preset application interface, then send a tag of the first application interface to the second electronic device based on the wireless communication connection.
12. The content continuation system according to claim 1, characterized in that, The first electronic device is specifically used for: If the dwell time of the first NFC unit when it is close to or in contact with the second NFC unit meets the first preset condition, then the tag of the first application interface is sent to the second electronic device based on the wireless communication connection; or; If the signal strength of the first NFC unit and the second NFC unit when they are close to or in contact meets the second preset condition, then the tag of the first application interface is sent to the second electronic device based on the wireless communication connection. or; If the distance between the first NFC unit and the second NFC unit meets the third preset condition, then the tag of the first application interface is sent to the second electronic device based on the wireless communication connection.
13. The content continuation system according to claim 1, characterized in that, The first electronic device is further configured to: display a first option and a second option, wherein the first option is configured to instruct the sending of a tag from the first application interface to the second electronic device, and the second option is configured to instruct the sending of a file from the first application interface to the second electronic device.
14. A first electronic device, characterized in that, The first electronic device includes a processor, a first NFC unit coupled to the processor, a display screen, a communication module, and a memory. The first NFC unit is an NFC chip or an electronic tag. The processor is configured to: instruct the display screen to display the first application interface of the first application, wherein the first application has registered a listening service with the tap-to-connect application; The processor is also configured to: instruct the first NFC unit to acquire device information of the second electronic device; The processor is further configured to: instruct the communication module to establish a wireless communication connection with the second electronic device according to the device information, wherein the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; The processor is further configured to: acquire the tags of the first application interface; The processor is further configured to: instruct the communication module to send a tag of the first application interface to the second electronic device based on the wireless communication connection, the tag indicating the display content in the first application interface, so that the second electronic device displays a second application interface of the first application corresponding to the first application interface according to the tag. The processor is further configured to: The tap-to-tap application sends a first request to the first application running in the foreground, the first request being used to request the label of the first application interface that is being displayed; In response to the first request, the first application obtains the tags of the first application interface; The tap-to-tap application receives a tag from the first application interface sent by the first application.
15. The first electronic device according to claim 14, characterized in that, The first NFC unit is specifically used to: detect the operation of the first electronic device approaching or touching the second NFC unit in the second electronic device; and in response to the operation of approaching or touching the second NFC unit, read the device information of the second electronic device from the second NFC unit.
16. The first electronic device according to claim 14, characterized in that, The first NFC unit is specifically used for: sending electromagnetic wave signals, which drive the second NFC unit in the second electronic device to send device information of the second electronic device; and obtaining device information of the second electronic device from the second NFC unit.
17. The first electronic device according to claim 14, characterized in that, The processor is further configured to: instruct the communication module to obtain the tags of the first application interface from the application server of the first application.
18. The first electronic device according to claim 14, characterized in that, The processor is further configured to: instruct the communication module to obtain authentication information from the application server of the first application, the authentication information being used to log in to the user's registered account in the first application; and instruct the communication module to send the authentication information to the second electronic device via the wireless communication connection.
19. The first electronic device according to claim 14, characterized in that, The processor is further configured to: predict the user's browsing location in the first application interface; and instruct the communication module to send the browsing location to the second electronic device based on the wireless communication connection.
20. The first electronic device according to claim 14, characterized in that, The processor is also configured to: instruct the communication module to send the file contained in the first application interface to the second electronic device based on the wireless communication connection.
21. The first electronic device according to claim 14, characterized in that, The processor is specifically configured to: if the first application is a preset application, or if the first application interface is a preset application interface, instruct the communication module to send a tag of the first application interface to the second electronic device based on the wireless communication connection.
22. The first electronic device according to claim 14, characterized in that, The processor is specifically configured to: determine whether the dwell time when the first NFC unit approaches or contacts the second NFC unit in the second electronic device meets a first preset condition; or, determine whether the signal strength when the first NFC unit approaches or contacts the second NFC unit in the second electronic device meets a second preset condition; or, determine whether the distance between the first NFC unit and the second NFC unit in the second electronic device meets a third preset condition; if at least one of the first preset condition, the second preset condition, or the third preset condition is met, then instruct the communication module to send the tag of the first application interface to the second electronic device based on the wireless communication connection.
23. The first electronic device according to claim 14, characterized in that, The processor is further configured to: instruct the display screen to display a first option and a second option, the first option being configured to instruct the sending of a tag from the first application interface to the second electronic device, and the second option being configured to instruct the sending of a file from the first application interface to the second electronic device.
Citation Information
Patent Citations
Data interaction display system and data interaction display method
CN104679334A
Terminal task management device, terminal task continuation device, terminal task management method, terminal task continuation method and terminal
CN106488018A