Content continuing method and system and electronic equipment
The NFC-based content transfer system simplifies the process of switching media content between devices by establishing wireless communication and synchronizing content across devices, improving user experience.
Patent Information
- Application Number
- CN202510267620.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-06
- Filing Date
- 2019-09-26
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2039-09-26
AI Technical Summary
When switching playback content between multiple electronic devices, the prior art operations are cumbersome, time-consuming and poor user experience.
By configuring an NFC unit in an electronic device, using NFC technology to quickly establish a wireless communication connection, sending tags of the application interface to achieve content continuation across devices, including Bluetooth connection or Wi-Fi P2P connection, and automatically displaying the same content in the second device.
The operation process of cross-device content switching is simplified, the user experience is improved, and the content is seamlessly resumed.
Smart Images

Figure CN120321610A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 201910918888.X, the filing date of the original application is September 26, 2019, and the entire content of the original application is incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminals, and in particular, to a content continuation method, system, and electronic device. Background Art
[0003] With the development of intelligent terminal technology, a user or a family often has multiple electronic devices, and users often need to switch between multiple electronic devices. For example, a user watches a video on a mobile phone on the way home from work, and may hope to switch the video to a TV to continue watching after arriving home. Another example is that a user can use a laptop to work at home, and when the user leaves home, he may hope to switch the files in the laptop to the mobile phone to continue working.
[0004] In such a cross-device interaction scenario, it is usually necessary for the user to manually switch the playback content on one device to another device. For example, if a user needs to switch the web page A being browsed on the mobile phone to play on the laptop, the user can enter the website address of the web page A in the browser of the laptop, so as to open the web page A on the laptop. Obviously, the process of switching playback content between multiple devices is time-consuming and cumbersome, and the user experience is not high. Summary of the Invention
[0005] This application provides a content continuation method, system, and electronic device, which can conveniently and quickly switch the content played on the first electronic device to the second electronic device to continue playing, reduce the operation complexity when the user performs cross-device interaction, and improve the user experience.
[0006] To achieve the above object, this application adopts the following technical solutions:
[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 configured with a first NFC unit, and the second electronic device is configured with a second NFC unit. The second NFC unit includes the device information of the second electronic device. The above NFC unit may specifically be an NFC chip or an electronic tag;
[0008] Among them, when the first electronic device displays the first application interface of the first application, the first electronic device can obtain the device information of the second electronic device from the second NFC unit through the first NFC unit; furthermore, the first electronic device can establish a wireless communication connection with the second electronic device according to the device information, and the wireless communication connection can be a Bluetooth connection or a Wi-Fi P2P connection; subsequently, the first electronic device can send the label of the first application interface to the second electronic device based on the above wireless communication connection, and the label is used to indicate the display content in the first application interface; in this way, after receiving the label, the second electronic device can display the second application interface of the first application corresponding to the first application interface, and the first application interface and the second application interface contain the same display content.
[0009] That is to say, when the user wants to switch the electronic device to browse a certain application interface, the wireless communication connection can be quickly established through the NFC units in the two electronic devices, so as to send the content label being displayed in the first electronic device to the second electronic device, enabling the second electronic device to continue playing the application interface in the first electronic device according to the label, thus simplifying the operation process of the user when performing cross-device interaction of the same content and improving and enriching the user experience.
[0010] In a possible implementation manner, the first electronic device is specifically configured to: in response to an operation of approaching or contacting the second NFC unit, obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0011] In a possible implementation manner, the first electronic device is specifically configured to: send an electromagnetic wave signal through the first NFC unit, and the electromagnetic wave signal is used to drive the second NFC unit to send the device information of the second electronic device; furthermore, obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0012] That is to say, the user can trigger the establishment of a communication connection between the first electronic device and the second electronic device by means of a tap, so as to switch the display content in the first electronic device to the second electronic device for continuous playback.
[0013] In a possible implementation manner, the first electronic device is further configured to: obtain the label of the first application interface.
[0014] In a possible implementation manner, the first electronic device is specifically configured to: the tap-and-go application in the first electronic device sends a first request to the first application running in the foreground, and the first request is used to request to obtain the label of the first application interface being displayed; in response to the first request, the first application obtains the label of the first application interface.
[0015] In a possible implementation, the first electronic device is specifically configured to: obtain the labels of the first application interface from the application server of the first application.
[0016] Exemplarily, the first electronic device may be specifically configured to: send a second request to the above application server, where the second request includes one or more indexes corresponding to the first application interface; the application server is further configured to: generate the labels of the first application interface according to the one or more indexes in the second request, and send the labels of the first application interface to the first electronic device.
[0017] In a possible implementation, the first electronic device is further configured to: obtain authentication information from the above application server, where the authentication information is used to log in to the account registered by the user in the first application; send the authentication information to the second electronic device based on the above wireless communication connection; the second electronic device is further configured to: use the authentication information to log in to the first application installed in the second electronic device. In this way, after the second electronic device automatically logs in to the first application, it can display the second application interface corresponding to the first application interface according to the labels of the first application interface.
[0018] In a possible implementation, the first electronic device is further configured to: predict the browsing position of the user in the first application interface; send the browsing position to the second electronic device based on the above 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 browsing position.
[0019] In a possible implementation, the first electronic device is further configured to: send the files included in the first application interface to the second electronic device based on the above 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 files received from the first electronic device.
[0020] In a possible implementation, the second electronic device is further configured to: start the installed first application, and send the labels of the first application interface to the first application, so that the first application displays the corresponding second application interface according to the labels; or, when the first application is not installed in the second electronic device, the second electronic device is specifically configured to: use a browser to open the second application interface according to the labels of the first application interface.
[0021] In a possible implementation, the second electronic device is further configured to: when the first application is not installed in the second electronic device, prompt the user to download and install the first application in the second electronic device.
[0022] In a possible implementation, the above 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 specifically 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; and then obtain connection configuration information from the second electronic device through this Bluetooth connection; and use this connection configuration information to establish a Wi-Fi P2P connection with the second electronic device.
[0023] In a possible implementation, the first electronic device is specifically used to: if the first application is a preset application, or the first application interface is a preset application interface, then send the label of the first application interface to the second electronic device based on the wireless communication connection.
[0024] In a possible implementation, the first electronic device is specifically used to: if the residence time when the first NFC unit is close to or in contact with the second NFC unit meets the first preset condition, then send the label of the first application interface to the second electronic device based on the wireless communication connection; or; if the signal strength when the first NFC unit is close to or in contact with the second NFC unit meets the second preset condition, then send the label of the first application interface 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 send the label of the first application interface to the second electronic device based on the wireless communication connection.
[0025] That is to say, the first electronic device can judge whether the user's current operation intention is to continue playing the display content in the first electronic device on the second electronic device according to the distance, signal strength or contact time between the first electronic device and the NFC unit in the second electronic device. If the user's intention is not to continue playing the display content in the first electronic device on the second electronic device, the first electronic device can transmit the files included in the first application interface to the second electronic device to implement the "one-touch transfer" file transfer function.
[0026] In a possible implementation, the first electronic device is further used to: display a first option and a second option, where the first option is used to indicate sending the label of the first application interface to the second electronic device, and the second option is used to indicate sending the files in the first application interface to the second electronic device. Then, if it is detected that the user selects the first option, the first electronic device can send the label of the first application interface to the second electronic device based on the above wireless communication connection to implement the "one-touch continuation" content continuous playback function.
[0027] In a second aspect, the present application provides a content continuation method, which can be applied to the content continuation system in the first aspect. When the first electronic device displays the first application interface of the first application, it can obtain the device information of the 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, and the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection. The first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, and the label is used to indicate the display content in the first application interface. After receiving the label of the first application interface, the second electronic device can display the second application interface 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.
[0028] In a possible implementation manner, the first electronic device obtains the device information of the second electronic device through the first NFC unit, including: in response to an operation of approaching or contacting the second NFC unit in the second electronic device, the first electronic device obtains the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0029] In a possible implementation manner, the first electronic device obtains the device information of the second electronic device through the first NFC unit, including: the first electronic device sends an electromagnetic wave signal through the first NFC unit, and the electromagnetic wave signal is used to drive the second NFC unit to send the device information of the second electronic device. Furthermore, 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 a possible implementation manner, the above content continuation method further includes: the first electronic device obtains the label of the first application interface.
[0031] Exemplarily, the first electronic device obtains the label of the first application interface, including: the touch application in the first electronic device sends a first request to the first application running in the foreground, and the first request is used to request to obtain the label of the first application interface being displayed. In response to the first request, the first application obtains the label of the first application interface.
[0032] In a possible implementation manner, the first application obtains the label of the first application interface, including: the first electronic device obtains the label of the first application interface from the application server of the first application.
[0033] Exemplarily, the first electronic device obtains the label of the first application interface from the application server of the first application, including: the first electronic device sends a second request to the application server, and the second request includes one or more indexes corresponding to the first application interface; the application server generates the label of the first application interface according to the one or more indexes in the second request, and sends the label of the first application interface to the first electronic device.
[0034] In a possible implementation manner, the above content continuation method further includes: the first electronic device obtains authentication information from the application server, and the authentication information is used to log in to the account registered by the user in the first application; furthermore, the first electronic device can send the authentication information to the second electronic device based on the above 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 in the second electronic device.
[0035] In a possible implementation manner, the above content continuation method further includes: the first electronic device predicts the browsing position of the user in the first application interface; and the first electronic device can send the browsing position to the second electronic device based on the above wireless communication connection. In this way, the second electronic device can display the second application interface according to the label of the first application interface and the browsing position.
[0036] In a possible implementation manner, the above content continuation method further includes: the first electronic device sends the file included in the first application interface to the second electronic device based on the wireless communication connection. In this way, the second electronic device can display the second application interface according to the label of the first application interface and the file received from the first electronic device.
[0037] In a possible implementation manner, before the second electronic device displays the second application interface according to the label of the first application interface, it further includes: the second electronic device starts the installed first application and sends the label of the first application interface to the first application.
[0038] Alternatively, when the first application is not installed in the second electronic device, the second electronic device can use a browser to open the second application interface according to the label of the first application interface; or, the second electronic device can prompt the user to download and install the first application in the second electronic device.
[0039] In a possible implementation, the above 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 establishes a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; or, the first electronic device establishes a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; furthermore, 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 a possible implementation, the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, including: if the first application is a preset application, or the first application interface is a preset application interface, then the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection.
[0041] In a possible implementation, the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, including: if the residence time when the first NFC unit is close to or in contact with the second NFC unit meets a first preset condition, then the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection; or; if the signal strength when the first NFC unit is close to or in contact with the second NFC unit meets a second preset condition, then the first electronic device sends the label of the first application interface 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 a third preset condition, then the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection.
[0042] In a possible implementation, before the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, it further includes: the first electronic device displays a first option and a second option, the first option is used to indicate sending the label of the first application interface to the second electronic device, and the second option is used to indicate sending the file in the first application interface to the second electronic device. Then, if it is detected that the user selects the first option, the first electronic device may send the label of the first application interface to the second electronic device based on the wireless communication connection.
[0043] In a third aspect, the present application provides a first electronic device, including a processor, as well as a first NFC unit, a display screen, a communication module, and a memory that are coupled to the processor. The first NFC unit is an NFC chip or an electronic tag. Wherein, 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 obtain 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, and the wireless communication connection is 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, and the tag is used to indicate 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 a possible implementation manner, the first NFC unit is specifically configured to: detect an operation of the first electronic device approaching or contacting a second NFC unit in the second electronic device; in response to the operation of approaching or contacting the second NFC unit, read the device information of the second electronic device from the second NFC unit.
[0045] In a possible implementation manner, the first NFC unit is specifically configured to: send an electromagnetic wave signal, and the electromagnetic wave signal is used to drive the second NFC unit in the second electronic device to send the device information of the second electronic device; obtain the device information of the second electronic device from the second NFC unit.
[0046] In a possible implementation manner, the above-mentioned processor is further configured to: instruct the communication module to obtain a tag of the first application interface from an application server of the first application.
[0047] In a possible implementation manner, the above-mentioned processor is further configured to: instruct the communication module to obtain authentication information from an application server of the first application, and the authentication information is used to log in to an account registered by the user in the first application; and, instruct the communication module to send the authentication information to the second electronic device based on the wireless communication connection.
[0048] In a possible implementation manner, the above-mentioned processor is further configured to: predict a browsing position of the user in the first application interface; and, instruct the communication module to send the browsing position to the second electronic device based on the wireless communication connection.
[0049] In a possible implementation manner, the above-mentioned processor is further configured to: instruct the communication module to send a file included in the first application interface to the second electronic device based on the wireless communication connection.
[0050] In a possible implementation, the above-mentioned processor is specifically configured to: if the first application is a preset application, or the first application interface is a preset application interface, then instruct the communication module to send the label of the first application interface to the second electronic device based on a wireless communication connection.
[0051] In a possible implementation, the above-mentioned processor is specifically configured to: determine whether the residence 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 label of the first application interface to the second electronic device based on a wireless communication connection.
[0052] In a possible implementation, the above-mentioned processor is further configured to: instruct the display screen to display a first option and a second option, where the first option is used to indicate sending the label of the first application interface to the second electronic device, and the second option is used to indicate sending the file in the first application interface to the second electronic device.
[0053] In a fourth aspect, the present application provides a content continuation method, including: when the first electronic device displays a first application interface of a first application, it can obtain the device information of the 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, and the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, and the label is 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 label, and the first application interface and the second application interface contain the same display content.
[0054] In a possible implementation, the first electronic device obtains the device information of the second electronic device through the first NFC unit, including: in response to an operation that the first NFC unit approaches or contacts 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 a possible implementation, the first electronic device obtains the device information of the second electronic device through the first NFC unit, including: the first electronic device sends an electromagnetic wave signal, and the electromagnetic wave signal is used to drive the second NFC unit in the second electronic device to send the device information of the second electronic device; the first electronic device obtains the device information of the second electronic device from the second NFC unit.
[0056] In a possible implementation, the above content continuation method further includes: the first electronic device obtains the label of the first application interface from the application server of the first application.
[0057] In a possible implementation, the above content continuation method further includes: the first electronic device obtains authentication information from the application server of the first application, and the authentication information is used to log in to the account registered by the user in the first application; furthermore, the first electronic device can send the authentication information to the second electronic device based on the wireless communication connection.
[0058] In a possible implementation, the above content continuation method further includes: the first electronic device predicts the browsing position of the user in the first application interface; furthermore, the first electronic device can send the browsing position to the second electronic device based on the wireless communication connection.
[0059] In a possible implementation, the above content continuation method further includes: the first electronic device can send the file included in the first application interface to the second electronic device based on the wireless communication connection.
[0060] In a possible implementation, the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, including: if the first application is a preset application, or the first application interface is a preset application interface, then the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection.
[0061] In a possible implementation, the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection, including: the first electronic device determines whether the residence time when the first NFC unit approaches or contacts the second NFC unit in the second electronic device meets a first preset condition; or determines 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 determines 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 the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection.
[0062] In a possible implementation, before the first electronic device sends the label of the first application interface to the second electronic device based on a wireless communication connection, it further includes: the first electronic device displays a first option and a second option, where the first option is used to indicate sending the label of the first application interface to the second electronic device, and the second option is used to indicate sending a file in the first application interface to the second electronic device. Then, if it is detected that the user selects the first option, the first electronic device sends the label of the first application interface to the second electronic device based on the wireless communication connection.
[0063] In a fifth aspect, the present application provides a second electronic device, including a processor, and a second NFC unit, a display screen, a communication module, and a memory coupled to the processor. 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 configured to: establish a wireless communication connection with the first electronic device, and the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; receive the label of the first application interface sent by the first electronic device based on the wireless communication connection, where the first application interface is the interface being displayed on the first electronic device, and the label is used to indicate the display content in the first application interface; the processor is configured to: according to the label, instruct the display screen to display a second application interface of the first application corresponding to the first application interface, and the first application interface and the second application interface contain the same display content.
[0065] In a possible implementation, the above-mentioned processor is specifically configured to: in response to an operation that the first NFC unit in the first electronic device approaches or contacts the second NFC unit, instruct the communication module to establish a wireless communication connection with the first electronic device.
[0066] In a possible implementation, the above-mentioned communication module is further configured to: receive authentication information sent by the first electronic device, and the authentication information is used to log in to an account registered by the user in the first application; the above-mentioned processor is further configured to: use the authentication information to log in to the first application installed in the second electronic device.
[0067] In a possible implementation, the above-mentioned communication module is further configured to: receive the browsing position of the user in the first application interface sent by the first electronic device; at this time, the above-mentioned processor is specifically configured to: according to the label and the browsing position, instruct the display screen to display a second application interface corresponding to the first application interface.
[0068] In a possible implementation, the above-mentioned communication module is further configured to: receive the file included in the first application interface sent by the first electronic device; at this time, the above-mentioned processor is specifically configured to: according to the label and the file received from the first electronic device, instruct the display screen to display a second application interface corresponding to the first application interface.
[0069] In a possible implementation, the above-mentioned processor is further configured to: use a browser to open a second application interface corresponding to the first application interface on the display screen according to the label of the first application interface; or, prompt the user to install the first application on the second electronic device on the display screen.
[0070] In a sixth aspect, the present application provides a content continuation method, including: establishing a wireless communication connection between a second electronic device and a first electronic device, where the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; the second electronic device receives a label of a first application interface sent by the first electronic device based on the wireless communication connection, the first application interface is an interface currently being displayed on the first electronic device, and the label is used to indicate the display content in the first application interface; furthermore, the second electronic device displays a second application interface 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.
[0071] In a possible implementation, the second electronic device includes a second NFC unit, and the second NFC unit is an NFC chip or an electronic tag; where establishing a wireless communication connection between the second electronic device and the first electronic device includes: in response to an operation that the first NFC unit in the first electronic device approaches or contacts the second NFC unit, the second electronic device establishes a wireless communication connection with the first electronic device.
[0072] In a possible implementation, the above-mentioned content continuation method further includes: the second electronic device receives authentication information sent by the first electronic device, and the authentication information is used to log in to an account registered by the user in the first application; furthermore, the second electronic device can use the authentication information to log in to the first application installed on the second electronic device.
[0073] In a possible implementation, the above-mentioned content continuation method further includes: the second electronic device receives the browsing position of the user 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 according to the label and the browsing position.
[0074] In a possible implementation, the above-mentioned content continuation method further includes: the second electronic device receives a file included 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 according to the label and the file received from the first electronic device.
[0075] In a possible implementation, after the second electronic device receives the label of the first application interface sent by the first electronic device based on the wireless communication connection, it further includes: the second electronic device uses a browser to open a second application interface corresponding to the first application interface according to the label of the first application interface; or, prompts the user to install the first application in the second electronic device.
[0076] In a seventh aspect, the present application provides a computer storage medium, including computer instructions, which when running on the above-mentioned first electronic device, cause the first electronic device to execute the content continuation method described in any one of the fourth aspects.
[0077] In an eighth aspect, the present application provides a computer storage medium, including computer instructions, which when running on the above-mentioned second electronic device, cause the second electronic device to execute the content continuation method described in any one of the sixth aspects.
[0078] In a ninth aspect, the present application provides a computer program product, which when running on the above-mentioned first electronic device, causes the first electronic device to execute the broadcast content continuation method described in any one of the fourth aspects.
[0079] In a tenth aspect, the present application provides a computer program product, which when running on the above-mentioned second electronic device, causes the second electronic device to execute the broadcast content continuation method described in any one of the sixth aspects.
[0080] It can be understood that the above-provided content continuation method, electronic device, computer storage medium, and computer program product are all used in the content continuation system provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding system provided above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 It is a schematic diagram of the architecture of a content continuation system provided by an embodiment of the present application;
[0082] Figure 2 It is a schematic diagram of a notebook computer provided by an embodiment of the present application;
[0083] Figure 3 It is an interaction schematic diagram of a content continuation method provided by an embodiment of the present application Figure 1 ;
[0084] Figure 4 It is a scenario schematic diagram of a content continuation method provided by an embodiment of the present application Figure 1 ;
[0085] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present applicationFigure 1 ;
[0086] Figure 6 Schematic diagram of the architecture of an operating system in an electronic device provided by an embodiment of the present application;
[0087] Figure 7 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 2 ;
[0088] Figure 8 Interaction schematic of a content continuation method provided by an embodiment of the present application Figure 2 ;
[0089] Figure 9 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 3 ;
[0090] Figure 10 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 4 ;
[0091] Figure 11 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 5 ;
[0092] Figure 12 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 6 ;
[0093] Figure 13 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 7 ;
[0094] Figure 14 Scenario schematic of a content continuation method provided by an embodiment of the present application Figure 8 ;
[0095] Figure 15 Structure schematic of an electronic device provided by an embodiment of the present application Figure 2 ;
[0096] Figure 16 Structure schematic of an electronic device provided by an embodiment of the present application Figure 3 . Specific implementation manners
[0097] The following will describe the implementation manners of this embodiment in detail with reference to the accompanying drawings.
[0098] A content continuation method provided by an embodiment of the present application can be applied to Figure 1 the content continuation system 200 shown in 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 may specifically be mobile phones, tablet computers, smart TVs, laptop computers, Ultra-mobile Personal Computers (UMPCs), handheld computers, netbooks, Personal Digital Assistants (PDAs), wearable electronic devices, vehicle-mounted devices, virtual reality devices, etc., and the embodiments of the present application do not impose any restrictions thereon. For example, both the first electronic device 101 and the second electronic device 102 may be mobile phones, or both the first electronic device 101 and the second electronic device 102 may be laptop computers, or the first electronic device 101 may be a mobile phone or a tablet computer, and the second electronic device 102 may be a laptop computer or a smart TV, etc.
[0100] Taking the first electronic device 101 as a mobile phone and the second electronic device 102 as a laptop computer as an example, in some scenarios, the user may need to switch the display content such as web pages, pictures, texts, animations, or videos being displayed on the mobile phone to the laptop computer for continuous playback. Of course, if there is corresponding audio content being played while the mobile phone is displaying the above display content, the audio content can also be switched to the laptop computer for continuous playback. For example, the user uses the video APP on the mobile phone to play video A on the way home. When the user arrives home, the video A being played on the mobile phone can be switched to the laptop computer for continuous playback, so as to realize the seamless continuous playback function of the same content among multiple electronic devices.
[0101] Exemplarily, when it is detected that the user has a cross-device continuous playback requirement between the two electronic devices, the first electronic device 101 may first establish a communication connection with the second electronic device 102, and then send the relevant information of the display content (or audio content) to the second electronic device 102 through this communication connection, and the second electronic device 102 completes this continuous playback task.
[0102] Taking the first electronic device 101 as a mobile phone and the second electronic device 102 as a laptop computer as an example, as Figure 2As shown, an electronic tag 201 can be set on a laptop. The electronic tag can also be referred to as an NFC (near field communication) tag. Generally, a coil is provided in the electronic tag 201. When the laptop leaves the factory, device information of the laptop, such as the Bluetooth MAC (media access control) address of the laptop, can be pre-written into the coil of the electronic tag 201. Alternatively, an NFC chip 201 can be pre-set in the laptop, and the device information of the laptop can also be stored in the NFC chip 201. The electronic tag 201 mentioned in the following specific embodiments can be replaced by an NFC chip, and will not be described one by one in the following description.
[0103] Exemplarily, as Figure 3 shown, when the user needs to switch the playback content in the mobile phone to continue playing on the laptop, the NFC function of the mobile phone can be turned on, and the mobile phone can be brought close to the laptop, so that the NFC chip of the mobile phone approaches or contacts the electronic tag 201 on the laptop. In this way, when the mobile phone and the electronic tag 201 are close to each other, the mobile phone can read the device information of the laptop from the electronic tag 201 by transmitting a near-field signal. Furthermore, the mobile phone can establish a wireless communication connection with the laptop according to the device information of the laptop. For example, the wireless communication connection can specifically be a Bluetooth connection, a Wi-Fi connection, or a Wi-Fi P2P (peer to peer) connection, etc. The embodiments of the present application do not make any restrictions on this.
[0104] Still as Figure 3 shown, after the mobile phone and the laptop establish a wireless communication connection, the mobile phone can obtain the tag of the currently specifically displayed content from the application running in the foreground. The tag of the displayed content is used to record the browsing position of the user for the currently displayed content. As Figure 4 shown, taking the mobile phone running the video APP's video A (for example, the eleventh episode of "The Longest Day in Chang'an") in the foreground as an example, the mobile 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 (for example, the playback progress is 00:05 seconds). Furthermore, still as Figure 4As shown in the figure, the mobile phone can send the playback progress of Video A and the identifier of the playback page as tags of the current display content to the laptop. Then, if the same video APP is also installed on the laptop, after receiving the tags of the above display content, the laptop can open the video APP installed on the laptop, so that the video APP on the laptop can open the playback page of Video A according to the identifier of the above playback page, and continue to play Video A on the laptop according to the playback progress of the above Video A.
[0105] Of course, if the video APP is not installed on the laptop, the laptop can also use the browser to open the playback page of Video A according to the identifier of the playback page sent by the mobile phone, and continue to play Video A on the laptop according to the playback progress of the above Video A.
[0106] That is to say, when the user wants to switch electronic devices to view the same content, the first electronic device and the second electronic device can be triggered to quickly establish a wireless communication connection by touching the two electronic devices, and the content being displayed on the first electronic device can be automatically switched to the second electronic device for continuous playback, thus simplifying the operation process of the user when the same content is interacted across devices and improving and enriching the user experience.
[0107] In addition, in the above embodiments, it is exemplified that the mobile phone switches its display content to the laptop for continuous playback. It can be understood that the laptop can also be used as the first electronic device 101 and the mobile phone can be used as the second electronic device 102, and then the display content on the laptop can be switched to the mobile phone for continuous playback according to the above method. The embodiments of the present application do not make any restrictions on this. That is to say, the roles of the first electronic device 101 and the second electronic device 102 can be interchanged when the content is continued. The second electronic device 102 can also switch the content being displayed to the first electronic device 101 for continuous playback.
[0108] In the subsequent embodiments, the content continuation method between the first electronic device 101 and the second electronic device 102 will be elaborated in detail with specific examples, so it will not be elaborated here.
[0109] Taking the mobile phone as the first electronic device 101 in the above content continuation system 200 as an example, Figure 5 The schematic structural diagram of the mobile phone 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 interface 170D, a sensor module 180, etc.
[0111] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0112] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0113] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it 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. The 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 the mobile phone can be implemented by antenna 1, antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[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 a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: Antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0117] The mobile communication module 150 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the mobile phone. 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 by antenna 1, and perform processing such as filtering and amplifying on the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through antenna 1 and radiate it out. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the 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 can be disposed in the same device.
[0118] The wireless communication module 160 can provide wireless communication solutions applied to mobile phones, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. 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 the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.
[0119] In some embodiments, antenna 1 of the mobile phone is coupled to the mobile communication module 150, and antenna 2 is coupled to the wireless communication module 160, enabling the mobile phone to communicate with the network and other devices through wireless communication technologies. The wireless communication technologies 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 technologies, 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 the display function through the GPU, the display screen 194, and the application processor, etc. 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 change display information.
[0121] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can 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 MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone may include one or N display screens 194, where N is a positive integer greater than 1.
[0122] The mobile phone can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, etc.
[0123] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light passes through the lens and is transmitted to the camera photosensitive element. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image through algorithms. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0124] The camera 193 is used to capture static images or videos. An object generates an optical image through the lens and projects it onto the photosensitive element. 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 and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, etc. format. In some embodiments, the mobile phone may include one or N cameras 193, where N is a positive integer greater than 1.
[0125] The digital signal processor is used to process digital signals. Besides processing digital image signals, it can also process other digital signals. For example, when the mobile phone selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0126] The video codec is used to compress or decompress digital videos. The mobile phone can support one or more video codecs. In this way, the mobile phone can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0127] The external memory interface 120 can be used to connect to an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0128] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, image playback function, etc.). The data storage area can store the data created during the use of the mobile phone (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, Universal Flash Storage (UFS), etc.
[0129] The mobile phone can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[0130] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.
[0131] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The mobile phone can listen to music or hands-free calls through the speaker 170A.
[0132] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the mobile phone answers a call or a voice message, the voice can be listened to by holding the receiver 170B close to the ear.
[0133] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by bringing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The mobile phone can be provided with at least one microphone 170C. In some other embodiments, the mobile phone can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the mobile phone can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, and implement functions such as directional recording.
[0134] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0135] The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0136] Of course, the mobile phone may also include a charging management module 140, a power management module 141, a battery 142, buttons 190, an indicator 192, and one or more SIM card interfaces, etc., and the embodiments of the present application do not impose any restrictions on this.
[0137] The software system of the above-mentioned mobile phone may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, the Android system with a layered architecture is taken as an example to exemplarily illustrate the software structure of the mobile phone.
[0138] Figure 6 In (a) is the software structure block diagram of the electronic device 100 in the embodiments of the present application.
[0139] The layered architecture divides software into several layers, and each layer has clear roles and divisions of labor. The 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 may include a series of application packages.
[0141] As Figure 6 shown in (a) of , the application layer may install APPs (applications) such as calls, memos, browsers, contacts, cameras, galleries, calendars, maps, Bluetooth, music, videos, short messages, etc.
[0142] In the embodiments of this application, still as Figure 6 shown in (a) of , the application layer may also include a tap-to-connect application. The tap-to-connect application can be used to call NFC services in the application framework layer and other functions to establish a wireless communication connection with another electronic device when detecting that the user triggers the tap-to-connect function of the mobile phone. And, the tap-to-connect application can be used to obtain the label of the currently displayed content from the foreground application running in the application layer, so that the mobile phone can send the label of the currently displayed content to another electronic device to complete continuous playback.
[0143] That is to say, the tap-to-connect application can act as a bridge to interact with various services that create wireless communication connections and interact with the applications that need to be continued in the application layer, so that the mobile phone can switch the display content that needs to be continued in the application to other electronic devices for playback through the tap-to-connect method, thereby providing users with a "one-tap continuation" cross-device playback function.
[0144] Exemplarily, the tap-to-connect application can run in the application layer of the mobile phone in the form of a resident process after the mobile phone is turned on.
[0145] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0146] As Figure 6 shown in (a) of , the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.
[0147] In the embodiments of this application, still as Figure 6As shown in (a) therein, NFC service, Bluetooth service, Wi-Fi service, etc. can also run in the application framework layer.
[0148] Exemplarily, after the NFC function of the mobile phone is turned on, the NFC service can start running in the application framework layer. When the mobile phone approaches or touches the electronic tag of another electronic device (such as a laptop computer), the NFC service can call the NFC driver in the kernel layer to read the device information in the electronic tag, such as the MAC address of the laptop computer, etc. The NFC service can report the obtained MAC address to the touch-to-connect application. Furthermore, the touch-to-connect application can call the Bluetooth service based on the MAC address and establish a Bluetooth connection with the corresponding laptop computer through the Bluetooth driver.
[0149] Of course, the mobile phone can also obtain the authentication information for identity authentication from the electronic tag, such as the key, token (token), or device serial number used by the laptop computer, etc. In this way, while establishing a Bluetooth connection with the laptop computer, the mobile phone can also use the authentication information to complete identity authentication with the laptop computer to ensure the security of the Bluetooth connection.
[0150] In some embodiments, after the mobile phone establishes a Bluetooth connection with the laptop computer, the mobile phone can also use the 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 computer. Furthermore, the touch-to-connect application can call the Wi-Fi service and establish a Wi-Fi P2P connection with the laptop computer through the Wi-Fi driver using the above SSID and password. Since the transmission speed and security of the Wi-Fi P2P connection are relatively high, subsequently, the mobile phone and the laptop computer can perform data transmission based on the established Wi-Fi P2P connection.
[0151] Of course, the mobile phone can also perform data transmission with the laptop computer using the Bluetooth connection after establishing the Bluetooth connection with the laptop computer. At this time, the mobile phone does not need to obtain the SSID and password of the laptop computer anymore, nor does it need to call the Wi-Fi service to establish a Wi-Fi P2P connection with the laptop computer.
[0152] In the embodiment of the present application, when the touch-to-connect application detects the touch between the mobile phone and the electronic tag of the laptop computer, the touch-to-connect application can also request the application running in the foreground to obtain the label of the currently displayed content. As Figure 7As shown, when the mobile phone touches the electronic tag of the laptop computer, the WPS application is being used to browse the word document, and the mobile phone displays the second page of the word document. After detecting that the mobile phone touches the electronic tag of the laptop computer, the touch application in the mobile phone can request the WPS application to generate a label of the currently displayed content to record the user's browsing position in the mobile phone at this time. For example, the WPS application can record the name of the current word document as "2018.8.8 Meeting Minutes", and the WPS application can record the display position of the current word document as page 2. Furthermore, the WPS application can send the name and display position of the word document as the label of the currently displayed content to the touch application, and the touch application can send the label of the currently displayed content to the laptop computer through the established Bluetooth connection or Wi-Fi P2P connection.
[0153] Similar to the system architecture of mobile phones, such as Figure 6 As shown in (b) in the figure, the touch service can also be set in the application of the laptop. For example, the touch service can be set in the mobile phone manager application of the laptop. The Wi-Fi driver and Bluetooth driver can be installed in the kernel layer of the laptop. After the laptop receives the label of the currently displayed content sent by the mobile phone through the Wi-Fi driver or Bluetooth driver, the label of the currently displayed content can be passed to the WPS application in the laptop through the touch service. Then, as in the Figure 7 As shown, the WPS application in the laptop can search for a word document named "2018.8.8 Meeting Minutes" saved in the laptop according to the label of the currently displayed content, open and display the second page of the word document, and achieve seamless continuation of the word document between the mobile phone and the laptop.
[0154] In some embodiments, in addition to sending the label of the currently displayed content to the laptop, the mobile phone can also send the word document being played to the laptop. In this way, when the laptop does not have a word document named "2018.8.8 Meeting Minutes", the laptop can receive the word document from the mobile phone and open the second page of the word document according to the label of the currently displayed content, thereby achieving seamless continuation of the word document between the mobile phone and the laptop.
[0155] It can be seen that by touching the devices together, a connection can be quickly and conveniently triggered between the two electronic devices, and the task of continuing the same content can be automatically completed, thereby reducing the complexity of operations for users when interacting across devices and improving the user experience.
[0156] In addition, the above-mentioned window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0157] The above content provider is used to store and retrieve data, and make this data accessible to applications. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc.
[0158] The above view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a SMS notification icon may include a view for displaying text and a view for displaying pictures.
[0159] The above phone manager is used to provide the communication function of the electronic device 100. For example, the management of call states (including connection, disconnection, etc.).
[0160] The above resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0161] The above notification manager enables applications to display notification information in the status bar. It can be used to convey informative messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification in the form of a chart or scroll bar text that appears in the system top status bar, such as notifications of background running applications, and can also be a notification in the form of a dialogue window that appears on the screen. For example, it prompts text information in the status bar, emits a prompt tone, the electronic device vibrates, the indicator light flashes, etc.
[0162] As Figure 6 shown in (a) of , the system library may include multiple functional modules. For example: surface manager (surfacemanager), media libraries (Media Libraries), 3D graphics processing library (e.g.: OpenGL ES), 2D graphics engine (e.g.: SGL), etc.
[0163] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications. The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing.
[0164] The Android Runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0165] The core libraries consist of two parts: one is the functional functions that need to be called by the Java language, and the other is the core libraries of Android.
[0166] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0167] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, etc., and the embodiments of the present application do not make any restrictions on this.
[0168] The following will elaborate in detail a content continuation method provided by the embodiments of the present application in conjunction with the accompanying drawings.
[0169] As Figure 8 shown, taking the example that the user switches the display content in the mobile phone (i.e., the first electronic device) to continue playing on the laptop (i.e., the second electronic device), a content continuation method provided by the embodiments of the present application may include the following steps:
[0170] S801. The mobile phone displays the application interface of the first application.
[0171] Exemplarily, taking the Weibo APP as the first application, as Figure 9 shown, after the user opens the Weibo APP, the mobile phone can display the application interface 901 of the Weibo APP, that is, the display content in the mobile phone at this time is the text, pictures, audio, etc. displayed in the application interface 901. For example, the application interface 901 is the Weibo homepage of the user "Zhang San" in the Weibo APP, and the user is browsing multiple Weibo contents on this Weibo homepage.
[0172] In addition, after the user opens the Weibo APP, the mobile phone can start running the process of the Weibo APP. At this time, the process of the Weibo APP can register a listening service with the touch-to-touch application in the mobile phone. Subsequently, when the touch-to-touch application detects that the user inputs a touch-to-touch operation, it can trigger the touch-to-touch application to request the Weibo APP to obtain the label of the current display content to implement the continuation function of the display content (i.e., the above application interface 901).
[0173] S802. In response to the touch-to-touch operation input by the user, the mobile phone obtains the device information of the laptop.
[0174] When the user browses the above application interface 901 and needs to switch the displayed content being browsed (i.e., the application interface 901) to another electronic device (such as a laptop) for continuous playback, as Figure 10 shown, the user can use the mobile phone to touch the electronic tag 201 set on the laptop. When the mobile phone approaches or touches the electronic tag 201, that is, after the mobile phone and the electronic tag 201 perform a touch operation, 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 the understanding of those skilled in the art, the working principle of the above electronic tag 201 is introduced in the embodiments of the present application here.
[0176] Exemplarily, the electronic tag 201 can include three implementation forms, namely: passive tag, semi-active tag, and active tag.
[0177] (1) Passive tag: When the electronic tag 201 is a passive tag, there is no internal power supply in the electronic tag 201. When the electronic tag 201 approaches the NFC chip of other devices, it can receive the electromagnetic wave signal sent by the NFC chip of other devices. At this time, the internal integrated circuit (IC) of the electronic tag 201 is driven by the received electromagnetic wave signal. When the electronic tag 201 receives an electromagnetic wave signal with sufficient intensity, it can send the data saved in the electronic tag 201, such as the device information of the above laptop, to the NFC chip of other devices.
[0178] (2) Semi-active tag: The working mode of the semi-active tag is similar to that of the passive tag. When the electronic tag 201 is a semi-active tag, the electronic tag 201 includes a small battery, and the power of the small battery is sufficient to drive the internal IC of the electronic tag 201, so that the IC is in a working state. Since the semi-active tag includes the above small battery; therefore, compared with the passive tag, the semi-active tag has a faster response speed.
[0179] (3) Active tag: When the electronic tag 201 is an active tag, the electronic tag 201 includes an internal power supply to supply the power required by the internal IC to generate an external signal. Generally speaking, the active tag allows NFC communication at a longer distance, and the active tag has a larger storage space, which can be used to store the data transmitted by the NFC chip of other devices.
[0180] In the embodiments of the present application, the above-mentioned electronic tag 201 may be any one of the above-mentioned passive tag, semi-active tag or active tag. In practical applications, considering that the passive tag has the advantages of low price, small size and no need for power supply, the electronic tag 201 in the laptop can be set as a passive tag.
[0181] Alternatively, after the mobile phone detects the touch operation on the electronic tag 201, if the mobile phone has not enabled its NFC function, the mobile phone can respond to the touch operation and automatically turn on the NFC function to read the device information in the electronic tag 201. Or, the mobile phone can prompt the user to manually turn on the NFC function, so as to use the NFC function of the mobile phone to read the device information in the electronic tag 201.
[0182] Exemplarily, the above-mentioned device information may include the identifier of the laptop, such as the Bluetooth MAC address of the laptop, the name of the laptop, the used channel, etc. In addition, the above-mentioned device information may further include the authentication information used for identity authentication when the mobile phone establishes a wireless communication connection with the laptop later. For example, the authentication information may be a token used by the laptop, a pre-shared key (PSK), or a device serial number, etc. The embodiments of the present application do not make any restrictions on this.
[0183] Step S802 is illustrated by taking the user's touch operation to trigger the mobile phone to obtain the device information of the laptop through the NFC function. It can be understood that those skilled in the art can also set other methods to obtain the device information of the laptop according to actual experience or actual application scenarios. For example, the device information of the laptop can be pre-written into a two-dimensional code or a bar code. Then, after the user scans the two-dimensional code or the bar code with the mobile phone, the device information of the laptop can also be obtained. Another example is that after the laptop detects the touch operation input by the user on the above-mentioned electronic tag 201, it can trigger the laptop to display a two-dimensional code or a bar code containing device information on the display screen. Further, after the user scans the two-dimensional code or the bar code with the mobile phone, the device information of the laptop can also be obtained.
[0184] S803. The mobile phone establishes a wireless communication connection with the laptop according to the above-mentioned device information.
[0185] After the mobile phone obtains the device information of the laptop, it can establish a wireless communication connection such as a Bluetooth connection or a Wi-Fi P2P connection with the laptop based on the device information, so that the mobile phone can switch the currently playing application interface 901 to the laptop for continuous playback based on the wireless communication connection.
[0186] Exemplarily, the mobile phone can establish an ACL (asynchronous connection less) connection with the laptop according to the working mode of BR / EDR (basic rate and enhanced rate) in the Bluetooth protocol, based on the identification of the laptop (such as the Bluetooth MAC address), so as to establish a Bluetooth channel between the mobile phone and the laptop, such as a Bluetooth socket channel.
[0187] Alternatively, the mobile phone can establish a BLE connection with the laptop according to the working mode of BLE (bluetooth low energy) in the Bluetooth protocol, based on the identification of the laptop (such as the Bluetooth MAC address), so as to establish a Bluetooth channel between the mobile phone and the laptop.
[0188] After the mobile phone and the laptop establish a Bluetooth channel, to ensure the security of subsequent Bluetooth transmissions, the mobile phone can also perform identity authentication with the laptop based on the authentication information carried in the above device information. For example, the mobile phone can send the token obtained from the electronic tag 201 to the laptop. When the laptop determines that the token is a correct token, the laptop passes the identity authentication of the mobile phone. Another example is that the mobile phone can generate a public key for the laptop, such as an rsa256 public key, based on the authentication information such as the device serial number obtained from the electronic tag 201. Furthermore, the mobile phone can send this public key to the laptop. When the laptop determines that this public key is the correct public key of the laptop itself, the laptop passes the identity authentication of the mobile phone.
[0189] Subsequently, the mobile phone and the laptop can use the encrypted algorithm (or decryption algorithm) that has passed the identity authentication to transmit data on the established Bluetooth channel, so as to switch the application interface 901 being played on the mobile phone to continue playing on the laptop.
[0190] In some embodiments, after the mobile phone and the laptop establish a Bluetooth channel, the mobile phone can also obtain the 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 can include the SSID, password, MAC address, and supported frequency bands of the Wi-Fi P2P channel. After the mobile phone obtains this connection configuration information, it can use this connection configuration information to establish a Wi-Fi P2P channel with the laptop. After the mobile phone and the laptop establish a Wi-Fi P2P channel, it will not affect the Wi-Fi networks originally accessed by the mobile phone and the laptop.
[0191] Since the Wi-Fi P2P channel has higher security and transmission speed, subsequently, the mobile phone and the laptop can transmit data on the established Wi-Fi P2P channel, so as to switch the application interface 901 being played on the mobile phone to continue playing on the laptop.
[0192] In some embodiments, since the connection configuration information such as the SSID or password of the Wi-Fi P2P channel can be dynamically changed, after the mobile phone and the laptop establish a Bluetooth channel, the laptop can automatically generate a QR code according to the SSID, password and other connection configuration information used by the current Wi-Fi P2P channel, and display the QR code on the screen of the laptop. In this way, the user can also obtain the connection configuration information required to establish a Wi-Fi P2P channel with the laptop by using the mobile phone to scan the QR code. 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. Then, the processor in the laptop can dynamically update the connection configuration information such as the SSID, MAC address, password, etc. used by the current Wi-Fi P2P channel in the electronic tag 201. In this way, when the user touches the electronic tag 201 with the mobile phone, the mobile phone can read the connection configuration information required to establish a Wi-Fi P2P channel with the laptop at this time from the electronic tag 201. Furthermore, the mobile phone can directly establish a Wi-Fi P2P channel with the laptop using this connection configuration information without establishing a Bluetooth channel with the laptop again.
[0194] In other embodiments, an NFC chip can also be set in the laptop, and the device information of the laptop can be stored in the NFC chip. For example, the processor in the laptop can be electrically connected to the NFC chip. Exemplarily, as shown in (a) of Figure 11 the touch area 1101 corresponding to the NFC chip can be pre-identified on the housing of the laptop. Devices such as mobile phones with NFC function can effectively detect the NFC signal emitted by the NFC chip in the laptop after approaching the touch area 1101. The above touch area 1101 can be identified on the housing of the laptop by text, pictures or colors. In this way, when the user touches the touch area 1101 of the laptop with the mobile phone, the mobile phone can read the device information of the laptop from the NFC chip of the laptop and establish a wireless communication connection with the laptop.
[0195] Alternatively, the processor in the laptop can dynamically update connection configuration information such as the SSID, MAC address, and password used by the current Wi-Fi P2P channel in the NFC chip of the laptop. In this way, when the user touches the touch area 1101 with the mobile phone, the mobile phone can read from the NFC chip the connection configuration information required to establish a Wi-Fi P2P channel with the laptop at this time. Furthermore, the mobile phone can use this connection configuration information to directly establish a Wi-Fi P2P channel with the laptop without having to establish a wireless communication connection with the laptop again.
[0196] Or, as Figure 11 shown in (b) of [], an NFC chip is provided in the laptop. When it is detected that the user first turns on the NFC function of the laptop, the laptop can display a tutorial on the tap-and-touch operation in the form of text, video, or animation, so as to prompt the user where the touch area corresponding to the NFC chip in the laptop is specifically. In this way, the user can input a tap-and-touch operation to the touch area of the laptop with the mobile phone according to this prompt, so as to read the device information (or connection configuration information) stored in the NFC chip of the laptop, so that the mobile phone can establish a Bluetooth channel (or Wi-Fi P2P channel) with the laptop according to the above device information (or connection configuration information). Of course, the user can also open the above-mentioned tap-and-touch operation tutorial in the settings function or related applications of the laptop, and the embodiments of the present application do not make any restrictions on this.
[0197] In addition, after the mobile phone establishes a Bluetooth channel or a Wi-Fi P2P channel with the laptop, the mobile phone can further obtain the IP address of the laptop. In this way, the mobile phone can subsequently establish a TCP connection based on the TCP (transmission control protocol) / IP protocol on the Bluetooth channel or the Wi-Fi P2P channel according to the IP address of the laptop, so as to use this TCP connection to perform data interaction with the laptop.
[0198] S804. The mobile phone obtains the label of the above application interface.
[0199] After the mobile phone detects that the user inputs a tap-and-touch operation, on the one hand, it can establish a wireless communication connection between the mobile phone and the laptop by executing the above steps S802-S803. On the other hand, the mobile phone can execute step S804 to obtain the label of the current display content (i.e., the current application interface), and the label of this display content can be used to indicate the browsing position of the user on the current application interface.
[0200] Exemplarily, after the mobile phone detects the tap-and-touch operation on the electronic tag 201, it can query the foreground application that is currently running. Generally, the mobile phone can record the APP or task that is currently running in real time. For example, when the mobile phone is running an application, it can establish a corresponding application stack. Usually, the content at the top of the application stack is the content that the mobile phone is currently running and displaying. Then, after the mobile phone detects the tap-and-touch operation on the electronic tag 201, the tap-and-touch application can query the application interface 901 of the Weibo APP that the mobile phone is currently running in the top of the application stack. If the Weibo APP has registered a listening service in the tap-and-touch application, it means that the Weibo APP supports the cross-device playback function of "one-touch continuation". Then, the tap-and-touch application can send a request message to the Weibo APP, and this request message is used to request the Weibo APP to obtain the label of the currently displayed content (i.e., the application interface 901).
[0201] After the Weibo APP receives the request message sent by the tap-and-touch application, it can generate a label corresponding to the currently displayed application interface 901, so as to record the specific browsing content and browsing position of the user in the Weibo APP currently. Exemplarily, as Figure 12 shown, each piece of content in the application interface 901 displayed by the Weibo APP on the mobile phone has a corresponding index. For example, the index corresponding to the Weibo homepage of "Zhang San" is 001, the index corresponding to the first Weibo displayed on the Weibo homepage of "Zhang San" is 002, the index corresponding to the second Weibo displayed on the Weibo homepage of "Zhang San" is 003,.... Then, the Weibo APP can send the indexes of each piece of content in the application interface 901 to the application server of the Weibo APP in a certain order. The application server can generate a label (tag) of the application interface 901 according to these indexes in a certain format, and this label can be used to indicate the specific content that the current Weibo APP is displaying. The application server can send the generated label of the application interface 901 to the Weibo APP on the mobile phone. Furthermore, the Weibo APP can pass the label of the application interface 901 to the tap-and-touch application by calling a preset callback function.
[0202] Alternatively, when the Weibo APP displays the application interface 901, the application server may record one or more indexes corresponding to the application interface 901. For example, when the Weibo APP needs to display the application interface 901, it may send a corresponding display request to the application server. The application server may respond to the display request, determine, and save the indexes corresponding to the application interface 901: 001, 002, and 003. Further, the application server may send the display data corresponding to each index to the mobile phone, so that the mobile phone can display the application interface 901 according to the display data. However, at this time, the mobile phone does not save each index in the application interface 901. Then, after the Weibo APP receives the request message sent by the touch-to-touch application, it may request the application server to generate a tag for the application interface 901. Further, the application server may generate a tag for the application interface 901 based on the indexes saved in the application interface 901 and send the tag of the application interface 901 to the Weibo APP on the mobile phone. In this way, the Weibo APP can also pass the tag of the application interface 901 to the touch-to-touch application by calling a preset callback function.
[0203] In addition, the application server can also send authentication information for logging in to the Weibo APP to the mobile phone. For example, the authentication information may be a security token generated by the application server. Alternatively, the authentication information may be the Weibo account and password that the user is currently logged in to, etc. Subsequently, the mobile phone can send the tag of the application interface 901 and the above authentication information to the laptop, so that the laptop can automatically log in to the user's Weibo account according to the above authentication information and display the application interface 901.
[0204] In some embodiments, the foreground application running on the mobile phone can also respond to the request message sent by the touch-to-touch application to generate a tag for the current display content, and can generate a tag for the current display content without interacting with the application server. For example, taking the foreground application running on the mobile phone as the WPS application as an example, after the WPS application receives the request message sent by the touch-to-touch application, it can respond to the request message to query the name of the currently open word document and the display position of the word document, and pass the name and display position of the word document as the tag of the current display content to the touch-to-touch application.
[0205] It should be noted that the application manufacturer of each application can customize how to respond to the request message sent by the touch-to-touch application to generate the label of the current display content, and the embodiments of the present application do not impose any restrictions on this. For example, after receiving the request message sent by the touch-to-touch application, different applications can interact with the application server in the manner predefined by their respective application manufacturers and generate the label of the current display content in the predefined format. Since the label of the display content can reflect the specific content being played when the mobile phone runs the application, after the subsequent laptop obtains the label, it can continue to play the application interface indicated by the label in the corresponding application or website.
[0206] S805. The mobile phone sends the label of the above application interface to the laptop based on the above wireless communication connection.
[0207] After obtaining the label of the current application interface, the mobile phone can send the label of the above application interface to the laptop through the wireless communication connection established in step S804, so as to continue playing the display content in the mobile phone.
[0208] Still taking the application interface 901 of the Weibo APP running on the mobile phone as an example, after the touch-to-touch application receives the label of the application interface 901 sent by the Weibo APP, it can call the Bluetooth service or Wi-Fi service to use the established Bluetooth channel or Wi-Fi P2P channel to send the label of the application interface 901 to the laptop.
[0209] In some embodiments, in addition to sending the label of the application interface 901 to the laptop, the mobile phone can also send the authentication information sent by the application server of the Weibo APP 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 label of the application interface 901 to the laptop, the mobile phone can also send files such as pictures, videos, audios, or documents included 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, audios, or documents included in the application interface 901 additionally.
[0211] S806. The laptop continues to display the application interface of the first application according to the label of the above application interface.
[0212] Still taking the application interface 901 of the Weibo APP running on the mobile phone as an example, after the laptop receives the label of the application interface 901 sent by the mobile phone, it can transfer the label of the application interface 901 to the Weibo APP installed in the laptop through the touch-to-touch service in the laptop. And, the laptop can also transfer the authentication information sent by the mobile phone to the Weibo APP installed in the laptop.Figure 13 As shown, the Weibo APP in the laptop can automatically log in to the user's Weibo account according to the authentication information. Moreover, the Weibo APP in the laptop can also interact with the application server of the Weibo APP based on the labels of the application interface 901, and obtain the display content corresponding to the label from the application server. In this way, the Weibo APP in the laptop can display the application interface 1301 corresponding to the application interface 901 according to the display content sent by the application server. Among them, the application interface 1301 displayed on the laptop and the application interface 901 displayed on the mobile phone contain the same display content, realizing the cross-device continuous playback function of the same display content on the mobile phone and the laptop.
[0213] Of course, if the Weibo APP is not installed in the laptop, the laptop can also use a browser to open and log in to the user's Weibo account, and reopen the application interface corresponding to the application interface 901 according to the label of the application interface 901, realizing the cross-device continuous function of the same display content on the mobile phone and the laptop. Or, if the Weibo APP is not installed in the laptop, the laptop can also prompt the user to install the Weibo APP. For example, the laptop can automatically jump to the download interface of the Weibo APP in the application market. If the laptop detects that the user has downloaded the Weibo APP, the Weibo APP in the laptop can automatically log in to the user's Weibo account according to the above method, and display the corresponding application interface 1301 according to the label of the application interface 901.
[0214] It should be noted that as Figure 13 shown, the display layout and display effect in the application interface 901 of the Weibo APP displayed on the mobile phone and the application interface 1301 of the Weibo APP displayed on the laptop may not be the same, and the embodiments of the present application do not impose any restrictions on this.
[0215] In some embodiments, the tags of the current display content obtained by an application (such as the Weibo APP mentioned above) may have incomplete information. For example, in the tags of the application interface 901 mentioned above, it may only record that the page currently displayed by the Weibo APP is the Weibo homepage of "Zhang San". At this time, the mobile phone or laptop cannot accurately determine the specific location of the user browsing the Weibo homepage of "Zhang San" based on this tag. Then, the mobile phone can also record the specific operations of the user on the application interface 901, such as the sliding operation of the user on the application interface 901. Furthermore, the mobile phone can predict the browsing position of the user on the application interface 901 according to the specific operations of the user on the application interface 901. For example, the mobile phone can predict that the user is browsing the 5th Weibo on the current Weibo homepage according to the number of sliding operations or the sliding distance input by the user on the application interface 901. Then, when the mobile phone sends the tag of the application interface 901 to the laptop, it can also send the predicted current browsing position of the user. In this way, the laptop can also continue to display the application interface corresponding to the application interface 901 for the user in combination with the browsing position predicted by the mobile phone. Taking the browsing position predicted by the mobile phone as the 5th Weibo on the Weibo homepage as an example, the laptop can open the Weibo homepage of "Zhang San" according to the tag of the application interface 901 and display the application interface containing the content of the 5th Weibo on this Weibo homepage. For example, the laptop can display the content of the 4th to 6th Weibos on the Weibo homepage of "Zhang San".
[0216] In addition, due to the different display capabilities of the mobile phone and the laptop, when the mobile phone predicts the browsing position of the user, it can also determine the browsing position in the laptop corresponding to the browsing position of the user in the mobile phone according to the differences in display aspects such as resolution, font size, or line spacing between the mobile phone and the laptop. For example, since more lines of content can be displayed on one page of the laptop, the content of the 3rd page browsed by the user on the mobile phone corresponds to the content of the 2nd page on the laptop. Then, the mobile phone can determine the predicted current browsing position of the user as the 2nd page. Subsequently, after receiving this browsing position, the laptop can continue to play the current display content for the user more accurately from the same position in combination with this browsing position.
[0217] In some embodiments of the present application, in addition to triggering the mobile phone to switch the current display content to be continuously played on the laptop by means of a touch, the user can also trigger the mobile phone to transfer the currently displayed file to the laptop by means of a touch, that is, to provide the user with a cross-device transfer function of "one-touch transfer".
[0218] Exemplarily, similar to the above steps S801 - S806, when the mobile phone is displaying a certain local file (such as a photo, video, or document, etc.), if the user needs to transfer this file to the laptop, the user can use the mobile phone to touch the electronic tag set on the laptop to obtain the device information of the laptop. Furthermore, 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] It can be seen that similar to the "one-touch continuation" cross-device playback function provided by the above steps S801 - S806, before continuing to display content or transfer files, it is necessary for the user to trigger the establishment of a wireless communication connection between the mobile phone and the laptop by touching them together.
[0220] Then, in some embodiments, after detecting that the user uses the mobile phone to touch the electronic tag set on the laptop, or after the mobile phone and the laptop have established a wireless communication connection, as Figure 14 shown in (a) below, the mobile phone can provide the user with the option 1201 of "one-touch continuation" and the option 1202 of "one-touch transfer". Or, as Figure 14 shown in (b) below, the laptop can also provide the user with the option 1301 of "one-touch continuation" and the option 1302 of "one-touch transfer". If it is detected that the user selects option 1201 (or 1301), it means that the user hopes to continue playing the display content on the mobile phone on the laptop, then the mobile phone can continue to switch the current display content to the laptop for continuous playback according to the above steps S802 - S806. If it is detected that the user selects option 1202 (or 1302), it means that the user hopes to transfer the file currently being displayed on the mobile phone to the laptop, then the mobile phone can automatically transfer the currently displayed file to the laptop.
[0221] In some other embodiments, the mobile phone can also determine whether to continue playing the current display content on the laptop or transfer the current display file to the laptop according to the distance between the mobile phone and the electronic tag. For example, the NFC communication mode supports data interaction within 10 cm. If it is detected that the distance between the mobile phone and the electronic tag is less than a preset value (such as less than 2 cm), it means that the user hopes to continue playing the display content on the mobile phone on the laptop, then the mobile phone can continue to switch the current display content to the laptop for continuous playback according to the above steps S802 - S806. If it is detected that the distance between the mobile phone and the electronic tag is greater than the preset value, it means that the user hopes to transfer the file currently being displayed on the mobile phone to the laptop, then the mobile phone can automatically transfer the currently displayed file to the laptop.
[0222] In some other embodiments, the mobile phone can also determine whether to continue playing the current displayed content on the laptop or transfer the currently displayed file to the laptop according to the NFC signal strength between the mobile phone and the electronic tag. For example, if the detected NFC signal strength between the mobile phone and the electronic tag is greater than a preset threshold, it indicates that the user hopes to continue playing the displayed content on the mobile phone on the laptop. Then, the mobile phone can continue to switch the current displayed content to the laptop for continuous playback according to the above steps S802 - S806. If the detected NFC signal strength between the mobile phone and the electronic tag is less than the preset threshold, it indicates that the user hopes to transfer the file being displayed on the mobile phone to the laptop. Then, the mobile phone can automatically transfer the currently displayed file to the laptop.
[0223] In some other embodiments, the mobile phone can also determine whether to continue playing the current displayed content on the laptop or transfer the currently displayed file to the laptop according to the length of time the mobile phone touches the electronic tag. For example, if the detected time when the mobile phone touches the electronic tag is greater than a preset value, it indicates that the user hopes to continue playing the displayed content on the mobile phone on the laptop. Then, the mobile phone can continue to switch the current displayed content to the laptop for continuous playback according to the above steps S802 - S806. If the detected time when the mobile phone touches the electronic tag is less than the preset value, it indicates that the user hopes to transfer the file being displayed on the mobile phone to the laptop. Then, the mobile phone can automatically transfer the currently displayed file to the laptop.
[0224] In some other embodiments, the mobile phone can also pre - set application scenarios that support the "one - touch continuation" function and application scenarios that support the "one - touch transfer" function. For example, when it is detected that the user uses the mobile phone to touch the electronic tag on the laptop, the mobile phone can obtain the identifier of the application running in the foreground (such as packagename) or the identifier of the application interface running in the foreground (such as activityname). If the application (or application interface) running in the foreground is a preset application (or application interface) that supports the "one - touch transfer" function, the mobile phone can automatically transfer the currently displayed file to the laptop. If the application (or application interface) running in the foreground is a preset application (or application interface) that supports the "one - touch continuation" function, the mobile phone can switch the current displayed content to the laptop for continuous playback according to the above steps S802 - S806.
[0225] Alternatively, when it is detected that the user touches the electronic tag on the laptop with the mobile phone, the mobile phone can also identify whether the current application interface contains files such as local photos, videos, audio, or documents. If one or more local files are included, the mobile phone can automatically transmit the currently displayed files to the laptop to complete the function of "one-touch transfer"; if no local files are included, the mobile phone can automatically switch the current display content to continue playing on the laptop to complete the function of "one-touch continuation". The embodiments of the present application do not make any restrictions on this.
[0226] It should be noted that in the above embodiments, the mobile phone is used as the first electronic device and the laptop is used as the second electronic device, and the application scenario of switching the display content in the mobile phone to continue playing in the laptop is used as an example. It can be understood that when the user wants to switch the display content being played in any electronic device to another electronic device, the two electronic devices can be touched to trigger the first electronic device and the second electronic device to quickly establish a wireless communication connection, and the display content in the first electronic device can be automatically switched to continue playing in the second electronic device, thereby simplifying the operation process of the user when the same content is continued across devices and improving and enriching the user experience.
[0227] As Figure 15 shown, an embodiment of the present application discloses a first electronic device, such as the above-mentioned mobile phone. The first electronic device may specifically include: a touch screen 1501, the touch screen 1501 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, and the first NFC unit 1509 may be an NFC chip or an electronic tag; one or more application programs (not shown); and one or more computer programs 1504. The above components can be connected through one or more communication buses 1505. Wherein the one or more computer programs 1504 are stored in the above-mentioned memory 1503 and are configured to be executed by the one or more processors 1502. The one or more computer programs 1504 include instructions, and the instructions can be used to execute the respective steps in the above embodiments.
[0228] As Figure 16As shown in the figure, an embodiment of the present application discloses a second electronic device, such as the aforementioned laptop computer. 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 device information of the second electronic device is stored in the second NFC unit 1606; a communication module 1607; one or more applications (not shown); and one or more computer programs 1604. The above-mentioned components can be connected through one or more communication buses 1605. Among them, the one or more computer programs 1604 are stored in the above-mentioned memory 1603 and are 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 execute the respective steps in the above-mentioned embodiments.
[0229] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0230] In each embodiment of the present application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0231] If the above-mentioned integrated unit is implemented in the form of 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 solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk, or optical disk, etc., which can store program codes.
[0232] As described above, it is only the specific implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered within the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to 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 configured with a first Near Field Communication (NFC) unit, and the second electronic device is configured with a second NFC unit. The second NFC unit includes device information of the second electronic device. The NFC unit is an NFC chip or an electronic tag. Among them, when the first electronic device displays a first application interface of a 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; the first electronic device establishes a wireless communication connection with the second electronic device according to the device information. The wireless communication connection is a Bluetooth connection or a Wi-Fi peer-to-peer (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 is used to indicate the display 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 tag. The first application interface and the second application interface contain the same display content.
2. The content continuation system according to claim 1, wherein the first electronic device is specifically configured to: in response to an operation of approaching or contacting the second NFC unit, obtain the 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, wherein the first electronic device is specifically configured to: send an electromagnetic wave signal through the first NFC unit. The electromagnetic wave signal is used to drive the second NFC unit to send the device information of the second electronic device; obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
4. The content continuation system according to any one of claims 1-3, wherein the first electronic device is further configured to: obtain a tag of the first application interface.
5. The content continuation system according to claim 4, wherein the first electronic device is specifically configured to: a touch-and-go application in the first electronic device sends a first request to the first application running in the foreground. The first request is used to request to obtain a tag of the first application interface being displayed; in response to the first request, the first application obtains the tag of the first application interface.
6. The content continuation system according to claim 5, wherein the first electronic device is specifically configured to: obtain a tag of the first application interface from an application server of the first application.
7. The content continuation system according to claim 6, wherein the first electronic device is specifically configured to: send a second request to the application server. The second request includes one or more indexes corresponding to the first application interface; The application server is further configured to: generate tags for the first application interface according to one or more indexes in the second request, and send the tags of the first application interface to the first electronic device.
8. The content continuation system according to claim 6 or 7, wherein The first electronic device is further configured to: obtain authentication information from the application server, where the authentication information is used to log in to an account registered by the user in the first application; send the authentication information to the second electronic device based on the wireless communication connection; The second electronic device is further configured to: use the authentication information to log in to the first application installed in the second electronic device.
9. The content continuation system according to any one of claims 1-8, wherein The first electronic device is further configured to: predict the browsing position of the user in the first application interface; send the browsing position to the second electronic device based on the 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.
10. The content continuation system according to any one of claims 1-9, wherein The first electronic device is further configured to: send a file included in the first application interface to the second electronic device based on the 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 file received from the first electronic device.
11. The content continuation system according to any one of claims 1-10, wherein The second electronic device is further configured to: start the installed first application, and send the tags of the first application interface to the first application, so that the first application displays the second application interface according to the tags; or, The second electronic device is specifically configured to: open the second application interface using a browser according to the tags of the first application interface.
12. The content continuation system according to claim 11, wherein The second electronic device is further configured to: prompt the user to download and install the first application in the second electronic device.
13. The content continuation system according to any one of claims 1-12, characterized in that, The device information includes the identifier of the second electronic device; The first electronic device is specifically configured to: establish a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; or establish a Bluetooth connection with the second electronic device according to the identifier of the second electronic device; obtain connection configuration information from the second electronic device through the Bluetooth connection; use the connection configuration information to establish a Wi-Fi P2P connection with the second electronic device.
14. The content continuation system according to any one of claims 1-13, wherein The first electronic device is specifically configured to: if the first application is a preset application, or the first application interface is a preset application interface, send the tags of the first application interface to the second electronic device based on the wireless communication connection.
15. The content continuation system according to any one of claims 1-13, characterized in that, The first electronic device is specifically configured to: If the residence time when the first NFC unit is close to or in contact with the second NFC unit satisfies a first preset condition, then send the label of the first application interface to the second electronic device based on the wireless communication connection; Or; If the signal strength when the first NFC unit is close to or in contact with the second NFC unit satisfies a second preset condition, then send the label of the first application interface 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 satisfies a third preset condition, then send the label of the first application interface to the second electronic device based on the wireless communication connection.
16. The content connection system according to any one of claims 1-13, wherein The first electronic device is further configured to: display a first option and a second option, the first option is used to indicate sending the label of the first application interface to the second electronic device, and the second option is used to indicate sending a file in the first application interface to the second electronic device.
17. A first electronic device, characterized in that, The first electronic device includes a processor, and a first NFC unit, a display screen, a communication module, and a memory coupled to the processor, and the first NFC unit is an NFC chip or an electronic tag; wherein, 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 obtain 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, and the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; The processor is further configured to: instruct the communication module to send the label of the first application interface to the second electronic device based on the wireless communication connection, and the label is used to indicate 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 label.
18. The first electronic device according to claim 17, wherein The first NFC unit is specifically configured to: detect an operation that the first electronic device is close to or in contact with a second NFC unit in the second electronic device; in response to the operation of being close to or in contact with the second NFC unit, read the device information of the second electronic device from the second NFC unit.
19. The first electronic device according to claim 17, wherein The first NFC unit is specifically configured to: send an electromagnetic wave signal, the electromagnetic wave signal is used to drive the second NFC unit in the second electronic device to send the device information of the second electronic device; obtain the device information of the second electronic device from the second NFC unit.
20. The first electronic device according to any one of claims 17-19, wherein The processor is further configured to: instruct the communication module to obtain the label of the first application interface from an application server of the first application.
21. The first electronic device according to any one of claims 17-20, 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 account registered by the user in the first application; and instruct the communication module to send the authentication information to the second electronic device based on the wireless communication connection.
22. The first electronic device according to any one of claims 17-21, characterized in that the processor is further configured to: predict the browsing position of the user in the first application interface; and instruct the communication module to send the browsing position to the second electronic device based on the wireless communication connection.
23. The first electronic device according to any one of claims 17-22, characterized in that the processor is further configured to: instruct the communication module to send the file included in the first application interface to the second electronic device based on the wireless communication connection.
24. The first electronic device according to any one of claims 17-23, characterized in that the processor is specifically configured to: if the first application is a preset application, or the first application interface is a preset application interface, instruct the communication module to send the label of the first application interface to the second electronic device based on the wireless communication connection.
25. The first electronic device according to any one of claims 17-23, characterized in that the processor is specifically configured to: determine whether the residence 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, instruct the communication module to send the label of the first application interface to the second electronic device based on the wireless communication connection.
26. The first electronic device according to any one of claims 17-23, 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 used to indicate sending the label of the first application interface to the second electronic device, and the second option being used to indicate sending the file in the first application interface to the second electronic device.
27. A second electronic device, characterized in that, The second electronic device includes a processor, and a second NFC unit, a display screen, a communication module and a memory coupled to the processor. The second NFC unit is an NFC chip or an electronic tag, and the second NFC unit includes the device information of the second electronic device; wherein The communication module is configured to: establish a wireless communication connection with a first electronic device, where the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; receive, based on the wireless communication connection, tags of a first application interface sent by the first electronic device, where the first application interface is the interface being displayed on the first electronic device, and the tags are used to indicate the display content in the first application interface. The processor is configured to: instruct the display screen to display a second application interface of the first application corresponding to the first application interface according to the tags, where the first application interface and the second application interface contain the same display content.
28. The second electronic device according to claim 27, wherein The processor is specifically configured to: in response to an operation that a first NFC unit in the first electronic device approaches or contacts the second NFC unit, instruct the communication module to establish a wireless communication connection with the first electronic device.
29. The second electronic device according to claim 27 or 28, wherein The communication module is further configured to: receive authentication information sent by the first electronic device, where the authentication information is used to log in to an account registered by the 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.
30. The second electronic device according to any one of claims 27-29, wherein The communication module is further configured to: receive the browsing position of the user in the first application interface sent by the first electronic device. The processor is specifically configured to: according to the tags and the browsing position, instruct the display screen to display a second application interface corresponding to the first application interface.
31. The second electronic device according to any one of claims 27-30, wherein The communication module is further configured to: receive a file included in the first application interface sent by the first electronic device. The processor is specifically configured to: according to the tags and the file received from the first electronic device, instruct the display screen to display a second application interface corresponding to the first application interface.
32. The second electronic device according to any one of claims 27-31, wherein The processor is further configured to: use a browser to open, in the display screen, a second application interface corresponding to the first application interface according to the tags of the first application interface; or, prompt the user to install the first application in the second electronic device in the display screen.
Citation Information
Patent Citations
Data interaction display system and data interaction display method
CN104679334A
Information processing method and electronic equipment
CN106201214A
Terminal task management device, terminal task continuation device, terminal task management method, terminal task continuation method and terminal
CN106488018A
Control method and first electronic equipment, and target equipment
CN106658159A
Method of playing multimedia data and electronic device
CN109660842A