CN110703975A - Page turning method and device - Google Patents

Page turning method and device Download PDF

Info

Publication number
CN110703975A
CN110703975A CN201810747260.3A CN201810747260A CN110703975A CN 110703975 A CN110703975 A CN 110703975A CN 201810747260 A CN201810747260 A CN 201810747260A CN 110703975 A CN110703975 A CN 110703975A
Authority
CN
China
Prior art keywords
page
display
display area
historical reading
width
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.)
Granted
Application number
CN201810747260.3A
Other languages
Chinese (zh)
Other versions
CN110703975B (en
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shandong 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 China Mobile Communications Group Co Ltd, China Mobile Group Shandong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810747260.3A priority Critical patent/CN110703975B/en
Publication of CN110703975A publication Critical patent/CN110703975A/en
Application granted granted Critical
Publication of CN110703975B publication Critical patent/CN110703975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • 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

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 invention discloses a page turning method and a page turning device. Wherein the method comprises the following steps: and receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers. The device is used for executing the method. According to the page turning method and device provided by the embodiment of the invention, the page turning selection interface comprising the display area with the selectable page number can be displayed due to the fact that the triggering operation of page turning can be received, multiple pages can be rapidly turned, and the page turning efficiency is improved.

Description

Page turning method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a page turning method and device.
Background
With the popularization of mobile terminals and the development of mobile networks, electronic reading is more and more favored by people.
During reading, page turning is usually required. In the prior art, a mobile terminal may be triggered to turn pages by clicking or sliding, for example, a screen is slid to the left or right to turn pages forward or backward, but only one page is turned each time, and if multiple pages are to be turned, the page turning operation is repeated multiple times. For some electronic books providing directories, the operation is also cumbersome by clicking back to the directory and then selecting to access the desired page.
Therefore, how to provide a page turning method, which can rapidly turn a plurality of pages to improve the page turning efficiency, is an important issue to be solved in the industry.
Disclosure of Invention
Aiming at the defects in the prior art, the embodiment of the invention provides a page turning method and device.
In one aspect, an embodiment of the present invention provides a page turning method, including:
and receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers. In another aspect, an embodiment of the present invention provides a page turning device, including:
and the display unit is used for receiving the triggering operation of page turning and displaying a page turning selection interface, and the page turning selection interface comprises a display area capable of selecting page numbers.
In another aspect, an embodiment of the present invention provides a page turning device, including:
and the display unit is used for receiving the triggering operation of page turning and displaying a page turning selection interface, and the page turning selection interface comprises a display area capable of selecting page numbers.
In another aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a communication bus, wherein:
the processor and the memory are communicated with each other through the communication bus;
the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the page turning method provided by the embodiments.
In yet another aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the page turning method provided in the above embodiments.
According to the page turning method and device provided by the embodiment of the invention, the page turning selection interface comprising the display area with the selectable page number can be displayed due to the fact that the triggering operation of page turning can be received, multiple pages can be rapidly turned, and the page turning efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a page turning method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a page turning selection interface according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a page turning method according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a page turning method according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a page turning method according to another embodiment of the present invention;
FIG. 6 is a diagram illustrating a page turning selection interface according to another embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a page turning device according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a page turning device according to another embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a page turning device according to another embodiment of the present invention;
fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative effort belong to the protection scope of the embodiments of the present invention.
Fig. 1 is a schematic flow diagram of a page turning method according to an embodiment of the present invention, and as shown in fig. 1, the page turning method according to the embodiment of the present invention includes:
s101, receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers.
Specifically, the page turning method provided by the embodiment of the present invention is applied to an electronic product having a touch screen, and when a user uses the electronic product to read electronic data such as an electronic book and an electronic magazine, if a page turning trigger operation is performed, for example, a fast page turning button preset on the touch screen is clicked, a page turning device may receive the page turning trigger operation, and after receiving the page turning trigger operation, a page turning selection interface is displayed, where the page turning selection interface includes a display area capable of selecting a page number, the user may click the selectable page number in the display area, and after receiving the click operation on the page number, the page turning device displays a page corresponding to the page number. The electronic products include, but are not limited to, smart phones, tablet computers, and the like.
According to the page turning method provided by the embodiment of the invention, the page turning selection interface can be displayed after the triggering operation of page turning is detected, so that a plurality of pages can be rapidly turned, and the page turning efficiency is improved.
On the basis of the above embodiments, further, the display width of the display area is determined according to a preset rule.
Specifically, the display width of the display area where the page number is located is determined according to a preset rule, and the display widths of the display areas where different page numbers are located may be different. The display length of the display area where the page number is located is set according to an actual situation, and the embodiment of the invention is not limited.
On the basis of the foregoing embodiments, further, the page turning method provided in the embodiment of the present invention further includes: and receiving selection operation of the page number, and displaying the page corresponding to the page number.
Specifically, after the page turning device displays the page turning selection interface, the user selects a page number to be read according to his/her will, the selection operation of the user on the page number and/or the display area where the page number is located is regarded as the selection operation on the page number, and the page turning device may receive the selection operation on the page number, for example, the page turning device receives a click operation of the user on the display area where the page number is located, and after receiving the selection operation, acquires data of a page corresponding to the page number, thereby displaying the page corresponding to the page number. It can be understood that the corresponding relationship between the page number and the corresponding page number data is established in advance.
For example, fig. 2 is a schematic diagram of a page turning selection interface according to an embodiment of the present invention, a user a reads an electronic book using an App installed on a smartphone of the user a, after the user a opens the App, a page read last time is displayed while a fast page turning button is displayed, the user a clicks the fast page turning button, the page turning device receives a click operation of the user a on the fast page turning button, the page turning device displays the page turning selection interface shown in fig. 2, including selectable page numbers 1, 2, 3, 4 … … 19, and 20, and display areas where the selectable page numbers are located, and a display width of a display area where the page number 3 is located is significantly greater than a display width of a display area where the page number 1, the page number 2, the page number 4, the page number 19, and the page number 20 are located. The user a clicks the display area where the page number 3 is located, the page turning device may receive a selection operation of the user a on the page number 3, acquire data of a page corresponding to the page number 3, and then display the page corresponding to the page number 3 on the screen.
According to the page turning method provided by the embodiment of the invention, the page turning selection interface comprising the selectable page number can be displayed after the triggering operation of page turning is received, and the page corresponding to the page number is displayed after the selection operation of the page number is received, so that a plurality of pages can be rapidly turned, and the page turning efficiency is improved.
On the basis of the foregoing embodiments, further, the receiving a trigger operation of turning a page includes:
receiving a click operation on a quick page turning button or receiving a shaking operation; wherein the fast page turning button is preset.
Specifically, after the user clicks the fast page turning button on the touch screen, the page turning device may receive the click operation, and then display the page turning selection interface. Or after the user performs a shaking operation on the electronic product, the page turning device may receive the shaking operation and then display the page turning selection interface, where the shaking operation may be continuous shaking of the electronic product, for example, continuous shaking of the electronic product twice. Wherein the fast page turning button is preset.
Fig. 3 is a schematic flow chart of a page turning method according to another embodiment of the present invention, and as shown in fig. 3, on the basis of the foregoing embodiments, the preset rule further includes:
s301, obtaining historical reading time and historical reading times of the page corresponding to each page number;
specifically, the page turning device may record reading time and reading times of the page corresponding to the page number each time by the user, where the accumulation of the reading time forms historical reading time of the page corresponding to the page number, and the accumulation of the reading times forms historical reading times of the page corresponding to the page number. The page turning device can locally store the historical reading time and the historical reading times of the page corresponding to each page number and upload the page to a server for storage. Before displaying the page turning selection interface, the page turning device may locally acquire the historical reading time and the historical reading times of the page corresponding to each page number, or may locally acquire the historical reading time and the historical reading times of the page corresponding to each page number from the server. It can be understood that the historical reading time and the historical reading times of the page corresponding to each page number counted most recently are obtained by the page turning device.
S302, obtaining a display width parameter of a display area where each page is located according to historical reading time and historical reading times;
specifically, after obtaining the historical reading time and the historical reading times of the page corresponding to each page, the page turning device may obtain the display width parameter of the display area where each page is located according to the historical reading time and the historical reading times of the page corresponding to each page.
For example, the page flipping device calculates and obtains a display width parameter w of a display area where the page number is located according to a formula w ═ aT + bR, where T represents a historical reading time of a page corresponding to the page number, R represents a historical reading frequency of the page corresponding to the page number, and a and b are empirical coefficients.
S303, obtaining a first total width parameter according to the display width parameter;
specifically, after obtaining the display width parameter of the display area where each page is located, the page flipping unit may sum the display width parameters of the display areas where each page is located, and take the sum result as a first total width parameter.
For example, the page flipping mechanism is based on a formulaCalculating to obtain the first total width parameter M, wherein wiA display width parameter indicating a display area where the ith page number is located, and n indicates the total number of the selectable page numbersI is a positive integer and i is less than or equal to n.
S304, obtaining a display width coefficient of a display area where each page is located according to the ratio of the display width parameter to the first total width parameter;
specifically, after obtaining the first total width parameter, the page flipping device divides the display width parameter of the display area where each page is located by the first total width parameter, and uses the division result as the display width coefficient of the display area where the page is located.
For example, the page flipping mechanism is according to formula Pi=wiCalculating and obtaining a display width coefficient P of a display area where the ith page number is positionediWherein w isiAnd the display width parameter represents a display area where the ith page number is located, M represents the first total width parameter, and i is a positive integer.
S305, respectively obtaining the display width of the display area where each page is located according to the height or the width of the page turning selection interface and the display width coefficient of the display area where each page is located.
Specifically, the page turning device may display each page number on the page turning selection interface in a horizontal direction, and when each page number is displayed in the horizontal direction, the page turning device obtains the display width of the display area where each page number is located according to the width of the page turning selection interface and the display width coefficient of the display area where each page number is located, where the width of the page turning selection interface is the horizontal display size of the page turning selection interface. The page turning device can also display the page numbers on the page turning selection interface in a longitudinal mode, when the page numbers are displayed in the longitudinal mode, the page turning device obtains the display width of the display area where each page number is located according to the height of the page turning selection interface and the display width coefficient of the display area where each page number is located, and the height of the page turning selection interface is the longitudinal display size of the page turning selection interface. The height and the width of the page turning selection interface are set according to actual conditions, and the embodiment of the present invention is not limited thereto, for example, the height of the page turning selection interface may be set to the height of the display screen of the electronic product, and the width of the page turning selection interface may be set to the width of the display screen of the electronic product.
For example, the page flipping mechanism may be according to formula Qi=LPiCalculating and obtaining the display width Q of the display area where the ith page number is positionediWherein L is the width of the page turning selection interface when the page turning selection interface transversely displays each page number, and L is the height of the page turning selection interface when the page turning selection interface longitudinally displays each page number, and P is the height of the page turning selection interfaceiAnd the display width coefficient of the display area where the ith page number is located, wherein i is a positive integer.
On the basis of the foregoing embodiments, further, the obtaining, according to the historical reading time and the historical reading frequency of the page corresponding to each page, the display width parameter of the display area where each page is located includes:
and calculating and obtaining a display width parameter w of a display area where the page number is located according to a formula w ═ aT + bR, wherein T represents the historical reading time of the page corresponding to the page number, R represents the historical reading times of the page corresponding to the page number, and a and b are empirical coefficients.
Specifically, the page turning device may obtain historical reading time T of a page corresponding to the page number, and historical reading times R of the page corresponding to the page number, and then calculate and obtain a display width parameter w of a display area where the page number is located according to a formula w ═ aT + bR, where a and b are empirical coefficients, and are set according to actual experience, which is not limited in the embodiment of the present invention.
On the basis of the foregoing embodiments, further, the obtaining, according to the height or the width of the page turning selection interface and the display width coefficient of the display area where each page is located, the display width of the display area where each page is located respectively includes:
according to formula Qi=LPiCalculating and obtaining the display width Q of the display area where the ith page number is positionediWherein L is the height or width of the page turning selection interface,PiAnd the display width coefficient of the display area where the ith page number is located, wherein i is a positive integer.
Specifically, after obtaining the display width coefficient of the display area where each page number is located, the page turning device may obtain the display width coefficient according to a formula Qi=LPiCalculating and obtaining the display width Q of the display area where the ith page number is positionediWherein L is the height or width of the page turning selection interface, PiAnd the display width coefficient of the display area where the ith page number is located, wherein i is a positive integer.
Fig. 4 is a schematic flowchart of a page turning method according to another embodiment of the present invention, and as shown in fig. 4, on the basis of the foregoing embodiments, the preset rule further includes:
s401, obtaining historical reading time and historical reading times of a page corresponding to each page number;
specifically, the specific process of this step is similar to step S301, and is not described here again.
S402, obtaining a display width parameter of a display area where each page is located according to historical reading time and historical reading times of a page corresponding to each page;
specifically, the specific process of this step is similar to step S302, and is not described here again.
S403, sorting the display width parameters of the display areas where the page numbers are located from large to small, and acquiring the display width parameters of the display areas where the preset number of page numbers are located before sorting;
specifically, due to the limitation of the size of the display screen of the touch screen, when the number of pages of the electronic data is large, the selectable page number is displayed to be small, which is inconvenient for the user to view and select. After obtaining the display width parameters of the display areas where the page numbers are located, the page turning device sorts the display width parameters of the display areas where the page numbers are located according to a descending order, obtains the display width parameters of the display areas where the preset number of page numbers are located in the sorting result, and the page numbers sorted to the front in the sorting result can be understood as the page numbers which are more interested in being read again by the user. The preset number is set according to actual conditions, and the embodiment of the invention is not limited.
S404, obtaining a second total width parameter according to the display width parameter of the display area where the preset number of pages are located before sorting;
specifically, after obtaining the display width parameters of the display areas where the preset number of pages are located before the sorting, the page turning device may sum the display width parameters of the display areas where the preset number of pages are located before the sorting, and take the result of the summation as the second total width parameter.
For example, the page flipping mechanism is based on a formula
Figure BDA0001724674280000091
Calculating to obtain the second total width parameter M', wherein wk' represents a display width parameter of a display area where a preset number of the page numbers before the k-th sorting is located, m represents the preset number, k is a positive integer and is less than or equal to m.
S405, obtaining a display width coefficient of the display area where each page number in the preset number is located in the preset number before sorting according to the ratio of the display width parameter of the display area where each page number in the preset number before sorting is located to the second total width parameter;
specifically, after obtaining the second total width parameter, the page turning device divides the display width parameter of the display area where each page number in the preset number before sorting is located by the second total width parameter, and takes the division result as the display width coefficient of the display area where the page number is located.
For example, the page flipping mechanism is according to formula Pk′=wk'/M', calculating and obtaining the display width coefficient P of the display area where the page number with the preset number before the k-th sorting is positionedk', wherein wk'represents a display width parameter of a display area where a preset number of page numbers before the k-th sorting is located, M' represents the second total width parameter, and k is a positive integer.
S406, respectively obtaining the display width of the display area where each page number in the preset number is located before the sorting according to the height or the width of the page turning selection page and the display width coefficient of the display area where each page number in the preset number is located before the sorting.
Specifically, the page turning device may transversely display, on the page turning selection interface, each page number of a preset number before sorting, and when each page number of the preset number before sorting is transversely displayed, the page turning device obtains the display width of the display area where each page number of the preset number before sorting is located according to the width of the page turning selection interface and the display width coefficient of the display area where each page number of the preset number before sorting is located. The page turning device can longitudinally display each page number in a preset number before the page turning selection interface, and when each page number in the preset number before the page turning selection interface is longitudinally displayed, the page turning device respectively obtains the display width of the display area in which each page number in the preset number before the page turning selection interface is located according to the height of the page turning selection interface and the display width coefficient of the display area in which each page number in the preset number before the page turning selection interface is located.
For example, the page flipping mechanism may be according to formula Qk′=L′Pk', calculating the display width Q of the display area where the preset number of page numbers before the k-th sorting is obtainedk' wherein, when the page turning selection interface transversely displays each page number of the preset number before the sorting, L ' is the width of the page turning selection interface, and when the page turning selection interface longitudinally displays each page number of the preset number before the sorting, L ' is the height of the page turning selection interface, Pk' is a display width coefficient of a display area where the k-th page number is located, and k is a positive integer.
Fig. 5 is a schematic flow chart of a page turning method according to still another embodiment of the present invention, as shown in fig. 5, based on the foregoing embodiments, further, the preset rule includes:
s501, obtaining historical reading time or historical reading times of the page corresponding to each page number;
specifically, the page turning device may record reading time or reading times of the page corresponding to the page number each time by the user, where the accumulation of the reading time forms historical reading time of the page corresponding to the page number, and the accumulation of the reading times forms historical reading times of the page corresponding to the page number. The page turning device can obtain historical reading time or historical reading times of the page corresponding to each page number. It can be understood that the historical reading time or the historical reading times of the page corresponding to each page number counted most recently is obtained by the page turning device.
S502, obtaining total historical reading time according to the historical reading time, or obtaining total historical reading times according to the historical reading times;
specifically, after obtaining the historical reading time of the page corresponding to each page number, the page turning device may sum the historical reading times of the pages corresponding to each page number, and use the sum result as the total historical reading time. Or after obtaining the historical reading times of the pages corresponding to the respective page numbers, the page flipping device may sum the historical reading times of the pages corresponding to the respective page numbers, and use the sum result as the total historical reading time.
For example, the page flipping mechanism is based on a formula
Figure BDA0001724674280000111
Calculating to obtain the total historical reading time T', wherein TiAnd the historical reading time of the page corresponding to the ith page number is represented, n represents the total number of the selectable page numbers, i is a positive integer and is less than or equal to n. Or the page turning device is according to a formula
Figure BDA0001724674280000112
Calculating to obtain the total historical reading times R', wherein RiAnd the historical reading times of the page corresponding to the ith page number are represented, n represents the total number of the selectable page numbers, i is a positive integer and is less than or equal to n.
S503, obtaining a display width coefficient of a display area where each page is located according to the ratio of historical reading time to the total historical reading time, or obtaining the display width coefficient of the display area where each page is located according to the ratio of historical reading times to the total historical reading times;
specifically, after obtaining the total historical reading time, the page flipping device divides the historical reading time of the page corresponding to each page number by the total historical reading time, and uses the division result as the display width coefficient of the display area where the page number is located. Or after obtaining the total historical reading times, the page turning device divides the historical reading times of the page corresponding to each page number by the total historical reading times, and takes the division result as the display width coefficient of the display area where the page number is located.
For example, the page flipping mechanism is according to formula Pi=TiCalculating and obtaining a display width coefficient P of a display area where the ith page number is positionediWherein, TiAnd the historical reading time of the page corresponding to the ith page number is represented, T' represents the total historical reading time, and i is a positive integer. Or the page turning device is according to a formula Ri=PiCalculating and obtaining a display width coefficient P of a display area where the ith page number is positionediWherein R isiAnd representing the historical reading times of the page corresponding to the ith page number, wherein R' represents the total historical reading times, and i is a positive integer.
S504, respectively obtaining the display width of the display area where each page is located according to the height or the width of the page turning selection interface and the display width coefficient of the display area where each page is located.
Specifically, the specific process of this step is similar to step S305, and is not described here again.
Fig. 6 is a schematic diagram of a page turning selection interface according to another embodiment of the present invention, and as shown in fig. 6, on the basis of the foregoing embodiments, the displaying the page turning selection interface further includes:
and the page turning selection interface is displayed on the side surface of the simulated book, and the selectable page codes are displayed according to a preset sequence.
Specifically, when the page turning device displays the page turning selection interface, the page turning display interface is displayed on the side face of the simulated book. The selectable page numbers can be sequentially displayed on the page turning selection interface from left to right and are displayed in the order of the size of the page numbers from small to large; or the page turning selection interface is sequentially displayed from right to left and is displayed according to the order of the page numbers from small to large; or the page turning selection interface is sequentially displayed from top to bottom and is displayed according to the order of the page numbers from small to large; or the page turning selection interface is sequentially displayed from bottom to top and is displayed according to the order of the page numbers from small to large.
For example, as shown in fig. 6, the page flipping device displays the selectable pages 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 laterally, the selectable pages are sequentially displayed from left to right on the page flipping selection interface in a descending order, and when the page flipping device detects a sliding operation on the display area where the page 2 is located, the page flipping device simulates a page of a book and displays a page corresponding to the page 2.
On the basis of the foregoing embodiments, further, the page turning method provided in the embodiment of the present invention further includes:
and after the page turning selection interface is displayed, receiving an amplification operation on the page turning selection interface, and amplifying and displaying an area corresponding to the amplification operation.
Specifically, due to the limitation of the size of the display screen of the touch screen, when the number of pages of the electronic data is large, the selectable page number is displayed very small, and the user can enlarge a local area of the page turning selection interface through the enlargement operation of the page turning selection interface, so that the user can conveniently view and select the page turning selection interface. After the page turning device displays the page turning selection interface, the page turning device receives an amplification operation on the page turning selection interface, and performs amplification display on an area corresponding to the amplification operation, for example, the amplification operation may be a stretching operation on the page turning selection interface, and the area corresponding to the amplification operation is an area between two contacts where the stretching operation and the page turning selection interface are in contact.
Fig. 7 is a schematic structural diagram of a page flipping device according to an embodiment of the present invention, and as shown in fig. 7, the page flipping device according to the embodiment of the present invention includes a first display unit 701, where:
the display unit 701 is configured to receive a page turning trigger operation and display a page turning selection interface, where the page turning selection interface includes a display area capable of selecting a page number.
Specifically, the page turning method provided by the embodiment of the present invention is applied to an electronic product having a touch screen, and when a user uses the electronic product to read electronic data such as an electronic book, an electronic magazine, and the like, if a page turning trigger operation is performed, for example, a fast page turning button preset on the touch screen is clicked, the display unit 701 may receive the page turning trigger operation, and display a page turning selection interface after receiving the page turning trigger operation. The page turning selection interface includes a display area capable of selecting a page number, the user can click the selectable page number in the display area, and the display unit 701 displays a page corresponding to the page number after receiving a click operation on the page number. The electronic products include, but are not limited to, smart phones, tablet computers, and the like. The electronic products include, but are not limited to, smart phones, tablet computers, and the like.
The page turning device provided by the embodiment of the invention can display the page turning selection interface after detecting the triggering operation of page turning, can rapidly turn a plurality of pages, and improves the page turning efficiency. On the basis of the above embodiments, further, the display width of the display area is determined according to a preset rule.
Specifically, the display width of the display area where the page number is located is determined according to a preset rule, and the display widths of the display areas where different page numbers are located may be different. The display length of the display area where the page number is located is set according to an actual situation, and the embodiment of the invention is not limited.
Fig. 8 is a schematic structural diagram of a page turning device according to another embodiment of the present invention, and as shown in fig. 8, on the basis of the foregoing embodiments, further, the page turning device according to the embodiment of the present invention further includes a first obtaining unit 702, a first obtaining unit 703, a second obtaining unit 704, a third obtaining unit 705, and a fourth obtaining unit 706, where:
the first obtaining unit 702 is configured to obtain historical reading time and historical reading times of a page corresponding to each page number; the first obtaining unit 703 is configured to obtain, according to the historical reading time and the historical reading times, a display width parameter of a display area where each page is located; the second obtaining unit 704 is configured to obtain a first total width parameter according to the display width parameter; the third obtaining unit 705 is configured to obtain a display width coefficient of a display area where each page is located according to a ratio of a display width parameter to the first total width parameter; the fourth obtaining unit 706 is configured to obtain the display width of the display area in which each page is located according to the height or width of the page turning selection interface and the display width coefficient of the display area in which each page is located.
Specifically, the first obtaining unit 702 may record reading time and reading times of the page corresponding to the page number each time by the user, where the accumulation of the reading time forms historical reading time of the page corresponding to the page number, and the accumulation of the reading times forms historical reading times of the page corresponding to the page number. The first obtaining unit 702 may locally store the historical reading time and the historical reading times of the page corresponding to each page number, and upload the page to the server for storage. Before displaying the page turning selection interface, the first obtaining unit 702 may obtain, from the local, historical reading time and historical reading times of the page corresponding to each page number, or may obtain, from the server, historical reading time and historical reading times of the page corresponding to each page number. It can be understood that the historical reading time and the historical reading times of the page corresponding to each page number counted most recently are obtained by the page turning device.
After obtaining the historical reading time and the historical reading times of the page corresponding to each page, the first obtaining unit 703 may obtain the display width parameter of the display area where each page is located according to the historical reading time and the historical reading times of the page corresponding to each page.
After obtaining the display width parameters of the display areas where the respective page numbers are located, the second obtaining unit 704 may sum the display width parameters of the display areas where the respective page numbers are located, and take the result of the summation as the first total width parameter.
After obtaining the first total width parameter, the third obtaining unit 705 divides the display width parameter of the display area where each page is located by the first total width parameter, and takes the division result as the display width coefficient of the display area where the page is located.
The page numbers may be displayed on the page turning selection interface in a horizontal direction, and when the page numbers are displayed in the horizontal direction, the fourth obtaining unit 706 obtains the display width of the display area where the page numbers are located according to the width of the page turning selection interface and the display width coefficient of the display area where the page numbers are located, where the width of the page turning selection interface is the horizontal display size of the page turning selection interface. The page number may also be displayed on the page turning selection interface in a longitudinal direction, and when the page number is displayed in the longitudinal direction, the fourth obtaining unit 706 obtains the display width of the display area where each page number is located according to the height of the page turning selection interface and the display width coefficient of the display area where each page number is located, where the height of the page turning selection interface is the longitudinal display size of the page turning selection interface. The height and the width of the page turning selection interface are set according to actual conditions, and the embodiment of the present invention is not limited thereto, for example, the height of the page turning selection interface may be set to the height of the display screen of the electronic product, and the width of the page turning selection interface may be set to the width of the display screen of the electronic product.
Fig. 9 is a schematic structural diagram of a page turning device according to another embodiment of the present invention, and as shown in fig. 9, on the basis of the foregoing embodiments, the page turning device according to the embodiment of the present invention further includes a second obtaining unit 707, a fifth obtaining unit 708, a sixth obtaining unit 709, and a seventh obtaining unit 710, where:
the second obtaining unit 707 is configured to obtain a historical reading time or a historical reading frequency of a page corresponding to each page number; the fifth obtaining unit 708 is configured to obtain a total historical reading time according to the historical reading time, or obtain a total historical reading time according to the historical reading time; a sixth obtaining unit 709 is configured to obtain a display width coefficient of a display area where each page is located according to a ratio of historical reading time to the total historical reading time, or obtain a display width coefficient of a display area where each page is located according to a ratio of historical reading times to the total historical reading times; the seventh obtaining unit 710 is configured to obtain the display width of the display area in which each page is located according to the height or width of the page turning selection interface and the display width coefficient of the display area in which each page is located.
Specifically, the second obtaining unit 707 may record reading time or reading times of the page corresponding to the page number each time by the user, where the accumulation of the reading time forms historical reading time of the page corresponding to the page number, and the accumulation of the reading times forms historical reading times of the page corresponding to the page number. The second obtaining unit 707 may obtain a historical reading time or a historical reading number of pages corresponding to each of the page numbers. It can be understood that the historical reading time or the historical reading times of the page corresponding to each page number counted most recently is obtained by the page turning device.
After obtaining the historical reading time of the page corresponding to each of the page numbers, the fifth obtaining unit 708 may sum the historical reading time of the page corresponding to each of the page numbers, and take the sum result as the total historical reading time. Alternatively, after obtaining the historical reading times of the pages corresponding to the respective page numbers, the fifth obtaining unit 708 may sum the historical reading times of the pages corresponding to the respective page numbers, and use the sum result as the total historical reading time.
After obtaining the total historical reading time, the sixth obtaining unit 709 divides the historical reading time of the page corresponding to each page number by the total historical reading time, and uses the division result as the display width coefficient of the display area where the page number is located. Or after obtaining the total historical reading times, the sixth obtaining unit 709 divides the historical reading times of the page corresponding to each page number by the total historical reading times, and takes the division result as the display width coefficient of the display area where the page number is located.
The page numbers may be displayed on the page turning selection interface in a horizontal direction, and when the page numbers are displayed in the horizontal direction, the seventh obtaining unit 710 obtains the display width of the display area where the page numbers are located according to the width of the page turning selection interface and the display width coefficient of the display area where the page numbers are located, where the width of the page turning selection interface is the horizontal display size of the page turning selection interface. The page number may also be displayed on the page turning selection interface in a longitudinal direction, and when the page number is displayed in the longitudinal direction, the seventh obtaining unit 710 obtains the display width of the display area where each page number is located according to the height of the page turning selection interface and the display width coefficient of the display area where each page number is located, where the height of the page turning selection interface is the longitudinal display size of the page turning selection interface. The height and the width of the page turning selection interface are set according to actual conditions, and the embodiment of the present invention is not limited thereto, for example, the height of the page turning selection interface may be set to the height of the display screen of the electronic product, and the width of the page turning selection interface may be set to the width of the display screen of the electronic product.
The page turning device embodiment provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the page turning device embodiment are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device includes a processor (processor)1001, a memory (memory)1002, and a communication bus 1003;
the processor 1001 and the memory 1002 complete communication with each other through a communication bus 1003;
the processor 1001 is configured to call program instructions in the memory 1002 to perform the methods provided by the above-described method embodiments, including, for example: and receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: and receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: and receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, an apparatus, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, and not to limit the same; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (17)

1. A method of turning pages, comprising:
and receiving a page turning triggering operation, and displaying a page turning selection interface, wherein the page turning selection interface comprises a display area capable of selecting page numbers.
2. The method according to claim 1, wherein the display width of the display area is determined according to a preset rule.
3. The method of claim 2, further comprising:
and receiving selection operation of the page number, and displaying the page corresponding to the page number.
4. The method of claim 2, wherein the preset rules comprise:
acquiring historical reading time and historical reading times of the page corresponding to each page number;
obtaining a display width parameter of a display area where each page is located according to historical reading time and historical reading times;
obtaining a first total width parameter according to the display width parameter;
obtaining a display width coefficient of a display area where each page is located according to a ratio of a display width parameter to the first total width parameter;
and respectively obtaining the display width of the display area where each page number is located according to the height or width of the page turning selection interface and the display width coefficient of the display area where each page number is located.
5. The method according to claim 4, wherein the obtaining of the display width parameter of the display area where each page number is located according to the historical reading time and the historical reading times of the page corresponding to each page number comprises:
and calculating and obtaining a display width parameter w of a display area where the page number is located according to a formula w ═ aT + bR, wherein T represents the historical reading time of the page corresponding to the page number, R represents the historical reading times of the page corresponding to the page number, and a and b are empirical coefficients.
6. The method according to claim 4, wherein the obtaining the display width of the display area in which each page is located according to the height or the width of the page turning selection interface and the display width coefficient of the display area in which each page is located respectively comprises:
according to formula Qi=LPiCalculating and obtaining the display width Q of the display area where the ith page number is positionediWherein L is the height or width of the page turning selection interface, PiAnd the display width coefficient of the display area where the ith page number is located, wherein i is a positive integer.
7. The method of claim 2, wherein the preset rules comprise:
acquiring historical reading time and historical reading times of the page corresponding to each page number;
obtaining a display width parameter of a display area where each page is located according to the historical reading time and the historical reading times of the page corresponding to each page;
sorting the display width parameters of the display areas where the page numbers are located from large to small, and acquiring the display width parameters of the display areas where the preset number of page numbers are located before sorting;
obtaining a second total width parameter according to the display width parameter of the display area where the preset number of the pages are located before sorting;
obtaining a display width coefficient of the display area where each page number in the preset number is located in the preset number before sorting according to the ratio of the display width parameter of the display area where each page number in the preset number before sorting to the second total width parameter;
and respectively obtaining the display width of the display area where each page of the preset number is positioned before the sorting according to the height or the width of the page turning selection page and the display width coefficient of the display area where each page of the preset number is positioned before the sorting.
8. The method of claim 2, wherein the preset rules comprise:
acquiring historical reading time or historical reading times of the page corresponding to each page number;
obtaining total historical reading time according to the historical reading time, or obtaining total historical reading times according to the historical reading times;
obtaining a display width coefficient of a display area where each page is located according to the ratio of historical reading time to the total historical reading time, or obtaining the display width coefficient of the display area where each page is located according to the ratio of historical reading times to the total historical reading times;
and respectively obtaining the display width of the display area where each page number is located according to the height or width of the page turning selection interface and the display width coefficient of the display area where each page number is located.
9. The method according to claim 1, wherein the receiving of the trigger operation for turning pages comprises:
receiving a click operation on a quick page turning button or receiving a shaking operation; wherein the fast page turning button is preset.
10. The method of claim 1, wherein displaying the page flip selection interface comprises:
and the page turning selection interface is displayed on the side surface of the simulated book, and the selectable page codes are displayed according to a preset sequence.
11. The method of any one of claims 1 to 10, further comprising:
and after the page turning selection interface is displayed, receiving an amplification operation on the page turning selection interface, and amplifying and displaying an area corresponding to the amplification operation.
12. A page turning device, comprising:
and the display unit is used for receiving the triggering operation of page turning and displaying a page turning selection interface, and the page turning selection interface comprises a display area capable of selecting page numbers.
13. The apparatus according to claim 12, wherein the display width of the display area is determined according to a preset rule.
14. The apparatus of claim 13, further comprising:
the first acquisition unit is used for acquiring historical reading time and historical reading times of the page corresponding to each page number;
the first obtaining unit is used for obtaining the display width parameter of the display area where each page is located according to historical reading time and historical reading times;
a second obtaining unit, configured to obtain a first total width parameter according to the display width parameter;
a third obtaining unit, configured to obtain a display width coefficient of a display area where each page is located according to a ratio of a display width parameter to the first total width parameter;
and the fourth obtaining unit is used for respectively obtaining the display width of the display area where each page is located according to the height or the width of the page turning selection interface and the display width coefficient of the display area where each page is located.
15. The apparatus of claim 13, further comprising:
the second acquisition unit is used for acquiring historical reading time or historical reading times of the page corresponding to each page number;
a fifth obtaining unit, configured to obtain a total historical reading time according to the historical reading time, or obtain a total historical reading time according to the historical reading time;
a sixth obtaining unit, configured to obtain a display width coefficient of a display area where each page is located according to a ratio of historical reading time to the total historical reading time, or obtain a display width coefficient of a display area where each page is located according to a ratio of historical reading times to the total historical reading times;
and the seventh obtaining unit is used for respectively obtaining the display width of the display area where each page number is located according to the height or the width of the page turning selection interface and the display width coefficient of the display area where each page number is located.
16. An electronic device, comprising: a processor, a memory, and a communication bus, wherein:
the processor and the memory are communicated with each other through the communication bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 11.
17. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 11.
CN201810747260.3A 2018-07-09 2018-07-09 Page turning method and device Active CN110703975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810747260.3A CN110703975B (en) 2018-07-09 2018-07-09 Page turning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810747260.3A CN110703975B (en) 2018-07-09 2018-07-09 Page turning method and device

Publications (2)

Publication Number Publication Date
CN110703975A true CN110703975A (en) 2020-01-17
CN110703975B CN110703975B (en) 2021-06-08

Family

ID=69192725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810747260.3A Active CN110703975B (en) 2018-07-09 2018-07-09 Page turning method and device

Country Status (1)

Country Link
CN (1) CN110703975B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111290694A (en) * 2020-01-19 2020-06-16 北京无限光场科技有限公司 Page turning method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650630A (en) * 2009-09-11 2010-02-17 天津津科电子***工程有限公司 Page turning processing method based on electronic paper reading device
CN101814004A (en) * 2010-03-26 2010-08-25 华为终端有限公司 Reading processing method and user equipment
CN101833416A (en) * 2010-04-14 2010-09-15 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof
CN102117168A (en) * 2009-12-31 2011-07-06 英华达(上海)电子有限公司 Portable electronic book reading device and method thereof for data processing
US8773381B2 (en) * 2012-03-02 2014-07-08 International Business Machines Corporation Time-based contextualizing of multiple pages for electronic book reader
CN104898936A (en) * 2014-03-07 2015-09-09 腾讯科技(深圳)有限公司 Page turning method and mobile device
CN105786920A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Method and device for presenting interface label
CN106155507A (en) * 2015-03-31 2016-11-23 北京搜狗科技发展有限公司 A kind of page content display method and electronic equipment
CN106657581A (en) * 2016-09-30 2017-05-10 深圳市天朗时代科技有限公司 Electronic book reading plan recommendation system, method thereof, terminal and server

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650630A (en) * 2009-09-11 2010-02-17 天津津科电子***工程有限公司 Page turning processing method based on electronic paper reading device
CN102117168A (en) * 2009-12-31 2011-07-06 英华达(上海)电子有限公司 Portable electronic book reading device and method thereof for data processing
CN101814004A (en) * 2010-03-26 2010-08-25 华为终端有限公司 Reading processing method and user equipment
CN101833416A (en) * 2010-04-14 2010-09-15 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof
US8773381B2 (en) * 2012-03-02 2014-07-08 International Business Machines Corporation Time-based contextualizing of multiple pages for electronic book reader
CN104898936A (en) * 2014-03-07 2015-09-09 腾讯科技(深圳)有限公司 Page turning method and mobile device
CN105786920A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Method and device for presenting interface label
CN106155507A (en) * 2015-03-31 2016-11-23 北京搜狗科技发展有限公司 A kind of page content display method and electronic equipment
CN106657581A (en) * 2016-09-30 2017-05-10 深圳市天朗时代科技有限公司 Electronic book reading plan recommendation system, method thereof, terminal and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111290694A (en) * 2020-01-19 2020-06-16 北京无限光场科技有限公司 Page turning method and device and electronic equipment

Also Published As

Publication number Publication date
CN110703975B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CA2880737C (en) A user recommendation method and a user recommendation system using the same
CN104216976B (en) A kind of mobile terminal picture grouping inspection method and system
CN102650985B (en) Dynamic typesetting method of display menu
CN107103028A (en) A kind of information processing method and device
CN107402961B (en) Recommendation method and device and electronic equipment
CN111443914A (en) Animation display method and device
CN110703975B (en) Page turning method and device
CN108495041B (en) Image processing and displaying method and device for electronic terminal
CN107146128A (en) The contrast methods of exhibiting and device of a kind of similar commodity
JP5042346B2 (en) Information display apparatus, method and program
CN109543113B (en) Method and device for determining click recommendation words, storage medium and electronic equipment
CN108629767B (en) Scene detection method and device and mobile terminal
CN110221794A (en) A kind of object displaying method and terminal
CN110598026B (en) Display method and device of picture list and terminal equipment
CN109683798B (en) Text determination method, terminal and computer readable storage medium
CN110673903B (en) Method and device for displaying bookshelf pages of reading software
CN108388395B (en) Image clipping method and device and terminal
CN106462600B (en) Method and equipment for displaying photos
KR20200093013A (en) Methods and devices for visualization of public welfare activities
CN110020267B (en) List display method and device
CN113206956A (en) Image processing method, device, equipment and storage medium
EP3175412A1 (en) Method and system for performing online advertisement monitoring
CN111240562A (en) Data processing method and device, terminal equipment and computer storage medium
CN112711524B (en) Data testing method and device based on AB test and computer storage medium
CN107577393B (en) List page display method, device and 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
GR01 Patent grant
GR01 Patent grant