Device switching method, server, device and storage medium during reading
By establishing communication connections and transmitting progress information between reading application devices, the problem of low device switching efficiency is solved, the reading experience and device switching efficiency are improved, and the user can present data in the second device without the need for continuous connection.
Patent Information
- Application Number
- CN202210326651.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-03-30
AI Technical Summary
In the existing technology, the device switching process is complicated and the switching efficiency is low, resulting in poor reading experience for readers.
By establishing a communication connection between the first device and the second device of the currently running reading application, transmitting reading progress information and server information, and sending a data acquisition request to the matching reading server, data synchronization and presentation are achieved.
The efficiency of device switching and reading experience are improved, so that users can normally present reading data in the second device without continuously maintaining the communication connection between the first device and the second device.
Smart Images

Figure CN114650314B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic reading, and in particular to a device switching method, a server, a device and a storage medium during a reading process. Background Art
[0002] With the continuous development of science and technology and society, e-books are favored by readers for their energy-saving and environmental protection, diverse forms and low prices. In addition, with the improvement of living standards, more and more readers like to read e-books in different scenarios through different devices, so readers need to switch devices during reading.
[0003] However, the inventors discovered during implementation that the prior art has the following defects: the device switching process in the prior art is complicated, the switching efficiency is low, and the reader's reading experience is poor. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide a method, server, device and storage medium for switching devices during reading that overcome the above problems or at least partially solve the above problems.
[0005] According to a first aspect of the present invention, there is provided a method for switching devices during a reading process, the method comprising: after a first device currently running a reading application establishes a communication connection with a second device, the first device transmits reading progress information of the reading application and reading server information to the second device; the second device sends a reading data acquisition request to a reading server matching the reading server information; wherein the reading data acquisition request carries the reading progress information; the reading server sends reading data matching the reading progress information to the second device; and the second device presents the reading data.
[0006] According to a second aspect of the present invention, a method for switching devices during a reading process is provided, the method comprising: receiving a reading data acquisition request sent by a second device, the reading data acquisition request carrying reading progress information of a reading application currently running in a first device; the reading progress information in the second device is sent by the first device; and reading data matching the reading progress information is sent to the second device, so that the reading data is presented on the second device.
[0007] According to a third aspect of the present invention, there is provided a method for switching devices during a reading process, the method comprising: establishing a communication connection with a second device; transmitting reading progress information of a currently running reading application and reading server information to the second device, so that the second device can send a reading data acquisition request carrying the reading progress information to a reading server that matches the reading server information, and the reading server can send reading data matching the reading progress information to the second device.
[0008] According to a fourth aspect of the present invention, a method for switching devices during a reading process is provided, the method comprising: receiving reading progress information of a reading application currently running in a first device and reading server information transmitted by a first device; sending a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information; receiving reading data matching the reading progress information sent by the reading server; and presenting the reading data.
[0009] According to a fifth aspect of the present invention, there is provided a reading server, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform the following operations: receiving a reading data acquisition request sent by a second device, wherein the reading data acquisition request carries reading progress information of a reading application currently running in a first device; the reading progress information in the second device is sent by the first device; and reading data matching the reading progress information is sent to the second device, so that the reading data is presented on the second device.
[0010] According to a sixth aspect of the present invention, there is provided a first device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform the following operations: establish a communication connection with a second device; transmit reading progress information of a currently running reading application and reading server information to the second device, so that the second device sends a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information, and the reading server sends reading data matching the reading progress information to the second device;
[0011] According to a seventh aspect of the present invention, there is provided a second device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform the following operations: receiving reading progress information of a reading application currently running in the first device and reading server information transmitted by the first device; sending a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information; receiving reading data matching the reading progress information sent by the reading server; and presenting the reading data.
[0012] According to an eighth aspect of the present invention, there is provided a device switching system during reading, comprising: the above-mentioned reading server, the above-mentioned first device, and the above-mentioned second device.
[0013] According to a ninth aspect of the present invention, there is provided a computer storage medium, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the device switching method in the above-mentioned reading process.
[0014] In the present invention, the first device currently running the reading application sends the reading progress information and the reading server information to the second device, and the second device requests the reading data from the reading server, so that the reading data can be quickly presented in the second device, thereby improving the switching efficiency of the devices during the reading process, improving the reading continuation efficiency and the user reading experience; and after the second device obtains the reading progress information and the reading server information sent by the first device, there is no need to continue to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, further improving the user reading experience.
[0015] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0017] Figure 1 A schematic diagram showing a flow chart of a device switching method during reading provided by Embodiment 1 of the present invention;
[0018] Figure 2 A schematic diagram showing a flow chart of a device switching method during reading provided by a second embodiment of the present invention;
[0019] Figure 3 A schematic diagram showing a flow chart of a device switching method during reading provided by a third embodiment of the present invention;
[0020] Figure 4 A schematic diagram showing a flow chart of a method for switching devices during reading provided by a fourth embodiment of the present invention;
[0021] Figure 5 A schematic diagram of the structure of a reading server provided by Embodiment 5 of the present invention is shown;
[0022] Figure 6 A schematic diagram of the structure of a first device provided in Embodiment 6 of the present invention is shown;
[0023] Figure 7 A schematic diagram of the structure of a second device provided in Embodiment 7 of the present invention is shown;
[0024] Figure 8 A schematic diagram of the structure of a device switching system during reading provided by Embodiment 8 of the present invention is shown. DETAILED DESCRIPTION
[0025] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0026] Embodiment 1
[0027] Figure 1 FIG. 1 is a flow chart showing a method for switching devices during reading provided by Embodiment 1 of the present invention. Figure 1 As shown, the method comprises the following steps:
[0028] Step S110: After the first device currently running the reading application establishes a communication connection with the second device, the first device transmits the reading progress information of the reading application and the reading server information to the second device.
[0029] In the embodiment of the present invention, the first device is installed with a reading application, and the first device can actively initiate a communication connection with the second device. The first device can be a mobile phone, tablet, computer, reader, smart TV, etc. that can install and run a reading application; the second device can be a mobile phone, tablet, computer, reader, TV, speaker, headset, car smart screen, wearable device, etc.; the reading application can be a reading APP, a reading applet, or a reading quick application, etc.
[0030] When the user is reading using the reading application in the first device, that is, when the first device is currently running the reading application, the user can make the first device initiate a communication connection request with the second device through corresponding operations, so that the first device and the second device establish a communication connection. In an optional embodiment, the communication connection between the first device and the second device is specifically a near-field communication connection. The near-field communication connection includes: Bluetooth connection, NFC connection, and WIFI connection, etc. Taking NFC connection as an example, when the user is reading using the reading application in the first device and wants to switch the first device to the second device, the user can move the first device close to the second device, so that the first device and the second device establish a communication connection.
[0031] In an optional embodiment, after the first device initiates a connection request to the second device, connection prompt information is displayed in the second device. For example, the second device can present a prompt information that it is about to connect to the first device for reading continuation in the form of a bubble, and after monitoring the user's connection confirmation operation in the second device, a communication connection between the first device and the second device is successfully established, thereby avoiding the occurrence of false triggering by the user.
[0032] In an optional implementation, during the process of establishing a communication connection between the first device and the second device, a list of second devices currently available for connection can also be presented in the first device, and the user can select the switched device from the list, thereby increasing the flexibility of user operation and improving the user experience.
[0033] After the first device establishes a communication connection with the second device, the first device obtains the reading progress information of the current reading application, and transmits the reading progress information to the second device through the communication connection, so that the second device can accurately know the user's current reading progress. In addition, the first device also sends the reading server information corresponding to the reading application to the second device through the communication connection. The reading server information can specifically be a server request address, server interface information, etc. In addition, in an optional implementation, the first device further obtains the user account information of the reading application in the first device, and transmits the user account information to the second device.
[0034] Step S120: The second device sends a reading data acquisition request to the reading server that matches the reading server information; wherein the reading data acquisition request carries the reading progress information.
[0035] The second device can accurately locate the reading server by reading the server information, and thus send a reading data acquisition request carrying the reading progress information to the server.
[0036] Step S130: the reading server sends reading data matching the reading progress information to the second device.
[0037] After receiving the reading data acquisition request sent by the second device, the reading server parses the reading progress information from the reading data acquisition request and sends the reading data matching the reading progress information to the second device, thereby presenting the reading data in the second device, thereby realizing the switching of the reading device from the first device to the second device.
[0038] In an optional implementation, after receiving the reading data acquisition request sent by the second device, the reading server further identifies the device type of the second device, which device type includes a first type or a second type. Among them, the first type of device has the permission to install the reading application, and the second type of device does not have the permission to install the reading application. For example, mobile phones, tablets, computers, readers, and / or some smart TVs can install the reading application, then this type of device is a first type of device; and some TVs, smart projectors, speakers, headphones, car smart screens, and / or wearable devices cannot install the reading application, then this type of device is a second type of device.
[0039] For the second device of the first type, the reading server further determines whether the second device has the reading application installed:
[0040] If the reading server determines that the second device has installed the reading application, it will no longer send installation data to the second device. After receiving the reading progress information, the second device starts the reading application in the second device and presents the received reading data in the reading application.
[0041] If the reading server determines that the second device does not have the reading application installed, then in an optional implementation, the reading server sends the installation data of the reading application to the second device so that the second device can install the reading application, thereby improving the usage rate of the reading application and improving the presentation effect of subsequent reading data. After the second device installs the reading application, the reading application is started and the received reading data is presented in the reading application. In another optional implementation, if the second device does not have the reading application installed, the browser in the second device is started and the reading data is presented in the browser, thereby improving the presentation efficiency of the reading data.
[0042] For a second device of the second type, the reading server identifies the reading function supported by the second device; wherein the reading function includes a display function and / or a voice playback function; the reading server determines the reading data type of the reading data sent to the second device according to the reading function supported by the second device; wherein the reading data type includes a book reading type and / or a book listening type; and the reading server sends the reading data matching the reading progress information and the determined reading data type to the second device. For example, if a speaker is a second device of the second type, and the reading server determines that the reading function supported by the speaker only includes a playback function, the reading server sends the audio reading data of the book listening type matching the reading progress information to the speaker; if a smart projector is a second device of the second type, and the reading server determines that the reading function supported by the smart projector includes a display function, the reading server sends the text reading data of the book reading type matching the reading progress information to the smart projector.
[0043] Further optionally, if the reading server identifies that the reading function supported by the second device is a display function, the reading server obtains the display size of the second device, and sends the reading data matching the reading progress information, the determined reading data type, and the display size to the second device. For example, the font size and background clarity in the reading data are adjusted based on the display size of the second device to adapt to the second device with a different display size, thereby improving the display effect of the reading data in the second device.
[0044] In an optional implementation, in step S110, the first device also transmits the user account information of the reading application to the second device; then in step S120, the reading data acquisition request sent by the second device to the reading server also carries the user account information; then the reading server sends the reading data matching the reading progress information and the user account information to the second device. Specifically, the reading server obtains chapter payment data and / or user reading settings (such as font color settings, background color settings, etc.) based on the user account information, so that the reading data sent by the reading server is not only compatible with the user's current reading progress, but also can be matched with the user's current actual payment situation and the user's personalized reading settings, thereby improving the consistency before and after the device switch and improving the user experience.
[0045] In an optional implementation, when the user uses the second device to read, if the reading server detects that a fee deduction is required, the reading server initiates a fee deduction authorization prompt message to the first device. After detecting that the user has performed a fee deduction authorization confirmation operation on the first device, the reading server sends the subsequent paid reading data to the second device, thereby ensuring the safety of the user's property. Further optionally, the subsequent fee deduction method can also be determined based on the specific type of fee deduction authorization confirmation operation performed by the user in the first device. For example, if the specific type of the fee deduction authorization confirmation operation in the first device is authorized only once, then the reading server initiates a fee deduction authorization prompt message to the first device whenever a fee deduction is required; if the specific type of the fee deduction authorization confirmation operation in the first device is during this reading process, then during this reading process, when a fee deduction is required later, the reading server directly performs the fee deduction without initiating a fee deduction authorization prompt message to the first device.
[0046] In an optional implementation, in order to ensure the security of reading data, after the first device establishes a communication connection with the second device, the first device generates a corresponding key and transmits the key to the second device and the reading server respectively. Therefore, the reading data acquisition request sent by the second device to the reading server also carries the key. After receiving the reading data acquisition request sent by the second device, the reading server matches the key in the reading data acquisition request with the key sent by the first device, and sends the reading data to the second device if the match is successful.
[0047] Further optionally, the reading server records the device information of the second device for each successful key match, and if the number of successful key matches corresponding to a second device is greater than or equal to a preset threshold, the device information of the second device is stored in the corresponding trust list. Therefore, after the reading server subsequently obtains the reading data acquisition request of the second device, if it determines that the device information of the second device exists in the trust list, it will no longer verify the key of the second device, thereby improving the overall execution efficiency of the method while ensuring the security of the reading data.
[0048] In an optional implementation, if there are multiple second devices that have established communication connections with the first device, for example, a mobile phone as the first device simultaneously establishes communication connections with multiple speakers as the second device, that is, there are multiple second devices after switching, then the reading server sends corresponding reading data to each second device. In this scenario, in order to enhance the user's reading experience, the embodiment of the present invention further synchronizes the reading data presentation progress of the multiple second devices. Specifically, the multiple second devices feed back the reading data presentation progress to the reading server according to the corresponding feedback cycle, and the reading server determines whether the reading data presentation progress of the multiple second devices is consistent by comparing the reading data presentation progress corresponding to the same timestamp. If it is determined that the reading data presentation progress of the multiple devices is inconsistent, the reading data sent to each second device next time is adjusted so that the reading data presentation progress of the multiple devices can be consistent.
[0049] Step S140: the second device presents the reading data.
[0050] Specifically, the second device may display text data of the reading data on a display screen, and / or play voice data of the book reading through a voice player.
[0051] In an optional implementation, in response to a closing operation on the second device, the second device obtains current reading progress information and sends the current reading progress information to the reading server and / or the first device to facilitate synchronization of reading progress in multiple different reading devices.
[0052] It can be seen that in the embodiment of the present invention, the first device currently running the reading application sends the reading progress information and the reading server information to the second device, and the second device requests the reading data from the reading server, so that the reading data can be quickly presented in the second device, thereby improving the switching efficiency of the devices during the reading process, improving the reading continuation efficiency and the user reading experience; and after the second device obtains the reading progress information and the reading server information sent by the first device, there is no need to continue to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, further improving the user reading experience.
[0053] Embodiment 2
[0054] Figure 2 The flowchart of a device switching method during reading provided by the second embodiment of the present invention is shown. The device switching method during reading provided by the embodiment of the present invention is executed on the reading server side.
[0055] like Figure 2 As shown, the method comprises the following steps:
[0056] Step S210, receiving a reading data acquisition request sent by the second device, wherein the reading data acquisition request carries reading progress information of a reading application currently running in the first device; the reading progress information in the second device is sent by the first device.
[0057] Step S220: sending reading data matching the reading progress information to the second device, so that the reading data is presented on the second device.
[0058] In an optional implementation, after receiving the reading data acquisition request sent by the second device, the method further includes:
[0059] Identify a device type of the second device; the device type includes a first type or a second type; wherein the first type of device has permission to install the reading application, and the second type of device does not have permission to install the reading application.
[0060] In an optional implementation, the method further includes: if the device type of the second device is the first type, determining whether the second device has the reading application installed; if the second device does not have the reading application installed, sending the installation data of the reading application to the second device so that the second device can install the reading application.
[0061] In an optional implementation, the method further includes: if the device type of the second device is the second type, identifying a reading function supported by the second device; wherein the reading function includes a display function and / or a voice playback function; and determining a reading data type of the reading data sent to the second device according to the reading function supported by the second device; wherein the reading data type includes a reading type and / or a listening type;
[0062] Then, sending the reading data matching the reading progress information to the second device further includes: sending the reading data matching the reading progress information and the determined reading data type to the second device.
[0063] In an optional embodiment, the method also includes: if the reading function supported by the second device is a display function, obtaining the display size of the second device; then sending reading data matching the reading progress information to the second device further includes: sending reading data matching the reading progress information, the determined reading data type and the display size to the second device.
[0064] In an optional implementation, the reading data acquisition request also carries user account information; then sending the reading data matching the reading progress information to the second device further includes: sending the reading data matching the reading progress information and the user account information to the second device.
[0065] The specific implementation process of each step of the embodiment of the present invention can refer to the description of the corresponding part in the first embodiment, which will not be repeated here.
[0066] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0067] Embodiment 3
[0068] Figure 3 A schematic flow chart of a device switching method during reading provided by Embodiment 3 of the present invention is shown. The device switching method during reading provided by the embodiment of the present invention is executed on the first device side.
[0069] like Figure 3 As shown, the method comprises the following steps:
[0070] Step S310: Establish a communication connection with a second device.
[0071] Step S320, transmitting the reading progress information of the currently running reading application and the reading server information to the second device, so that the second device can send a reading data acquisition request carrying the reading progress information to the reading server matching the reading server information, and the reading server can send the reading data matching the reading progress information to the second device.
[0072] In an optional implementation, the communication connection is specifically a near field communication connection.
[0073] In an optional implementation, the method further includes: transmitting user account information of the reading application to the second device, so that the reading server sends reading data matching the reading progress information and the user account information to the second device.
[0074] The specific implementation process of each step of the embodiment of the present invention can refer to the description of the corresponding part in the first embodiment, which will not be repeated here.
[0075] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0076] Embodiment 4
[0077] Figure 4 A schematic flow chart of a device switching method during reading provided by a fourth embodiment of the present invention is shown. The device switching method during reading provided by the embodiment of the present invention is executed on the second device side.
[0078] like Figure 4 As shown, the method comprises the following steps:
[0079] Step S410: receiving reading progress information of a reading application currently running in the first device and reading server information transmitted by the first device.
[0080] Step S420: Send a reading data acquisition request carrying reading progress information to a reading server that matches the reading server information.
[0081] Step S430: receiving reading data matching the reading progress information sent by the reading server.
[0082] Step S440: presenting reading data.
[0083] In an optional implementation, the method further includes: receiving installation data of the reading application sent by a reading server, and installing the reading application.
[0084] In an optional implementation, presenting the reading data further includes: starting the reading application, and presenting the reading data in the reading application.
[0085] In an optional implementation, presenting the reading data further includes: starting a browser, and presenting the reading data in the browser.
[0086] In an optional implementation, after presenting the reading data, the method further includes: in response to a device shutdown operation, obtaining current reading progress information, and sending the current reading progress information to the reading server and / or the first device.
[0087] The specific implementation process of each step of the embodiment of the present invention can refer to the description of the corresponding part in the first embodiment, which will not be repeated here. It can be seen that the embodiment of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, it is not necessary to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, further improving the user's reading experience.
[0088] Embodiment 5
[0089] Figure 5 The structure diagram of a reading server provided by Embodiment 5 of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the reading server.
[0090] like Figure 5 As shown, the reading server may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508. Among them: the processor 502, the communications interface 504, and the memory 506 communicate with each other through the communications bus 508. The communications interface 504 is used to communicate with other devices such as a client or a network element of other servers. The processor 502 is used to execute a program 510, which can specifically execute the relevant steps in the above method embodiment. Specifically, the program 510 may include a program code, and the program code includes computer operation instructions. The processor 502 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.
[0091] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0092] Program 510 can be specifically used to enable the processor 502 to perform the following operations: receive a reading data acquisition request sent by a second device, the reading data acquisition request carrying the reading progress information of a reading application currently running in a first device; the reading progress information in the second device is sent by the first device; and reading data matching the reading progress information is sent to the second device, so that the reading data can be presented on the second device.
[0093] In an optional implementation, program 510 can be specifically used to enable processor 502 to perform the following operations: after receiving a reading data acquisition request sent by a second device, identifying a device type of the second device; the device type includes a first type or a second type; wherein the first type of device has permission to install the reading application, and the second type of device does not have permission to install the reading application.
[0094] In an optional implementation, program 510 can be specifically used to enable processor 502 to perform the following operations: if the device type of the second device is the first type, determine whether the second device has the reading application installed; if the second device does not have the reading application installed, send the installation data of the reading application to the second device so that the second device can install the reading application.
[0095] In an optional embodiment, the program 510 can be specifically used to enable the processor 502 to perform the following operations: if the device type of the second device is the second type, identify the reading function supported by the second device; wherein the reading function includes a display function and / or a voice playback function; based on the reading function supported by the second device, determine the reading data type of the reading data sent to the second device; wherein the reading data type includes a reading type and / or an listening type; and send reading data that matches the reading progress information and the determined reading data type to the second device.
[0096] In an optional embodiment, program 510 can be specifically used to enable processor 502 to perform the following operations: if the reading function supported by the second device is a display function, obtaining the display size of the second device; and sending reading data that matches the reading progress information, the determined reading data type, and the display size to the second device.
[0097] In an optional implementation, the program 510 may be specifically configured to enable the processor 502 to perform the following operations: the reading data acquisition request also carries user account information and sends reading data matching the reading progress information and the user account information to the second device.
[0098] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0099] Embodiment 6
[0100] Figure 6FIG. 1 shows a schematic diagram of the structure of a first device provided by Embodiment 6 of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the first device. Figure 6 As shown, the first device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0101] Wherein: the processor 602, the communication interface 604, and the memory 606 communicate with each other through the communication bus 608. The communication interface 604 is used to communicate with other devices such as network elements of a client or other servers. The processor 602 is used to execute the program 610, which can specifically execute the relevant steps in the above method embodiment. Specifically, the program 610 may include a program code, which includes computer operation instructions. The processor 602 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement an embodiment of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.
[0102] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0103] Program 610 can be specifically used to enable processor 602 to perform the following operations: establish a communication connection with a second device; transmit reading progress information of a currently running reading application and reading server information to the second device, so that the second device can send a reading data acquisition request carrying the reading progress information to a reading server that matches the reading server information, and the reading server can send reading data matching the reading progress information to the second device.
[0104] In an optional implementation, the communication connection is specifically a near field communication connection.
[0105] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations: transmitting user account information of the reading application to the second device, so that the reading server can send reading data matching the reading progress information and the user account information to the second device.
[0106] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0107] Embodiment 7
[0108] Figure 7 FIG. 1 shows a schematic diagram of the structure of a second device provided by Embodiment 7 of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the second device. Figure 7 As shown, the second device may include: a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, and a communication bus 708. Among them: the processor 702, the communication interface 704, and the memory 706 communicate with each other through the communication bus 708. The communication interface 704 is used to communicate with other devices such as a client or other server network elements. The processor 702 is used to execute a program 710, which can specifically execute the relevant steps in the above method embodiment. Specifically, the program 710 may include a program code, and the program code includes a computer operation instruction.
[0109] The processor 702 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs. The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.
[0110] Program 710 can be specifically used to enable processor 702 to perform the following operations: receive reading progress information and reading server information of a reading application currently running in the first device transmitted by the first device; send a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information; receive reading data matching the reading progress information sent by the reading server; and present the reading data.
[0111] In an optional implementation, the program 710 may be specifically configured to enable the processor 702 to perform the following operations: receive installation data of the reading application sent by the reading server, and install the reading application.
[0112] In an optional implementation, the program 710 may be specifically configured to enable the processor 702 to perform the following operations: start the reading application, and present the reading data in the reading application.
[0113] In an optional implementation, the program 710 may be specifically configured to enable the processor 702 to perform the following operations: start a browser, and present the reading data in the browser.
[0114] In an optional implementation, program 710 may be specifically configured to enable processor 702 to perform the following operations: after presenting the reading data, in response to a device shutdown operation, obtain current reading progress information, and send the current reading progress information to the reading server and / or the first device.
[0115] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0116] Embodiment 8
[0117] Figure 8 The schematic diagram of the structure of a device switching system during reading provided by Embodiment 8 of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the device switching system during reading.
[0118] like Figure 8 As shown, the device switching system 800 during reading includes: a reading server 500, a first device 600 and a second device 700. The specific structures of the reading server 500, the first device 600 and the second device 700 can refer to the descriptions in the fifth, sixth and seventh embodiments respectively, and will not be described in detail here.
[0119] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0120] Embodiment 9
[0121] A ninth embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute a method in any of the above method embodiments.
[0122] The executable instructions can specifically be used to enable the processor to perform the following operations: receive a reading data acquisition request sent by a second device, the reading data acquisition request carrying reading progress information of a reading application currently running in a first device; the reading progress information is sent by the first device to the second device; and reading data matching the reading progress information is sent to the second device, so that the reading data can be presented on the second device.
[0123] In an optional embodiment, the executable instructions cause the processor to perform the following operations: after receiving the reading data acquisition request sent by the second device, identifying the device type of the second device; the device type includes a first type or a second type; wherein the first type of device has permission to install the reading application, and the second type of device does not have permission to install the reading application.
[0124] In an optional embodiment, the executable instructions cause the processor to perform the following operations: if the device type of the second device is the first type, determining whether the second device has the reading application installed; if the second device does not have the reading application installed, sending the installation data of the reading application to the second device so that the second device can install the reading application.
[0125] In an optional embodiment, the executable instructions cause the processor to perform the following operations: if the device type of the second device is the second type, identifying a reading function supported by the second device; wherein the reading function includes a display function and / or a voice playback function; determining a reading data type of the reading data sent to the second device based on the reading function supported by the second device; wherein the reading data type includes a reading type and / or an listening type; and sending reading data that matches the reading progress information and the determined reading data type to the second device.
[0126] In an optional embodiment, the executable instructions cause the processor to perform the following operations: if the reading function supported by the second device is a display function, obtaining the display size of the second device; and sending reading data that matches the reading progress information, the determined reading data type, and the display size to the second device.
[0127] In an optional implementation, the executable instructions cause the processor to perform the following operations: the reading data acquisition request also carries user account information; and the reading data matching the reading progress information and the user account information is sent to the second device.
[0128] In an optional embodiment, the executable instructions cause the processor to perform the following operations: establish a communication connection with a second device; transmit reading progress information of a currently running reading application and reading server information to the second device, so that the second device can send a reading data acquisition request carrying the reading progress information to a reading server that matches the reading server information, and the reading server can send reading data matching the reading progress information to the second device.
[0129] In an optional implementation, the communication connection is specifically a near field communication connection.
[0130] In an optional implementation, the executable instructions cause the processor to perform the following operations: transmit user account information of the reading application to the second device, so that the reading server sends reading data matching the reading progress information and the user account information to the second device.
[0131] In an optional embodiment, the executable instructions cause the processor to perform the following operations: receiving reading progress information and reading server information of a reading application currently running in the first device transmitted by the first device; sending a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information; receiving reading data matching the reading progress information sent by the reading server; and presenting the reading data.
[0132] In an optional implementation, the executable instructions cause the processor to perform the following operations: receiving installation data of the reading application sent by a reading server, and installing the reading application.
[0133] In an optional implementation, the executable instructions cause the processor to perform the following operations: start the reading application, and present the reading data in the reading application.
[0134] In an optional implementation, the executable instructions cause the processor to perform the following operations: start a browser, and present the reading data in the browser.
[0135] In an optional embodiment, the executable instructions cause the processor to perform the following operations: after presenting the reading data, in response to a device shutdown operation, obtain current reading progress information, and send the current reading progress information to the reading server and / or the first device.
[0136] It can be seen that the embodiments of the present invention can improve the switching efficiency of devices during the reading process, and after the second device obtains the information sent by the first device, there is no need to maintain the communication connection between the first device and the second device, and the reading data can be normally presented in the second device, thereby further improving the user's reading experience.
[0137] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0138] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0139] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0140] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0141] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0142] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0143] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A method for switching devices during reading, the method comprising: After the first device currently running the reading application establishes a communication connection with the second device, the first device transmits the reading progress information of the reading application and the reading server information to the second device; The second device sends a reading data acquisition request to the reading server matching the reading server information; wherein the reading data acquisition request carries the reading progress information; The reading server sends reading data matching the reading progress information to the second device; wherein the reading server identifies the device type of the second device, and if the second device is of the first type with permission to install the reading application, determines whether the second device has already installed the reading application: if so, does not send the installation data to the second device; if not, also sends the installation data of the reading application to the second device, so that the second device can install the reading application; if the second device is of the second type without permission to install the reading application, the reading server identifies the reading function supported by the second device and determines the type of reading data, and sends the reading data matching the reading progress information and the determined type of reading data to the second device; The second device presents the reading data.
2. The method according to claim 1, wherein: The second device presenting the reading data further comprises: If the second device is of the first type, the reading application in the second device is started, and the reading data is presented in the reading application.
3. The method according to claim 1, wherein: If the second device is of the first type, and the second device does not have the reading application installed; Then the second device presenting the reading data further includes: starting a browser in the second device and presenting the reading data in the browser.
4. The method according to claim 1, wherein: If the second device is of the second type, the reading function includes a display function and / or a voice playback function, and the reading data type includes a reading type and / or a listening type.
5. The method according to claim 4, wherein: If the reading server identifies that the reading function supported by the second device is a display function, the method further includes: the reading server acquiring a display size of the second device; Then sending the reading data matching the reading progress information and the determined reading data type to the second device further includes: the reading server sending the reading data matching the reading progress information, the determined reading data type and the display size to the second device.
6. The method according to any one of claims 1 to 5, wherein: After the second device presents the reading data, the method further includes: In response to the closing operation on the second device, the second device obtains current reading progress information, and sends the current reading progress information to the reading server and / or the first device.
7. The method according to any one of claims 1 to 5, wherein: The communication connection is specifically a near field communication connection.
8. The method according to any one of claims 1 to 5, wherein: The first device also transmits user account information of the reading application to the second device; Then the reading data acquisition request also carries the user account information; Then the reading server sending the reading data matching the reading progress information to the second device further includes: the reading server sending the reading data matching the reading progress information and the user account information to the second device.
9. A method for switching devices during reading, the method comprising: receiving a reading data acquisition request sent by the second device, wherein the reading data acquisition request carries reading progress information of a reading application currently running in the first device; The reading progress information in the second device is sent by the first device; Sending reading data matching the reading progress information to the second device, so that the second device can present the reading data; wherein, identifying the device type of the second device, if the second device is of the first type with permission to install the reading application, determining whether the second device has already installed the reading application: if so, not sending the installation data to the second device; if not, also sending the installation data of the reading application to the second device, so that the second device can install the reading application; If the second device is of the second type that does not have permission to install the reading application, identify the reading function supported by the second device and determine the type of reading data, and send reading data matching the reading progress information and the determined reading data type to the second device.
10. The method according to claim 9, wherein: If the second device is of the second type, the reading function includes a display function and / or a voice playback function; and the reading data type includes a book reading type and / or a book listening type.
11. The method according to claim 9, wherein: The method further includes: if the reading function supported by the second device is a display function, acquiring a display size of the second device; Then sending the reading data matching the reading progress information to the second device further includes: sending the reading data matching the reading progress information, the determined reading data type and the display size to the second device.
12. The method according to any one of claims 9 to 11, wherein: The reading data acquisition request also carries user account information; Then the sending of the reading data matching the reading progress information to the second device further includes: sending the reading data matching the reading progress information and the user account information to the second device.
13. A method for switching devices during reading, the method comprising: establishing a communication connection with a second device; Transmitting the reading progress information of the currently running reading application and the reading server information to the second device, so that the second device can send a reading data acquisition request carrying the reading progress information to the reading server matching the reading server information, and the reading server can send the reading data matching the reading progress information to the second device; The reading server identifies the device type of the second device, and if the second device is of the first type with permission to install the reading application, determines whether the second device has already installed the reading application: if so, does not send the installation data to the second device; if not, also sends the installation data of the reading application to the second device, so that the second device can install the reading application; If the second device is of the second type that does not have permission to install the reading application, the reading server identifies the reading functions supported by the second device and determines the type of reading data, and sends reading data matching the reading progress information and the determined reading data type to the second device.
14. The method according to claim 13, wherein: The communication connection is specifically a near field communication connection.
15. The method according to claim 13 or 14, wherein: The method further comprises: The user account information of the reading application is transmitted to the second device, so that the reading server can send the reading data matching the reading progress information and the user account information to the second device.
16. A method for switching devices during reading, the method being executed in a second device, the method comprising: Receiving reading progress information of a reading application currently running in the first device and reading server information transmitted by the first device; Sending a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information; receiving reading data matching the reading progress information sent by the reading server; wherein the reading server identifies the device type of the second device, and if the second device is of the first type with permission to install the reading application, determines whether the second device has already installed the reading application: if so, does not send the installation data to the second device; if not, also sends the installation data of the reading application to the second device, so that the second device can install the reading application; if the second device is of the second type without permission to install the reading application, the reading server identifies the reading function supported by the second device and determines the type of reading data, and sends the reading data matching the reading progress information and the determined type of reading data to the second device; The reading data is presented.
17. The method according to claim 16, wherein: The method further comprises: The installation data of the reading application sent by the reading server is received, and the reading application is installed.
18. The method according to claim 16, wherein: The presenting the reading data further comprises: The reading application is started, and the reading data is presented in the reading application.
19. The method according to claim 16, wherein: The presenting the reading data further comprises: A browser is started, and the reading data is presented in the browser.
20. The method according to any one of claims 16 to 19, wherein: After presenting the reading data, the method further includes: In response to the device closing operation, current reading progress information is acquired, and the current reading progress information is sent to the reading server and / or the first device.
21. A reading server, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: receiving a reading data acquisition request sent by a second device, wherein the reading data acquisition request carries reading progress information of a reading application currently running in the first device; the reading progress information in the second device is sent by the first device; Sending reading data matching the reading progress information to the second device, so that the second device can present the reading data; wherein, identifying the device type of the second device, if the second device is of the first type with permission to install the reading application, determining whether the second device has already installed the reading application: if so, not sending the installation data to the second device; if not, also sending the installation data of the reading application to the second device, so that the second device can install the reading application; If the second device is of the second type that does not have permission to install the reading application, identify the reading function supported by the second device and determine the type of reading data, and send reading data matching the reading progress information and the determined reading data type to the second device.
22. The reading server according to claim 21, wherein: If the device type of the second device is the second type, the reading function includes a display function and / or a voice playback function, and the reading data type includes a reading type and / or a listening type.
23. The reading server according to claim 21, wherein: The executable instructions cause the processor to perform the following operations: If the reading function supported by the second device is a display function, obtaining a display size of the second device; The reading data matching the reading progress information, the determined reading data type and the display size is sent to the second device.
24. The reading server according to any one of claims 21 to 23, wherein: The executable instructions cause the processor to perform the following operations: The reading data acquisition request also carries user account information; The reading data matching the reading progress information and the user account information is sent to the second device.
25. A first device, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: establishing a communication connection with a second device; Transmitting the reading progress information of the currently running reading application and the reading server information to the second device, so that the second device can send a reading data acquisition request carrying the reading progress information to the reading server matching the reading server information, and the reading server can send the reading data matching the reading progress information to the second device; The reading server identifies the device type of the second device, and if the second device is of the first type with permission to install the reading application, determines whether the second device has already installed the reading application: if so, does not send the installation data to the second device; if not, also sends the installation data of the reading application to the second device, so that the second device can install the reading application; If the second device is of the second type that does not have permission to install the reading application, the reading server identifies the reading functions supported by the second device and determines the type of reading data, and sends reading data matching the reading progress information and the determined reading data type to the second device.
26. The first device according to claim 25, wherein: The communication connection is specifically a near field communication connection.
27. The first device according to claim 25 or 26, wherein: The executable instructions cause the processor to perform the following operations: The user account information of the reading application is transmitted to the second device, so that the reading server can send the reading data matching the reading progress information and the user account information to the second device.
28. A second device, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: Receiving reading progress information of a reading application currently running in the first device and reading server information transmitted by the first device; Sending a reading data acquisition request carrying the reading progress information to a reading server matching the reading server information; receiving reading data matching the reading progress information sent by the reading server; wherein the reading server identifies the device type of the second device, and if the second device is of the first type with permission to install the reading application, determines whether the second device has already installed the reading application: if so, does not send the installation data to the second device; if not, also sends the installation data of the reading application to the second device, so that the second device can install the reading application; if the second device is of the second type without permission to install the reading application, the reading server identifies the reading function supported by the second device and determines the type of reading data, and sends the reading data matching the reading progress information and the determined type of reading data to the second device; The reading data is presented.
29. The second device according to claim 28, wherein: The executable instructions cause the processor to perform the following operations: The installation data of the reading application sent by the reading server is received, and the reading application is installed.
30. The second device according to claim 28, wherein The executable instructions cause the processor to perform the following operations: The reading application is started, and the reading data is presented in the reading application.
31. The second device according to claim 28, wherein The executable instructions cause the processor to perform the following operations: A browser is started, and the reading data is presented in the browser.
32. The second device according to any one of claims 28 to 31, wherein: The executable instructions cause the processor to perform the following operations: After presenting the reading data, in response to a device closing operation, current reading progress information is acquired, and the current reading progress information is sent to the reading server and / or the first device.
33. A device switching system during reading, comprising: The reading server according to any one of claims 21-24, the first device according to any one of claims 25-27, and the second device according to any one of claims 28-32.
34. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, wherein the executable instruction enables a processor to execute an operation corresponding to the device switching method during the reading process as described in any one of claims 9 to 20.
Citation Information
Patent Citations
Method and equipment for switching current network application between user equipment
CN102202355A
Information processing method and system and terminals
CN105573845A
Cross-device real-time synchronous content reading method
CN109491953A
Method and device for cross-device playing control and playing device
CN113141531A
Method and apparatus for pushing electronic book
US20190018819A1
