CN117472250A - Electronic book page turning processing method and terminal - Google Patents

Electronic book page turning processing method and terminal Download PDF

Info

Publication number
CN117472250A
CN117472250A CN202210867675.0A CN202210867675A CN117472250A CN 117472250 A CN117472250 A CN 117472250A CN 202210867675 A CN202210867675 A CN 202210867675A CN 117472250 A CN117472250 A CN 117472250A
Authority
CN
China
Prior art keywords
page
pages
terminal
sequence
time length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210867675.0A
Other languages
Chinese (zh)
Inventor
董重里
廖恒光
龚凌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210867675.0A priority Critical patent/CN117472250A/en
Publication of CN117472250A publication Critical patent/CN117472250A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a page turning processing method and a terminal for an electronic book, which are used for realizing rapid page turning preview.

Description

Electronic book page turning processing method and terminal
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and a terminal for processing page turning of an electronic book.
Background
With the popularity of portable terminals represented by mobile phones, reading books using electronic readers has gradually replaced traditional book reading. Turning pages, whether using an electronic reader or physical book reading, is one of the most frequent operations in a person's reading process. When reading a physical book, two types of page turning scenes exist, namely page turning is performed page by page, and the second type is that the subsequent content of the book is quickly turned and previewed by toggling the side edge of the book.
Corresponding to the second page turning scene, the existing electronic reader displays a sliding bar, the current page number and the total page number below the page, and the user realizes page number jump by dragging the sliding bar to slide. And after the user releases the sliding bar, the terminal displays the updated page content.
When a user needs to quickly know the subsequent content of the electronic book, the time for page-by-page turning is long, the content of each page to be turned needs to be obtained through multiple times of turning by the existing page turning method, and the user experience is poor.
Disclosure of Invention
The application provides a page turning processing method for an electronic book, which is used for realizing rapid page turning preview and can improve user experience.
The first aspect of the present application provides a method for processing page turning of an electronic book, including: the terminal responds to a first operation and enters a continuous page turning mode on a first page; the terminal responds to a second operation to determine a second page; the terminal determines a target page sequence from a plurality of pages between the first page and the second page, wherein the target page sequence comprises at least one page in the plurality of pages; the terminal continuously turns pages from the first page to the second page through the target page sequence.
According to the page turning processing method for the electronic book, the terminal determines the second page based on user operation, and determines the target page sequence from the first page to the second page, and continuously turns pages from the first page to the second page through the target page sequence in a continuous page turning mode, so that the user can acquire the page contents of the first page and the second page and the contents of the target page sequence displayed by the terminal. In the process of rapidly turning pages from the first page to the second page, the user can rapidly acquire the contents of a plurality of pages, and rapid preview is realized, so that a rapid page turning preview scene in reading of the entity book is simulated, and user experience can be improved.
In one possible implementation manner, the arrangement order of the pages in the target page sequence is the same as the arrangement order of the pages in the book, and the second page is a page after the first page; or the arrangement order of the pages in the target page sequence is opposite to the arrangement order of the pages in the book, and the second page is a page before the first page. That is, in the present implementation manner, the sequence of pages displayed by continuous page turning of the terminal is the same as the sequence from the first page to the second page, so that a real and rapid page turning preview scene can be simulated, and the reading habit of the user is met.
In a possible implementation manner of the first aspect, the second operation includes a sliding operation; the terminal determining, in response to the second operation, a second page includes: and the terminal determines the second page according to a first attribute of the sliding operation, wherein the first attribute comprises a sliding direction, a sliding distance or an area where the sliding operation is located.
In one possible implementation, the second operation is a pressing operation of a physical key, such as pressing a volume "+", "-" key long, etc. The embodiment of the present application is not limited to the specific form of the second operation.
According to the page turning processing method for the electronic book, the second operation is the sliding operation, the terminal obtains the sliding operation of the user, and the second page is determined based on the sliding distance of the sliding operation or the area where the sliding operation is located, so that the method is simple, convenient and easy to operate.
It should be noted that, there are multiple areas where the sliding operation is located, the second sliding operation may be performed at different positions of the terminal display screen, and the second operation includes: dragging a sliding operation of the reading progress bar in the progress bar area; or displaying a sliding operation in the page stacking area at the page edge; or a left-right sliding operation at other positions of the terminal screen.
It is understood that since the distance of the sliding operation of the page lamination area may correspond to the moving distance on the reading progress bar based on the first coefficient, similarly, the left-right sliding performed at other positions of the terminal screen may also be converted into the moving distance on the reading progress bar by the second coefficient.
In a possible implementation manner of the first aspect, the second operation includes a sliding operation, and the terminal determines a first time length of the continuous page turning according to a second attribute of the sliding operation, where the second attribute of the sliding operation includes: sliding speed or pressing force.
According to the page turning processing method for the electronic book, the terminal can determine the first time length of continuous page turning according to the second attribute of the sliding operation, namely the time length required for continuously turning from the first page to the second page. Specifically, the determination may be based on a sliding speed of the sliding operation or a pressing force, and the sliding speed is inversely related to the first time period or the pressing force is inversely related to the first time period, for example.
In a possible implementation manner of the first aspect, the determining, by the terminal, a target page sequence from a plurality of pages between the first page and the second page includes: if the first average time length is greater than or equal to a first time length threshold, the target page sequence comprises all pages in the plurality of pages, and the first average time length is determined according to the first time length and the plurality of pages; and if the first average time length is smaller than a first time length threshold value, determining the target page sequence from the plurality of pages, wherein the first page number of the plurality of pages is larger than the second page number in the target page sequence, and the second average time length determined according to the target page sequence and the first time length is larger than or equal to a second time length threshold value.
According to the page turning processing method for the electronic book, the terminal can preset a first time threshold, it can be understood that the first time threshold is larger than or equal to the time length that a human eye can observe the content of the page, for example, 0.05 seconds, 0.1 seconds, 0.2 seconds or 0.5 seconds, if the first average time length of each page determined based on the first time length and the plurality of pages is larger than or equal to the first time threshold, the target page sequence comprises all pages in the plurality of pages, namely, the terminal continuously turns pages from the first page to the first page one by one, and if the first average time length is smaller than the first time threshold, the terminal screens the target page sequence from the plurality of pages, so that the second average time length determined according to the target page sequence and the first time length is larger than or equal to the second time length threshold. It should be noted that, the value of the second time period threshold may be the same as or different from the value of the first time period threshold.
In a possible implementation manner of the first aspect, if the first average duration is less than a first duration threshold, determining the target page sequence from the plurality of pages includes: if the first average duration is smaller than a first duration threshold, the terminal determines a special page from the multiple pages to obtain the target page sequence, wherein the special page comprises one or more of the following: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page.
The method for processing the page turning of the electronic book provided by the embodiment of the invention provides a method for screening a target page sequence from a plurality of pages, namely screening special pages from the plurality of pages, wherein the special pages are displayed for a user to provide more content prompt information, and the reading experience of the user can be improved.
In a possible implementation manner of the first aspect, the determining, by the terminal, a target page sequence from a plurality of pages between the first page and the second page includes: the terminal determines the number of second pages according to the first duration and the preset single page display duration; and the terminal determines the target page sequence from the plurality of pages according to the second page quantity, wherein the quantity of pages in the target page sequence is the first page quantity.
According to the page turning processing method of the electronic book, the number of pages of the target page sequence can be determined according to the first time length and the preset single page display time length, and the target page sequence is determined from a plurality of pages based on the number of pages.
In a possible implementation manner of the first aspect, the first operation includes: pressing operation of a physical control, clicking operation of a continuous page turning control or long-press operation of the edge area of the first page.
According to the page turning processing method for the electronic book, the terminal obtains the first operation of the user to enter the continuous page turning mode, the first operation can be in various forms, including pressing operation of a physical control, clicking operation of the continuous page turning control or long-press operation of the edge area of the first page, and the like, and it is to be noted that the long-press operation of the edge area of the first page can simulate actions of a rapid page turning preview scene when reading the physical book, and user experience is improved.
In a possible implementation manner of the first aspect, after the terminal enters the continuous page turning mode on the first page in response to the first operation, the method further includes: the terminal displays a page stacking area at the edge of the first page, and the width of the page stacking area is positively correlated with the number of pages behind the first page.
According to the page turning processing method for the electronic book, the page lamination area is displayed at the edge of the first page, so that the page thickness during reading of the physical book can be simulated, and the user experience is improved.
In a possible implementation manner of the first aspect, the continuously paging the terminal from the first page to the second page through the target page sequence includes: the terminal turns pages from the first page to a first intermediate page, wherein the first intermediate page comprises partial contents of a first target page and partial contents of a second target page, and the first target page and the second target page are pages in the target page sequence; and the terminal turns pages from the first middle page to the second page.
In order to realize rapid page turning preview, the method for processing the page turning of the electronic book provided by the embodiment of the invention can simultaneously display a plurality of pages through the middle page when the target page sequence is displayed, can increase the page turning speed and improves the efficiency of obtaining page contents for users.
A second aspect of the present application provides a terminal, comprising: a processing unit for entering a continuous page turning mode on a first page in response to a first operation; a determining unit configured to determine a second page in response to a second operation; the determining unit is further configured to determine a target page sequence from a plurality of pages between the first page and the second page, where the target page sequence includes at least one page in the plurality of pages; and the display unit is used for continuously turning pages from the first page to the second page through the target page sequence.
In a possible implementation manner of the second aspect, the second operation includes a sliding operation; the determining unit is specifically configured to: and determining the second page according to the first attribute of the sliding operation, wherein the first attribute comprises the sliding direction, the sliding distance or the area where the sliding operation is located.
In a possible implementation manner of the second aspect, the second operation includes a sliding operation, and the determining unit is further configured to: determining a first time length of the continuous page turning according to a second attribute of the sliding operation, wherein the second attribute of the sliding operation comprises: sliding speed or pressing force.
In a possible implementation manner of the second aspect, the determining unit is specifically configured to: determining the number of second pages according to the first time length and the preset single page display time length; and determining the target page sequence from the plurality of pages according to the second page number, wherein the number of pages in the target page sequence is the first page number.
In a possible implementation manner of the second aspect, the determining unit is specifically configured to: if the first average time length is greater than or equal to a first time length threshold, determining that all pages in the plurality of pages are pages in the target page sequence, wherein the first average time length is determined according to the first time length and the plurality of pages; and if the first average time length is smaller than a first time length threshold value, screening partial pages from the plurality of pages to obtain the target page sequence, wherein the first page number of the plurality of pages is larger than the second page number in the target page sequence, and the second average time length determined according to the target page sequence and the first time length is larger than or equal to a second time length threshold value.
In a possible implementation manner of the second aspect, the determining unit is specifically configured to: if the first average duration is smaller than a first duration threshold, determining a special page from the plurality of pages to obtain the target page sequence, wherein the special page comprises one or more of the following: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page.
In a possible implementation manner of the second aspect, the first operation includes: pressing operation of a physical control, clicking operation of a continuous page turning control or long-press operation of the edge area of the first page.
In a possible implementation manner of the second aspect, the display unit is further configured to: and displaying a page stacking area at the edge of the first page after the terminal enters the continuous page turning mode at the first page in response to the first operation, wherein the width of the page stacking area is positively related to the number of pages behind the first page.
In a possible implementation manner of the second aspect, the display unit is specifically configured to: turning pages from the first page to a first intermediate page, wherein the first intermediate page comprises partial contents of a first target page and partial contents of a second target page, and the first target page and the second target page are pages in the target page sequence; and turning pages from the first middle page to the second page.
A third aspect of the present application provides a terminal, including: a memory having computer readable instructions stored therein; a processor coupled to the memory, the computer readable instructions, when executed by the processor, cause the terminal to implement the method as described in the first aspect and any of various possible implementations.
A fourth aspect of the present application provides a computer program product comprising computer readable instructions which, when run on a computer, cause the computer to perform the method of the first aspect and any of the various possible implementations.
A fifth aspect of the present application provides a computer readable storage medium, characterized in that the computer readable storage medium has stored therein instructions which, when run on a computer, cause the computer to perform the method according to the first aspect and any of the various possible implementations.
A sixth aspect of the present application provides a chip comprising a processor. The processor is configured to read and execute a computer program stored in the memory to perform the method in any of the possible implementations of any of the aspects described above. Optionally, the chip includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire. Further optionally, the chip further comprises a communication interface, and the processor is connected to the communication interface. The communication interface is used for receiving data and/or information to be processed, and the processor acquires the data and/or information from the communication interface, processes the data and/or information and outputs a processing result through the communication interface. The communication interface may be an input-output interface.
Technical effects of any implementation manner of the second aspect, the third aspect, the fourth aspect, the fifth aspect or the sixth aspect may refer to technical effects of corresponding implementation manners of the first aspect, which are not described herein.
The application provides a page turning processing method for an electronic book, which is used for realizing rapid page turning preview and can improve user experience.
Drawings
Fig. 1 is an application scene architecture diagram of a page turning processing method of an electronic book according to an embodiment of the present application;
FIG. 2 is a schematic diagram of one embodiment of a method for processing a page of an electronic book according to an embodiment of the present application;
FIG. 3 is an interface schematic diagram of a continuous flip mode in an embodiment of the present application;
fig. 4 is an operation schematic diagram of a page turning processing method of an electronic book in an embodiment of the present application;
fig. 5 is another operation schematic diagram of a page turning processing method of an electronic book according to an embodiment of the present application;
FIG. 6 is another interface schematic diagram of a continuous flip mode in an embodiment of the present application;
FIG. 7 is a schematic diagram of an embodiment of a terminal according to an embodiment of the present application;
fig. 8 is a schematic diagram of another embodiment of a terminal in an embodiment of the present application.
Detailed Description
The application provides a page turning processing method for an electronic book, which is used for realizing rapid page turning preview and can improve user experience.
Embodiments of the present application will now be described with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some, but not all embodiments of the present application. As one of ordinary skill in the art can appreciate, with the development of technology and the appearance of new scenes, the technical solutions provided in the embodiments of the present application are applicable to similar technical problems.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules that are expressly listed or inherent to such process, method, article, or apparatus. The naming or numbering of the steps in the present application does not mean that the steps in the method flow must be executed according to the time/logic sequence indicated by the naming or numbering, and the execution sequence of the steps in the flow that are named or numbered may be changed according to the technical purpose to be achieved, so long as the same or similar technical effects can be achieved.
Embodiments of the present application are described below with reference to the accompanying drawings. First, an application scenario architecture of a page turning processing method of an electronic book in an embodiment of the present application is described, and please refer to fig. 1, which is an application scenario architecture diagram of a page turning processing method of an electronic book in an embodiment of the present application.
The application scenario architecture diagram includes a terminal 001 and a user 002.
Wherein, terminal 001: can be a mobile phone, a tablet computer, an electronic reader, or a notebook computer, a television, a laptop computer, a desktop computer, an intelligent vehicle-mounted device, an intelligent household appliance, an artificial intelligent device, a wearable device, an internet of things device, a virtual reality/augmented reality/mixed reality device, and the like. An operating system is mounted, and an electronic reader is built in/mounted to read the electronic book through the electronic reader. User 002: when the electronic book is read by using the electronic reader on the terminal 001, the page turning operation can be performed by a physical key of the terminal 001 or a touch screen.
With the popularity of portable terminals represented by mobile phones, reading books using electronic readers has gradually replaced traditional book reading. Whether using an electronic reader or book reading, page turning is one of the most frequent operations in the reading process of people. When reading physical books, there are generally two types of page turning scenes: first, after reading one page, turning to the next page; second, page content of subsequent pages is generally previewed by quick page turning to determine whether the subsequent pages include specific content and to locate the content. For the second page turning scene, the existing electronic reader displays a sliding bar, the current page number and the total page number below the page, and the user drags the sliding bar to slide so as to realize page number skip. And when the user does not drag the sliding bar to move any more, updating the content of the display page.
When a user needs to quickly know the subsequent content of the electronic book, the time for page-by-page turning is long, the content of each page to be turned needs to be obtained through multiple times of turning by the existing page turning method, and the user experience is poor.
In view of this, the embodiments of the present application provide a method and a network device for processing page turning of an electronic book, which are used for fast and continuous page turning, thereby improving user experience.
Referring to fig. 2, an embodiment of the present application proposes a method for processing page turning of an electronic book. The method can be applied to the scenario shown in fig. 1, wherein in the application scenario shown in fig. 1, the terminal corresponds to the terminal 001 shown in fig. 1, and the method comprises steps S201-S204:
s201, the terminal responds to a first operation to enter a continuous page turning mode on a first page.
When a user reads books through the electronic reader, the user can enter the quick page turning interface through the first operation to start the quick page turning function.
The first operation may take various forms, for example, clicking on a middle position of the page to call out a menu, and then clicking on a control on the menu to enter a continuous page turning mode, where the control may be a primary control or a secondary control. Or, the first operation is an operation of a preset shortcut gesture or a shortcut key, and may be used to enter a continuous page turning mode. Or pressing the physical control, clicking the continuous page turning control or long-pressing the edge area of the first page. Or the terminal obtains the long-press operation of the user on the edge area of the first page to enter the continuous page turning mode, and it is to be noted that the long-press operation on the edge area of the first page can simulate the action of the rapid page turning preview scene when the physical book is read, so that the user experience is improved.
Optionally, the continuous page-turning mode corresponds to a continuous page-turning interface. In one possible implementation, under the continuous page turning interface, the terminal displays a page stacking region at the edge of the first page, and the width of the page stacking region is positively related to the number of pages after the first page. And the page stacking area is displayed at the edge of the first page, so that the thickness of the page when the physical book is read can be simulated, and the user experience is improved.
For example, referring to fig. 3, interface (a) is a page when a user performs full-screen reading on a mobile phone using an electronic reader, and after the user clicks the middle position 301 of the screen and calls out a menu interface (such as interface (b) of fig. 3), a continuous page turning control is displayed at the bottom of the menu, clicks the continuous page turning control 320, and enters the continuous page turning interface. It should be noted that, compared to page-by-page turning, the page turning speed of the page turning processing method provided in the embodiment of the present application is faster, which is also referred to as fast page turning in the embodiment of the present application. When entering the quick page-turning interface, the terminal simulates the multi-page stack of the edges of the physical book in the right side 303 area of the screen, and the edges simulate the "thickness" of the remaining unread portions according to the current reading schedule. In interface (b) of fig. 3, the thickness is embodied as the width of the right-side simulated multi-page stack. The width of the multi-page stack gradually decreases as the reading progress increases.
S202, the terminal responds to the second operation to determine a second page.
The terminal determines the second page in response to a second operation, which may take various forms, and in one possible implementation, the second operation is a pressing operation on a physical key, for example, pressing a volume "+", "-" key for a long time, etc. The embodiment of the present application is not limited to the specific form of the second operation. In another possible implementation manner, the second operation is a sliding operation, and the method includes that the terminal determines the second page according to a first attribute of the sliding operation, where the first attribute includes a sliding distance of the sliding operation or an area where the sliding operation is located. The terminal acquires the sliding operation of the user, and determines the second page based on the sliding distance of the sliding operation or the starting position of the sliding operation, so that the method is simple and easy to implement.
It should be noted that, there are multiple areas where the sliding operation is located, the second sliding operation may be performed at different positions of the terminal display screen, and the second operation includes: dragging a sliding operation of the reading progress bar in the progress bar area; or displaying a sliding operation in the page stacking area at the page edge; or a left-right sliding operation at other positions of the terminal screen.
It is understood that since the distance of the sliding operation of the page lamination area may correspond to the moving distance on the reading progress bar based on the first coefficient, similarly, the left-right sliding performed at other positions of the terminal screen may also be converted into the moving distance on the reading progress bar by the second coefficient.
For example, a reading progress bar is displayed on the rapid page turning interface, a sliding bar is arranged on the reading progress bar, and a user can move on the reading progress bar through the sliding bar to realize rapid continuous page turning. In this embodiment, the reading progress bar indicates the number of pages of the whole book, and when the sliding bar slides from the head to the bottom of the reading progress bar, the whole book can be quickly read. After entering the quick page turning interface shown in the interface (b) of fig. 3, the user can drive the sliding bar to slide on the reading progress bar through a preset operation. For example, clicking the selected sliding bar by a direct finger, dragging the sliding bar to move; or the sliding bar can be driven to move on the reading progress bar by sliding left and right at any position of the screen. Of course, movement control of the slider bar may be achieved in other ways, for example, by pressing the volume "+", "-" keys too long. Fig. 4 shows a schematic diagram of the movement of the drag slider 401 by sliding left and right.
After the terminal acquires the second operation, determining the attribute of the second operation. Different operations have different properties, for example, for a left-right sliding operation, the properties that the terminal mainly determines include: sliding direction, distance, time, speed. Wherein the first attribute of the second operation is usable to determine a second page,
the terminal controls movement of the slider based on the user's operation, and then determines a page to be loaded and contents of the page based on the movement attribute of the slider. Since the reading progress bar corresponds to the reading progress of the whole book, if the content of the book is too much, the sliding bar is directly dragged to slide on the reading progress bar, the sliding bar moves only a small distance, the corresponding page number may be too many (for example, more than 100 pages), so that the content of the adjacent page of the current page cannot be previewed, and the user may have a need to preview only the content of a plurality of pages behind the current page. Based on this, the preset operation may include sliding left and right outside the reading progress bar, for example, the user slides left and right in the page area, the sliding outside the reading progress bar may cause the sliding bar to move on the reading progress bar, and the sliding distance of the finger of the user has a preset attenuation coefficient when being converted into the moving distance of the sliding bar on the reading progress bar, so that the preview of the contents of several pages in the backward direction of the current page may be realized by giving the attenuation coefficient of the sliding distance.
For example, referring to fig. 5, the total number of pages of the book shown in fig. 5 is 10500 pages, the user slides outside the reading progress bar, slides from the left side of the screen to the right side of the screen (as shown in operation 501 of fig. 5), and after the attenuation coefficient operation, the sliding bar moves only a small distance on the reading progress bar (502), and the number of pages corresponding to the loading page is 30 pages. The requirement of a user for previewing the follow-up page of the current page can be met.
The determination of the attenuation coefficient may include two ways: (1) the fixed attenuation coefficient, namely the attenuation coefficient is a certain value, the moving distance of the sliding bar is the sliding distance operated by the user multiplied by the attenuation coefficient, and the total page number of the turned pages is determined by the moving distance of the sliding bar and the length of the reading progress bar. (2) The dynamic attenuation coefficient is predefined that when the sliding distance is equal to the screen width, the moving distance of the sliding bar corresponds to a fixed number of pages (for example, 50 pages), and the attenuation coefficient is determined accordingly. The attenuation coefficient determined by the second way has different attenuation coefficients for different books.
The terminal determines the second page through the attribute of the second operation, so that the page to be loaded and the content of the page can be acquired, wherein the page comprises a plurality of pages between the first page and the second page. Taking a left-right sliding operation as an example, the page turning direction of the page can be determined based on the sliding direction, and the number of pages turned is determined based on the moving distance of the sliding bar on the reading progress bar. After determining the page turning direction and the page turning number, the terminal determines a plurality of pages to be loaded.
S203, the terminal determines a target page sequence from a plurality of pages between the first page and the second page, wherein the target page sequence comprises at least one page in the plurality of pages.
The terminal may determine that a plurality of pages between the first page and the second page are target page sequences, or determine that a part of pages are pages in the target page sequences from the plurality of pages.
In one possible implementation manner, the arrangement order of the pages in the target page sequence is the same as the arrangement order of the pages in the book, and the second page is a page after the first page; or the arrangement order of the pages in the target page sequence is opposite to the arrangement order of the pages in the book, and the second page is a page before the first page. That is, in the present implementation manner, the sequence of pages displayed by continuous page turning of the terminal is the same as the sequence from the first page to the second page, so that a real and rapid page turning preview scene can be simulated, and the reading habit of the user is met.
The target page sequence is a page to be displayed to a user by the terminal in the quick page turning preview, and it can be understood that if the content of the loaded page is less, the terminal can display the content of the page for the plurality of pages and average occupied time, and if the content of the loaded page is less, the user can preview the content of the page more conveniently and quickly. However, when the number of pages of the plurality of pages between the first page and the second page is too large, if the content of a large number of pages is loaded in a short time, it may be difficult for the user to effectively capture the content of the pages, so that the purpose of previewing the content is difficult to achieve, and the expected effect cannot be achieved while occupying the terminal computing power. Thus, a target page sequence may be determined from the plurality of pages for display in the continuous page flip mode.
There are various ways of determining a page in the target page sequence from among a plurality of pages between the first page and the second page.
In a possible implementation manner, the pages in the target page sequence are determined according to the number of pages of the plurality of pages, the terminal presets a first threshold, if the number of pages of the plurality of pages is smaller than or equal to the first threshold, all the pages are displayed, that is, the plurality of pages are all determined to be the pages in the target page sequence, if the number of pages of the plurality of pages is larger than the first threshold, the target page sequence is determined from the plurality of pages, and if the number of pages in the target page sequence is equal to the first threshold, for example, the first threshold is 30 or 50, etc., and specific values are not limited.
In one possible implementation, the pages in the target page sequence are determined according to the attributes of the second operation. Specifically, the terminal determines a first duration of the continuous page turning according to a second attribute of the sliding operation, wherein the first duration is a duration required by continuously turning from the first page to the second page. The second attribute of the sliding operation includes: sliding speed or pressing force. Specifically, the terminal may determine the first time period based on a sliding speed of the sliding operation or a pressing force, and the sliding speed is inversely related to the first time period or the pressing force is inversely related to the first time period. The terminal determining a target page sequence from a plurality of pages between the first page and the second page comprises: determining a first average time length of each page display according to the first time length and the number of pages of the plurality of pages, and if the first average time length is greater than or equal to a first time length threshold value, the target page sequence comprises all pages of the plurality of pages; and if the first average time length is smaller than a first time length threshold value, determining the target page sequence from the plurality of pages, wherein the first page number of the plurality of pages is larger than the second page number in the target page sequence, and the second average time length determined according to the target page sequence and the first time length is larger than or equal to a second time length threshold value. The terminal may preset a first time length threshold, it may be understood that the first time length threshold is greater than or equal to a time length that a human eye can observe the content of the page, for example, 0.05 seconds, 0.1 seconds, 0.2 seconds, or 0.5 seconds, if a first average time length of each page determined based on the first time length and the plurality of pages is greater than or equal to the first time length threshold, the target page sequence includes all pages in the plurality of pages, that is, the terminal continuously turns pages from the first page to the first page, and if the first average time length is less than the first time length threshold, the terminal screens the target page sequence from the plurality of pages, so that a second average time length determined according to the target page sequence and the first time length is greater than or equal to the second time length threshold. It should be noted that, the value of the second time period threshold may be the same as or different from the value of the first time period threshold.
If the first average duration is smaller than a first duration threshold, the terminal determines a target page sequence from the plurality of pages, and various modes of determining the target page sequence exist. In one possible implementation manner, if the first average duration is less than a first duration threshold, the terminal determines a special page from the multiple pages to obtain the target page sequence, where the special page includes one or more of: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page. The method for processing the page turning of the electronic book provided by the embodiment of the invention provides a method for screening a target page sequence from a plurality of pages, namely screening special pages from the plurality of pages, wherein the special pages are displayed for a user to provide more content prompt information, and the reading experience of the user can be improved. In another possible implementation manner, the terminal selects a plurality of pages from the plurality of pages according to a certain rule, and the rest pages are not loaded for display. For example, a written matter is determined by presetting the number of pages at each interval, the interval between the pages in the determined target page sequence and the first page is an arithmetic progression, for example, one page is selected every 5 pages, 10 pages and 15 pages … …, and thereby a plurality of pages in the target page sequence are determined; alternatively, the spacing between the page in the determined target page sequence and the first page is an equal-ratio array.
In yet another possible implementation manner, the terminal determines the number of pages of the target page sequence according to the first duration and the preset single page display duration, and determines the target page sequence from a plurality of pages based on the number of pages.
There are various ways of determining the pages in the target page sequence from the multiple pages between the first page and the second page, and in the embodiment of the present application, a specific determination policy is not limited.
S204, the terminal continuously turns pages from the first page to the second page through the target page sequence.
And in the continuous page turning mode, the target page sequence is passed through from the first page to the second page, and the user can acquire the contents of the target page sequence displayed by the terminal besides the page contents of the first page and the second page. In the process of rapidly turning pages from the first page to the second page, the user can rapidly acquire the contents of a plurality of pages, and rapid preview is realized, so that a rapid page turning preview scene in reading of the entity book is simulated, and user experience can be improved.
The terminal displays a target page sequence in continuous page turning, wherein the display time of each page in the target page sequence refers to the time period from the beginning of displaying the content of the page on the screen to the time when the page is no longer displayed on the screen.
The display time of each page in the target page sequence may be the same or different. Optionally, the terminal averagely distributes the display duration of each page according to the first duration and the number of pages in the target page sequence; or the display time length of the special page in the target page sequence is longer than the display time length of the common page, and the special page comprises one or more of the following: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page. The other pages except the special page are common pages; alternatively, the display time of the page is gradually reduced, or the gradient is reduced. The display duration of each page is not limited, and it is understood that the eyes of the user are enabled to capture the content of the pages that are continuously turned.
After determining the page to be loaded and the content of the page, the terminal loads a plurality of pages in the determined target page sequence according to the page turning sequence of the book in the sliding process of the user, namely according to the determined page turning sequence. In the pages loaded continuously, at least one page can display the content of the page, so that a user can conveniently preview the whole book through previewing the content of the page, and the function of quickly previewing the book through fluctuating page edges similar to the real book can be realized on the electronic book. In a possible implementation manner, in order to implement rapid page turning preview, the method for processing page turning of an electronic book provided by the embodiment of the present application may display multiple pages simultaneously through an intermediate page when displaying a target page sequence, so as to increase the page turning speed and improve the efficiency of obtaining page content for a user.
Fig. 6 shows the loading of pages by a user during a quick succession of page turning operations, wherein all pages display page content and display time is the same. As shown in fig. 6, the terminal simultaneously displays part of the contents of a plurality of pages, and in order to simulate the actual page turning effect, the plurality of pages are turned on the screen at the same time, so that the contents of the plurality of pages can be previewed at the same time. In the current display interface, including the content of 5 pages, pages a01 through a05, it will be appreciated that in the fast page flip preview mode, the next page will go from a01 to a02, a03, a04, and finally to the a05 state, where a05 displays only the back of the page (no content portion). The display time of one page is defined as: the period of time taken from when the content of the page is displayed on the screen until the page is no longer displayed on the screen. Namely, a page from the page in the state of displaying A01 to the page in the state of A05 completely disappears on the screen, namely, the complete page display process is realized.
According to the page turning processing method, when the pages are loaded, the content of the pages can be displayed on all the pages, and the display time occupied by each page is the same. The user can quickly preview the content in the page by quickly turning the page, so that the user can quickly locate a certain page by previewing the content of the page, thereby realizing quick search of the page with fuzzy memory.
The page turning processing method provided by the application is described above, and the terminal implementing the page turning processing method is described below, with reference to fig. 7, which is a schematic diagram of an embodiment of the terminal in an embodiment of the application.
The embodiment of the application provides a terminal 700, which comprises:
a processing unit 701 for entering a continuous page-turning mode on a first page in response to a first operation;
a determining unit 702 for determining a second page in response to a second operation;
the determining unit 702 is further configured to determine, by the terminal, a target page sequence from a plurality of pages between the first page and the second page, where the target page sequence includes at least one page in the plurality of pages;
a display unit 703, configured to continuously page from the first page to the second page through the target page sequence.
In one possible implementation, the second operation includes a sliding operation; the determining unit 702 is specifically configured to: and determining the second page according to the first attribute of the sliding operation, wherein the first attribute comprises the sliding direction, the sliding distance or the area where the sliding operation is located.
In a possible implementation manner, the determining unit 702 is further configured to: determining a first time length of the continuous page turning according to a second attribute of the sliding operation, wherein the second attribute of the sliding operation comprises: sliding speed or pressing force.
In a possible implementation manner, the determining unit 702 is specifically configured to: determining the number of second pages according to the first time length and the preset single page display time length; and determining the target page sequence from the plurality of pages according to the second page number, wherein the number of pages in the target page sequence is the first page number.
In one possible implementation, the determining unit 702 is specifically configured to: if the first average time length is greater than or equal to a first time length threshold, determining that all pages in the plurality of pages are pages in the target page sequence, wherein the first average time length is determined according to the first time length and the plurality of pages; and if the first average time length is smaller than a first time length threshold value, screening partial pages from the plurality of pages to obtain the target page sequence, wherein the first page number of the plurality of pages is larger than the second page number in the target page sequence, and the second average time length determined according to the target page sequence and the first time length is larger than or equal to a second time length threshold value.
In one possible implementation, the determining unit 702 is specifically configured to: if the first average duration is smaller than a first duration threshold, determining a special page from the plurality of pages to obtain the target page sequence, wherein the special page comprises one or more of the following: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page.
In one possible implementation, the first operation includes: pressing operation of a physical control, clicking operation of a continuous page turning control or long-press operation of the edge area of the first page.
In a possible implementation, the display unit 703 is further configured to: and displaying a page stacking area at the edge of the first page after the terminal enters the continuous page turning mode at the first page in response to the first operation, wherein the width of the page stacking area is positively related to the number of pages behind the first page.
In one possible implementation, the display unit 703 is specifically configured to: turning pages from the first page to a first intermediate page, wherein the first intermediate page comprises partial contents of a first target page and partial contents of a second target page, and the first target page and the second target page are pages in the target page sequence; and turning pages from the first middle page to the second page.
It should be understood that the above division of the units of the terminal is merely a division of a logic function, and may be fully or partially integrated into one physical entity or may be physically separated when actually implemented. And these units may all be implemented in the form of software calls through the processing element; or can be realized in hardware; it is also possible that part of the units are implemented in the form of software, which is called by the processing element, and part of the units are implemented in the form of hardware. For example, the above units may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or the like. For another example, when a unit above is implemented in the form of a processing element scheduler, the processing element may be a general purpose processor, such as a central processing unit (central processing unit, CPU) or other processor that may invoke the program. For another example, the units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The terminal provided by the embodiment of the invention can realize the page turning processing method of the electronic book, can realize rapid and continuous page turning, and improves the user experience.
Referring to fig. 8, another embodiment of a terminal in an embodiment of the present application is shown;
the terminal provided in this embodiment may be a mobile phone (for example, a mobile phone including a folding screen or a mobile phone not including a folding screen), a tablet personal computer (pad), a portable game machine, a palm computer (personal digital assistant, PDA), a notebook computer, an ultra mobile personal computer (ultra mobile personal computer, UMPC), a handheld computer, a netbook, a vehicle-mounted media playing device, a wearable electronic device, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, or a digital display product. The embodiment of the application is described by taking the example that the terminal is a mobile phone.
Fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 8, the terminal may include a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (universal serial bus, USB) interface 430, a charge management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, a sensor module 480, keys 490, a motor 491, an indicator 492, a camera 493, a display screen 494, and a subscriber identity module (subscriber identification module, SIM) card interface 495, etc. Among other things, the sensor module 480 may include a pressure sensor 480A, a gyroscope sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, an ambient light sensor 480L, a bone conduction sensor 480M, and the like.
It will be appreciated that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal. In other embodiments, the terminal may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 410 may include one or more processing units, such as: the processor 410 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the terminal. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 410 for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may hold instructions or data that the processor 410 has just used or recycled. If the processor 410 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided, reducing the latency of the processor 410 and thus improving the efficiency of the system.
In some embodiments, processor 410 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and does not limit the structure of the terminal. In other embodiments, the terminal may also use different interfacing manners in the foregoing embodiments, or a combination of multiple interfacing manners.
The charge management module 440 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 440 may receive a charging input of a wired charger through the USB interface 430. In some wireless charging embodiments, the charge management module 440 may receive wireless charging input through a wireless charging coil of the terminal. The battery 442 may be charged by the charge management module 440, and the electronic device may be powered by the power management module 441.
The power management module 441 is configured to connect the battery 442, the charge management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and/or the charge management module 440 to power the processor 410, the internal memory 421, the external memory, the display screen 494, the camera 493, the wireless communication module 460, and the like. The power management module 441 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 441 may also be disposed in the processor 410. In other embodiments, the power management module 441 and the charge management module 440 may be disposed in the same device.
The wireless communication function of the terminal may be implemented by the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 450 may provide a solution for wireless communication including 2G/3G/4G/5G etc. applied on the terminal. The mobile communication module 450 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 450 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 450 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the same device as at least some of the modules of the processor 410.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 470A, receiver 470B, etc.), or displays images or video through display screen 494. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 450 or other functional module, independent of the processor 410.
The wireless communication module 460 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. applied on the terminal. The wireless communication module 460 may be one or more devices that integrate at least one communication processing module. The wireless communication module 460 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 410. The wireless communication module 460 may also receive a signal to be transmitted from the processor 410, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, the terminal's antenna 1 and mobile communication module 450 are coupled, and the antenna 2 and wireless communication module 460 are coupled, so that the terminal can communicate with the network and other devices through wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TDSCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal implements display functions through the GPU, the display screen 494, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 494 is used to display images, videos, etc., and also may display an electronic book. The display screen 494 is a folding screen (e.g., an inwardly folded screen or an outwardly folded screen) or an unfolded screen.
The display screen 494 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
The terminal may implement photographing functions through the ISP, the camera 493, the video codec, the GPU, the display screen 494, the application processor, and the like.
The ISP is used to process the data fed back by the camera 493. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, an ISP may be provided in the camera 493.
The camera 493 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the terminal may include 1 or N cameras 493, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, etc.
Video codecs are used to compress or decompress digital video. The terminal may support one or more video codecs. In this way, the terminal may play or record video in multiple encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the terminal can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to realize the memory capability of the expansion terminal. The external memory card communicates with the processor 410 through an external memory interface 420 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 421 may be used to store computer-executable program code that includes instructions. The processor 410 executes various functional applications of the terminal and data processing by executing instructions stored in the internal memory 421. For example, in the present embodiment, the processor 410 may display one or more pages of an electronic book, a continuous page turning control or a reading progress bar, etc. on the display screen 484 in response to an operation of a user by executing instructions stored in the internal memory 421. The internal memory 421 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the terminal, etc. In addition, the internal memory 421 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The terminal may implement audio functions through an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, an application processor, etc. Such as music playing, recording, etc.
The audio module 470 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 470 may also be used to encode and decode audio signals. In some embodiments, the audio module 470 may be disposed in the processor 410, or some functional modules of the audio module 470 may be disposed in the processor 410. Speaker 470A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal may listen to music through speaker 470A or to hands-free conversations. A receiver 470B, also referred to as a "earpiece," is used to convert the audio electrical signal into a sound signal. When the terminal picks up a phone call or voice message, the voice can be picked up by placing the receiver 470B close to the human ear. Microphone 470C, also referred to as a "microphone" or "microphone," is used to convert sound signals into electrical signals. When making a call or sending a voice message or when it is desired to trigger the terminal to perform certain functions by a voice assistant, the user may sound near microphone 470C through his mouth, inputting a sound signal to microphone 470C. The terminal may be provided with at least one microphone 470C. In other embodiments, the terminal may be provided with two microphones 470C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal may be further provided with three, four or more microphones 470C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The headphone interface 470D is for connecting a wired headphone. Earphone interface 470D may be a USB interface 430 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 480A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 480A may be disposed on display screen 494. The pressure sensor 480A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. When a force is applied to the pressure sensor 480A, the capacitance between the electrodes changes. The terminal determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 494, the terminal detects the intensity of the touch operation according to the pressure sensor 480A. The terminal may also calculate the location of the touch based on the detection signal of the pressure sensor 480A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 480B may be used to determine a motion gesture of the terminal. In some embodiments, the angular velocity of the terminal about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 480B. The gyro sensor 480B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 480B detects the angle of the terminal shake, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the terminal through the reverse motion, thereby realizing the anti-shake. The gyro sensor 480B may also be used for navigation, somatosensory of game scenes. If the terminal is a device having a folding screen, the display screen 494 of the terminal may be folded to form multiple screens. A gyroscopic sensor 480B may be included in each screen for measuring the orientation (i.e., directional vector of orientation) of the corresponding screen. The terminal can determine the included angle of the adjacent screens according to the measured angle change of the orientation of each screen, and further determine whether the terminal is in a fully unfolded state or a semi-folded state and the like.
The air pressure sensor 480C is used to measure air pressure. In some embodiments, the terminal calculates altitude from barometric pressure values measured by barometric pressure sensor 480C, aiding in positioning and navigation.
The magnetic sensor 480D includes a hall sensor. The terminal can detect the opening and closing of the flip holster using the magnetic sensor 480D. In some embodiments, when the terminal is a flip machine, the terminal may detect the opening and closing of the flip according to the magnetic sensor 480D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 480E may detect the magnitude of the acceleration of the terminal in various directions (typically three axes). The magnitude and direction of gravity can be detected when the terminal is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 480F for measuring distance. The terminal may measure the distance by infrared or laser. In some embodiments, the terminal may range using the distance sensor 480F to achieve fast focus.
Proximity light sensor 480G may include, for example, a Light Emitting Diode (LED) and a light detector, for example, a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal emits infrared light outwards through the light emitting diode. The terminal uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal. When insufficient reflected light is detected, the terminal may determine that there is no object in the vicinity of the terminal. The terminal can detect that the user holds the terminal close to the ear to talk by using the proximity light sensor 480G, so as to automatically extinguish the screen to achieve the purpose of saving electricity. The proximity light sensor 480G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 480L is used to sense ambient light level. The terminal may adaptively adjust the brightness of the display screen 494 based on the perceived ambient light level. The ambient light sensor 480L may also be used to automatically adjust white balance during photographing. Ambient light sensor 480L may also cooperate with proximity light sensor 480G to detect if the terminal is in a pocket to prevent false touches.
The fingerprint sensor 480H is used to collect a fingerprint. The terminal can utilize the fingerprint characteristic of gathering to realize fingerprint unblock, visit application lock, fingerprint is photographed, fingerprint answer incoming call etc..
The temperature sensor 480J detects temperature. In some embodiments, the terminal performs a temperature processing strategy using the temperature detected by temperature sensor 480J. For example, when the temperature reported by temperature sensor 480J exceeds a threshold, the terminal performs a reduction in performance of a processor located near temperature sensor 480J in order to reduce power consumption to implement thermal protection. In other embodiments, the terminal heats the battery 442 when the temperature is below another threshold to avoid the terminal from being abnormally shut down due to low temperatures. In other embodiments, when the temperature is below a further threshold, the terminal performs boosting of the output voltage of the battery 442 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 480K, also referred to as a "touch panel". The touch sensor 480K may be disposed on the display screen 494, and the touch sensor 480K and the display screen 494 form a touch screen, which is also called a "touch screen". The touch sensor 480K is used to detect a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display screen 494. In other embodiments, the touch sensor 480K may also be positioned on the surface of the terminal at a different location than the display screen 494.
Bone conduction sensor 480M may acquire a vibration signal. In some embodiments, bone conduction sensor 480M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 480M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 480M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 470 may parse out a voice signal based on the vibration signal of the sound part vibration bone block obtained by the bone conduction sensor 480M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beat signals acquired by the bone conduction sensor 480M, so that a heart rate detection function is realized.
The keys 490 include a power-on key, a volume key, etc. The keys 490 may be mechanical keys. Or may be a touch key. The terminal may receive key inputs, generating key signal inputs related to user settings of the terminal as well as function controls.
The motor 491 may generate a vibration cue. The motor 491 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 491 may also correspond to different vibration feedback effects by touch operations applied to different areas of the display screen 494. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 492 may be an indicator light, which may be used to indicate a state of charge, a change in charge, an indication message, a missed call, a notification, or the like.
The SIM card interface 495 is used to connect to a SIM card. The SIM card may be inserted into the SIM card interface 495 or withdrawn from the SIM card interface 495 to enable contact and separation with the terminal. The terminal may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 495 may support Nano SIM cards, micro SIM cards, etc. The same SIM card interface 495 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 495 may also be compatible with different types of SIM cards. The SIM card interface 495 may also be compatible with external memory cards. The terminal interacts with the network through the SIM card to realize the functions of communication, data communication and the like. In some embodiments, the terminal employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the terminal and cannot be separated from the terminal.
The methods in the following embodiments may be implemented in a terminal having the above-described hardware structure. Technical effects reference is made to the description of the foregoing embodiments, and no further description is given here.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (21)

1. The method for processing the page turning of the electronic book is characterized by comprising the following steps of:
the terminal responds to a first operation and enters a continuous page turning mode on a first page;
the terminal responds to a second operation to determine a second page;
the terminal determines a target page sequence from a plurality of pages between the first page and the second page, wherein the target page sequence comprises at least one page in the plurality of pages;
the terminal continuously turns pages from the first page to the second page through the target page sequence.
2. The method of claim 1, wherein the second operation comprises a sliding operation, and wherein the terminal determining the second page in response to the second operation comprises:
And the terminal determines the second page according to a first attribute of the sliding operation, wherein the first attribute comprises a sliding direction, a sliding distance or an area where the sliding operation is located.
3. The method of claim 1 or 2, wherein the second operation comprises a sliding operation, the method further comprising:
the terminal determines a first time length of the continuous page turning according to a second attribute of the sliding operation, wherein the second attribute of the sliding operation comprises: sliding speed or pressing force.
4. A method according to claim 3, wherein the determining, by the terminal, a target page sequence from a plurality of pages between the first page and the second page comprises:
the terminal determines the number of second pages according to the first duration and the preset single page display duration;
and the terminal determines the target page sequence from the plurality of pages according to the second page quantity, wherein the quantity of pages in the target page sequence is the first page quantity.
5. A method according to claim 3, wherein the determining, by the terminal, a target page sequence from a plurality of pages between the first page and the second page comprises:
If the first average time length is greater than or equal to a first time length threshold, the terminal determines that all pages in the plurality of pages are pages in the target page sequence, and the first average time length is determined according to the first time length and the plurality of pages;
and if the first average time length is smaller than a first time length threshold, the terminal screens partial pages from the plurality of pages to obtain the target page sequence, wherein the first page number of the plurality of pages is larger than the second page number in the target page sequence, and the second average time length determined according to the target page sequence and the first time length is larger than or equal to a second time length threshold.
6. The method of claim 5, wherein determining the target page sequence from the plurality of pages if the first average duration is less than a first duration threshold comprises:
if the first average duration is smaller than a first duration threshold, the terminal determines a special page from the multiple pages to obtain the target page sequence, wherein the special page comprises one or more of the following: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page.
7. The method of any one of claims 1 to 6, wherein the first operation comprises: pressing operation of a physical control, clicking operation of a continuous page turning control or long-press operation of the edge area of the first page.
8. The method according to any one of claims 1 to 7, wherein after the terminal enters the continuous page flip mode on the first page in response to the first operation, the method further comprises:
the terminal displays a page stacking area at the edge of the first page, and the width of the page stacking area is positively correlated with the number of pages behind the first page.
9. The method according to any one of claims 1 to 8, wherein the terminal continuously page from the first page to the second page via the target page sequence, comprising:
the terminal turns pages from the first page to a first intermediate page, wherein the first intermediate page comprises partial contents of a first target page and partial contents of a second target page, and the first target page and the second target page are pages in the target page sequence;
and the terminal turns pages from the first middle page to the second page.
10. A terminal, comprising:
a processing unit for entering a continuous page turning mode on a first page in response to a first operation;
a determining unit configured to determine a second page in response to a second operation;
the determining unit is further configured to determine a target page sequence from a plurality of pages between the first page and the second page, where the target page sequence includes at least one page in the plurality of pages;
and the display unit is used for continuously turning pages from the first page to the second page through the target page sequence.
11. The terminal of claim 10, wherein the second operation comprises a sliding operation;
the determining unit is specifically configured to: and determining the second page according to the first attribute of the sliding operation, wherein the first attribute comprises the sliding direction, the sliding distance or the area where the sliding operation is located.
12. The terminal according to claim 10 or 11, wherein the second operation includes a sliding operation, the determining unit further configured to:
determining a first time length of the continuous page turning according to a second attribute of the sliding operation, wherein the second attribute of the sliding operation comprises: sliding speed or pressing force.
13. The terminal according to claim 12, wherein the determining unit is specifically configured to:
determining the number of second pages according to the first time length and the preset single page display time length;
and determining the target page sequence from the plurality of pages according to the second page number, wherein the number of pages in the target page sequence is the first page number.
14. The terminal according to claim 12, wherein the determining unit is specifically configured to:
if the first average time length is greater than or equal to a first time length threshold, determining that all pages in the plurality of pages are pages in the target page sequence, wherein the first average time length is determined according to the first time length and the plurality of pages;
and if the first average time length is smaller than a first time length threshold value, screening partial pages from the plurality of pages to obtain the target page sequence, wherein the first page number of the plurality of pages is larger than the second page number in the target page sequence, and the second average time length determined according to the target page sequence and the first time length is larger than or equal to a second time length threshold value.
15. The terminal according to claim 14, wherein the determining unit is specifically configured to:
If the first average duration is smaller than a first duration threshold, determining a special page from the plurality of pages to obtain the target page sequence, wherein the special page comprises one or more of the following: a catalog page, a chapter page, a page containing bookmarks, and a plurality of pages contiguous with the first page.
16. The terminal of any of claims 10 to 15, wherein the first operation comprises: pressing operation of a physical control, clicking operation of a continuous page turning control or long-press operation of the edge area of the first page.
17. The terminal according to any of the claims 10 to 16, characterized in that the display unit is further adapted to:
and displaying a page stacking area at the edge of the first page after the terminal enters the continuous page turning mode at the first page in response to the first operation, wherein the width of the page stacking area is positively related to the number of pages behind the first page.
18. The terminal according to any of the claims 10 to 17, characterized in that the display unit is specifically configured to:
turning pages from the first page to a first intermediate page, wherein the first intermediate page comprises partial contents of a first target page and partial contents of a second target page, and the first target page and the second target page are pages in the target page sequence;
And turning pages from the first middle page to the second page.
19. A terminal, comprising:
a memory having computer readable instructions stored therein;
a processor coupled to the memory, the computer readable instructions, when executed by the processor, cause the terminal to implement the method of any of claims 1 to 9.
20. A computer program product comprising computer readable instructions which, when run on a computer, cause the computer to perform the method of any of claims 1 to 9.
21. A computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 9.
CN202210867675.0A 2022-07-22 2022-07-22 Electronic book page turning processing method and terminal Pending CN117472250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210867675.0A CN117472250A (en) 2022-07-22 2022-07-22 Electronic book page turning processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210867675.0A CN117472250A (en) 2022-07-22 2022-07-22 Electronic book page turning processing method and terminal

Publications (1)

Publication Number Publication Date
CN117472250A true CN117472250A (en) 2024-01-30

Family

ID=89628006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210867675.0A Pending CN117472250A (en) 2022-07-22 2022-07-22 Electronic book page turning processing method and terminal

Country Status (1)

Country Link
CN (1) CN117472250A (en)

Similar Documents

Publication Publication Date Title
CN110244893B (en) Operation method for split screen display and electronic equipment
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN113395388B (en) Screen brightness adjusting method and electronic equipment
WO2020024833A1 (en) Method for taking screenshot in scrolling manner, and electronic device
CN110633043A (en) Split screen processing method and terminal equipment
CN112671976A (en) Control method of electronic equipment and electronic equipment
WO2021063221A1 (en) Display method for electronic device, electronic device and computer readable storage medium
CN113641488A (en) Method and device for optimizing resources based on user use scene
CN111399742A (en) Interface switching method and device and electronic equipment
CN112889027A (en) Automatic screen splitting method, graphical user interface and electronic equipment
CN111147667A (en) Screen-off control method and electronic equipment
CN111142767B (en) User-defined key method and device of folding device and storage medium
CN113542574A (en) Shooting preview method under zooming, terminal, storage medium and electronic equipment
CN110609650A (en) Application state switching method and terminal equipment
WO2022062985A1 (en) Method and apparatus for adding special effect in video, and terminal device
CN115730091A (en) Comment display method and device, terminal device and readable storage medium
CN117472250A (en) Electronic book page turning processing method and terminal
CN114079809A (en) Terminal and input method and device thereof
CN112463086A (en) Display control method and electronic equipment
CN116709018B (en) Zoom bar segmentation method and electronic equipment
US20240045586A1 (en) Method for Enabling Function in Application and Apparatus
US11803594B2 (en) Information display method and apparatus
CN116560768A (en) Interface display method and electronic equipment
CN117473952A (en) Method and terminal for adding electronic bookmarks
CN116842170A (en) Information sharing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination