Data processing method, device, electronic device, reader and storage medium
By establishing an atomized service center in electronic devices, connecting readers and transmitting bookmark data, the problems of e-book readers updates and networking restrictions are solved, the reading experience is improved, and reading solutions for large screens and large fonts are provided.
Patent Information
- Application Number
- CN202111472809.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-12-03
AI Technical Summary
Existing e-book readers require larger storage space and networking permissions to update e-books. User reading experience is limited, especially the small screen and small fonts, which leads to an increase in reading with your head down.
By establishing an atomized service center in electronic devices and connecting to the reader, the bookmark data is transmitted and updated, and the reader's storage resources and networking permissions are avoided, and reading experience with large screens and large fonts is provided.
Users can read e-books through large screens and large fonts without being restricted by reader storage resources and networking to improve their reading experience.
Smart Images

Figure CN114201091B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data processing method, device, electronic device, and reader-level storage medium. Background Art
[0002] In the prior art, e-book readers (readers) are mainly independent applications of the Android operating system. They require a relatively large storage space to store data downloaded by the application. Users must read the latest version of e-books and their serial updates after the application included in the reader obtains authorization to store and publish them. The source and update of data are subject to the permissions of the application or whether it is connected to the Internet. Summary of the invention
[0003] The present disclosure provides a data processing method, device, electronic device, reader and storage medium.
[0004] According to a first aspect of the present disclosure, there is provided a data processing method, comprising:
[0005] Establishing a connection between the electronic device and the reader based on an atomization service center included in the electronic device; wherein the reader is independent of the electronic device;
[0006] Based on the bookmark stored in the electronic device, data corresponding to the bookmark is sent to the reader.
[0007] According to a second aspect of the present disclosure, there is provided a data processing method, comprising:
[0008] Establishing a connection with an electronic device, wherein the connection is established through an atomization service center included in the electronic device; wherein the reader is independent of the electronic device;
[0009] Receive data sent by the electronic device, and display content corresponding to the data on the display screen of the reader.
[0010] According to a third aspect of the present disclosure, there is provided a data processing device, comprising:
[0011] A first connection unit, configured to establish a connection between the electronic device and a reader based on an atomization service center included in the electronic device; wherein the reader is independent of the electronic device;
[0012] The first sending unit is used to send data corresponding to the bookmark to the reader based on the bookmark stored in the electronic device.
[0013] According to a fourth aspect of the present disclosure, there is provided a data processing device, comprising:
[0014] A second connection unit is used to establish a connection with an electronic device, wherein the connection is established through an atomization service center included in the electronic device; wherein the reader is independent of the electronic device;
[0015] The second receiving unit is used to receive data sent by the electronic device and display content corresponding to the data on the display screen of the reader.
[0016] According to a fifth aspect of the present disclosure, there is provided an electronic device, including:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the data processing methods executed by the above-mentioned electronic device.
[0020] According to a sixth aspect of the present disclosure, there is provided a reader, comprising:
[0021] at least one processor; and
[0022] a memory communicatively connected to the at least one processor; wherein,
[0023] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of the data processing methods performed by the above-mentioned reader.
[0024] According to the seventh aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute any one of the data processing methods performed by the above-mentioned electronic device; or, to cause the computer to execute any one of the data processing methods performed by the above-mentioned reader.
[0025] According to the eighth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements any one of the data processing methods performed by the above-mentioned electronic device; or, implements any one of the data processing methods performed by the above-mentioned reader.
[0026] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0028] Figure 1 An optional flow chart of a data processing method provided by an embodiment of the present disclosure is shown;
[0029] Figure 2 Another optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown;
[0030] Figure 3 Another optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown;
[0031] Figure 4 Another optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown;
[0032] Figure 5 An optional topology diagram of the atomic service center provided by the present disclosure is shown;
[0033] Figure 6 A schematic diagram of the hardware topology structure of a reader provided by an embodiment of the present disclosure is shown;
[0034] Figure 7 A schematic diagram of an optional hardware structure of a reader provided by an embodiment of the present disclosure is shown;
[0035] Figure 8 An optional structural schematic diagram of a data processing device provided by an embodiment of the present disclosure is shown;
[0036] Fig. 9 Another optional structural diagram of the data processing device provided by the embodiment of the present disclosure is shown;
[0037] Fig.10 A schematic block diagram of an example electronic device that can be used to implement embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0038] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0039] The e-book readers (also called readers) on the market are mainly independent applications of the Android operating system. Their characteristics are that they need to use a relatively large storage space to store the data of the books downloaded by the application. To read the latest version of e-books and their serial updates, the application included in the reader itself must be authorized to collect and publish them. The source and update of the books are subject to the restrictions of the application or whether it is connected to the Internet.
[0040] According to the survey, the largest medium for e-book reading is actually mobile phones. Because mobile phones have the characteristics of real-time Internet access and a large number of e-book applications (Application, APP). Therefore, most users read e-books on their mobile phones most of the time. However, using mobile phones as readers has disadvantages such as small screens, small fonts, and long-term reading hurts the eyes.
[0041] Nowadays, reading electronic books has become one of the most widely used ways for individuals to entertain themselves in their spare time. Some e-book apps with large traffic have a large number of authors and readers, and the average number of words published and read per year continues to rise. As mobile phones are the most commonly used carriers for reading e-books, the number of people who read with their phones down is increasing. Therefore, a product that combines the advantages of electronic ink screens over paper books and the advantages of mobile phones in terms of the vast and high-quality sources of e-books is needed.
[0042] Therefore, in view of the defects existing in the related art of e-book reading, the embodiments of the present disclosure provide a data processing method to at least overcome all or part of the above defects.
[0043] Figure 1 An optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown, and will be explained according to each step.
[0044] It should be noted that in the embodiments of the present disclosure, the electronic device and / or reader may adopt the standard system of the Hongmeng HormonyOS operating system (ohos for short), the memory may be greater than or equal to 256MB, and have a simple graphical interface capability. The reader may provide a simple operation menu, which provides simple functions such as WIFI login, account login, Bluetooth settings, WIFI settings, and password settings. The reader may provide two service flow wireless link automatic switching options, giving priority to automatic connection to the wifi local area network, and secondly checking and using the automatic connection of Bluetooth.
[0045] Step S101: The electronic device establishes a connection between the electronic device and a reader based on an atomic service center included in the electronic device.
[0046] In some embodiments, the atomic service center included in the electronic device obtains the connection request information sent by the reader, and establishes a connection with the reader based on the connection request information; the atomic service center determines at least one application that meets the first condition among the applications corresponding to the connection request information; if there are more than or equal to 2 applications that meet the first condition, the first application is determined from the at least one application that meets the first condition based on the second touch instruction; otherwise, the application that meets the first condition is confirmed to be the first application. The first application is used to obtain reading data from an external server, and transmit the reading data to the reader based on the atomic service center included in the electronic device, so that the reader can display the reading data in the external server without connecting to the external server.
[0047] In some embodiments, the reader is independent of the electronic device; the first condition includes: the application includes a first application programming interface (API) and a second API; wherein the first API is used to send data corresponding to a bookmark recently updated by the first application or a bookmark recently stored by the electronic device to the reader; the second API is used to receive touch instructions sent to the first application, or to receive touch instructions sent by the reader to the electronic device.
[0048] In a specific implementation, at least one reading-related application in the electronic device needs to adapt to the first API and the second API; so that the at least one reading-related application can be converted from an existing application that needs to be installed to an installation-free application (i.e., an atomic service). The first API is used to cache reading data or transmit reading data; the second API is used to receive touch instructions sent to the first application (such as touch instructions acting on the display screen of the electronic device), or to receive touch instructions sent by the reader to the electronic device (such as touch instructions acting on the reader and sent by the reader to the electronic device).
[0049] In a specific implementation, after the reader is started, it sends a connection request message (the connection request message can be sent in the form of broadcast or based on historical connection records to the electronic device); the atomic service center of the electronic device receives the connection request message, and after discovering the reader, runs at least one application that meets the first condition among the applications (reading-related applications) corresponding to the connection request message; if there are more than or equal to 2 applications that meet the first condition, the first application is determined from the at least one application that meets the first condition based on a second touch instruction; otherwise, the application that meets the first condition is confirmed to be the first application. The second touch instruction is received based on the screen of the electronic device and is used to determine the first application from the at least one application.
[0050] In some embodiments, after the electronic device determines the first application, it establishes a connection with the reader based on the atomic service center, and the reader sends the device information of the reader to the electronic device, such as the reader's identity document (ID), the account number for logging into the reader, and the password for logging into the reader.
[0051] Step S102: the electronic device sends data corresponding to the bookmark to the reader based on the bookmark stored in the electronic device.
[0052] In some embodiments, after the electronic device establishes a connection with the reader; the first application included in the electronic device opens a content data based on the fourth touch instruction, the electronic device enters the reading interface and obtains the bookmark corresponding to the content data; the first metaprogram included in the electronic device (which may be the first API) is run, and a control instruction for running the second metaprogram included in the reader is sent to the reader. The first metaprogram and the second metaprogram are used to support the content flow between the electronic device and the reader, such as caching reading data, transmitting reading data, etc. Alternatively, the first metaprogram and the second metaprogram can also be used to support the control flow between the electronic device and the reader, such as receiving at least one of the touch instructions sent to the first application (such as the touch instructions acting on the display screen of the electronic device), receiving the touch instructions sent by the reader to the electronic device, and receiving the touch instructions sent to the reader.
[0053] In some embodiments, the first meta-program included in the electronic device determines the position of the bookmark in the chapter based on the bookmark corresponding to the content data opened in the first application (which may also be the bookmark obtained by the electronic device from the first application); if the bookmark is on the last page of the chapter, the data corresponding to the next chapter of the chapter is cached from an external server or the first application, and the data corresponding to the next chapter is sent to the reader through the first meta-program and the second meta-program; or, if the bookmark is not on the last page of the chapter, the data corresponding to the next chapter of the chapter is cached from an external server or the first application, and the remaining data of the chapter and / or the data corresponding to the next chapter of the chapter are sent to the reader through the first meta-program and the second meta-program.
[0054] In some optional embodiments, the method may further include:
[0055] Step S103: the electronic device updates the bookmark stored in the electronic device based on the first touch instruction sent by the reader, and sends data corresponding to the updated bookmark to the reader.
[0056] In some embodiments, the electronic device identifies the content of the first touch instruction sent by the reader; if the content of the first touch instruction is a reading interruption, then based on the nodes included in the first touch instruction, the bookmark stored in the electronic device is updated to the current reading position; if the type corresponding to the first touch instruction is reading the next chapter, then the bookmark stored in the electronic device is updated to the last page of the current chapter; the data corresponding to the updated bookmark is cached, and the data corresponding to the updated bookmark is sent to the reader through the first meta-program and the second meta-program.
[0057] In this way, through the data processing method provided by the embodiment of the present disclosure, a connection is established between the electronic device and the reader based on the atomic service center included in the electronic device; wherein the reader is independent of the electronic device; based on the bookmark stored in the electronic device, data corresponding to the bookmark is sent to the reader; on the one hand, it is not restricted by the book resources included in the reader and whether it is connected to the Internet; on the other hand, it allows users to read through a reader with a large screen, large font and eye protection, thereby improving the user experience.
[0058] Figure 2 Another optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown, and will be explained according to each step.
[0059] Step S201: a reader establishes a connection with an electronic device.
[0060] In some embodiments, the reader sends a connection request message to an atomic service center included in the electronic device; the connection request message is used to request to establish a connection with the electronic device.
[0061] In some embodiments, after the reader establishes a connection with the electronic device through the atomic service center included in the electronic device, the reader sends the device information of the reader to the electronic device, such as the reader's ID, the account number for logging into the reader, and the password for logging into the reader.
[0062] Step S202: The reader receives the data sent by the electronic device, and displays the content corresponding to the data on the display screen of the reader.
[0063] In some embodiments, the reader receives data sent by the electronic device, and displays the content corresponding to the data on the display screen of the reader. The data may include the content of the current chapter and / or the next chapter corresponding to the content data after the first application of the electronic device opens a piece of content data. For example, after the first application of the electronic device opens a piece of data content, the bookmark is located at Chapter N, then the data includes the content corresponding to Chapter N and / or Chapter N+1.
[0064] In other embodiments, the reader typesets the data based on a pre-stored typesetting mode, and displays the typeset content on a display screen of the reader, wherein the pre-stored typesetting mode includes at least one of font size, font, line spacing, maximum number of lines per page, left margin, right margin, top margin, bottom margin, distance before paragraph, and distance after paragraph break.
[0065] In step S203, the reader confirms the received touch control instruction, and if the touch control instruction is a first touch control instruction, sends the first touch control instruction to the electronic device.
[0066] In some embodiments, the reader confirms the touch instruction received by the display screen, and if the touch instruction is a first touch instruction, sends the first touch instruction to the electronic device; optionally, the reader can send the first touch instruction to the electronic device through a first meta-program included in the electronic device and a second meta-program included in the reader.
[0067] The first touch control instruction is used to instruct the electronic device to update a bookmark and request data corresponding to the updated bookmark.
[0068] In a specific implementation, if the current reading position is the last page of the chapter, the touch instruction is determined to be the first touch instruction; otherwise, the touch instruction is determined to be the third touch instruction; or, if the touch instruction indicates interrupting reading, the touch instruction is determined to be the first touch instruction, and the bookmark corresponding to the touch instruction is updated during the reading. If the touch instruction is the third touch instruction, the display screen displays the previous or next page of content corresponding to the current content.
[0069] In some optional embodiments, after the reader sends the first touch instruction to the electronic device, it can also receive data corresponding to the updated bookmark.
[0070] In this way, through the data processing method provided by the embodiment of the present disclosure, the reader establishes a connection with the electronic device, and the connection is established through the atomic service center included in the electronic device; the data sent by the electronic device is received, and the content corresponding to the data is displayed on the display screen of the reader; on the one hand, it is not restricted by the book resources included in the reader and whether it is connected to the Internet; on the other hand, it allows users to read through a reader with a large screen, large font and eye protection, thereby improving the user experience.
[0071] Figure 3 Another optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown and will be explained according to each step.
[0072] Step S301: the reader sends a connection request message to the electronic device.
[0073] In some embodiments, when or after the reader is started, it sends a connection request message to the electronic device; the connection request message is used to request to establish a connection with the electronic device and / or a connection with a first meta-program included in the electronic device. The connection enables data in the first application included in the electronic device to be transmitted to the reader and displayed on the display screen of the reader.
[0074] Step S302: the electronic device establishes a connection with the reader.
[0075] In some embodiments, the electronic device includes an atomic service center that obtains connection request information sent by the reader; determines at least one application that satisfies a first condition among the applications corresponding to the connection request information, and establishes a connection between the electronic device and the reader; if there are greater than or equal to 2 applications that satisfy the first condition, determines the first application from the at least one application that satisfies the first condition based on a second touch instruction; otherwise, confirms that the application that satisfies the first condition is the first application.
[0076] In some embodiments, the first condition includes: the application includes a first API and a second API; wherein the first API is used to send data corresponding to a bookmark most recently updated by the first application to the reader; and the second API is used to receive touch instructions sent to the first application, or to receive touch instructions sent by the reader to the electronic device.
[0077] In a specific implementation, at least one reading-related application in the electronic device needs to adapt to the first API and the second API; so that the at least one reading-related application can be converted from an existing application that needs to be installed to an installation-free application (i.e., an atomic service). The first API is used to cache reading data or transmit reading data; the second API is used to receive touch instructions sent to the first application (such as touch instructions acting on the display screen of the electronic device), or to receive touch instructions sent by the reader to the electronic device (such as touch instructions acting on the reader and sent by the reader to the electronic device).
[0078] Step S303: the electronic device sends data corresponding to the bookmark to the reader based on the bookmark stored in the electronic device.
[0079] In some embodiments, after determining the first application, the electronic device obtains and stores the bookmarks included in the first application and the data corresponding to the bookmarks, and sends the data corresponding to the bookmarks to the reader through the first meta-program. The atomic service center may include the first meta-program.
[0080] The data corresponding to the bookmark may include data of the current chapter of the bookmark and data of the next chapter corresponding to the bookmark.
[0081] Step S304: the reader receives the data sent by the electronic device, and displays the content corresponding to the data on the display screen of the reader.
[0082] In some embodiments, after receiving the data sent by the electronic device, the reader typesets the data based on a pre-stored typesetting mode, and displays the typeset content on a display screen of the reader. The pre-stored typesetting mode includes at least one of font size, font, line spacing, maximum number of lines per page, left margin, right margin, top margin, bottom margin, distance before paragraph, and distance after paragraph break.
[0083] In other embodiments, the reader may also perform a page turning action according to the received third touch instruction, that is, display the previous page of the current content based on the third touch instruction, or display the next page of the current chapter based on the third touch instruction.
[0084] The third touch instruction may be for the first icon on the display screen of the reader; or it may be for the third icon or the fourth icon displayed on the display screen after the second icon on the display screen of the reader is displayed based on the fourth touch instruction.
[0085] In step S305 , the reader confirms the received touch control instruction, and if the touch control instruction is a first touch control instruction, sends the first touch control instruction to the electronic device.
[0086] In some embodiments, the reader confirms the touch instruction received by the display screen, and if the touch instruction is a first touch instruction, sends the first touch instruction to the electronic device; optionally, the reader can send the first touch instruction to the application through a first meta-program included in the electronic device and a second meta-program included in the reader.
[0087] The first touch control instruction is used to instruct the electronic device to update a bookmark and request data corresponding to the updated bookmark.
[0088] In a specific implementation, if the current reading position is the last page of the chapter, the touch instruction is determined to be the first touch instruction; otherwise, the touch instruction is determined to be the third touch instruction; or, if the touch instruction indicates interrupting reading, the touch instruction is determined to be the first touch instruction, and the bookmark corresponding to the touch instruction is updated during the reading. If the touch instruction is the third touch instruction, the next page of content corresponding to the current content is displayed on the display screen.
[0089] Step S306: The electronic device updates the bookmark stored in the electronic device based on the first touch instruction sent by the reader, and sends data corresponding to the updated bookmark to the reader.
[0090] In some embodiments, the electronic device identifies the content of the first touch instruction sent by the reader; if the content of the first touch instruction is a reading interruption, then based on the nodes included in the first touch instruction, the bookmark of the electronic device is updated to the current reading position; if the type corresponding to the first touch instruction is reading the next chapter, then the bookmark stored in the electronic device is updated to the last page of the current chapter; the data corresponding to the updated bookmark is cached, and the data corresponding to the updated bookmark is sent to the reader through the first metaprogram and the second metaprogram.
[0091] Step S307: The reader receives data corresponding to the updated bookmark sent by the electronic device, and displays content corresponding to the data on a display screen of the reader.
[0092] In some embodiments, after receiving the data corresponding to the updated bookmark, the reader typesets the data corresponding to the updated bookmark based on a pre-stored typesetting mode, and displays the typeset content on a display screen of the reader. The pre-stored typesetting mode includes at least one of font size, font, line spacing, maximum number of lines per page, left margin, right margin, top margin, bottom margin, distance before paragraph, and distance after paragraph break.
[0093] In other embodiments, the reader may also perform a page turning action according to the received third touch instruction, that is, display the previous page of the current content based on the third touch instruction, or display the next page of the current chapter based on the third touch instruction.
[0094] Step S308: The electronic device sends a close instruction to the reader.
[0095] In some embodiments, after receiving the instruction to stop reading, the electronic device sends a close instruction to the reader. The close instruction is used to close the second metaprogram of the reader; specifically, closing the second metaprogram of the reader may include stopping the reader from executing a touch response action and / or displaying data content.
[0096] In some other embodiments, the electronic device may also send the bookmark stored in the electronic device to the first application so that the first application stores the bookmark.
[0097] Step S309: the reader closes the second meta-service based on the closing instruction sent by the electronic device.
[0098] In some embodiments, the reader closes the second meta-service based on a close instruction sent by the electronic device; and / or sends the result of closing the second meta-service and a corresponding bookmark when receiving the close instruction to the electronic device.
[0099] In this way, through the data processing method provided by the embodiment of the present disclosure, by establishing a connection between an electronic device and a reader, the data in the first application included in the electronic device is displayed on the reader through the connection. On the one hand, it is not restricted by the book resources included in the reader and whether it is connected to the Internet; on the other hand, it allows users to read through a reader with a large screen, large font and eye protection, thereby improving the user experience.
[0100] Figure 4 Another optional flow chart of the data processing method provided by the embodiment of the present disclosure is shown and will be explained according to each step.
[0101] Step S401, atomize at least one application included in the electronic device.
[0102] In some embodiments, the at least one application may be at least one reading-related application; the atomization of the at least one application included in the electronic device is essentially to convert the application that needs to be installed into an installation-free application.
[0103] In a specific implementation, two API interfaces (a first API interface and a second API interface) are provided for the at least one application; wherein the first API is used to send data corresponding to the bookmark most recently updated by the first application to the reader; and the second API is used to receive a touch instruction sent to the first application, or to receive a touch instruction sent by the reader to the electronic device. The first API interface can be accessed through Figure 4 The first meta-program indicates that the second API interface can be accessed through Figure 4 The first element service representation (also called flow task management service).
[0104] In some optional embodiments, the first API can also be used for authorization and identification; wherein the authorization can at least include the right to transmit data and transmit touch instructions granted to the reader when the electronic device establishes a connection with the reader. The first API can also be used to obtain reading-related data from the server, and optionally, the memory size of each data acquisition is less than or equal to 200kB.
[0105] Step S402: Establish a service flow connection.
[0106] In some embodiments, after the reader is started, the atomic service center of the electronic device receives the connection request information sent by the reader; determines at least one application that satisfies a first condition among the applications corresponding to the connection request information; if there are greater than or equal to 2 applications that satisfy the first condition, determines the first application from the at least one application that satisfies the first condition based on a second touch instruction; otherwise, confirms that the application that satisfies the first condition is the first application.
[0107] In a specific implementation, the atomic service center of the electronic device determines the first application after discovering the reader based on the connection request information; if the first application has adapted to the second API and / or the first API corresponding to the first meta-service, the atomic service center displays the icon of the first application on the display screen of the electronic device, and determines the first application based on a touch instruction for the icon of the first application; if at least one application is adapted to the second API and / or the first API corresponding to the first meta-service, the atomic service center displays the icon of the at least one application on the display screen of the electronic device, and determines the first application based on a second touch instruction for the icon of the first application among the at least one application.
[0108] In some embodiments, after determining the first application, a connection is established between the electronic device and the reader; the electronic device can transmit data and / or touch instructions to the reader through a first meta-program included in the electronic device, a first distributed task scheduling module included in the reader, a second distributed task scheduling module included in the reader, a second meta-program included in the reader, and a second meta-service included in the reader.
[0109] Step S403, initializing the connection.
[0110] In some embodiments, after the electronic device and the reader are connected, the reader sends the device information of the reader to the electronic device. The device information of the reader is used for the electronic device to transmit data and / or touch instructions to the reader; the device information of the reader may include the ID of the reader, the account number for logging into the reader, and the password for logging into the reader.
[0111] In some embodiments, after the electronic device establishes a connection with the reader; the first application included in the electronic device opens a piece of content data based on a fourth touch instruction, enters a reading interface and obtains a bookmark corresponding to the content data; runs the first meta-program included in the electronic device (which can be the first API), and sends a control instruction to the reader to run the second meta-program included in the reader.
[0112] During specific implementation, the first metaprogram included in the electronic device sends an instruction for starting the second metaprogram included in the reader to the first distributed task scheduling module; the first distributed task scheduling module sends the instruction for starting the second metaprogram included in the reader to the second distributed scheduling module included in the reader, and the second distributed scheduling module starts the second metaprogram based on the instruction for starting the second metaprogram included in the reader; the first metaprogram included in the electronic device sends an instruction for starting the second metaservice included in the reader to the first distributed task scheduling module; the first distributed task scheduling module sends the instruction for starting the second metaservice included in the reader to the second distributed scheduling module included in the reader, and the second distributed scheduling module starts the second metaservice based on the instruction for starting the second metaservice included in the reader.
[0113] In some optional embodiments, after the electronic device starts the first meta-program, closing the first application program or entering the background will not affect the operation of the first meta-program.
[0114] In some optional embodiments, after the electronic device is initialized, the first metaprogram included in the electronic device determines the position of the bookmark in the chapter based on the bookmark corresponding to the content data opened in the first application; if the bookmark is on the last page of the chapter, the data corresponding to the next chapter of the chapter is cached, and the data corresponding to the next chapter is sent to the reader through the first metaprogram and the second metaprogram; or, if the bookmark is not on the last page of the chapter, the data corresponding to the next chapter of the chapter is cached, and the remaining data of the chapter and / or the data corresponding to the next chapter of the chapter are sent to the reader through the first metaprogram and the second metaprogram.
[0115] Step S403: Content transfer and control transfer are performed between the electronic device and the reader.
[0116] In some embodiments, after receiving and caching the data sent by the electronic device, the reader typesets the data based on a pre-stored typesetting mode, and displays the typeset content on a display screen of the reader. The pre-stored typesetting mode includes at least one of font size, font, line spacing, maximum number of lines per page, left margin, right margin, top margin, bottom margin, distance before paragraph, and distance after paragraph break.
[0117] In some optional embodiments, the reader performs a page turning action according to the received third touch instruction, that is, displays the previous page of the current content based on the third touch instruction, or displays the next page of the current chapter based on the third touch instruction. The third touch instruction may be for the first icon on the display screen of the reader; or may be for the third icon or the fourth icon displayed on the display screen after the second icon on the display screen of the reader is displayed based on the fourth touch instruction. In the process of the reader performing a page turning action based on the third touch instruction, the reader only has local functions; optionally, the third touch instruction may be a sliding operation on the display screen of the reader.
[0118] In some embodiments, the reader confirms the touch instruction received by the display screen, and if the touch instruction is a first touch instruction, sends the first touch instruction to the electronic device; optionally, the reader can send the first touch instruction to the application through a first metaprogram included in the electronic device and a second metaprogram included in the reader. The first touch instruction is used to instruct the first application to update a bookmark; and request data corresponding to the updated bookmark.
[0119] In some embodiments, if the current reading position is the last page of a chapter; or the touch command is for returning to the previous chapter or the next chapter, the touch command is determined to be the first touch command; otherwise, the touch command is determined to be the third touch command; or, if the touch command indicates interrupting reading, the touch command is determined to be the first touch command, and the bookmark corresponding to the touch command is updated during the reading. If the touch command is the third touch command, the next page of content corresponding to the current content is displayed on the display screen.
[0120] In a specific implementation, if the current reading position is the last page of a chapter, the touch instruction represents turning the page to the next chapter; or, the touch instruction represents returning to the previous chapter or returning to the next chapter, then the reader starts the control flow; specifically, the reader can start the second meta-service (turn on the touch meta-service), and send the first touch instruction to the first distributed task scheduling module through the second distributed task scheduling module; the first distributed task scheduling module sends a bookmark update instruction to the first meta-program based on the control type corresponding to the first touch instruction; the first meta-program updates the bookmark of the content, and based on the updated bookmark, starts the first reading meta-service; and sends a message to the first distributed task scheduling module. The distributed task scheduling module sends the data corresponding to the updated bookmark (first buffer frame); after receiving the first buffer frame, the first distributed task scheduling module sends a request to start the first reading meta-service to the second distributed task scheduling module; the second distributed scheduling module starts the first reading meta-service and sends the first buffer frame to the second meta-service; the second meta-service caches the first buffer frame and displays the data corresponding to the first buffer frame on the display screen, starting the first task life cycle of the first buffer frame until the last page of the data corresponding to the first buffer frame is displayed based on a page-turning touch instruction; optionally, the second meta-service deletes the data after reading.
[0121] Further, the second meta-service displays the last page of data corresponding to the first buffer frame based on the page-turning touch instruction, indicating that the first task life cycle is completed, and sends a first reading completion instruction to the second distributed task scheduling module; the second distributed task scheduling module sends the first reading completion instruction to the first distributed task scheduling module; the first distributed scheduling module controls the first meta-program to delete the first reading meta-service; and based on the first reading completion instruction, updates the bookmark of the content; and based on the updated bookmark, starts the second reading meta-service; and sends the data (second buffer frame) corresponding to the updated bookmark to the first distributed task scheduling module; after receiving the data corresponding to the second buffer frame, the first distributed task scheduling module sends a request to start the second reading meta-service to the second distributed task scheduling module; the second distributed scheduling module starts the second reading meta-service and sends the data corresponding to the second buffer frame to the second meta-service; the second meta-service caches the second buffer frame and displays the data corresponding to the second buffer frame on the display screen, starting the second task life cycle of the data corresponding to the second buffer frame, until the last page of the data corresponding to the second buffer frame is displayed based on the page-turning touch instruction; optionally, the second meta-service deletes the data corresponding to the first buffer frame.
[0122] This process is repeated until the electronic device receives a stop reading instruction and executes step S404.
[0123] Step S404: the electronic device receives an instruction to stop reading.
[0124] In some embodiments, after receiving the instruction to stop reading, the electronic device sends a close instruction to the reader. The close instruction is used to close the second metaprogram of the reader; specifically, closing the second metaprogram of the reader may include stopping the reader from executing a touch response action and / or displaying data content.
[0125] In some embodiments, the reader closes the second meta-service based on a close instruction sent by the electronic device; and / or sends the result of closing the second meta-service and a corresponding bookmark when receiving the close instruction to the electronic device.
[0126] In some optional embodiments, the electronic device updates a bookmark stored by the first application.
[0127] In some optional embodiments, if the electronic device receives an instruction to stop reading, or the connection between the electronic device and the reader is disconnected because the reader is turned off or disconnected from the network of the electronic device, the electronic device updates the bookmarks stored in the first application.
[0128] In this way, through the data processing method provided by the embodiment of the present disclosure, by establishing a connection between an electronic device and a reader, the data in the first application included in the electronic device is displayed on the reader through the connection. On the one hand, it is not restricted by the book resources included in the reader and whether it is connected to the Internet; on the other hand, it allows users to read through a reader with a large screen, large font and eye protection, thereby improving the user experience.
[0129] Figure 5 An optional topology diagram of the atomic service center provided by the present disclosure is shown.
[0130] Figure 5 In the embodiment, at least one application (such as e-book APP1 and e-book APP2) is connected to the atomic service center; the atomic service center includes at least: flow task management service, multi-terminal collaboration, distributed security authentication and distributed soft bus.
[0131] Among them, the flow task management service is used to manage the opening, execution or closing of the flow task; the multi-terminal collaboration is used for data and instruction transmission between the electronic device and at least one reader; the distributed security authentication is used to establish a connection between the electronic device and at least one reader.
[0132] Figure 6 A schematic diagram of the hardware topology structure of the reader provided by an embodiment of the present disclosure is shown.
[0133] like Figure 6 As shown, the reader 600 includes an electronic ink screen (E-Ink) 601, a touch screen 602, a battery 603 and a main board 604.
[0134] The motherboard 604 includes a first interface and a first button; wherein the first interface is used to connect a charger to charge the battery 603; the first interface may be a USB interface, a Type-C interface or a Lightning interface (an interface applicable to devices produced by Apple). The first button is used to execute at least one of powering on, powering off, displaying a system menu on a display screen and hiding a system menu on a display screen.
[0135] Specifically, the reader can be turned on or off by long pressing the first button; the system menu can be displayed on the display screen or hidden on the display screen by short pressing the first button. The system menu includes at least one of setting font, setting font size, setting reading direction (horizontal or vertical), checking battery capacity, refreshing, etc.
[0136] The reader 600 may further include an integrated power management circuit (Power Management IC, PMIC); the PMIC is connected to the first interface, the battery 603 and the mainboard 604 for power flow of the reader 600.
[0137] The electronic ink screen 601 is used to display reading-related content; the touch screen 602 is used to receive touch commands for the reader 600; and the battery 603 is used to provide power for the electronic ink screen 601, the touch screen 602 and the main board 604.
[0138] In some optional embodiments, the reader 600 may further include a wireless module 607, and the wireless module 607 enables the electronic device and the reader to be wirelessly connected via WIFI or Bluetooth.
[0139] In some optional embodiments, the mainboard 604 may be connected to the touch screen 602 via an I2C bus.
[0140] Figure 7 A schematic diagram of an optional hardware structure of a reader provided in an embodiment of the present disclosure is shown.
[0141] Figure 7 Only a partial hardware structure diagram of the reader provided by the present disclosure is shown, wherein the connection lines of each part and the like are not shown.
[0142] like Figure 7 As shown, the reader 600 includes a front shell 605 and a rear shell 606 .
[0143] The front shell 605 includes a notch (charging port) for charging, and the position of the charging port corresponds to the first interface; the front shell 605 and the rear shell 606 are used to encapsulate and / or protect the touch screen 602, the electronic ink screen 601, the main board 604 and the battery 603.
[0144] Figure 8 An optional structural schematic diagram of a data processing device provided in an embodiment of the present disclosure is shown, and will be described according to each part.
[0145] In some embodiments, the data processing device 700 includes a first connecting unit 701 and a first sending unit 702. The data processing device 700 is a virtual device corresponding to the electronic device.
[0146] The first connection unit 701 is used to establish a connection between the electronic device and the reader based on an atomic service center included in the electronic device; wherein the reader is independent of the electronic device.
[0147] The first sending unit 702 is used to send data corresponding to the bookmark to the reader based on the bookmark stored in the electronic device.
[0148] In some embodiments, the data processing device 700 may further include: an updating unit 703 .
[0149] The update unit 703 is used to update the bookmark stored in the electronic device based on the first touch instruction sent by the reader and send data corresponding to the updated bookmark to the reader after establishing a connection between the electronic device and the reader based on the atomic service center included in the electronic device.
[0150] The first sending unit 702 is also used to obtain connection request information sent by the reader before establishing a connection between the electronic device and the reader based on the atomic service center included in the electronic device; determine at least one application that meets a first condition among the applications corresponding to the connection request information; if there are greater than or equal to 2 applications that meet the first condition, determine the first application from the at least one application that meets the first condition based on a second touch instruction; otherwise, confirm that the application that meets the first condition is the first application.
[0151] In some embodiments, the first condition includes: the application includes a first application editing interface API and a second API; wherein the first API is used to send data corresponding to a bookmark most recently updated by the first application to the reader; and the second API is used to receive touch instructions sent to the first application, or to receive touch instructions sent by the reader to the electronic device.
[0152] The first sending unit 702 is specifically used to determine the position of the bookmark in the chapter; if the bookmark is on the last page of the chapter, cache the data corresponding to the next chapter of the chapter, and send the data corresponding to the next chapter to the reader; or, if the bookmark is not on the last page of the chapter, cache the data corresponding to the next chapter of the chapter, and send the remaining data of the chapter and / or the data corresponding to the next chapter of the chapter to the reader.
[0153] The updating unit 703 is used to identify the content of the first touch control instruction sent by the reader;
[0154] If the content of the first touch instruction is reading interruption, updating the bookmark stored in the electronic device based on the node included in the first touch instruction;
[0155] If the type corresponding to the first touch instruction is reading the next chapter, the bookmark stored in the electronic device is updated to the last page of the current chapter.
[0156] Fig. 9 Another optional structural schematic diagram of the data processing device provided by the embodiment of the present disclosure is shown, and will be explained according to each part.
[0157] In some embodiments, the data processing device 900 includes a second connection unit 901 and a second receiving unit 902. The data processing device 900 is a virtual device corresponding to the reader.
[0158] The second connection unit 901 is used to establish a connection with an electronic device, and the connection is established through an atomic service center included in the electronic device; wherein the reader is independent of the electronic device;
[0159] The second receiving unit 902 is used to receive data sent by the electronic device and display content corresponding to the data on the display screen of the reader.
[0160] In some embodiments, the data processing device 900 may further include: a second sending unit 903 .
[0161] The second sending unit 903 is used to confirm the received touch instruction after the reader establishes a connection with the electronic device, and if the touch instruction is a first touch instruction, send the first touch instruction to the electronic device; wherein the first touch instruction is used to instruct the electronic device to update a bookmark; and request data corresponding to the updated bookmark.
[0162] The second sending unit 903 is further used to send connection request information to the atomic service center included in the electronic device before the reader establishes a connection with the electronic device; the connection request information is used to request to establish a connection with the electronic device.
[0163] The second receiving unit 902 is specifically used to determine that the touch instruction is the first touch instruction if the current reading position is the last page of the chapter; otherwise, determine that the touch instruction is the third touch instruction; or, if the touch instruction represents interruption of reading, determine that the touch instruction is the first touch instruction, and update the bookmark corresponding to the touch instruction during the reading; if the touch instruction is the third touch instruction, then the display screen displays the next page of content corresponding to the current content.
[0164] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0165] Fig.10 A schematic block diagram of an example electronic device that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0166] like Fig.10 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0167] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0168] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the above-mentioned data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the method in any other appropriate manner (e.g., by means of firmware).
[0169] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0170] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0171] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0172] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0173] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0174] The computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0175] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0176] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A data processing method, characterized in that: Used in electronic equipment, including: Establishing a connection between the electronic device and the reader based on an atomization service center included in the electronic device; wherein the reader is independent of the electronic device; Based on the bookmark stored in the electronic device, sending data corresponding to the bookmark to the reader; Before the atomic service center included in the electronic device establishes a connection between the electronic device and the reader, the method further includes: the atomic service center obtains connection request information sent by the reader; determines at least one application that meets a first condition among the applications corresponding to the connection request information; if there are more than or equal to 2 applications that meet the first condition, determines a first application from the at least one application that meets the first condition based on a second touch instruction; otherwise, confirms that the application that meets the first condition is the first application; The first condition includes: the application includes a first application editing interface API and a second API; wherein the first API is used to send data corresponding to a bookmark most recently updated by the first application to the reader; and the second API is used to receive a touch instruction sent to the first application, or receive a touch instruction sent by the reader to the electronic device; After the connection between the electronic device and the reader is established based on the atomic service center included in the electronic device, the method further includes: updating the bookmark stored in the electronic device based on the first touch instruction sent by the reader, and sending data corresponding to the updated bookmark to the reader; The method of sending data corresponding to the bookmark included in the electronic device to the reader includes: determining the position of the bookmark in the chapter; if the bookmark is on the last page of the chapter, caching data corresponding to the next chapter of the chapter, and sending the data corresponding to the next chapter to the reader; or, if the bookmark is not on the last page of the chapter, caching data corresponding to the next chapter of the chapter, and sending the remaining data of the chapter and / or data corresponding to the next chapter of the chapter to the reader.
2. The method according to claim 1, characterized in that The updating of the bookmark stored in the electronic device based on the first touch instruction sent by the reader includes: Identifying the content of the first touch instruction sent by the reader; If the content of the first touch instruction is reading interruption, updating the bookmark stored in the electronic device based on the node included in the first touch instruction; If the type corresponding to the first touch instruction is reading the next chapter, the bookmark stored in the electronic device is updated to the last page of the current chapter.
3. A data processing method, characterized in that: Applicable to readers, including: Establishing a connection with an electronic device, wherein the connection is established through an atomization service center included in the electronic device; wherein the reader is independent of the electronic device; Receiving data sent by the electronic device, and displaying content corresponding to the data on the display screen of the reader; Before establishing a connection with the electronic device, the method further includes: sending a connection request message to an atomization service center included in the electronic device; the connection request message is used to request to establish a connection with the electronic device; After the connection with the electronic device is established, the method further includes: confirming the received touch control instruction, and if the touch control instruction is a first touch control instruction, sending the first touch control instruction to the electronic device; Wherein, the first touch control instruction is used to instruct the electronic device to update the bookmark; and request data corresponding to the updated bookmark; The confirmation of received touch instructions includes: if the current reading position is the last page of the chapter, determining that the touch instruction is the first touch instruction; otherwise, determining that the touch instruction is the third touch instruction; or, if the touch instruction represents interruption of reading, determining that the touch instruction is the first touch instruction, and updating the bookmark corresponding to the touch instruction during the reading.
4. The method according to claim 3, characterized in that If the touch control instruction is a third touch control instruction, the display screen displays the next page of content corresponding to the current content.
5. A data processing device, characterized in that: The device comprises: A first connection unit, configured to establish a connection between the electronic device and a reader based on an atomization service center included in the electronic device; wherein the reader is independent of the electronic device; A first sending unit, configured to send data corresponding to the bookmark to the reader based on the bookmark stored in the electronic device; An updating unit, after the atomic service center included in the electronic device establishes a connection between the electronic device and the reader, is used to update the bookmark stored in the electronic device based on the first touch instruction sent by the reader, and send data corresponding to the updated bookmark to the reader; The first sending unit is further used to obtain connection request information sent by the reader before establishing a connection between the electronic device and the reader based on the atomic service center included in the electronic device; determine at least one application that meets a first condition among the applications corresponding to the connection request information; if there are more than or equal to 2 applications that meet the first condition, determine a first application from the at least one application that meets the first condition based on a second touch instruction; otherwise, confirm that the application that meets the first condition is the first application; The first condition includes: the application includes a first application editing interface API and a second API; wherein the first API is used to send data corresponding to a bookmark most recently updated by the first application to the reader; and the second API is used to receive a touch instruction sent to the first application, or receive a touch instruction sent by the reader to the electronic device; The first sending unit is specifically used to determine the position of the bookmark in the chapter; if the bookmark is on the last page of the chapter, cache the data corresponding to the next chapter of the chapter, and send the data corresponding to the next chapter to the reader; or, if the bookmark is not on the last page of the chapter, cache the data corresponding to the next chapter of the chapter, and send the remaining data of the chapter and / or the data corresponding to the next chapter of the chapter to the reader.
6. A data processing device, characterized in that: The device comprises: A second connection unit is used to establish a connection with an electronic device, wherein the connection is established through an atomization service center included in the electronic device; wherein the reader is independent of the electronic device; A second receiving unit, configured to receive data sent by the electronic device and display content corresponding to the data on a display screen of the reader; a second sending unit, configured to confirm the received touch instruction after the reader establishes a connection with the electronic device, and if the touch instruction is a first touch instruction, send the first touch instruction to the electronic device; wherein the first touch instruction is used to instruct the electronic device to update a bookmark; and request data corresponding to the updated bookmark; The second sending unit is further used to send connection request information to the atomic service center included in the electronic device before the reader establishes a connection with the electronic device; the connection request information is used to request to establish a connection with the electronic device; The second receiving unit is specifically used to determine that the touch instruction is the first touch instruction if the current reading position is the last page of the chapter; otherwise, determine that the touch instruction is the third touch instruction; or, if the touch instruction represents interruption of reading, determine that the touch instruction is the first touch instruction, and update the bookmark corresponding to the touch instruction during the reading.
7. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 2.
8. A reader, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 3 to 4.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-2; Or, used to cause the computer to execute the method according to any one of claims 3-4.
10. A computer program product, characterized in that comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 2; Alternatively, implement the method according to any one of claims 3-4.
