Content continuation method, system and electronic device
By using NFC units to realize a bump connection in the electronic device, the display content tag of the first device is automatically sent to the second device, which solves the problem of complex switching content between devices and improves the user experience and seamless replay effect of content.
Patent Information
- Application Number
- CN201910918888.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-06
- Filing Date
- 2019-09-26
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2039-09-26
AI Technical Summary
When switching content playback between multiple electronic devices, users need to operate manually, resulting in high operational complexity and poor user experience.
By providing an NFC unit in the first electronic device and the second electronic device, the user can trigger a wireless communication connection between the two by touching and automatically send the display content tag in the first electronic device to the second electronic device so that it continues to play the same content.
It simplifies the operation process of cross-device interaction, improves the user experience, and makes it possible to seamlessly continue broadcasting the same content between multiple devices.
Smart Images

Figure CN112351412B_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on August 6, 2019, with application number 201910722098.4 and invention name “Touch-to-task continuation between mobile phones and PCs”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of terminals, and in particular to a content connection method, system and electronic device. Background Art
[0003] With the development of smart 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 uses a mobile phone to watch a video on the way home from get off work, and may want to switch the video to the TV to continue watching after returning home. For another example, a user can use a laptop to work at home, and when the user leaves home, he may want to switch the files in the laptop to the mobile phone to continue working.
[0004] In this cross-device interaction scenario, users are usually required to manually switch the playback content on one device to another device. For example, if a user needs to switch web page A being browsed on a mobile phone to a laptop for playback, the user can enter the URL of web page A in the browser of the laptop to open web page A in the laptop. Obviously, the process of switching playback content between multiple devices is time-consuming and cumbersome, and the user experience is not good. Summary of the invention
[0005] The present application provides a content continuation method, system and electronic device, which can conveniently and quickly switch content played on a first electronic device to a second electronic device for continued playback, thereby reducing the operation complexity of users when performing cross-device interaction and improving the user experience.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a content continuation system, which may include a first electronic device and a second electronic device, wherein the first electronic device is configured with a first NFC unit, and the second electronic device is configured with a second NFC unit, wherein the second NFC unit includes device information of the second electronic device, and the 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; then, 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 a tag of the first application interface to the second electronic device based on the above-mentioned wireless communication connection, and the tag is used to indicate the display content in the first application interface; in this way, after the second electronic device receives the tag, it can display the second application interface of the first application corresponding to the first application interface according to the tag, 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 electronic devices to browse a certain application interface, a wireless communication connection can be quickly established through the NFC units in the two electronic devices, thereby sending the content tag being displayed in the first electronic device to the second electronic device, so that the second electronic device can continue to play the application interface in the first electronic device according to the tag, thereby simplifying the user's operation process when the same content interacts across devices, improving and enriching the user's experience.
[0010] In a possible implementation, the first electronic device may be specifically configured to: in response to an operation of approaching or contacting the second NFC unit, obtain device information of the second electronic device from the second NFC unit through the first NFC unit.
[0011] In a possible implementation, the first electronic device may be specifically configured to: send an electromagnetic wave signal through the first NFC unit, where the electromagnetic wave signal is used to drive the second NFC unit to send device information of the second electronic device; and then, obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0012] That is to say, the user can trigger the first electronic device to establish a communication connection with the second electronic device by touching them, 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, the first electronic device is further used to: obtain a label of the first application interface.
[0014] In one possible implementation, the first electronic device is specifically used for: a touch application in the first electronic device sends a first request to a first application running in the foreground, the first request being used to request to obtain a label of a 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 manner, the first electronic device is specifically used to: obtain a label of the first application interface from an application server of the first application.
[0016] Exemplarily, the first electronic device can be specifically used to: send a second request to the above-mentioned application server, the second request including one or more indexes corresponding to the first application interface; the application server is also used to: generate a label of the first application interface according to the one or more indexes in the second request, and send the label of the first application interface to the first electronic device.
[0017] In a possible implementation, the first electronic device is further used to: obtain authentication information from the above application server, 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 used 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 label of the first application interface.
[0018] In one possible implementation, the first electronic device is further used to: predict the user's browsing position in the first application interface; send the browsing position to the second electronic device based on the above-mentioned wireless communication connection; and the second electronic device is specifically used to: display the second application interface based on the label of the first application interface and the browsing position.
[0019] In one possible implementation, the first electronic device is further used to: send the file contained in the first application interface to the second electronic device based on the above-mentioned wireless communication connection; the second electronic device is specifically used to: display the second application interface according to the label of the first application interface and the file received from the first electronic device.
[0020] In one possible implementation, the second electronic device is also used to: launch the installed first application and send the label of the first application interface to the first application, so that the first application displays the corresponding second application interface according to the label; or, when the first application is not installed in the second electronic device, the second electronic device is specifically used to: open the second application interface using a browser according to the label of the first application interface.
[0021] In a possible implementation, the second electronic device is further used 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 one possible implementation, the above-mentioned device information may include an identifier of the second electronic device, such as a Bluetooth MAC address of the second electronic device; in this case, the first electronic device can be specifically 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 the Bluetooth connection; and use the 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 configured to: if the first application is a preset application, or the first application interface is a preset application interface, send a label of the first application interface to the second electronic device based on a wireless communication connection.
[0024] In one possible implementation, the first electronic device is specifically used to: if the residence time when the first NFC unit and the second NFC unit are close to or in contact meets a first preset condition, send a label of the first application interface to the second electronic device based on a wireless communication connection; or; if the signal strength when the first NFC unit and the second NFC unit are close to or in contact meets a second preset condition, send the label of the first application interface to the second electronic device based on a wireless communication connection; or; if the distance between the first NFC unit and the second NFC unit meets a third preset condition, send the label of the first application interface to the second electronic device based on a wireless communication connection.
[0025] That is, the first electronic device can determine whether the user's operation intention is to continue playing the display content of the first electronic device in the second electronic device based on 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 of the first electronic device in the second electronic device, the first electronic device can transfer the file contained in the first application interface to the second electronic device, realizing the "one-touch transfer" file transfer function.
[0026] In a possible implementation, the first electronic device is further configured to: display a first option and a second option, wherein the first option is used to instruct the first application interface label to be sent to the second electronic device, and the second option is used to instruct the first application interface file to be sent to the second electronic device. Then, if it is detected that the user selects the first option, the first electronic device may send the first application interface label to the second electronic device based on the wireless communication connection, thereby realizing the "one-touch to continue" content 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; wherein, when displaying a first application interface of a first application, a first electronic device can obtain device information of a second electronic device through its first NFC unit; the first electronic device establishes a wireless communication connection with the second electronic device according to the device information, and the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; the first electronic device sends a tag of the first application interface to the second electronic device based on the wireless communication connection, and the tag is used to indicate the display content in the first application interface; after receiving the tag of the first application interface, the second electronic device can display a second application interface corresponding to the first application interface according to the tag, and the first application interface and the second application interface contain the same display content.
[0028] In a possible implementation, the first electronic device obtains 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, the first electronic device obtains 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; then, the first electronic device can obtain the device information of the second electronic device from the second NFC unit through the first NFC unit.
[0030] In a possible implementation, the content continuation method further includes: the first electronic device obtains a 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, 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, the first application obtains the tag of the first application interface, including: the first electronic device obtains the tag of the first application interface from an application server of the first application.
[0033] Exemplarily, the first electronic device obtains a label of the first application interface from an application server of the first application, including: the first electronic device sends a second request to the application server, the second request includes one or more indexes corresponding to the first application interface; the application server generates a label of the first application interface based on 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 one possible implementation, the above-mentioned content continuation method also includes: the first electronic device obtains authentication information from the application server, and the authentication information is used to log in to the user's account registered in the first application; then, the first electronic device can send the authentication information to the second electronic device based on the above-mentioned wireless communication connection; after the second electronic device receives the authentication information, it can use the authentication information to log in to the first application installed in the second electronic device.
[0035] In a possible implementation, the 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 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, the content continuation method further includes: the first electronic device sends the file contained 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, before the second electronic device displays the second application interface according to the tag of the first application interface, the method further includes: the second electronic device starts the installed first application and sends the tag 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 may use a browser to open the second application interface according to the label of the first application interface; alternatively, the second electronic device may prompt the user to download and install the first application in the second electronic device.
[0039] In one possible implementation, the device information may include an 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; and then, the first electronic device obtains connection configuration information from the second electronic device through the Bluetooth connection; and uses the connection configuration information to establish a Wi-Fi P2P connection with the second electronic device.
[0040] In one possible implementation, a first electronic device sends a label of a first application interface to a second electronic device based on a wireless communication connection, including: if the first application is a preset application, or the first application interface is a preset application interface, 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, a first electronic device sends a label of a first application interface to a second electronic device based on a wireless communication connection, including: if the residence time when the first NFC unit and the second NFC unit are close to or in contact meets a first preset condition, 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 and the second NFC unit are close to or in contact meets a second preset condition, 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, 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, the first electronic device also includes: the first electronic device displays a first option and a second option, the first option is used to indicate that the label of the first application interface is sent to the second electronic device, and the second option is used to indicate that the file in the first application interface is sent 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 wireless communication connection.
[0043] In a third aspect, the present application provides a first electronic device, comprising a processor, and a first NFC unit, a display screen, a communication module and a memory coupled to the processor, wherein the first NFC unit is an NFC chip or an electronic tag; wherein the processor is used to: instruct the display screen to display a first application interface of a first application; the processor is also used to: instruct the first NFC unit to obtain device information of a second electronic device; the processor is also used 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 also used 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 the second application interface of the first application corresponding to the first application interface according to the tag.
[0044] In a possible implementation, the first NFC unit is specifically used to: detect an operation of the first electronic device approaching or contacting a second NFC unit in a second electronic device; and read device information of the second electronic device from the second NFC unit in response to the operation of approaching or contacting the second NFC unit.
[0045] In a possible implementation, the first NFC unit is specifically used to: send an electromagnetic wave signal, where the electromagnetic wave signal is used to drive a second NFC unit in the second electronic device to send device information of the second electronic device; and obtain the device information of the second electronic device from the second NFC unit.
[0046] In a possible implementation, the processor is further configured to: instruct the communication module to obtain a label of the first application interface from an application server of the first application.
[0047] In one possible implementation, the processor is also used to: instruct the communication module to obtain authentication information from the application server of the first application, where the authentication information is 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 a wireless communication connection.
[0048] In a possible implementation, the processor is further used 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 a wireless communication connection.
[0049] In a possible implementation, 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.
[0050] In a possible implementation, 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 a label of the first application interface to the second electronic device based on a wireless communication connection.
[0051] In a possible implementation, the processor is specifically used to: determine whether the residence time when the first NFC unit and the second NFC unit in the second electronic device are close to or in contact meets a first preset condition; or, determine whether the signal strength when the first NFC unit and the second NFC unit in the second electronic device are close to or in contact 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 a label of the first application interface to the second electronic device based on a wireless communication connection.
[0052] In one possible implementation, the processor is also used to: instruct the display screen to display a first option and a second option, the first option is used to instruct sending a label of the first application interface to the second electronic device, and the second option is used to instruct sending a 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 a first electronic device displays a first application interface of a first application, it can obtain device information of a second electronic device through its first NFC unit; the first electronic device establishes a wireless communication connection with the second electronic device according to the device information, and the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; the first electronic device sends a tag of the first application interface to the second electronic device based on the wireless communication connection, 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 corresponding to the first application interface according to the tag, 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 device information of the second electronic device through the first NFC unit, including: in response to the first NFC unit approaching or contacting 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 device information of the second electronic device through the first NFC unit, including: the first electronic device sends an electromagnetic wave signal, where 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; and the first electronic device obtains the device information of the second electronic device from the second NFC unit.
[0056] In a possible implementation, the content continuation method further includes: the first electronic device obtains a label of the first application interface from an application server of the first application.
[0057] In one possible implementation, the above-mentioned content continuation method also 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; then, 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 content continuation method further includes: the first electronic device predicting the browsing position of the user in the first application interface; and then, the first electronic device may send the browsing position to the second electronic device based on the wireless communication connection.
[0059] In a possible implementation, the content continuation method further includes: the first electronic device may send the file contained in the first application interface to the second electronic device based on the wireless communication connection.
[0060] In one possible implementation, a first electronic device sends a label of a first application interface to a second electronic device based on a wireless communication connection, including: if the first application is a preset application, or the first application interface is a preset application interface, 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 a label of the first application interface to the second electronic device based on a wireless communication connection, including: the first electronic device determines whether the residence time when the first NFC unit and the second NFC unit in the second electronic device are close to or in contact meets a first preset condition; or, determines whether the signal strength when the first NFC unit and the second NFC unit in the second electronic device are close to or in contact 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, 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 the wireless communication connection, the first electronic device also includes: the first electronic device displays a first option and a second option, the first option is used to indicate that the label of the first application interface is sent to the second electronic device, and the second option is used to indicate that the file in the first application interface is sent 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 coupled to the processor, a display screen, a communication module, and a memory, wherein the second NFC unit is an NFC chip or an electronic tag, and the second NFC unit includes device information of the second electronic device; wherein,
[0064] The communication module is used to: establish a wireless communication connection with a first electronic device, which is a Bluetooth connection or a Wi-Fi P2P connection; receive a label of a first application interface sent by the first electronic device based on the wireless communication connection, the first application interface is the interface currently displayed by the first electronic device, and the label is used to indicate the display content in the first application interface; the processor is used to: instruct the display screen to display a second application interface of the first application corresponding to the first application interface according to the label, and the first application interface and the second application interface contain the same display content.
[0065] In a possible implementation, the processor is specifically configured to: in response to an operation in which 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 one possible implementation, the communication module is further used to: receive authentication information sent by the first electronic device, the authentication information being used to log in to an account registered by a user in the first application; the processor is further used to: use the authentication information to log in to the first application installed in the second electronic device.
[0067] In one possible implementation, the communication module is also used to: receive a browsing position of a user in a first application interface sent by a first electronic device; at this time, the processor is specifically used to: instruct the display screen to display a second application interface corresponding to the first application interface based on the label and the browsing position.
[0068] In one possible implementation, the communication module is also used to: receive a file contained in a first application interface sent by a first electronic device; at this time, the processor is specifically used to: instruct the display screen to display a second application interface corresponding to the first application interface based on the label and the file received from the first electronic device.
[0069] In one possible implementation, the processor is further used to: use a browser to open a second application interface corresponding to the first application interface in a display screen according to a tag of the first application interface; or prompt a user to install the first application in a second electronic device in a display screen.
[0070] In a sixth aspect, the present application provides a content continuation method, including: a second electronic device establishes a wireless communication connection with a first electronic device, wherein 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, wherein the first application interface is an interface currently displayed by the first electronic device, and the label is used to indicate the display content in the first application interface; then, 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; wherein the second electronic device establishes a wireless communication connection with the first electronic device, including: in response to the operation of the first NFC unit in the first electronic device approaching or contacting the second NFC unit, the second electronic device establishes a wireless communication connection with the first electronic device.
[0072] In one possible implementation, the above-mentioned content continuation method also includes: the second electronic device receives authentication information sent by the first electronic device, and the authentication information is used to log in to the account registered by the user in the first application; then, the second electronic device can use the authentication information to log in to the first application installed in the second electronic device.
[0073] In a possible implementation, the above-mentioned content continuation method also 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 tag and the browsing position.
[0074] In one possible implementation, the above-mentioned content continuation method also includes: the second electronic device receives a file contained in the first application interface sent by the first electronic device; then, the second electronic device can display a second application interface corresponding to the first application interface based on the tag and the file received from the first electronic device.
[0075] In one possible implementation, after the second electronic device receives the tag of the first application interface sent by the first electronic device based on the wireless communication connection, it also includes: the second electronic device uses a browser to open a second application interface corresponding to the first application interface according to the tag 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, comprising computer instructions, which, when executed on the first electronic device, enables the first electronic device to execute the content continuation method as described in any one of the fourth aspects.
[0077] In an eighth aspect, the present application provides a computer storage medium, comprising computer instructions, which, when executed on the second electronic device, enables the second electronic device to execute the content continuation method as described in any one of the sixth aspects.
[0078] In a ninth aspect, the present application provides a computer program product. When the computer program product is run on the first electronic device, the first electronic device executes the content continuation method as described in any one of the fourth aspects.
[0079] In a tenth aspect, the present application provides a computer program product. When the computer program product is run on the second electronic device, the second electronic device executes the content continuation method as described in any one of the sixth aspects.
[0080] It can be understood that the content continuation method, electronic device, computer storage medium and computer program product provided above are all used in the content continuation system provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding system provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 A schematic diagram of the architecture of a content continuation system provided in an embodiment of the present application;
[0082] Figure 2 A schematic diagram of a laptop computer provided in an embodiment of the present application;
[0083] Figure 3 An interactive diagram of a content continuation method provided in an embodiment of the present application Figure 1 ;
[0084] Figure 4 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 1 ;
[0085] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 1 ;
[0086] Figure 6 A schematic diagram of the architecture of an operating system in an electronic device provided in an embodiment of the present application;
[0087] Figure 7 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 2 ;
[0088] Figure 8 An interactive diagram of a content continuation method provided in an embodiment of the present application Figure 2 ;
[0089] Fig. 9 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 3 ;
[0090] Fig.10 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 4 ;
[0091] Fig.11 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 5 ;
[0092] Fig.12 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 6 ;
[0093] Fig.13 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 7 ;
[0094] Fig.14 A scenario diagram of a content continuation method provided in an embodiment of the present application Figure 8 ;
[0095] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 2 ;
[0096] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 3 . DETAILED DESCRIPTION
[0097] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.
[0098] A content continuation method provided in an embodiment of the present application can be applied to Figure 1 In the content connection system 200 shown in FIG. Figure 1As shown, the content connection 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 a mobile phone, a tablet computer, a smart TV, a laptop computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a vehicle-mounted device, a virtual reality device, etc., and the present application embodiment does not impose any restrictions on this. For example, the first electronic device 101 and the second electronic device 102 may both be mobile phones, or the first electronic device 101 and the second electronic device 102 may both 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 continued playback. Of course, if the mobile phone is playing corresponding audio content while displaying the above display content, the audio content can also be switched to the laptop computer for continued playback. For example, the user uses the video APP in the mobile phone to play video A on the way home. When the user returns home, the video A played on the mobile phone can be switched to the laptop computer for continued playback, thereby realizing the seamless playback function of the same content between multiple electronic devices.
[0101] Exemplarily, when it is detected that the user has a need to resume broadcasting across two electronic devices, the first electronic device 101 may first establish a communication connection with the second electronic device 102, and then send relevant information of the display content (or audio content) to the second electronic device 102 through the communication connection, and the second electronic device 102 will complete the task of resuming broadcasting.
[0102] For example, the first electronic device 101 is a mobile phone and the second electronic device 102 is a notebook computer. Figure 2As shown, an electronic tag 201 can be set on a laptop computer, and the electronic tag can also be called an NFC (near field communication) tag. The electronic tag 201 is generally provided with a coil, and the device information of the laptop computer, such as the Bluetooth MAC (media access control) address of the laptop computer, can be written into the coil of the electronic tag 201 in advance when the laptop computer leaves the factory. Alternatively, an NFC chip 201 can also be pre-set in the laptop computer, and the device information of the laptop computer can also be stored in the NFC chip 201. The electronic tag 201 mentioned in the following specific implementation manner can be replaced by an NFC chip, which will not be described one by one in the following description.
[0103] For example, Figure 3 As shown, when the user needs to switch the playback content in the mobile phone to the laptop computer for continued playback, the NFC function of the mobile phone can be turned on, and the mobile phone can be brought close to the laptop computer so that the NFC chip of the mobile phone is close to or in contact with the electronic tag 201 on the laptop computer. In this way, the mobile phone can read the device information of the laptop computer from the electronic tag 201 by transmitting a near-field signal when the mobile phone is close to the electronic tag 201. Furthermore, the mobile phone can establish a wireless communication connection with the laptop computer based on the device information of the laptop computer. 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., and the embodiments of the present application do not impose any restrictions on this.
[0104] Still Figure 3 As shown in FIG. 1 , after the mobile phone establishes a wireless communication connection with the laptop, the mobile phone can obtain the tag of the current specific 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 on the currently displayed content. Figure 4 As shown, taking the example of video A (e.g., the eleventh episode of "The Legend of the Condor Heroes") being played by a video APP running in the foreground of a mobile phone, the mobile phone can request the video APP to query the identification of the playback page of video A, such as the URL (uniform resource locator) of the playback page, and the playback progress of video A (e.g., the playback progress is 00:05 seconds). Figure 4As shown, the mobile phone can send the playback progress of video A and the identification of the playback page as the label of the currently displayed content to the laptop. Then, if the laptop also has the same video APP installed, the laptop can open the video APP installed on the laptop after receiving the label of the above-mentioned display content, so that the video APP in the laptop can open the playback page of video A according to the identification of the above-mentioned playback page, and continue to play video A in the laptop according to the playback progress of the above-mentioned video A.
[0105] Of course, if the video APP is not installed in the laptop, the laptop can also use the browser to open the playback page of video A according to the playback page logo sent by the mobile phone, and continue to play video A in 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 browse the same content, he can trigger the first electronic device to quickly establish a wireless communication connection with the second electronic device by touching the two electronic devices, and automatically switch the content being displayed in the first electronic device to the second electronic device for continued playback, thereby simplifying the user's operation process when the same content interacts across devices, improving and enriching the user's experience.
[0107] In addition, the above embodiment is illustrated by the example of a mobile phone switching its displayed content to a laptop computer for continuous playback. It is understandable that a laptop computer can also be used as the above first electronic device 101 and a mobile phone as the above second electronic device 102, and then the displayed content in the laptop computer can be switched to the mobile phone for continuous playback according to the above method. The embodiment of the present application does not impose any restrictions on this. In other words, the roles of the first electronic device 101 and the second electronic device 102 in content continuation are interchangeable. The second electronic device 102 can also switch the displayed content to the first electronic device 101 for continuous playback.
[0108] The content connection method between the first electronic device 101 and the second electronic device 102 will be described in detail with reference to specific examples in subsequent embodiments, and will not be described in detail here.
[0109] Taking a mobile phone as the first electronic device 101 in the above content connection system 200 as an example, Figure 5 A schematic diagram of the structure of a 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, an earphone interface 170D, a sensor module 180, etc.
[0111] It is to be understood that the structure illustrated in the embodiment 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 shown in the figure, or combine some components, or split some components, or arrange the components differently. 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 processor (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. Different processing units may be independent devices or integrated into one or more processors.
[0113] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, 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 interface 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 realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0116] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a 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 including 2G / 3G / 4G / 5G applied on mobile phones. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and 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 for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0118] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to mobile phones. 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, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0119] In some embodiments, the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).
[0120] The mobile phone implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects 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 that 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0122] The mobile phone can realize the shooting function through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0123] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0124] The camera 193 is used to capture still images or videos. The 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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 or other format. In some embodiments, the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0125] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when a mobile phone selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0126] Video codecs are used to compress or decompress digital videos. A 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 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 a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0128] The internal memory 121 can be used to store computer executable program codes, which include 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 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0129] The mobile phone can realize audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
[0130] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0131] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The mobile phone can listen to music or listen to hands-free calls through the speaker 170A.
[0132] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the mobile phone receives a call or voice message, the voice can be heard by placing the receiver 170B close to the ear.
[0133] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his 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 other embodiments, the mobile phone can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the mobile phone can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording function, etc.
[0134] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm 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 gyro sensor, an air 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, and the like.
[0136] Of course, the mobile phone may also include a charging management module 140, a power management module 141, a battery 142, a button 190, an indicator 192, and one or more SIM card interfaces, etc., and the embodiments of the present application do not impose any restrictions on this.
[0137] The software system of the mobile phone can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the mobile phone.
[0138] Figure 6 (a) is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.
[0139] The layered architecture divides the software into several layers, each with clear roles and division 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 library, and the kernel layer.
[0140] The application layer can include a series of application packages.
[0141] like Figure 6 As shown in (a), the application layer can be installed with apps (applications) such as calls, memos, browsers, contacts, cameras, galleries, calendars, maps, Bluetooth, music, videos, and short messages.
[0142] In the present application embodiment, Figure 6 As shown in (a) in FIG. 1 , the application layer may also include a touch application. The touch application may be used to call the NFC service in the application framework layer to establish a wireless communication connection with another electronic device when it is detected that the user triggers the touch function of the mobile phone. In addition, the touch application may be used to obtain the tag of the currently displayed content from the foreground application running in the application layer, so that the mobile phone can send the tag of the currently displayed content to another electronic device to complete the continued playback.
[0143] In other words, the Touch App can act as a bridge to interact with various services that create wireless communication connections, and interact with 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 by touching, thereby providing users with a "touch to continue" cross-device playback function.
[0144] Exemplarily, the Touch App can run for a long time in the application program layer of the mobile phone as a resident process after the mobile phone is turned on.
[0145] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0146] like Figure 6 As shown in (a), the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0147] In the present application embodiment, Figure 6As shown in (a) in FIG. 1 , NFC service, Bluetooth service, Wi-Fi service, etc. can also be run in the application framework layer.
[0148] For example, after turning on the NFC function on a mobile phone, the NFC service can be started in the application framework layer. When the mobile phone is close to or in contact with the electronic tag of another electronic device (such as a laptop), the NFC service can call the NFC driver of the kernel layer to read the device information in the electronic tag, such as the MAC address of the laptop. The NFC service can report the obtained MAC address to the Touch App. In turn, the Touch App can call the Bluetooth service based on the MAC address and establish a Bluetooth connection with the corresponding laptop through the Bluetooth driver.
[0149] Of course, the mobile phone can also obtain authentication information for identity authentication from the electronic tag, such as the key, token or device serial number used by the laptop. In this way, while establishing a Bluetooth connection with the laptop, the mobile phone can also use the authentication information to complete identity authentication with the laptop to ensure the security of the Bluetooth connection.
[0150] In some embodiments, after the mobile phone establishes a Bluetooth connection with the laptop, the mobile phone can also use the Bluetooth connection to obtain the connection configuration information such as the SSID (service set identifier) and password required to establish a P2P connection with the laptop. Furthermore, the Touch App can call the Wi-Fi service and use the above SSID and password to establish a Wi-Fi P2P connection with the laptop through the Wi-Fi driver. Since the transmission speed and security of the Wi-Fi P2P connection are relatively high, the mobile phone and the laptop can subsequently perform data transmission based on the established Wi-Fi P2P connection.
[0151] Of course, after establishing a Bluetooth connection with the laptop, the mobile phone can also use the Bluetooth connection to transmit data with the laptop. At this time, the mobile phone no longer needs to obtain the SSID and password of the laptop, nor does it need to call the Wi-Fi service to establish a Wi-Fi P2P connection with the laptop.
[0152] In the embodiment of the present application, when the touch application detects that the electronic tag of the mobile phone and the laptop computer touch each other, the touch application can also request the application running in the foreground to obtain the tag of the currently displayed content. 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 content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, 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 text notification icon can include a view for displaying text and a view for displaying pictures.
[0159] The above-mentioned phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connection, disconnection, etc.).
[0160] The above resource managers provide various resources for applications, such as localized strings, icons, images, layout files, video files, etc.
[0161] The above notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0162] like Figure 6 As shown in (a) in FIG. 1 , the system library may include multiple functional modules, such as a surface manager, a media library, a 3D graphics processing library (such as OpenGL ES), a 2D graphics engine (such as SGL), etc.
[0163] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple common audio and video formats, as well as static image files. The media library can support multiple audio and video encoding 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. The 2D graphics engine is a drawing engine for 2D drawing.
[0164] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0165] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0166] The application layer and the application framework layer run in a 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 life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0167] The kernel layer is a layer between hardware and software. The kernel layer at least includes display driver, camera driver, audio driver, sensor driver, etc., and the present application embodiment does not impose any restrictions on this.
[0168] A content continuation method provided by an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0169] like Figure 8 As shown, taking the case where a user switches the displayed content in a mobile phone (i.e., the first electronic device) to a laptop computer (i.e., the second electronic device) for continuous playback as an example, a content continuation method provided in an embodiment of the present application may include the following steps:
[0170] S801. The mobile phone displays an application interface of a first application.
[0171] For example, take Weibo APP as the first application. Fig. 9 As 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, picture, 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 in the Weibo homepage.
[0172] In addition, after the user opens the Weibo APP, the mobile phone can start running the Weibo APP process. At this time, the Weibo APP process can register a monitoring service with the Touch App in the mobile phone. When the Touch App monitors the user inputting a touch operation, the Touch App can be triggered to request the Weibo APP to obtain the label of the currently displayed content, so as to realize the continuation function of the displayed content (i.e., the above-mentioned application interface 901).
[0173] S802: In response to a touch operation input by the user, the mobile phone obtains device information of the notebook computer.
[0174] When the user is browsing the above application interface 901, if he needs to switch the displayed content (i.e., application interface 901) being browsed to another electronic device (e.g., a laptop computer) to continue playing, Fig.10 As shown, the user can use the mobile phone to touch the electronic tag 201 set on the laptop. When the mobile phone is close to or touches the electronic tag 201, that is, after the mobile phone and the electronic tag 201 are touched, the mobile phone can use its NFC function to read the device information of the laptop recorded in the electronic tag 201.
[0175] To facilitate understanding by those skilled in the art, the working principle of the electronic tag 201 is introduced in the embodiment of the present application.
[0176] Exemplarily, the electronic tag 201 may include three implementation forms, namely: a passive tag, a semi-active tag, and an 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 is close to the NFC chip of another device, it can receive the electromagnetic wave signal sent by the NFC chip of the other device. 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 of sufficient strength, it can send the data stored in the electronic tag 201 to the NFC chip of the other device, such as the device information of the above-mentioned laptop computer.
[0178] (2) Semi-active tags: The working mode of semi-active tags is similar to that of passive tags. 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-mentioned 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 external signals. Generally speaking, active tags allow NFC communication at a longer distance, and active tags have a larger storage space that can be used to store data transmitted from the NFC chip of other devices.
[0180] In the embodiment of the present application, the electronic tag 201 can be any one of the above passive tags, semi-active tags or active tags. In practical applications, considering the advantages of passive tags being low in price, small in size and not requiring power, the electronic tag 201 in the laptop can be set as a passive tag.
[0181] Alternatively, after the mobile phone detects a tap-and-go operation of touching the electronic tag 201, if the mobile phone has not enabled its NFC function, the mobile phone can automatically turn on the NFC function in response to the tap-and-go operation 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, thereby using the NFC function of the mobile phone to read the device information in the electronic tag 201.
[0182] Exemplarily, the above device information may include the identification of the laptop, such as the Bluetooth MAC address of the laptop, the name of the laptop, the channel used, etc. In addition, the above device information may also include authentication information used for identity authentication when the mobile phone and the laptop establish a wireless communication connection. For example, the authentication information may be a token, a pre-shared key (PSK) or a device serial number used by the laptop, and the embodiments of the present application do not impose any restrictions on this.
[0183] Step S802 is illustrated by the example of a user triggering a mobile phone to obtain the device information of a laptop computer through the NFC function through a touch operation. It is understandable that those skilled in the art can also set other methods to obtain the device information of a laptop computer based on actual experience or actual application scenarios. For example, the device information of a laptop computer can be pre-written into a QR code or barcode, so that the user can obtain the device information of the laptop computer after scanning the QR code or barcode with a mobile phone. For another example, after the laptop detects that the user inputs a touch operation to the above-mentioned electronic tag 201, it can trigger the laptop computer to display a QR code or barcode containing the device information on the display screen. Furthermore, after the user scans the QR code or barcode with a mobile phone, the device information of the laptop computer can also be obtained.
[0184] S803. The mobile phone establishes a wireless communication connection with the notebook computer according to the above device information.
[0185] After the mobile phone obtains the device information of the laptop computer, it can establish a wireless communication connection such as Bluetooth connection, Wi-Fi P2P connection, etc. with the laptop computer based on the device information, so that the mobile phone can switch the playing application interface 901 to the laptop computer for continued playback based on the wireless communication connection.
[0186] Exemplarily, the mobile phone can establish an ACL (asynchronous connection less) connection with the laptop computer according to the BR / EDR (basic rate and enhanced rate) working mode in the Bluetooth protocol and the identification of the laptop computer (such as the Bluetooth MAC address), thereby establishing a Bluetooth channel between the mobile phone and the laptop computer, such as a Bluetooth socket channel.
[0187] Alternatively, the mobile phone can establish a BLE connection with the laptop computer according to the BLE (bluetooh low energy) working mode in the Bluetooth protocol and the identification of the laptop computer (such as the Bluetooth MAC address), thereby establishing a Bluetooth channel between the mobile phone and the laptop computer.
[0188] After the mobile phone and the laptop computer establish a Bluetooth channel, in order to ensure the security of subsequent Bluetooth transmission, the mobile phone can also authenticate the identity with the laptop computer 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 computer. When the laptop computer determines that the token is the correct token, the laptop computer successfully authenticates the identity of the mobile phone. For another example, the mobile phone can generate a public key used by the laptop computer based on the authentication information such as the device serial number obtained from the electronic tag 201, such as an RSA256 public key. Then, the mobile phone can send the public key to the laptop computer. When the laptop computer determines that the public key is the correct public key of the laptop computer itself, the laptop computer successfully authenticates the identity of the mobile phone.
[0189] Subsequently, the mobile phone and the laptop computer can use an authenticated encryption algorithm (or decryption algorithm) to transmit data on the established Bluetooth channel, thereby switching the application interface 901 being played in the mobile phone to the laptop computer for continued playback.
[0190] In some embodiments, after the mobile phone establishes a Bluetooth channel with the laptop, the mobile phone can also obtain the connection configuration information required to establish a Wi-Fi P2P channel with the laptop based on the Bluetooth channel. For example, the connection configuration information may include the SSID, password, MAC address, and supported frequency band of the Wi-Fi P2P channel. After the mobile phone obtains this connection configuration information, it can use the connection configuration information to establish a Wi-Fi P2P channel with the laptop. After the mobile phone establishes a Wi-Fi P2P channel with the laptop, it will not affect the Wi-Fi network originally connected to the mobile phone and the laptop.
[0191] Since the Wi-Fi P2P channel has higher security and transmission speed, the mobile phone and the laptop can subsequently transmit data on the established Wi-Fi P2P channel, thereby switching the application interface 901 being played in the mobile phone to the laptop for continued playback.
[0192] In some embodiments, since the connection configuration information such as the SSID or password of the Wi-Fi P2P channel can change dynamically, after the mobile phone and the laptop establish a Bluetooth channel, the laptop can automatically generate a QR code based on the connection configuration information such as the SSID and password used by the current Wi-Fi P2P channel, and display the QR code on the laptop screen. In this way, the user can also obtain the connection configuration information required to establish a Wi-Fi P2P channel with the laptop by scanning the QR code with the mobile phone. Then, 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, and password 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 a mobile phone, the mobile phone can read the connection configuration information required to establish a Wi-Fi P2P channel with the laptop from the electronic tag 201. Furthermore, the mobile phone can use the connection configuration information to directly establish a Wi-Fi P2P channel with the laptop, without having to establish a Bluetooth channel with the laptop.
[0194] In other embodiments, a laptop computer may also be provided with an NFC chip, and the device information of the laptop computer may be stored in the NFC chip. For example, a processor in the laptop computer may be electrically connected to the NFC chip. Fig.11 As shown in (a) in the figure, a touch area 1101 corresponding to the NFC chip can be pre-marked on the shell of the laptop. When a mobile phone or other device with NFC function approaches the touch area 1101, the NFC signal emitted by the NFC chip in the laptop can be effectively detected. The above touch area 1101 can be marked on the shell of the laptop by text, picture or color. 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 computer 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 NFC chip of the laptop computer. In this way, when the user touches the above-mentioned touch area 1101 with the mobile phone, the mobile phone can read the connection configuration information required to establish the Wi-Fi P2P channel with the laptop computer from the NFC chip. Then, the mobile phone can use the connection configuration information to directly establish a Wi-Fi P2P channel with the laptop computer without establishing a wireless communication connection with the laptop computer.
[0196] Or, if Fig.11 As shown in (b), the laptop is provided with an NFC chip. When it is detected that the user turns on the NFC function of the laptop for the first time, the laptop can display a tutorial of the 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. In this way, the user can use the mobile phone to input the touch operation to the touch area of the laptop according to the 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 tutorial of the above touch operation in the setting function of the laptop or related applications, and the embodiment of the present application does not impose 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, and use the TCP connection to exchange data 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 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 currently displayed content (i.e., the current application interface). The label of the displayed content can be used to indicate the user's browsing position of the current application interface.
[0200] Exemplarily, after the mobile phone detects the touch operation of touching the electronic tag 201, it can query the currently running foreground application. Generally, the mobile phone can record the currently running APP or task in real time. For example, when the mobile phone runs the 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 touch operation of touching the electronic tag 201, the touch application can query the application interface 901 of the Weibo APP currently running on the mobile phone at the top of the application stack. If the Weibo APP has registered the monitoring service in the touch application, it means that the Weibo APP supports the cross-device playback function of "one-touch continuation", then the touch application can send a request message to the Weibo APP, and the 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 receiving the request message from the touch application, the Weibo APP may generate a tag corresponding to the currently displayed application interface 901, thereby recording the specific browsing content and browsing location of the user in the Weibo APP. Fig.12 As shown, each content in the application interface 901 displayed by the Weibo APP in 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 in the Weibo homepage of "Zhang San" is 002, the index corresponding to the second Weibo displayed in the Weibo homepage of "Zhang San" is 003, and so on. Then, the Weibo APP can send the index of each content in the application interface 901 to the application server of the Weibo APP in a certain order. The application server can generate a tag of the application interface 901 in a certain format according to these indexes, and the tag can be used to indicate the specific content currently displayed by the Weibo APP. The application server can send the generated tag of the application interface 901 to the Weibo APP of the mobile phone. Furthermore, the Weibo APP can pass the tag of the application interface 901 to the Touch APP by calling a preset callback function.
[0202] Alternatively, when Weibo APP displays application interface 901, the application server may record one or more indexes corresponding to application interface 901. For example, when Weibo APP needs to display application interface 901, it may send a corresponding display request to the application server, and the application server may determine and save the indexes corresponding to application interface 901 in response to the display request: 001, 002, and 003. Then, the application server may send display data corresponding to each index to the mobile phone, so that the mobile phone can display application interface 901 according to the display data, but at this time, the mobile phone does not save the various indexes in application interface 901. Then, after Weibo APP receives the request message sent by the touch application, it may request the application server to generate a label for application interface 901. Then, the application server may generate a label (tag) for application interface 901 according to the various indexes in the saved application interface 901, and send the label of application interface 901 to Weibo APP of the mobile phone. In this way, Weibo APP can also pass the label of application interface 901 to the touch application by calling a preset callback function.
[0203] In addition, the application server may also send authentication information for logging into 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 of the user currently logged in. Subsequently, the mobile phone may send the label 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 and display the application interface 901 according to the above authentication information.
[0204] In some embodiments, the foreground application running in the mobile phone can also generate a label of the currently displayed content in response to the request message sent by the Touch App, and the label of the currently displayed content can be generated without interacting with the application server. For example, taking the foreground application running in the mobile phone as the WPS application, after the WPS application receives the request message sent by the Touch App, it can respond to the request message to query the name of the currently opened word document and the display position of the word document, and pass the name and display position of the word document as the label of the currently displayed content to the Touch App.
[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 App to generate the label of the currently displayed 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 App, different applications can interact with the application server in a manner predefined by their respective application manufacturers, and generate a label for the currently displayed content in a predefined format. Since the label of the displayed content can reflect the specific content that is 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 application interface to the notebook computer based on the wireless communication connection.
[0207] After the mobile phone obtains the label of the current application interface, it can send the label of the above application interface to the laptop computer through the wireless communication connection established with the laptop computer in step S804, so as to continue to play the display content in the mobile phone.
[0208] Still taking the example of the application interface 901 of the Weibo APP running on the mobile phone, after the Touch App receives the label of the application interface 901 sent by the Weibo APP, it can call the Bluetooth service or the 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 computer.
[0209] In some embodiments, in addition to sending the label of 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 computer, the mobile phone can also send the pictures, videos, audios, documents and other files contained in the application interface 901 to the laptop computer. In this way, when the laptop computer continues to play the application interface 901, it is not necessary to download the pictures, videos, audios, documents and other resources contained in the application interface 901.
[0211] S806. The notebook computer continues to display the application interface of the first application according to the label of the application interface.
[0212] Still taking the example of the application interface 901 of the Weibo APP running on the mobile phone, after the laptop receives the label of the application interface 901 sent by the mobile phone, it can pass the label of the application interface 901 to the Weibo APP installed in the laptop through the touch service in the laptop. In addition, the laptop can also pass the authentication information sent by the mobile phone to the Weibo APP installed in the laptop. Fig.13 As shown, the Weibo APP in the laptop can automatically log in to the user's Weibo account according to the authentication information, and the Weibo APP in the laptop can also interact with the application server of the Weibo APP according to the label 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 the 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, so as to realize the cross-device continuation function of the same display content on the mobile phone and the laptop. Alternatively, 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 if Fig.13 As shown, the display layout and display effect of the application interface 901 of the Weibo APP displayed in the mobile phone and the application interface 1301 of the Weibo APP displayed in the laptop computer may be different, and the embodiment of the present application does not impose any limitation on this.
[0215] In some embodiments, the label of the currently displayed content obtained by the application (such as the above-mentioned Weibo APP) may have incomplete information. For example, the label of the above-mentioned application interface 901 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 Weibo homepage of "Zhang San" that the user is browsing based on the label. Then, the mobile phone can also record the specific operation of the user in the application interface 901, such as the sliding operation of the user in the application interface 901. Furthermore, the mobile phone can predict the browsing position of the user in the application interface 901 according to the specific operation of the user in the application interface 901. For example, the mobile phone can predict that the user is browsing the 5th Weibo in the current Weibo homepage based on the number of sliding operations or the sliding distance entered by the user in the application interface 901. Then, when the mobile phone sends the label of the above-mentioned application interface 901 to the laptop, it can also send the current browsing position of the user predicted by the mobile phone. In this way, the laptop can also display the application interface corresponding to the application interface 901 for the user in combination with the browsing position predicted by the mobile phone. For example, if the browsing position predicted by the mobile phone is the 5th microblog in the microblog homepage, the laptop computer can open the microblog homepage of "Zhang San" according to the label of the application interface 901, and display the application interface containing the content of the 5th microblog in the microblog homepage. For example, the laptop computer can display the content of the 4th to 6th microblogs in the microblog homepage of "Zhang San".
[0216] In addition, since the display capabilities of mobile phones and laptops are different, when predicting the user's browsing position, the mobile phone can also determine the browsing position in the laptop that corresponds to the user's browsing position in the mobile phone based on the differences in display such as resolution, font size or line spacing between the mobile phone and the laptop. For example, since a page of content in a laptop can display more lines, the third page of content browsed by the user in the mobile phone corresponds to the second page of content in the laptop. Then, the mobile phone can determine the predicted current browsing position of the user as the second page. Subsequently, after receiving the browsing position, the laptop can combine the browsing position to more accurately continue to play the currently displayed content for the user from the same position.
[0217] In some embodiments of the present application, in addition to being able to trigger the mobile phone to switch the currently displayed content to the laptop computer for continued playback by tapping, the user can also trigger the mobile phone to transfer the currently displayed file to the laptop computer by tapping, thereby providing the user with a "touch to transfer" cross-device transmission function.
[0218] For example, similar to the above steps S801-S806, when the mobile phone displays a local file (such as a photo, video or document, etc.), if the user needs to transfer the 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. Then, the mobile phone can automatically establish a wireless communication connection with the laptop according to the device information, and automatically transfer the currently displayed file to the laptop through the wireless communication connection.
[0219] It can be seen that similar to the "one-touch to continue" cross-device playback function provided in the above steps S801-S806, before continuing to display content or transfer files, the user is required to trigger the mobile phone and the laptop to establish a wireless communication connection by touching them.
[0220] Then, in some embodiments, when it is detected that a user touches an electronic tag set on a laptop computer with a mobile phone, or when a wireless communication connection is established between the mobile phone and the laptop computer, such as Fig.14 As shown in (a) of FIG. 1 , the mobile phone may provide the user with an option 1201 of “one-touch to continue” and an option 1202 of “one-touch to transfer”. Fig.14 As shown in (b) in FIG. 1 , the laptop computer may also provide the user with an option 1301 of “one touch to continue” and an option 1302 of “one touch to transfer”. If it is detected that the user selects option 1201 (or 1301), it means that the user wants to continue playing the content displayed on the mobile phone on the laptop computer, and the mobile phone can continue to switch the current display content to the laptop computer for continued 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 wants to transfer the file currently displayed on the mobile phone to the laptop computer, and the mobile phone can automatically transfer the currently displayed file to the laptop computer.
[0221] In other embodiments, the mobile phone can also determine whether to continue playing the current display content in the laptop computer or transfer the currently displayed file to the laptop computer based on the distance between the mobile phone and the electronic tag. For example, the NFC communication mode can support 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 (for example, less than 2 cm), it means that the user wants to continue playing the display content on the mobile phone on the laptop computer, and the mobile phone can continue to switch the current display content to the laptop computer for continued 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 a preset value, it means that the user wants to transfer the file being displayed in the mobile phone to the laptop computer, and the mobile phone can automatically transfer the currently displayed file to the laptop computer.
[0222] In other embodiments, the mobile phone can also determine whether to continue playing the current display content in the laptop computer or transfer the currently displayed file to the laptop computer based on the NFC signal strength between the mobile phone and the electronic tag. For example, if it is detected that the NFC signal strength between the mobile phone and the electronic tag is greater than a preset threshold, it means that the user wants to continue playing the content displayed on the mobile phone on the laptop computer, and the mobile phone can continue to switch the current display content to the laptop computer for continued playback according to the above steps S802-S806. If it is detected that the NFC signal strength between the mobile phone and the electronic tag is less than a preset threshold, it means that the user wants to transfer the file currently displayed in the mobile phone to the laptop computer, and the mobile phone can automatically transfer the currently displayed file to the laptop computer.
[0223] In other embodiments, the mobile phone can also determine whether to continue playing the current display content in the laptop computer or transfer the currently displayed file to the laptop computer based on the length of time the mobile phone touches the electronic tag. For example, if it is detected that the mobile phone has been in contact with the electronic tag for longer than a preset value, it means that the user wants to continue playing the content displayed on the mobile phone on the laptop computer, and the mobile phone can continue to switch the current display content to the laptop computer for continued playback according to the above steps S802-S806. If it is detected that the mobile phone has been in contact with the electronic tag for less than a preset value, it means that the user wants to transfer the file currently displayed in the mobile phone to the laptop computer, and the mobile phone can automatically transfer the currently displayed file to the laptop computer.
[0224] In other embodiments, the mobile phone may also pre-set application scenarios that support the "one-touch to continue" function and application scenarios that support the "one-touch to transfer" function. For example, when it is detected that the user touches the electronic tag on the laptop with the mobile phone, 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 to continue" 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 to continue" function, the mobile phone can switch the current display content to the laptop for continued playback according to the above steps S802-S806.
[0225] Alternatively, when the user is detected to touch the electronic tag on the laptop with the mobile phone, the mobile phone can also identify whether the current application interface contains local photos, videos, audio or documents. If it contains one or more local files, the mobile phone can automatically transfer the currently displayed file to the laptop to complete the "one-touch transfer" function; if it does not contain local files, the mobile phone can automatically switch the current display content to the laptop for continuous playback to complete the "one-touch continuation" function. The embodiment of the present application does not impose any restrictions on this.
[0226] It should be noted that the above embodiments are illustrated by taking a mobile phone as the first electronic device and a laptop computer as the second electronic device, and switching the displayed content in the mobile phone to the laptop computer for continuous playback as an application scenario. It is understandable that when a user wants to switch the displayed content being played in any electronic device to another electronic device, 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 displayed content in the first electronic device is automatically switched to the second electronic device for continuous playback, thereby simplifying the user's operation process when the same content is continued across devices, and improving and enriching the user's experience.
[0227] like Fig.15 As shown, the 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, the first NFC unit 1509 may be an NFC chip or an electronic tag; one or more applications (not shown); and one or more computer programs 1504, and the above-mentioned devices may be connected via one or more communication buses 1505. 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, and the one or more computer programs 1504 include instructions, which may be used to execute the various steps in the above-mentioned embodiment.
[0228] like Fig.16As shown, the embodiment of the present application discloses a second electronic device, such as the above-mentioned 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 can be an NFC chip or an electronic tag, and the second NFC unit 1606 stores device information of the second electronic device; a communication module 1607; one or more application programs (not shown); and one or more computer programs 1604, and the above-mentioned devices can be connected through one or more communication buses 1605. 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, and the one or more computer programs 1604 include instructions, which can be used to execute the various steps in the above-mentioned embodiment.
[0229] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned 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 process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0230] Each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0231] If the 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 embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.
[0232] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on 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, wherein 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, wherein the second NFC unit includes device information of the second electronic device, and the NFC unit is an NFC chip or an electronic tag; wherein When the first electronic device displays the first application interface of the first application, the first electronic device obtains 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, wherein the wireless communication connection is a Bluetooth connection or a Wi-Fi point-to-point P2P connection; The first electronic device obtains a label of the first application interface; The first electronic device sends a label of the first application interface to the second electronic device based on the wireless communication connection, where the label is used to indicate 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, and the first application interface and the second application interface contain the same display content; The first electronic device obtaining the label of the first application interface includes: The first application of the first electronic device registers a monitoring service with the touch application in the first electronic device; The touch application in the first electronic device sends a first request to the first application, where the first request is used to request to obtain a label of the first application interface being displayed; The first application of the first electronic device sends a second request to an application server of the first application, where the second request includes one or more indexes corresponding to the first application interface; The first electronic device obtains a label of the first application interface, wherein the label of the first application interface is generated by the application server of the first application according to the one or more indexes in the second request.
2. The content continuation system according to claim 1, characterized in that: The first electronic device is specifically configured to: in response to an operation of approaching or contacting the second NFC unit, obtain device information of the second electronic device from the second NFC unit through the first NFC unit.
3. The content continuation system according to claim 1, characterized in that: The first electronic device is specifically used to: send an electromagnetic wave signal through the first NFC unit, where the electromagnetic wave signal is used to drive the second NFC unit to send device information of the second electronic device; and 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 claim 1, characterized in that: The first electronic device comprises a processor, The processor is used to: instruct the communication module to obtain authentication information from the application server of the first application; The first electronic device is further used to: obtain authentication information from the application server, the authentication information being used to log in to an account registered by a user in the first application; and send the authentication information to the second electronic device based on the wireless communication connection; The second electronic device is further used to: use the authentication information to log in to a first application installed in the second electronic device.
5. The content continuation system according to any one of claims 1 to 4, characterized in that: The first electronic device is further used to: predict a browsing position of a user in the first application interface; and 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 label of the first application interface and the browsing position.
6. The content continuation system according to any one of claims 1 to 4, characterized in that: The first electronic device is further used to: send the 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 label of the first application interface and the file received from the first electronic device.
7. The content continuation system according to any one of claims 1 to 4, characterized in that: The second electronic device is further used to: start the installed first application and send the label of the first application interface to the first application, so that the first application displays the second application interface according to the label; or The second electronic device is specifically used to: open the second application interface using a browser according to the label of the first application interface.
8. The content continuation system according to claim 7, characterized in that: The second electronic device is further used to prompt the user to download and install the first application in the second electronic device.
9. The content continuation system according to any one of claims 1 to 4, characterized in that: The device information includes an identification of the second electronic device; The first electronic device is specifically used 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; and use the connection configuration information to establish a Wi-Fi P2P connection with the second electronic device.
10. The content continuation system according to any one of claims 1 to 4, characterized in that: 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 a label of the first application interface to the second electronic device based on the wireless communication connection.
11. The content continuation system according to any one of claims 1 to 4, characterized in that: The first electronic device is specifically used for: If the dwell time when the first NFC unit and the second NFC unit are close to or in contact with each other meets a first preset condition, sending the tag 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, sending the tag 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, the tag of the first application interface is sent to the second electronic device based on the wireless communication connection.
12. The content continuation system according to any one of claims 1 to 4, characterized in that: The first electronic device is further used to: display a first option and a second option, wherein the first option is used to instruct to send a label of the first application interface to the second electronic device, and the second option is used to instruct to send a file in the first application interface to the second electronic device.
13. A first electronic device, characterized in that: The first electronic device includes a processor, and a first NFC unit coupled to the processor, a display screen, a communication module, and a memory, wherein the first NFC unit is an NFC chip or an electronic tag; wherein, The processor is used 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 the second electronic device; The processor is further configured to: instruct the communication module to establish a wireless communication connection with the second electronic device according to the device information, wherein the wireless communication connection is a Bluetooth connection or a Wi-Fi P2P connection; The processor is further configured to: instruct the communication module to obtain a label of the first application interface from an application server of the first application; The processor is further configured to: instruct the communication module to send a label of the first application interface to the second electronic device based on the wireless communication connection, wherein the label is used to indicate 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; Among them, the communication module obtains the label of the first application interface from the application server of the first application, including: the first application of the first electronic device registers a listening service with the touch application in the first electronic device; the touch application in the first electronic device sends a first request to the first application, and the first request is used to request to obtain the label of the first application interface being displayed; the first application of the first electronic device sends a second request to the application server of the first application, and the second request includes one or more indexes corresponding to the first application interface; the first electronic device obtains the label of the first application interface, wherein the label of the first application interface is generated by the application server of the first application according to the one or more indexes in the second request.
14. The first electronic device according to claim 13, characterized in that: The first NFC unit is specifically used to: detect an operation of the first electronic device approaching or contacting a second NFC unit in the second electronic device; and read device information of the second electronic device from the second NFC unit in response to the operation of approaching or contacting the second NFC unit.
15. The first electronic device according to claim 13, characterized in that: The first NFC unit is specifically used to: send an electromagnetic wave signal, where the electromagnetic wave signal is used to drive the second NFC unit in the second electronic device to send device information of the second electronic device; and obtain the device information of the second electronic device from the second NFC unit.
16. The first electronic device according to any one of claims 13 to 15, characterized in that: The processor is also used to: instruct the communication module to obtain authentication information from the application server of the first application, where the authentication information is 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.
17. The first electronic device according to any one of claims 13 to 15, characterized in that: The processor is further configured to: predict a browsing position of a 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.
18. The first electronic device according to any one of claims 13 to 15, characterized in that: The processor is further configured to instruct the communication module to send the file contained in the first application interface to the second electronic device based on the wireless communication connection.
19. The first electronic device according to any one of claims 13 to 15, 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 a label of the first application interface to the second electronic device based on the wireless communication connection.
20. The first electronic device according to any one of claims 13 to 15, characterized in that: The processor is specifically used to: determine whether the residence time when the first NFC unit is close to or in contact with 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 is close to or in contact with 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.
21. The first electronic device according to any one of claims 13 to 15, characterized in that: The processor is also used to instruct the display screen to display a first option and a second option, wherein the first option is used to instruct sending a label of the first application interface to the second electronic device, and the second option is used to instruct sending a file in the first application interface to the second electronic device.
Citation Information
Patent Citations
Data interaction display system and data interaction display method
CN104679334A
Terminal task management device, terminal task continuation device, terminal task management method, terminal task continuation method and terminal
CN106488018A