WO2019042249A1 - Page-turning method and apparatus, and storage medium - Google Patents
Page-turning method and apparatus, and storage medium Download PDFInfo
- Publication number
- WO2019042249A1 WO2019042249A1 PCT/CN2018/102497 CN2018102497W WO2019042249A1 WO 2019042249 A1 WO2019042249 A1 WO 2019042249A1 CN 2018102497 W CN2018102497 W CN 2018102497W WO 2019042249 A1 WO2019042249 A1 WO 2019042249A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page turning
- turning operation
- page
- behavior
- time difference
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Definitions
- the present disclosure relates to communication technologies, and in particular, to a page turning method, apparatus, and storage medium
- a user needs to perform a multi-page turning operation when reading.
- the user's operation gesture is required to satisfy the gesture corresponding to the multi-page turning operation each time, but Generally, the gestures corresponding to the multi-page turning operation are complicated, and frequently perform complicated gestures, which affects the user experience.
- embodiments of the present disclosure are intended to provide a page turning method, apparatus, and storage medium that are different from the related art.
- Embodiments of the present disclosure provide a page turning method, including:
- the method may further include: comparing a difference between a time of the single page turning behavior and a time of the historical page turning operation, and a time difference threshold,
- the time of the single page turning behavior may include: a receiving time of the single page turning behavior or a completion time of the single page turning behavior.
- the historical page turning operation may include: last time and/or most recent consecutive page turning operations.
- the method may further include:
- the interval value is set to an initial value of the time difference threshold.
- the method may further include:
- the time difference threshold is corrected based on the difference, the initial value of the time difference threshold.
- the single page turning operation or the multi-page turning operation which is performed according to whether the single page turning behavior is associated with the historical page turning operation, and the result of the associated page is performed, may include:
- the single page turning behavior is associated with the historical page turning operation
- the historical page turning operation is a multi-page turning operation, performing a multi-page turning operation
- the performing a multi-page page turning operation may include:
- the parameter of the multi-page turning operation includes at least one or a combination of the following:
- the determining the parameters of the multi-page page turning operation may include:
- the parameters of the multi-page page turning operation are determined according to corresponding parameters of the most recent consecutive page turning operations in the historical page turning operation.
- the method is performed after entering an automatic multi-page page turning mode.
- the method may further include:
- the method further includes: during the performing the single page turning operation or the multi-page turning operation, displaying the single page turning operation or the page turning operation corresponding to the turning page by turning the page animation Quantity.
- the complexity of the single page turning behavior is lower than the complexity of the multiple page turning behavior.
- An embodiment of the present disclosure provides a page turning device, including:
- An information receiving module configured to monitor a single page turning behavior
- the page turning operation execution module is configured to perform a single page turning operation or a multi-page turning operation that is adapted to the result of the association according to whether the single page turning behavior that is monitored is associated with the historical page turning operation.
- Whether the paging behavior of the single page according to the monitoring is related to the historical page turning operation may include:
- the time of the single page turning behavior may include: a receiving time of the single page turning behavior or a completion time of the single page turning behavior.
- the historical page turning operation may include: last time and/or most recent consecutive page turning operations.
- the initial value of the time difference threshold may be calculated according to the time of the consecutive two-page page turning operation in the historical page turning operation.
- the time difference threshold is corrected based on the difference and the initial value.
- the single page turning operation or the multi-page turning operation which is adapted according to the result of the association, according to whether the monitored single page turning behavior is associated with the historical page turning operation, includes:
- the single page turning behavior is associated with the historical page turning operation
- the historical page turning operation is a multi-page turning operation, performing a multi-page turning operation
- the performing a multi-page turning operation may include: determining a parameter of the multi-page turning operation;
- the parameter of the multi-page turning operation includes at least one or a combination of the following:
- the determining the parameters of the multi-page page turning operation comprises:
- the parameters of the multi-page page turning operation are determined according to corresponding parameters of the most recent consecutive page turning operations in the historical page turning operation.
- the page turning operation execution module enters the automatic multi-page turning mode, according to whether the single page turning behavior that is monitored is associated with the historical page turning operation, the execution is adapted to the result of the association.
- the information transceiver module is further configured to receive an operation of exiting the automatic multi-page turning mode; after the information receiving and receiving module receives the operation of pushing out the automatic multi-page turning mode, the device exits the automatic multi-page turning mode, Enter the single page flip mode.
- the apparatus may further include: a page turning animation display module, configured to display, by the page turning animation, the number of page turning operations corresponding to the single page turning operation or the multi-page turning operation.
- a page turning animation display module configured to display, by the page turning animation, the number of page turning operations corresponding to the single page turning operation or the multi-page turning operation.
- the complexity of the single page turning behavior described above is lower than the complexity of the multi-page turning behavior.
- the embodiment of the present disclosure further provides a page turning method, the method comprising:
- the time difference from the last page turning is less than the time difference threshold, and when the last page turning operation is a multi-page turning operation, the multi-page operation is performed.
- the method can also include modifying the time difference threshold based on the time difference.
- the correcting the time difference threshold based on the time difference may include:
- the time difference threshold is corrected according to the following formula:
- the time difference between the last multi-page turning and the automatic multi-page turning behavior is ⁇ i
- the user turned the page in the last multiple pages
- the behavior of the automatic multi-page turning is not ⁇ n
- ⁇ i is an effective value
- ⁇ n is an effective value
- the initial value of the time difference threshold may be determined according to the interval duration of two consecutive multi-page pages.
- the method may further include: performing a page turning operation when the time difference from the last page turning is not less than the time difference threshold, or when the last page turning operation is not a multi-page turning operation.
- the performing the multi-page operation may include: acquiring the number N of pages that were last turned over, and performing a multi-page operation.
- the performing the multi-page operation may further include: displaying, by the page turning animation, the number of page turning operations corresponding to the single page turning operation or the multi-page turning operation.
- the embodiment of the present disclosure further provides a page turning device, including:
- the user input monitoring module is configured to monitor the page turning behavior input by the user
- User behavior storage module for storing the time when the user's behavior and behavior occur
- the central control module is configured to acquire user input, and obtain the time when the user's last behavior and behavior occurred from the user behavior storage module, and determine whether to perform multi-page turning by combining the time difference and the time difference threshold from the last page turning Operation, and send the page turning operation and the number of page turning to the page turning module;
- the page turning module is configured to perform a single page turning operation or a multiple page turning operation after receiving the page turning operation from the central control module.
- the apparatus can further include a coefficient correction module for modifying the time difference threshold.
- the coefficient correction module may correct the time difference threshold according to the following formula:
- the time difference between the last multi-page turning and the automatic multi-page turning behavior is ⁇ i
- the behavior of the automatic multi-page turning is not ⁇ n
- ⁇ i is an effective value
- ⁇ n is an effective value
- ⁇ is the time difference threshold value before the correction
- ⁇ is the time difference threshold value before the correction
- the embodiment of the present disclosure further provides a page turning device, wherein the device comprises:
- processor is operative to execute the computer program to perform various different methods that can be formed by the above-described inventive content.
- Embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that can be executed to perform various different methods that can be formed by the above-described inventive portions.
- the user can realize the multi-page turning operation through the low-complexity single-page turning behavior, thereby avoiding the need for the user to complete the responsible operation when the multi-page turning operation is performed multiple times in succession.
- the high multi-page turning operation makes the solution simple and wide-ranging.
- FIG. 1 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure
- FIG. 2 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure
- FIG. 3 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure
- FIG. 4 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure
- FIG. 5 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram of a page turning animation in an embodiment of the present disclosure.
- FIG. 7 is another schematic structural diagram of a page turning device according to an embodiment of the present disclosure.
- Page turning operation including multi-page turning operation and single-page turning operation
- Target page turning operation a single page turning operation or a multi-page turning operation in which the single page turning behavior is compatible with the result of the historical page turning operation, including the number of pages turned by the target page turning operation;
- the page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
- the time of the multi-page turning operation the receiving time of the multi-page turning operation and/or the completion time of the multi-page turning operation;
- the time of single page turning behavior the receiving time of a single page turning behavior or the completion time of a single page turning behavior;
- Complexity including time complexity and space complexity, wherein the time for identifying single page turning behavior is less than the time for identifying multi-page turning behavior, and the space occupied by the algorithm program corresponding to the single page turning behavior is less than the multi-page turning behavior.
- the space occupied by the algorithm program, the initial data corresponding to the single page turning behavior accounts for less than the storage space occupied by the initial data corresponding to the multi-page turning behavior; for example, the recognition time corresponding to the single page turning behavior is 0.01 In seconds, the multi-page turning behavior corresponds to a recognition time of 0.02 seconds.
- FIG. 1 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure. As shown in FIG. 1 , an optional process of the page turning method provided by the embodiment of the present disclosure includes the following steps:
- Step 101 Enter an automatic multi-page turning mode
- the automatic multi-page turning mode that the user enters by reading the operation option provided by the application APP may be used, or the automatic multi-page turning mode may be automatically entered according to the same steps as the steps 102 to 104 have been performed. .
- Step 102 Listening to a single page turning behavior
- the single page turning behavior is monitored, and the user single page turning operation gesture may be detected.
- Step 103 Determine whether the single page turning behavior is associated with the historical page turning operation of the response. If yes, go to step 104. Otherwise, go to step 105.
- the single page turning behavior and the historical page turning operation may be determined by comparing a difference between a time of the single page turning behavior and a time of the historical page turning operation and a time difference threshold. Correlation relationship, specifically, when the difference between the time of the single page turning behavior and the time of the historical page turning operation is greater than the time difference threshold, determining the single page turning behavior and the historical turning Page operations are not associated;
- the interval value of the consecutive two multi-page page turning operation time may be calculated based on two consecutive multi-page page turning operations in the historical page turning operation;
- the interval value of the time may be set to an initial value of the time difference threshold
- the time of the multi-page turning operation may include a receiving time of the multi-page turning operation and/or a completion time of the multi-page turning operation; the time of the single-page turning behavior may include a single-page turning behavior. Receive time or the completion time of a single page turn.
- the historical page turning operation includes:
- step 103 before or after step 103, it can be judged whether the historical page turning operation is a multi-page turning operation.
- the single page turning behavior is associated with the historical page turning operation
- the historical page turning operation is a multi-page turning operation
- the target page turning operation is a single page turning
- Step 104 Perform a multi-page page turning operation
- parameters of the multi-page turning operation may be determined
- the parameter of the multi-page turning operation includes: a page turning number of the multi-page turning operation, and a page turning direction of the multi-page turning operation;
- the parameters of the multi-page turning operation include:
- the parameters of the multi-page page turning operation are determined according to corresponding parameters of the page turning operation of the most recent consecutive responses in the historical page turning operation.
- Step 105 Perform a single page turning operation.
- the page turning animation may be used to display the number of page turning operations corresponding to the target page turning operation
- the page turning animation includes: a dynamic picture of a pre-recorded single page turning effect
- the page turning animation includes: a pre-recorded single page forward flip effect dynamic picture and a reverse flip effect dynamic picture.
- step 105 After the step 105 is completed, if the operation of exiting the automatic multi-page turning mode is received;
- the automatic multi-page turning mode is exited, and the single-page turning mode is entered.
- the single page turning mode each time a single page turning behavior is monitored, if a single page turning gesture is detected, a single page turning operation is directly performed.
- the complexity of the single page turning behavior is lower than the complexity of the multi-page turning behavior.
- the target page turning operation is a single page turning operation regardless of whether or not there is an association.
- FIG. 2 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure. As shown in FIG. 2, an optional component of the page turning device provided by the embodiment of the present disclosure includes:
- the information receiving module 201 is configured to monitor a page turning behavior
- the target page turning operation determining module 202 is configured to determine a target page turning operation based on the single page turning behavior and the corresponding historical page turning operation;
- the target page turning operation determining module includes:
- a time difference threshold comparing unit configured to compare a difference between a time of the single page turning behavior and a time of the historical page turning operation and a time difference threshold
- An association determining unit configured to determine whether the single page turning behavior is associated with the historical page turning operation
- Determining that the single page turning behavior is associated with the historical page turning operation when a difference between a time of the single page turning behavior and a time of the historical page turning operation is less than or equal to the time difference threshold;
- the target page turning operation is a single page turning operation or a multi-page turning operation adapted to the result of the association
- the target page turning operation determining module 202 is configured to:
- the target page turning operation is a multi-page turning operation when the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation;
- the target page turning operation determining module 202 is configured to:
- the target page turning operation is a single page turning operation when the single page turning behavior is not associated with the historical page turning operation
- the target page turning operation determining module 202 is configured to:
- the target page turning operation determining module 202 further includes:
- a parameter determining unit configured to determine a parameter of the multi-page turning operation
- the parameter of the multi-page turning operation includes: a page turning number of the multi-page turning operation, and a page turning direction of the multi-page turning operation;
- the parameter determining unit is configured to determine a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation;
- the parameter determining unit is configured to determine a parameter of the multi-page turning operation according to a corresponding parameter of a page turning operation of the most recent consecutive responses in the historical page turning operation.
- the page turning operation execution module 203 is configured to respond to the target page turning operation.
- the page turning operation execution module 203 is further configured to respond to the multi-page page turning operation according to the determined parameter of the multi-page page turning operation.
- the information transceiver module 201 is further configured to receive an operation of exiting the automatic multi-page paging mode
- the device exits the automatic multi-page turning mode and enters the single page turning mode.
- the device may further include:
- a page turning animation display module configured to display a page turning amount corresponding to the target page turning operation by turning the page animation
- the page turning animation includes: a dynamic picture of a pre-recorded single page turning effect
- the page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
- the playing rate of the page turning animation may be calculated based on the number of pages corresponding to the multi-page turning operation
- the playing rate is: a product of a playing rate of the single page turning animation and a playing rate coefficient;
- the play rate coefficient is: the page turning operation corresponds to the product of the number of page turns and the fixed value ⁇ .
- the device may further include: a time difference threshold calculation module, configured to calculate an interval value of two consecutive pages of page turning operation time in the historical page turning operation, and set the interval value to The initial value of the time difference threshold.
- a time difference threshold calculation module configured to calculate an interval value of two consecutive pages of page turning operation time in the historical page turning operation, and set the interval value to The initial value of the time difference threshold.
- FIG. 3 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure. As shown in FIG. 3, an optional process of the page turning method provided by the embodiment of the present disclosure includes:
- Step 301 Prepare, wait for user input
- Step 302 Receive a page turning gesture
- the embodiment of the present disclosure is mainly directed to the case where a single page turning gesture is received in this step. If you receive a multi-page turning gesture, you can directly perform a multi-page turning operation.
- Step 303 Determine whether the last page turning operation is a multi-page turning operation, if yes, go to step 304, otherwise, go to step 307;
- Step 304 Whether the time difference from the last page turning is less than the time difference threshold, if yes, step 305 is performed, otherwise, step 307 is performed;
- the initial value of the time difference threshold that must be satisfied for the time difference of the last page turn can be obtained according to the user behavior data. For example, the average of two consecutive page-turning behaviors of all users when the technology is not used can be counted. The interval duration, and the average interval duration, is used as the initial value of the time difference threshold.
- Step 305 Obtain the number N of pages that were last turned
- Step 306 Perform a multi-page turning operation to display a page turning animation
- the page turning animation is: a dynamic picture of a pre-recorded single page turning effect
- the page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
- Step 307 Perform a single page turning operation
- Step 308 End.
- step 308 When the execution of step 308 is completed, if the automatic page turning mode is exited, the time difference between the user's last multi-page turning and the current automatic multi-page turning behavior may be ⁇ i . In order to make the user turn over the page in the previous page, the time difference between the actions of the automatic multi-page page turning is ⁇ n . If the page turning operation is completed, the next page turning action of the user is to actively “slide out the angle”. If the prior art such as "press and slide" performs a multi-page turning operation, ⁇ n is an effective value, otherwise, the current ⁇ n value is discarded.
- the coefficient correction module corrects the threshold that the time difference of the last page turn must be satisfied according to the following formula:
- ⁇ in the initial calculation is the average interval length of two consecutive multi-page turning behaviors when all users do not adopt this technology according to the statistics of user behavior data. Get new based on the value of each calculation ,will As a threshold value that must be satisfied as the time difference between the last page turn and the next calculation, as a substitute for ⁇ , a new generation is obtained. .
- FIG. 4 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure. As shown in FIG. 4, an optional process of the page turning method provided by the embodiment of the present disclosure includes:
- Step 401 Prepare, wait for user input
- Step 402 Receive a page turning gesture
- the embodiment of the present disclosure is mainly directed to the case where a single page turning gesture is received in this step. If you receive a multi-page turning gesture, you can directly perform a multi-page turning operation.
- Step 403 Whether the time difference from the last page turning is less than the time difference threshold, if yes, step 404 is performed, otherwise, step 407 is performed;
- Step 404 Determine whether the last page turning operation is a multi-page turning operation, if yes, go to step 405, otherwise, go to step 407;
- the initial value of the time difference threshold that must be satisfied for the time difference of the last page turn can be obtained according to the user behavior data. For example, the average of two consecutive page-turning behaviors of all users when the technology is not used can be counted. The interval duration, and the average interval duration, is used as the initial value of the time difference threshold.
- Step 405 Obtain the number N of pages that were last turned
- Step 406 Perform a multi-page turning operation to display a page turning animation
- the page turning animation is: a dynamic picture of a pre-recorded single page turning effect
- the page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
- Step 407 Perform a single page turning operation
- Step 408 End.
- step 408 When the execution of step 408 is completed, if the automatic page turning mode is exited, the time difference between the user's last multi-page turning and the current automatic multi-page turning behavior may be ⁇ i . In order to make the user turn over the page in the previous page, the time difference between the actions of the automatic multi-page page turning is ⁇ n . If the page turning operation is completed, the next page turning action of the user is to actively “slide out the angle”. If the prior art such as "press and slide" performs a multi-page turning operation, ⁇ n is an effective value, otherwise, the current ⁇ n value is discarded.
- the coefficient correction module corrects the threshold that the time difference of the last page turn must be satisfied according to the following formula:
- ⁇ in the initial calculation is the average interval length of two consecutive multi-page turning behaviors when all users do not adopt this technology according to the statistics of user behavior data. Get new based on the value of each calculation ,will As a threshold value that must be satisfied as the time difference between the last page turn and the next calculation, as a substitute for ⁇ , a new generation is obtained. .
- FIG. 5 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure. As shown in FIG. 5 , an optional component of the page turning device provided by the embodiment of the present disclosure includes:
- User input monitoring module 501 user behavior storage module 502, coefficient correction module 503, central control module 504, page turning module 505, page turning animation display module 506;
- the user input monitoring module 501 is mainly configured to monitor the page turning behavior input by the user, including the behavior of multi-page turning and the behavior of page turning, and the behavior of two fingers simultaneously pressing to exit the automatic page turning, and the user behavior storage module 502
- the main control module 504 obtains the user input, and obtains the user's last behavior from the user behavior storage module 502, and the time difference from the last page turning must be obtained in conjunction with the coefficient correction module 503.
- the time difference threshold is satisfied to determine whether multiple page turning is required, and the page turning operation and the page turning amount are sent to the page turning module 505.
- the user's current page turning result is stored to the user behavior storage module 502.
- the user behavior storage module 502 also needs to inform the coefficient correction module 503 of the behavior of the user each time, and the coefficient correction module 503 corrects the time difference threshold value that must be satisfied for the time difference of the last page turning.
- the page turning module 505 receives the page turning operation, the page turning page or the page turning behavior is performed. If the page turning behavior is performed, the page turning animation display module 506 is also required to display the page turning animation.
- the coefficient correction module 503 is responsible for correcting the threshold that the time difference of the last page turning distance must be satisfied according to the behavior of the user each time.
- the initial value of the time difference threshold that must be met for the last page difference can be obtained based on the user behavior data. For example, the average interval between two consecutive pages of page-turning behavior when all users are not using the technology can be counted. And the average interval duration is used as the initial value of the time difference threshold.
- the coefficient correction module 503 corrects the initial value according to the behavior of the individual user.
- the time difference between the user's last multi-page turning and the current automatic multi-page turning behavior can be ⁇ i .
- the time difference between the actions of the automatic multi-page page turning is ⁇ n . If the page turning operation is completed, the next page turning action of the user is to actively “slide out the angle”. If the prior art such as "press and slide" performs a multi-page turning operation, ⁇ n is an effective value, otherwise, the current ⁇ n value is discarded.
- the coefficient correction module corrects the threshold that the time difference of the last page turn must be satisfied according to the following formula:
- ⁇ in the initial calculation is the average interval length of two consecutive multi-page turning behaviors when all users do not adopt this technology according to the statistics of user behavior data. Get new based on the value of each calculation ,will As a threshold value that must be satisfied as the time difference between the last page turn and the next calculation, as a substitute for ⁇ , a new generation is obtained. .
- FIG. 6 is a schematic diagram of a page turning animation in the embodiment of the present disclosure.
- each page may be displayed in the form of a page turning animation; the page turning animation is a pre-recording animation, Recording animations only show a single page flip effect. It also pre-records page flipping animations in two different directions: page forward and page backward.
- the page flip animation is played multiple times, and the play rate is calculated according to the play rate coefficient, and the number flash page is used to inform the user of the number of pages to be flipped. For example, if you turn 3 pages forward, the pre-recorded forward single page flip animation will play three times.
- the playback rate is the playback rate of the single-page flip animation* playback rate coefficient, and the flashing forward arrow number flash3 tells the user to turn over 3 page.
- the playback rate coefficient is related to the number of pages turned.
- FIG. 7 is another schematic structural diagram of a page turning device according to an embodiment of the present disclosure.
- the page turning device 700 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, and a fitness device including a display function having a short-range communication function. Equipment, personal digital assistants, etc.
- the page turning device 700 shown in FIG. 4 includes at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703.
- the various components in the page turning device 700 are coupled together by a bus system 705. It will be appreciated that the bus system 705 is used to implement connection communication between these components.
- the bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 705 in FIG.
- the user interface 703 may include a display, a keyboard, a mouse, a trackball, a click wheel, a button, a button, a touch panel, or a touch screen.
- memory 702 can be either volatile memory or non-volatile memory, and can include both volatile and nonvolatile memory.
- the non-volatile memory may be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), or an Erasable Programmable Read (EPROM). Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface memory can be a disk storage or a tape storage.
- the volatile memory can be a random access memory (RAM) that acts as an external cache.
- RAM Static Random Access Memory
- SSRAM Synchronous Static Random Access Memory
- SSRAM Dynamic Random Access
- DRAM Dynamic Random Access Memory
- SDRAM Synchronous Dynamic Random Access Memory
- DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
- ESDRAM enhancement Enhanced Synchronous Dynamic Random Access Memory
- SLDRAM Synchronous Dynamic Random Access Memory
- DRRAM Direct Memory Bus Random Access Memory
- the memory 702 in the embodiment of the present disclosure is used to store various types of data to support the operation of the page turning device 700.
- Examples of such data include any computer program for operating on page turning device 700, such as operating system 7021 and application 7022; contact data; phone book data; messages; pictures;
- the operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks.
- the application 7022 can include various applications, such as a Media Player, a Browser, etc., for implementing various application services.
- a program implementing the page turning method of the embodiment of the present disclosure may be included in the application 7022.
- the network interface 704 can implement a short-range communication function. Specifically, the page turning device can implement connection and data transmission with the terminal through the short-range communication function of the network interface 704, and the page turning device can also pass through the network.
- the short-range communication function of the interface 704 implements connection and data transmission with the set-top box; at the same time, the page-turning device can also implement a write operation to the proximity communication tag through the network interface 704.
- Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or an operation in the form of software.
- the processor 701 described above may be a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like.
- DSP digital signal processor
- the processor 701 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present disclosure.
- a general purpose processor can be a microprocessor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present disclosure may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- the software module can reside in a storage medium located in memory 702, which reads the information in memory 702 and, in conjunction with its hardware, performs the steps of the foregoing method.
- the page turning device 700 may be configured by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), and Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device, Field-Programmable Gate Array (FPGA), General Purpose Processor, Controller, Micro Controller Unit (MCU), Microprocessor, or other An electronic component is implemented for performing the page turning method.
- ASICs Application Specific Integrated Circuits
- DSPs Programmable Logic Devices
- PLDs Programmable Logic Devices
- CPLD Complex Programmable Logic Device
- FPGA Field-Programmable Gate Array
- MCU Micro Controller Unit
- Microprocessor or other An electronic component is implemented for performing the page turning method.
- an embodiment of the present disclosure further provides a computer readable storage medium, such as a memory 702 including a computer program executable by processor 701 of page turning device 700 to perform the aforementioned method step.
- the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
- Embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, executes:
- the target page turning operation is a single page turning operation or a multi-page turning operation adapted to the result of the association
- embodiments of the present disclosure can be provided as a method, system, or computer program product.
- embodiments of the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects.
- embodiments of the present disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including disk storage and optical storage, etc.) including computer usable program code.
- Embodiments of the present disclosure are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer programs can be provided to operate on a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to produce a machine for use by a processor or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
- These computer program operations can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that operation stored in the computer readable memory produces an article of manufacture including the operating device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
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
A page-turning method and apparatus, and a storage medium. The method comprises: entering an automatic multi-page turning mode (101); receiving a single-page turning operation (102); determining a target page-turning operation on the basis whether the single-page turning operation is associated with a responded history page-turning operation (103), the target page-turning operation being a single-page turning operation or a multi-page turning operation matching a result indicating whether the single-page turning operation is associated with the responded history page-turning operation; and responding to the target page-turning operation, in response to the received single-page page-turning operation (104, 105).
Description
相关申请的交叉引用Cross-reference to related applications
本申请主张在2017年8月29日在中国提交的中国专利申请号No.201710757503.7的优先权,其全部内容通过引用包含于此。Priority is claimed on Japanese Patent Application No. 201710757503.7, filed on Jan. 29,,,,,,,
本公开涉及通信技术,尤其涉及一种翻页方法、装置和存储介质The present disclosure relates to communication technologies, and in particular, to a page turning method, apparatus, and storage medium
相关技术中,用户阅读时往往需要进行多页翻页操作,当用户需要多次进行多页翻页操作时,每次都需要用户的操作手势满足对应所述多页翻页操作的手势,但是,通常多页翻页操作对应的手势都较为复杂,频繁的进行复杂的手势,影响用户的使用体验。In the related art, a user needs to perform a multi-page turning operation when reading. When the user needs to perform a multi-page turning operation multiple times, the user's operation gesture is required to satisfy the gesture corresponding to the multi-page turning operation each time, but Generally, the gestures corresponding to the multi-page turning operation are complicated, and frequently perform complicated gestures, which affects the user experience.
发明内容Summary of the invention
有鉴于此,本公开实施例期望提供一种与相关技术不同的翻页方法、装置和存储介质。In view of this, embodiments of the present disclosure are intended to provide a page turning method, apparatus, and storage medium that are different from the related art.
为达到上述目的,本公开实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present disclosure is implemented as follows:
本公开实施例提供了一种翻页方法,包括:Embodiments of the present disclosure provide a page turning method, including:
监听到单页翻页行为;Listening to a single page flipping behavior;
根据所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作。According to whether the single page turning behavior is associated with the historical page turning operation, a single page turning operation or a multi page turning operation that is adapted to the result of the association is performed.
所述方法还可以包括:比较所述单页翻页行为的时间与所述历史翻页操作的时间的差值、与时间差值阈值,The method may further include: comparing a difference between a time of the single page turning behavior and a time of the historical page turning operation, and a time difference threshold,
当所述差值大于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作不关联;Determining that the single page turning behavior is not associated with the historical page turning operation when the difference is greater than the time difference threshold;
当所述差值小于等于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作关联。When the difference is less than or equal to the time difference threshold, it is determined that the single page turning behavior is associated with the historical page turning operation.
所述单页翻页行为的时间可以包括:所述单页翻页行为的接收时间或所述单页翻页行为的完成时间。The time of the single page turning behavior may include: a receiving time of the single page turning behavior or a completion time of the single page turning behavior.
所述历史翻页操作可以包括:最近一次和/或最近多次连续翻页操作。The historical page turning operation may include: last time and/or most recent consecutive page turning operations.
所述方法还可以包括:The method may further include:
基于历史翻页操作中连续两次的多页翻页操作的时间,计算间隔值;Calculating the interval value based on the time of two consecutive page turning operations in the historical page turning operation;
将所述间隔值设置为所述时间差值阈值的初始值。The interval value is set to an initial value of the time difference threshold.
所述方法还可以包括:The method may further include:
基于所述差值、所述时间差值阈值的初始值修正所述时间差值阈值。The time difference threshold is corrected based on the difference, the initial value of the time difference threshold.
所述根据所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作,可以包括:The single page turning operation or the multi-page turning operation, which is performed according to whether the single page turning behavior is associated with the historical page turning operation, and the result of the associated page is performed, may include:
当所述单页翻页行为与所述历史翻页操作关联,且所述历史翻页操作为多页翻页操作时,执行多页翻页操作;When the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation, performing a multi-page turning operation;
当所述单页翻页行为与所述历史翻页操作不关联时,执行单页翻页操作。When the single page turning behavior is not associated with the historical page turning operation, a single page turning operation is performed.
所述执行多页翻页操作可以包括:The performing a multi-page page turning operation may include:
确定所述多页翻页操作的参数;Determining parameters of the multi-page page turning operation;
根据所确定的所述多页翻页操作的参数执行所述多页翻页操作;Performing the multi-page turning operation according to the determined parameters of the multi-page turning operation;
其中,所述多页翻页操作的参数包括以下至少之一或组合:The parameter of the multi-page turning operation includes at least one or a combination of the following:
所述多页翻页操作的翻页页数、所述多页翻页操作的翻页方向。The number of page turning pages of the multi-page turning operation, and the page turning direction of the multi-page turning operation.
所述确定所述多页翻页操作的参数,可以包括:The determining the parameters of the multi-page page turning operation may include:
根据所述历史翻页操作中的最近一次翻页操作的对应参数,确定所述多页翻页操作的参数;或者,Determining a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation; or
根据所述历史的翻页操作中的最近多次连续翻页操作的对应参数,确定所述多页翻页操作的参数。The parameters of the multi-page page turning operation are determined according to corresponding parameters of the most recent consecutive page turning operations in the historical page turning operation.
可选地,所述方法在进入自动多页翻页模式后执行。Optionally, the method is performed after entering an automatic multi-page page turning mode.
所述方法还可以包括:The method may further include:
响应退出所述自动多页翻页模式的操作,切换到单页翻页模式。In response to the operation of exiting the automatic multi-page turning mode, switching to the single page turning mode.
可选地,所述方法还包括:执行所述单页翻页操作或多页翻页操作过程中,通过翻页动画,展示所述单页翻页操作或多页翻页操作对应的翻页数量。Optionally, the method further includes: during the performing the single page turning operation or the multi-page turning operation, displaying the single page turning operation or the page turning operation corresponding to the turning page by turning the page animation Quantity.
可选地,所述单页翻页行为的复杂度,低于所述多页翻页行为的复杂度。Optionally, the complexity of the single page turning behavior is lower than the complexity of the multiple page turning behavior.
本公开实施例提供了一种翻页装置,包括:An embodiment of the present disclosure provides a page turning device, including:
信息接收模块,用于监听单页翻页行为;An information receiving module, configured to monitor a single page turning behavior;
翻页操作执行模块,用于根据监听到的所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作。The page turning operation execution module is configured to perform a single page turning operation or a multi-page turning operation that is adapted to the result of the association according to whether the single page turning behavior that is monitored is associated with the historical page turning operation.
所述根据监听到的所述单页翻页行为与历史翻页操作是否关联,可以包括:Whether the paging behavior of the single page according to the monitoring is related to the historical page turning operation may include:
比较所述单页翻页行为的时间与所述历史翻页操作的时间的差值、与时间差值阈值,Comparing the difference between the time of the single page turning behavior and the time of the historical page turning operation, and the time difference threshold,
当所述差值大于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作不关联;Determining that the single page turning behavior is not associated with the historical page turning operation when the difference is greater than the time difference threshold;
当所述差值小于等于所述时间差值阈值时,确定所述单页翻页操作与所述历史翻页操作关联。When the difference is less than or equal to the time difference threshold, it is determined that the single page turning operation is associated with the historical page turning operation.
所述单页翻页行为的时间可以包括:所述单页翻页行为的接收时间或所述单页翻页行为的完成时间。The time of the single page turning behavior may include: a receiving time of the single page turning behavior or a completion time of the single page turning behavior.
所述历史翻页操作可以包括:最近一次和/或最近多次连续翻页操作。The historical page turning operation may include: last time and/or most recent consecutive page turning operations.
可选地,本公开实施例中,所述时间差值阈值的初始值可以根据历史翻页操作中连续两次的多页翻页操作的时间计算。Optionally, in the embodiment of the present disclosure, the initial value of the time difference threshold may be calculated according to the time of the consecutive two-page page turning operation in the historical page turning operation.
可选地,所述时间差值阈值基于所述差值和初始值修正。Optionally, the time difference threshold is corrected based on the difference and the initial value.
可选地,所述根据监听到的单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作,包括:Optionally, the single page turning operation or the multi-page turning operation, which is adapted according to the result of the association, according to whether the monitored single page turning behavior is associated with the historical page turning operation, includes:
当所述单页翻页行为与所述历史翻页操作关联,且所述历史翻页操作为多页翻页操作时,执行多页翻页操作;When the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation, performing a multi-page turning operation;
当所述单页翻页行为与所述历史翻页操作不关联时,执行单页翻页操作。When the single page turning behavior is not associated with the historical page turning operation, a single page turning operation is performed.
所述执行多页翻页操作可以包括:确定所述多页翻页操作的参数;The performing a multi-page turning operation may include: determining a parameter of the multi-page turning operation;
根据所确定的所述多页翻页操作的参数执行所述多页翻页操作;Performing the multi-page turning operation according to the determined parameters of the multi-page turning operation;
其中,所述多页翻页操作的参数包括以下至少之一或组合:The parameter of the multi-page turning operation includes at least one or a combination of the following:
所述多页翻页操作的翻页页数、所述多页翻页操作的翻页方向。The number of page turning pages of the multi-page turning operation, and the page turning direction of the multi-page turning operation.
可选地,所述确定所述多页翻页操作的参数,包括:Optionally, the determining the parameters of the multi-page page turning operation comprises:
根据所述历史翻页操作中的最近一次翻页操作的对应参数,确定所述多 页翻页操作的参数;或者,Determining a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation; or
根据所述历史的翻页操作中的最近多次连续翻页操作的对应参数,确定所述多页翻页操作的参数。The parameters of the multi-page page turning operation are determined according to corresponding parameters of the most recent consecutive page turning operations in the historical page turning operation.
可选地,所述翻页操作执行模块在进入自动多页翻页模式后,根据监听到的所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作。Optionally, after the page turning operation execution module enters the automatic multi-page turning mode, according to whether the single page turning behavior that is monitored is associated with the historical page turning operation, the execution is adapted to the result of the association. Single page turning operation or multiple page turning operation.
所述信息收发模块,还可用于接收退出自动多页翻页模式的操作;则在所述信息收发模块接收推出自动多页翻页模式的操作后,所述装置退出自动多页翻页模式,进入单页翻页模式。The information transceiver module is further configured to receive an operation of exiting the automatic multi-page turning mode; after the information receiving and receiving module receives the operation of pushing out the automatic multi-page turning mode, the device exits the automatic multi-page turning mode, Enter the single page flip mode.
所述装置还可以包括:翻页动画展示模块,用于通过翻页动画,展示所述单页翻页操作或多页翻页操作对应翻页数量。The apparatus may further include: a page turning animation display module, configured to display, by the page turning animation, the number of page turning operations corresponding to the single page turning operation or the multi-page turning operation.
可选地,上述单页翻页行为的复杂度,低于多页翻页行为的复杂度。Optionally, the complexity of the single page turning behavior described above is lower than the complexity of the multi-page turning behavior.
本公开实施例还提供了一种翻页方法,所述方法包括:The embodiment of the present disclosure further provides a page turning method, the method comprising:
接收到翻页手势;Receiving a page turning gesture;
距离上次翻页的时差小于时间差值阈值,且上次翻页操作为多页翻页操作时,执行翻多页操作。The time difference from the last page turning is less than the time difference threshold, and when the last page turning operation is a multi-page turning operation, the multi-page operation is performed.
所述方法还可以包括:基于所述时差修正所述时间差值阈值。The method can also include modifying the time difference threshold based on the time difference.
所述基于所述时差修正所述时间差值阈值可以包括:The correcting the time difference threshold based on the time difference may include:
其中,上次多页翻页和本次自动多页翻页行为的相距时间差为β
i,用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η
n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑动”等已有技术进行多页翻页操作,则η
n为有效值,否则,舍弃本次的η
n值,α为修正前的所述时间差值阈值,
为修正前的所述时间差值阈值。
Among them, the time difference between the last multi-page turning and the automatic multi-page turning behavior is β i , the user turned the page in the last multiple pages, and the behavior of the automatic multi-page turning is not η n , if After the page turning operation is completed, the user's next page turning action is to actively perform a multi-page turning operation by the prior art such as "slide out angle" or "press and slide", then η n is an effective value; otherwise, Discarding the current η n value, α is the time difference threshold before correction, To correct the time difference threshold before the correction.
所述时间差值阈值的初始值可以根据两次连续多页翻页的间隔时长确定。The initial value of the time difference threshold may be determined according to the interval duration of two consecutive multi-page pages.
所述方法还可以包括:距离上次翻页的时差不小于时间差值阈值,或上次翻页操作不是多页翻页操作时,执行翻单页操作。The method may further include: performing a page turning operation when the time difference from the last page turning is not less than the time difference threshold, or when the last page turning operation is not a multi-page turning operation.
所述执行翻多页操作可包括:获取上次翻页的页数N,执行翻多页操作。The performing the multi-page operation may include: acquiring the number N of pages that were last turned over, and performing a multi-page operation.
所述执行翻多页操作还可以包括:通过翻页动画,展示所述单页翻页操 作或多页翻页操作对应翻页数量。The performing the multi-page operation may further include: displaying, by the page turning animation, the number of page turning operations corresponding to the single page turning operation or the multi-page turning operation.
本公开实施例还提供了一种翻页装置,包括:The embodiment of the present disclosure further provides a page turning device, including:
用户输入监听模块,用于监听用户输入的翻页行为;The user input monitoring module is configured to monitor the page turning behavior input by the user;
用户行为存储模块,用于存储用户的行为与行为发生的时间;User behavior storage module for storing the time when the user's behavior and behavior occur;
中央控制模块,用于获取用户输入,并从用户行为存储模块获取用户上次的行为与行为发生的时间,结合与上次翻页相距时差和时间差值阈值,判断是否需要执行多页翻页操作,并将翻页操作、翻页数量发送给翻页模块;The central control module is configured to acquire user input, and obtain the time when the user's last behavior and behavior occurred from the user behavior storage module, and determine whether to perform multi-page turning by combining the time difference and the time difference threshold from the last page turning Operation, and send the page turning operation and the number of page turning to the page turning module;
翻页模块,用于接收到来自所述中央控制模块的翻页操作后,执行单页翻页操作或者多页翻页操作。The page turning module is configured to perform a single page turning operation or a multiple page turning operation after receiving the page turning operation from the central control module.
所述装置可进一步包括:系数修正模块,用于修正所述时间差值阈值。The apparatus can further include a coefficient correction module for modifying the time difference threshold.
所述系数修正模块可以根据以下公式修正所述时间差值阈值:
The coefficient correction module may correct the time difference threshold according to the following formula:
其中,上次多页翻页和本次自动多页翻页行为的相距时间差为β
i,用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η
n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑动”等已有技术进行多页翻页操作,则η
n为有效值,否则,舍弃本次的η
n值,α为修正前所述时间差值阈值,α为修正前的所述时间差值阈值,
为修正前的所述时间差值阈值。
Among them, the time difference between the last multi-page turning and the automatic multi-page turning behavior is β i , the user turned the page in the last multiple pages, and the behavior of the automatic multi-page turning is not η n , if After the page turning operation is completed, the user's next page turning action is to actively perform a multi-page turning operation by the prior art such as "slide out angle" or "press and slide", then η n is an effective value; otherwise, Discarding the η n value of the current time, α is the time difference threshold value before the correction, and α is the time difference threshold value before the correction, To correct the time difference threshold before the correction.
本公开实施例还提供了翻页装置,其中,所述装置包括:The embodiment of the present disclosure further provides a page turning device, wherein the device comprises:
处理器和存储计算机程序的存储器,a processor and a memory storing the computer program,
其中,所述处理器用于运行所述计算机程序,以执行上述发明内容部分所能够形成的各种不同方法。Wherein the processor is operative to execute the computer program to perform various different methods that can be formed by the above-described inventive content.
本公开实施例还提供了计算机可读存储介质,其上存储有计算机程序,该计算机程序能够被运行,以执行上述发明内容部分所能够形成的各种不同方法。Embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that can be executed to perform various different methods that can be formed by the above-described inventive portions.
通过这种方式可以使得用户通过复杂度较低的单页翻页行为实现了多页翻页操作,由此,用户避免了连续多次进行多页翻页操作时,每次都需要完成负责的较高的多页翻页操作,该方案实现简单且适用范围广。In this way, the user can realize the multi-page turning operation through the low-complexity single-page turning behavior, thereby avoiding the need for the user to complete the responsible operation when the multi-page turning operation is performed multiple times in succession. The high multi-page turning operation makes the solution simple and wide-ranging.
图1为本公开实施例提供的翻页方法一个可选的流程示意图;FIG. 1 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure;
图2为本公开实施例提供的翻页装置一个可选的组成示意图;2 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure;
图3为本公开实施例提供的翻页方法一个可选的流程示意图;FIG. 3 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure;
图4为本公开实施例提供的翻页方法一个可选的流程示意图;FIG. 4 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure;
图5为本公开实施例提供的翻页装置一个可选的组成示意图;FIG. 5 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure;
图6为本公开实施例中翻页动画示意图;6 is a schematic diagram of a page turning animation in an embodiment of the present disclosure;
图7为本公开实施例提供的翻页装置另一个可选的组成示意图。FIG. 7 is another schematic structural diagram of a page turning device according to an embodiment of the present disclosure.
为了能够更加详尽地了解本公开实施例的特点与技术章节,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开。The present invention is described in detail with reference to the accompanying drawings, in which
对本公开进行进一步详细说明之前,对本公开实施例中涉及的名词和术语进行说明,本公开实施例中涉及的名词和术语适用于如下的解释。Before the present disclosure is further described in detail, the nouns and terms involved in the embodiments of the present disclosure are explained, and the nouns and terms involved in the embodiments of the present disclosure are applied to the following explanations.
翻页操作:包括多页翻页操作和单页翻页操作;Page turning operation: including multi-page turning operation and single-page turning operation;
目标翻页操作:单页翻页行为与历史翻页操作是否相关联的结果相适配的单页翻页操作或多页翻页操作,包括目标翻页操作所翻页的页数;Target page turning operation: a single page turning operation or a multi-page turning operation in which the single page turning behavior is compatible with the result of the historical page turning operation, including the number of pages turned by the target page turning operation;
所述翻页动画包括:预录制的单页的正向翻动效果动态图和反向翻动效果动态图;The page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
多页翻页操作的时间:多页翻页操作的接收时间和/或多页翻页操作的完成时间;The time of the multi-page turning operation: the receiving time of the multi-page turning operation and/or the completion time of the multi-page turning operation;
单页翻页行为的时间:单页翻页行为的接收时间或单页翻页行为的完成时间;The time of single page turning behavior: the receiving time of a single page turning behavior or the completion time of a single page turning behavior;
复杂度:包括时间复杂度和空间复杂度,其中识别单页翻页行为的时间小于识别多页翻页行为的时间,单页翻页行为对应的算法程序所占空间小于多页翻页行为对应的算法程序所占空间,单页翻页行为对应的初始数据所占的存储空间小于多页翻页行为对应的初始数据所占的存储空间;例如:单页翻页行为对应的识别时间为0.01秒,多页翻页行为对应的识别时间为0.02 秒。Complexity: including time complexity and space complexity, wherein the time for identifying single page turning behavior is less than the time for identifying multi-page turning behavior, and the space occupied by the algorithm program corresponding to the single page turning behavior is less than the multi-page turning behavior. The space occupied by the algorithm program, the initial data corresponding to the single page turning behavior accounts for less than the storage space occupied by the initial data corresponding to the multi-page turning behavior; for example, the recognition time corresponding to the single page turning behavior is 0.01 In seconds, the multi-page turning behavior corresponds to a recognition time of 0.02 seconds.
图1为本公开实施例提供的翻页方法一个可选的流程示意图,如图1所示,本公开实施例提供的翻页方法一个可选的流程包括以下步骤:FIG. 1 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure. As shown in FIG. 1 , an optional process of the page turning method provided by the embodiment of the present disclosure includes the following steps:
步骤101:进入自动多页翻页模式;Step 101: Enter an automatic multi-page turning mode;
本步骤中,可以是用户通过阅读应用APP提供的操作选项进入的自动多页翻页模式,也可以是根据已经执行了与步骤102至104相同的步骤后,自动进入了自动多页翻页模式。In this step, the automatic multi-page turning mode that the user enters by reading the operation option provided by the application APP may be used, or the automatic multi-page turning mode may be automatically entered according to the same steps as the steps 102 to 104 have been performed. .
且本公开实施例中描述的后续步骤,并非必须每次都执行步骤101,只要当前处于自动多页翻页模式,即可执行。And the subsequent steps described in the embodiments of the present disclosure do not have to execute step 101 every time, as long as they are currently in the automatic multi-page turning mode.
步骤102:监听到单页翻页行为;Step 102: Listening to a single page turning behavior;
本步骤中,监听到单页翻页行为,可以是检测到用户单页翻页操作手势。In this step, the single page turning behavior is monitored, and the user single page turning operation gesture may be detected.
步骤103:判断所述单页翻页行为与响应的历史翻页操作是否关联,如果是,执行步骤104,否则,执行步骤105。Step 103: Determine whether the single page turning behavior is associated with the historical page turning operation of the response. If yes, go to step 104. Otherwise, go to step 105.
实际应用中,可以通过比较所述单页翻页行为的时间与所述历史翻页操作的时间的差值与时间差值阈值,确定所述单页翻页行为与所述历史翻页操作的关联关系,具体的,当所述单页翻页行为的时间与所述历史翻页操作的时间的差值大于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作不关联;In an actual application, the single page turning behavior and the historical page turning operation may be determined by comparing a difference between a time of the single page turning behavior and a time of the historical page turning operation and a time difference threshold. Correlation relationship, specifically, when the difference between the time of the single page turning behavior and the time of the historical page turning operation is greater than the time difference threshold, determining the single page turning behavior and the historical turning Page operations are not associated;
当所述单页翻页行为的时间与所述历史翻页操作的时间的差值小于等于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作关联。When the difference between the time of the single page turning behavior and the time of the historical page turning operation is less than or equal to the time difference threshold, it is determined that the single page turning behavior is associated with the historical page turning operation.
其中,可以基于所述历史翻页操作中的连续两次多页翻页操作,计算所述连续两次多页翻页操作时间的间隔值;The interval value of the consecutive two multi-page page turning operation time may be calculated based on two consecutive multi-page page turning operations in the historical page turning operation;
可以将所述时间的间隔值设置为所述时间差值阈值的初始值;The interval value of the time may be set to an initial value of the time difference threshold;
其中,所述多页翻页操作的时间可以包括多页翻页操作的接收时间和/或多页翻页操作的完成时间;所述单页翻页行为的时间可以包括单页翻页行为的接收时间或单页翻页行为的完成时间。The time of the multi-page turning operation may include a receiving time of the multi-page turning operation and/or a completion time of the multi-page turning operation; the time of the single-page turning behavior may include a single-page turning behavior. Receive time or the completion time of a single page turn.
所述历史翻页操作包括:The historical page turning operation includes:
在所述多页翻页模式中最近一次和/或最近多次连续响应的翻页操作;a page turning operation of the last and/or most recent consecutive responses in the multi-page turning mode;
实际应用中,步骤103之前或之后还可以判断所述历史翻页操作是否为 多页翻页操作。In an actual application, before or after step 103, it can be judged whether the historical page turning operation is a multi-page turning operation.
具体的,当所述单页翻页行为与所述历史翻页操作关联,且所述历史翻页操作为多页翻页操作时,确定所述多页翻页操作为所述目标翻页操作;或者,Specifically, when the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation, determining that the multi-page turning operation is the target turning operation ;or,
当所述单页翻页行为与所述历史翻页操作不关联时,确定目标翻页操作为单页翻页;或者,Determining that the target page turning operation is a single page turning when the single page turning behavior is not associated with the historical page turning operation; or
所述历史翻页操作为单页翻页操作时,确定目标翻页操作为单页翻页;When the historical page turning operation is a single page turning operation, it is determined that the target page turning operation is a single page turning;
步骤104:执行多页翻页操作;Step 104: Perform a multi-page page turning operation;
具体的,当需要执行多页翻页操作时,可以确定所述多页翻页操作的参数;Specifically, when it is required to perform a multi-page turning operation, parameters of the multi-page turning operation may be determined;
根据所确定的所述多页翻页操作的参数响应所述多页翻页操作;Responding to the multi-page turning operation according to the determined parameter of the multi-page turning operation;
其中,所述多页翻页操作的参数包括:所述多页翻页操作的翻页页数、所述多页翻页操作的翻页方向;The parameter of the multi-page turning operation includes: a page turning number of the multi-page turning operation, and a page turning direction of the multi-page turning operation;
所述多页翻页操作的参数,包括:The parameters of the multi-page turning operation include:
根据所述历史的翻页操作中的最近一次翻页操作的对应参数,确定所述多页翻页操作的参数;或者,Determining a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation; or
根据所述历史的翻页操作中的最近多次连续响应的翻页操作的对应参数,确定所述多页翻页操作的参数。The parameters of the multi-page page turning operation are determined according to corresponding parameters of the page turning operation of the most recent consecutive responses in the historical page turning operation.
步骤105:执行单页翻页操作。Step 105: Perform a single page turning operation.
步骤104或步骤105中可以通过翻页动画,展示所述目标翻页操作对应翻页数量;In step 104 or step 105, the page turning animation may be used to display the number of page turning operations corresponding to the target page turning operation;
所述翻页动画包括:预录制的单页翻页效果动态图;The page turning animation includes: a dynamic picture of a pre-recorded single page turning effect;
所述翻页动画包括:预录制的单页的正向翻动效果动态图和反向翻动效果动态图。The page turning animation includes: a pre-recorded single page forward flip effect dynamic picture and a reverse flip effect dynamic picture.
步骤105完成之后,如果接收到退出所述自动多页翻页模式的操作;After the step 105 is completed, if the operation of exiting the automatic multi-page turning mode is received;
基于所述退出所述自动多页翻页模式的操作,退出所述自动多页翻页模式,进入单页翻页模式。在单页翻页模式下,每次监听到单页翻页行为,如检测到单页翻页手势,均直接执行单页翻页操作。Based on the operation of exiting the automatic multi-page turning mode, the automatic multi-page turning mode is exited, and the single-page turning mode is entered. In the single page turning mode, each time a single page turning behavior is monitored, if a single page turning gesture is detected, a single page turning operation is directly performed.
步骤101-105的过程中,所述单页翻页行为的复杂度,低于所述多页翻 页行为的复杂度。In the process of steps 101-105, the complexity of the single page turning behavior is lower than the complexity of the multi-page turning behavior.
需要说明的是:It should be noted:
当所述历史翻页操作为单页翻页操作时,无论是否存在关联,目标翻页操作都是单页翻页操作。When the history page turning operation is a single page turning operation, the target page turning operation is a single page turning operation regardless of whether or not there is an association.
图2为本公开实施例提供的翻页装置一个可选的组成示意图,如图2所示,本公开实施例提供的翻页装置一个可选的组成,包括:2 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure. As shown in FIG. 2, an optional component of the page turning device provided by the embodiment of the present disclosure includes:
信息接收模块201,用于监听单页翻页行为;The information receiving module 201 is configured to monitor a page turning behavior;
目标翻页操作确定模块202,用于基于所述单页翻页行为与相应的历史翻页操作,确定目标翻页操作;The target page turning operation determining module 202 is configured to determine a target page turning operation based on the single page turning behavior and the corresponding historical page turning operation;
其中,所述目标翻页操作确定模块,包括:The target page turning operation determining module includes:
时间差值阈值比较单元,用于比较所述单页翻页行为的时间与所述历史翻页操作的时间的差值与时间差值阈值;a time difference threshold comparing unit, configured to compare a difference between a time of the single page turning behavior and a time of the historical page turning operation and a time difference threshold;
关联关系确定单元,用于确定所述单页翻页行为与所述历史翻页操作是否关联,An association determining unit, configured to determine whether the single page turning behavior is associated with the historical page turning operation,
具体的,当所述单页翻页行为的时间与所述历史翻页操作的时间的差值大于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作不关联;Specifically, when the difference between the time of the single page turning behavior and the time of the historical page turning operation is greater than the time difference threshold, determining that the single page turning behavior and the historical page turning operation are not Association
当所述单页翻页行为的时间与所述历史翻页操作的时间的差值小于等于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作关联;Determining that the single page turning behavior is associated with the historical page turning operation when a difference between a time of the single page turning behavior and a time of the historical page turning operation is less than or equal to the time difference threshold;
其中,所述目标翻页操作为与是否关联的结果相适配的单页翻页操作或多页翻页操作;Wherein the target page turning operation is a single page turning operation or a multi-page turning operation adapted to the result of the association;
所述目标翻页操作确定模块202,用于:The target page turning operation determining module 202 is configured to:
当所述单页翻页行为与所述历史翻页操作关联,且所述历史翻页操作为多页翻页操作时,确定目标翻页操作为多页翻页操作;Determining that the target page turning operation is a multi-page turning operation when the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation;
所述目标翻页操作确定模块202,用于:The target page turning operation determining module 202 is configured to:
当所述单页翻页行为与所述历史翻页操作不关联时,确定目标翻页操作为单页翻页操作;Determining that the target page turning operation is a single page turning operation when the single page turning behavior is not associated with the historical page turning operation;
所述目标翻页操作确定模块202,用于:The target page turning operation determining module 202 is configured to:
所述历史翻页操作为单页翻页操作时,确定所述目标翻页操作为单页翻 页操作;When the historical page turning operation is a single page turning operation, determining that the target page turning operation is a single page turning operation;
所述目标翻页操作确定模块202,还包括:The target page turning operation determining module 202 further includes:
参数确定单元,用于确定所述多页翻页操作的参数;a parameter determining unit, configured to determine a parameter of the multi-page turning operation;
所述多页翻页操作的参数包括:所述多页翻页操作的翻页页数、所述多页翻页操作的翻页方向;The parameter of the multi-page turning operation includes: a page turning number of the multi-page turning operation, and a page turning direction of the multi-page turning operation;
所述参数确定单元,用于根据所述历史的翻页操作中的最近一次翻页操作的对应参数,确定所述多页翻页操作的参数;The parameter determining unit is configured to determine a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation;
所述参数确定单元,用于根据所述历史的翻页操作中的最近多次连续响应的翻页操作的对应参数,确定所述多页翻页操作的参数。The parameter determining unit is configured to determine a parameter of the multi-page turning operation according to a corresponding parameter of a page turning operation of the most recent consecutive responses in the historical page turning operation.
翻页操作执行模块203,用于响应所述目标翻页操作。The page turning operation execution module 203 is configured to respond to the target page turning operation.
所述翻页操作执行模块203,还用于根据所确定的所述多页翻页操作的参数响应所述多页翻页操作。The page turning operation execution module 203 is further configured to respond to the multi-page page turning operation according to the determined parameter of the multi-page page turning operation.
所述信息收发模块201,还用于接收退出所述自动多页翻页模式的操作;The information transceiver module 201 is further configured to receive an operation of exiting the automatic multi-page paging mode;
所述装置退出自动多页翻页模式,进入单页翻页模式。The device exits the automatic multi-page turning mode and enters the single page turning mode.
在单页翻页模式下,每次监听到单页翻页行为,如检测到单页翻页手势,均直接执行单页翻页操作。In the single page turning mode, each time a single page turning behavior is monitored, if a single page turning gesture is detected, a single page turning operation is directly performed.
实际应用中,所述装置还可以包括:In practical applications, the device may further include:
翻页动画展示模块,用于通过翻页动画,展示所述目标翻页操作对应翻页数量;a page turning animation display module, configured to display a page turning amount corresponding to the target page turning operation by turning the page animation;
所述翻页动画包括:预录制的单页翻页效果动态图;The page turning animation includes: a dynamic picture of a pre-recorded single page turning effect;
所述翻页动画包括:预录制的单页的正向翻动效果动态图和反向翻动效果动态图;The page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
具体的,可以基于所述多页翻页操作对应翻页数量,计算所述翻页动画的播放速率;Specifically, the playing rate of the page turning animation may be calculated based on the number of pages corresponding to the multi-page turning operation;
所述播放速率为:所述单页的翻页动画的播放速率与播放速率系数的乘积;The playing rate is: a product of a playing rate of the single page turning animation and a playing rate coefficient;
所述播放速率系数为:所述翻页操作对应翻页数量与固定值λ的乘积。The play rate coefficient is: the page turning operation corresponds to the product of the number of page turns and the fixed value λ.
实际应用中,所述装置还可以包括:时间差值阈值计算模块,用于计算所述历史翻页操作中的连续两次多页翻页操作时间的间隔值,并将该间隔值 设置为所述时间差值阈值的初始值。In an actual application, the device may further include: a time difference threshold calculation module, configured to calculate an interval value of two consecutive pages of page turning operation time in the historical page turning operation, and set the interval value to The initial value of the time difference threshold.
图3为本公开实施例提供的翻页方法一个可选的流程示意图,如图3所示,本公开实施例提供的翻页方法一个可选的流程包括:FIG. 3 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure. As shown in FIG. 3, an optional process of the page turning method provided by the embodiment of the present disclosure includes:
步骤301:准备,等待用户输入;Step 301: Prepare, wait for user input;
步骤302:接收到翻页手势;Step 302: Receive a page turning gesture;
本公开实施例主要针对的是本步骤中接收到单页翻页手势的情况。若接收的是多页翻页手势,直接执行多页翻页操作即可。The embodiment of the present disclosure is mainly directed to the case where a single page turning gesture is received in this step. If you receive a multi-page turning gesture, you can directly perform a multi-page turning operation.
当然,在替代实施例中,也可以接收到多页翻页手势后,也执行后续的各个步骤。Of course, in an alternative embodiment, after receiving a multi-page turning gesture, subsequent steps are also performed.
步骤303:判断上次翻页操作是否为多页翻页操作,如果是,执行步骤304,否则,执行步骤307;Step 303: Determine whether the last page turning operation is a multi-page turning operation, if yes, go to step 304, otherwise, go to step 307;
步骤304:距离上次翻页的时差是否小于时间差值阈值,如果是,执行步骤305,否则,执行步骤307;Step 304: Whether the time difference from the last page turning is less than the time difference threshold, if yes, step 305 is performed, otherwise, step 307 is performed;
具体的,当接收到所述翻页手势的时间与所述历史翻页操作的时间的差值大于所述时间差值阈值时,确定所述翻页手势与所述上次翻页操作不关联;Specifically, when the difference between the time when the page turning gesture is received and the time of the historical page turning operation is greater than the time difference threshold, determining that the page turning gesture is not associated with the last page turning operation ;
当接收到所述翻页手势的时间与所述历史翻页操作的时间的差值小于等于所述时间差值阈值时,确定所述单页翻页操作与所述上次翻页操作关联;Determining that the single page turning operation is associated with the last page turning operation when a difference between a time when the page turning gesture is received and a time of the historical page turning operation is less than or equal to the time difference threshold;
其中,上次翻页相距时差必须满足的时间差值阈值初始值可以是根据用户行为数据统计得到的,比如,可以统计所有用户在不采用本技术时,两次连续多页翻页行为的平均间隔时长,并以此平均间隔时长,作为所述时间差值阈值初始值。The initial value of the time difference threshold that must be satisfied for the time difference of the last page turn can be obtained according to the user behavior data. For example, the average of two consecutive page-turning behaviors of all users when the technology is not used can be counted. The interval duration, and the average interval duration, is used as the initial value of the time difference threshold.
步骤305:获取上次翻页的页数N;Step 305: Obtain the number N of pages that were last turned;
步骤306:执行多页翻页操作,展示翻页动画;Step 306: Perform a multi-page turning operation to display a page turning animation;
其中,所述翻页动画为:预录制的单页翻页效果动态图;Wherein, the page turning animation is: a dynamic picture of a pre-recorded single page turning effect;
所述翻页动画包括:预录制的单页的正向翻动效果动态图和反向翻动效果动态图;The page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
步骤307:执行单页翻页操作;Step 307: Perform a single page turning operation;
步骤308:结束。Step 308: End.
当步骤308执行完成后,如果退出了自动翻页模式,可以令用户的上次 多页翻页和本次自动多页翻页行为的相距时间差为β
i。令用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η
n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑动”等已有技术进行多页翻页操作,则η
n为有效值,否则,舍弃本次的η
n值。则系数修正模块根据以下公式修正上次翻页相距时差必须满足的阈值:
其中,初次计算时的α为根据用户行为数据统计得到的,所有用户在不采用本技术时,两次连续多页翻页行为的平均间隔时长。根据每次计算的值,得到新的
,将
作为修正后的上次翻页相距时差必须满足的阈值,并在下次计算时,作为α代入得到新一代的
。
When the execution of step 308 is completed, if the automatic page turning mode is exited, the time difference between the user's last multi-page turning and the current automatic multi-page turning behavior may be β i . In order to make the user turn over the page in the previous page, the time difference between the actions of the automatic multi-page page turning is η n . If the page turning operation is completed, the next page turning action of the user is to actively “slide out the angle”. If the prior art such as "press and slide" performs a multi-page turning operation, η n is an effective value, otherwise, the current η n value is discarded. Then the coefficient correction module corrects the threshold that the time difference of the last page turn must be satisfied according to the following formula: Among them, α in the initial calculation is the average interval length of two consecutive multi-page turning behaviors when all users do not adopt this technology according to the statistics of user behavior data. Get new based on the value of each calculation ,will As a threshold value that must be satisfied as the time difference between the last page turn and the next calculation, as a substitute for α, a new generation is obtained. .
图4为本公开实施例提供的翻页方法一个可选的流程示意图,如图4所示,本公开实施例提供的翻页方法一个可选的流程,包括:FIG. 4 is an optional schematic flowchart of a page turning method according to an embodiment of the present disclosure. As shown in FIG. 4, an optional process of the page turning method provided by the embodiment of the present disclosure includes:
步骤401:准备,等待用户输入;Step 401: Prepare, wait for user input;
步骤402:接收到翻页手势;Step 402: Receive a page turning gesture;
本公开实施例主要针对的是本步骤中接收到单页翻页手势的情况。若接收的是多页翻页手势,直接执行多页翻页操作即可。The embodiment of the present disclosure is mainly directed to the case where a single page turning gesture is received in this step. If you receive a multi-page turning gesture, you can directly perform a multi-page turning operation.
当然,在替代实施例中,也可以接收到多页翻页手势后,也执行后续的各个步骤。Of course, in an alternative embodiment, after receiving a multi-page turning gesture, subsequent steps are also performed.
步骤403:距离上次翻页的时差是否小于时间差值阈值,如果是,执行步骤404,否则,执行步骤407;Step 403: Whether the time difference from the last page turning is less than the time difference threshold, if yes, step 404 is performed, otherwise, step 407 is performed;
步骤404:判断上次翻页操作是否为多页翻页操作,如果是,执行步骤405,否则,执行步骤407;Step 404: Determine whether the last page turning operation is a multi-page turning operation, if yes, go to step 405, otherwise, go to step 407;
具体的,当接收到所述翻页手势的时间与所述历史翻页操作的时间的差值大于所述时间差值阈值时,确定所述翻页手势与所述上次翻页操作不关联;Specifically, when the difference between the time when the page turning gesture is received and the time of the historical page turning operation is greater than the time difference threshold, determining that the page turning gesture is not associated with the last page turning operation ;
当接收到所述翻页手势的时间与所述历史翻页操作的时间的差值小于等于所述时间差值阈值时,确定所述翻页手势与所述上次翻页操作关联;Determining that the page turning gesture is associated with the last page turning operation when a difference between a time when the page turning gesture is received and a time of the historical page turning operation is less than or equal to the time difference threshold;
其中,上次翻页相距时差必须满足的时间差值阈值初始值可以是根据用户行为数据统计得到的,比如,可以统计所有用户在不采用本技术时,两次连续多页翻页行为的平均间隔时长,并以此平均间隔时长,作为所述时间差值阈值初始值。The initial value of the time difference threshold that must be satisfied for the time difference of the last page turn can be obtained according to the user behavior data. For example, the average of two consecutive page-turning behaviors of all users when the technology is not used can be counted. The interval duration, and the average interval duration, is used as the initial value of the time difference threshold.
步骤405:获取上次翻页的页数N;Step 405: Obtain the number N of pages that were last turned;
步骤406:执行多页翻页操作,展示翻页动画;Step 406: Perform a multi-page turning operation to display a page turning animation;
其中,所述翻页动画为:预录制的单页翻页效果动态图;Wherein, the page turning animation is: a dynamic picture of a pre-recorded single page turning effect;
所述翻页动画包括:预录制的单页的正向翻动效果动态图和反向翻动效果动态图;The page turning animation includes: a pre-recorded single page forward flip effect dynamic map and a reverse flip effect dynamic map;
步骤407:执行单页翻页操作;Step 407: Perform a single page turning operation;
步骤408:结束。Step 408: End.
当步骤408执行完成后,如果退出了自动翻页模式,可以令用户的上次多页翻页和本次自动多页翻页行为的相距时间差为β
i。令用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η
n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑动”等已有技术进行多页翻页操作,则η
n为有效值,否则,舍弃本次的η
n值。则系数修正模块根据以下公式修正上次翻页相距时差必须满足的阈值:
其中,初次计算时的α为根据用户行为数据统计得到的,所有用户在不采用本技术时,两次连续多页翻页行为的平均间隔时长。根据每次计算的值,得到新的
,将
作为修正后的上次翻页相距时差必须满足的阈值,并在下次计算时,作为α代入得到新一代的
。
When the execution of step 408 is completed, if the automatic page turning mode is exited, the time difference between the user's last multi-page turning and the current automatic multi-page turning behavior may be β i . In order to make the user turn over the page in the previous page, the time difference between the actions of the automatic multi-page page turning is η n . If the page turning operation is completed, the next page turning action of the user is to actively “slide out the angle”. If the prior art such as "press and slide" performs a multi-page turning operation, η n is an effective value, otherwise, the current η n value is discarded. Then the coefficient correction module corrects the threshold that the time difference of the last page turn must be satisfied according to the following formula: Among them, α in the initial calculation is the average interval length of two consecutive multi-page turning behaviors when all users do not adopt this technology according to the statistics of user behavior data. Get new based on the value of each calculation ,will As a threshold value that must be satisfied as the time difference between the last page turn and the next calculation, as a substitute for α, a new generation is obtained. .
图5为本公开实施例提供的翻页装置一个可选的组成示意图,如图5所示,本公开实施例提供的翻页装置一个可选的组成包括:FIG. 5 is an optional schematic diagram of a page turning device according to an embodiment of the present disclosure. As shown in FIG. 5 , an optional component of the page turning device provided by the embodiment of the present disclosure includes:
用户输入监听模块501、用户行为存储模块502、系数修正模块503、中央控制模块504、翻页模块505、翻页动画展示模块506;User input monitoring module 501, user behavior storage module 502, coefficient correction module 503, central control module 504, page turning module 505, page turning animation display module 506;
具体的,所示用户输入监听模块501主要监听用户输入的翻页行为,包括多页翻页的行为和单页翻页的行为以及两指同时按压退出自动翻页的行为,用户行为存储模块502,主要存储用户的行为与行为发生的时间,中央控制模块504获取用户输入,并从用户行为存储模块502获取用户上次的行为,结合从系数修正模块503获取的与上次翻页相距时差必须满足的时间差值阈值,来判断是否需要多页翻页,并将翻页操作、翻页数量发送给翻页模块505。同时,存储用户此次的翻页结果至用户行为存储模块502。用户行为存储模块502还需要将用户每次的行为告知给系数修正模块503,供系数修正模块 503修正上次翻页相距时差必须满足的时间差值阈值。翻页模块505接收到翻页操作后,执行单页翻页或者多页翻页的行为,如果是执行多页翻页的行为,还需要调用翻页动画展示模块506,展示翻页动画。Specifically, the user input monitoring module 501 is mainly configured to monitor the page turning behavior input by the user, including the behavior of multi-page turning and the behavior of page turning, and the behavior of two fingers simultaneously pressing to exit the automatic page turning, and the user behavior storage module 502 The main control module 504 obtains the user input, and obtains the user's last behavior from the user behavior storage module 502, and the time difference from the last page turning must be obtained in conjunction with the coefficient correction module 503. The time difference threshold is satisfied to determine whether multiple page turning is required, and the page turning operation and the page turning amount are sent to the page turning module 505. At the same time, the user's current page turning result is stored to the user behavior storage module 502. The user behavior storage module 502 also needs to inform the coefficient correction module 503 of the behavior of the user each time, and the coefficient correction module 503 corrects the time difference threshold value that must be satisfied for the time difference of the last page turning. After the page turning module 505 receives the page turning operation, the page turning page or the page turning behavior is performed. If the page turning behavior is performed, the page turning animation display module 506 is also required to display the page turning animation.
具体的,系数修正模块503负责根据用户每次的行为修正上次翻页相距时差必须满足的阈值。上次翻页相距时差必须满足的时间差值阈值初始值可以是根据用户行为数据统计得到的,比如,可以统计所有用户在不采用本技术时,两次连续多页翻页行为的平均间隔时长,并以此平均间隔时长,作为所述时间差值阈值初始值。系数修正模块503根据单个用户的行为,对初始值进行修正。Specifically, the coefficient correction module 503 is responsible for correcting the threshold that the time difference of the last page turning distance must be satisfied according to the behavior of the user each time. The initial value of the time difference threshold that must be met for the last page difference can be obtained based on the user behavior data. For example, the average interval between two consecutive pages of page-turning behavior when all users are not using the technology can be counted. And the average interval duration is used as the initial value of the time difference threshold. The coefficient correction module 503 corrects the initial value according to the behavior of the individual user.
如果退出了自动翻页模式,可以令用户的上次多页翻页和本次自动多页翻页行为的相距时间差为β
i。令用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η
n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑动”等已有技术进行多页翻页操作,则η
n为有效值,否则,舍弃本次的η
n值。则系数修正模块根据以下公式修正上次翻页相距时差必须满足的阈值:
其中,初次计算时的α为根据用户行为数据统计得到的,所有用户在不采用本技术时,两次连续多页翻页行为的平均间隔时长。根据每次计算的值,得到新的
,将
作为修正后的上次翻页相距时差必须满足的阈值,并在下次计算时,作为α代入得到新一代的
。
If the automatic page turning mode is exited, the time difference between the user's last multi-page turning and the current automatic multi-page turning behavior can be β i . In order to make the user turn over the page in the previous page, the time difference between the actions of the automatic multi-page page turning is η n . If the page turning operation is completed, the next page turning action of the user is to actively “slide out the angle”. If the prior art such as "press and slide" performs a multi-page turning operation, η n is an effective value, otherwise, the current η n value is discarded. Then the coefficient correction module corrects the threshold that the time difference of the last page turn must be satisfied according to the following formula: Among them, α in the initial calculation is the average interval length of two consecutive multi-page turning behaviors when all users do not adopt this technology according to the statistics of user behavior data. Get new based on the value of each calculation ,will As a threshold value that must be satisfied as the time difference between the last page turn and the next calculation, as a substitute for α, a new generation is obtained. .
图6为本公开实施例中翻页动画示意图,如图6所示,在执行多页翻页时,可以将每一页均以翻页动画的形式展示;翻页动画为预录动画,预录动画只展示单页翻页效果。并预录向前翻页和向后翻页两种不同方向的翻页动画。在多页翻页时,先判断是向前翻页还是向后翻页,选择对应的单页翻页动画,再根据等比的原则,计算出播放动画需要展示的翻页数量,将单页翻页动画多次播放,且根据播放速率系数计算出播放速率,并弹带方向箭头数字flash告知用户翻页数目。例如,向前翻3页,则预录向前单页翻页动画播放三次,播放速率为单页翻页动画的播放速率*播放速率系数,并弹带向前箭头数字flash3告知用户翻了3页。6 is a schematic diagram of a page turning animation in the embodiment of the present disclosure. As shown in FIG. 6 , when performing multi-page turning, each page may be displayed in the form of a page turning animation; the page turning animation is a pre-recording animation, Recording animations only show a single page flip effect. It also pre-records page flipping animations in two different directions: page forward and page backward. When turning pages in multiple pages, first judge whether to turn the page forward or backward, select the corresponding single page page animation, and then calculate the number of pages to be displayed for the playback animation according to the principle of equal ratio, the single page The page flip animation is played multiple times, and the play rate is calculated according to the play rate coefficient, and the number flash page is used to inform the user of the number of pages to be flipped. For example, if you turn 3 pages forward, the pre-recorded forward single page flip animation will play three times. The playback rate is the playback rate of the single-page flip animation* playback rate coefficient, and the flashing forward arrow number flash3 tells the user to turn over 3 page.
由于是多次播放单页翻页动画,如不加快播放速率,则用户翻页数量越 多,则等待播放动画时间越长,会降低用户体验,因此,播放速率系数与翻页数量有关,翻页数量越大,则播放数量系数越大,播放速率系数的计算公式为
其中,λ为固定值,可根据产品设计人员的体验感官调整,N为翻页数量,θ为播放速率系数。则用户在翻N页时的播放速率=单页翻页动画的播放速率*θ。
Since the single-page flipping animation is played multiple times, if the playback rate is not accelerated, the more the number of pages turned by the user, the longer the waiting animation is played, which will reduce the user experience. Therefore, the playback rate coefficient is related to the number of pages turned. The larger the number of pages, the larger the playback number coefficient, and the calculation formula of the playback rate coefficient is Where λ is a fixed value, which can be adjusted according to the experience of the product designer, N is the number of pages turned, and θ is the playing rate coefficient. Then the user's playback rate when turning N pages = the playback rate of a single page flip animation * θ.
图7为本公开实施例提供的翻页装置另一个可选的组成示意图。如图所示,翻页装置700可以是带有包括带有显示功能的,具有近距离通信功能的移动电话、计算机、数字广播终端、信息收发设备、游戏控制台、平板设备、医疗设备、健身设备、个人数字助理等。图4所示的翻页装置700包括:至少一个处理器701、存储器702、至少一个网络接口704和用户接口703。翻页装置700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图4中将各种总线都标为总线系统705。FIG. 7 is another schematic structural diagram of a page turning device according to an embodiment of the present disclosure. As shown, the page turning device 700 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, and a fitness device including a display function having a short-range communication function. Equipment, personal digital assistants, etc. The page turning device 700 shown in FIG. 4 includes at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703. The various components in the page turning device 700 are coupled together by a bus system 705. It will be appreciated that the bus system 705 is used to implement connection communication between these components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 705 in FIG.
其中,用户接口703可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。The user interface 703 may include a display, a keyboard, a mouse, a trackball, a click wheel, a button, a button, a touch panel, or a touch screen.
可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM, Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本公开实施例描述的存储器702旨在包括这些和任意其它适合类型的存储器。It will be appreciated that memory 702 can be either volatile memory or non-volatile memory, and can include both volatile and nonvolatile memory. The non-volatile memory may be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), or an Erasable Programmable Read (EPROM). Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface memory can be a disk storage or a tape storage. The volatile memory can be a random access memory (RAM) that acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access (SSRAM). DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhancement Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory Bus Random Access Memory (DRRAM) ). The memory 702 described in the embodiments of the present disclosure is intended to include these and any other suitable types of memory.
本公开实施例中的存储器702用于存储各种类型的数据以支持翻页装置700的操作。这些数据的示例包括:用于在翻页装置700上操作的任何计算机程序,如操作系统7021和应用程序7022;联系人数据;电话簿数据;消息;图片;视频等。其中,操作系统7021包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022可以包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本公开实施例翻页方法的程序可以包含在应用程序7022中。The memory 702 in the embodiment of the present disclosure is used to store various types of data to support the operation of the page turning device 700. Examples of such data include any computer program for operating on page turning device 700, such as operating system 7021 and application 7022; contact data; phone book data; messages; pictures; The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 can include various applications, such as a Media Player, a Browser, etc., for implementing various application services. A program implementing the page turning method of the embodiment of the present disclosure may be included in the application 7022.
网络接口704可以实现近距离通信功能,具体的,所述翻页装置可以通过所述网络接口704的近距离通信功能实现与终端的连接与数据传输,所述翻页装置还可以通过所述网络接口704的近距离通信功能实现与所述机顶盒的连接与数据传输;同时所述翻页装置还可以通过所述网络接口704实现对近距离通信标签的写操作。The network interface 704 can implement a short-range communication function. Specifically, the page turning device can implement connection and data transmission with the terminal through the short-range communication function of the network interface 704, and the page turning device can also pass through the network. The short-range communication function of the interface 704 implements connection and data transmission with the set-top box; at the same time, the page-turning device can also implement a write operation to the proximity communication tag through the network interface 704.
上述本公开实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的操作完成。上述的处理器701可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤, 可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiments of the present disclosure may be applied to the processor 701 or implemented by the processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or an operation in the form of software. The processor 701 described above may be a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. The processor 701 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present disclosure. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present disclosure may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can reside in a storage medium located in memory 702, which reads the information in memory 702 and, in conjunction with its hardware, performs the steps of the foregoing method.
在示例性实施例中,翻页装置700可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现,用于执行所述翻页方法。In an exemplary embodiment, the page turning device 700 may be configured by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), and Complex Programmable Logic Devices ( CPLD, Complex Programmable Logic Device, Field-Programmable Gate Array (FPGA), General Purpose Processor, Controller, Micro Controller Unit (MCU), Microprocessor, or other An electronic component is implemented for performing the page turning method.
在示例性实施例中,本公开实施例还提供了一种计算机可读存储介质,例如包括计算机程序的存储器702,上述计算机程序可由翻页装置700的处理器701执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。In an exemplary embodiment, an embodiment of the present disclosure further provides a computer readable storage medium, such as a memory 702 including a computer program executable by processor 701 of page turning device 700 to perform the aforementioned method step. The computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器运行时,执行:Embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, executes:
进入自动多页翻页模式;Enter automatic multi-page turning mode;
监听到单页翻页行为;Listening to a single page flipping behavior;
根据所述单页翻页行为与响应的历史翻页操作是否关联,确定目标翻页操作;Determining a target page turning operation according to whether the single page turning behavior is associated with a historical page turning operation of the response;
其中,所述目标翻页操作为与是否关联的结果相适配的单页翻页操作或多页翻页操作;Wherein the target page turning operation is a single page turning operation or a multi-page turning operation adapted to the result of the association;
响应所述目标翻页操作,以作为对所接收到的所述单页翻页操作的响应。Responding to the target page turning operation as a response to the received single page turning operation.
本领域内的技术人员应明白,本公开实施例可提供为方法、系统、或计算机程序产品。因此,本公开实施例可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括磁盘存储器 和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Thus, embodiments of the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, embodiments of the present disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including disk storage and optical storage, etc.) including computer usable program code.
本公开实施例是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序操作实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序操作到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的操作产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present disclosure are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer programs can be provided to operate on a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to produce a machine for use by a processor or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序操作也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的操作产生包括操作装置的制造品,该操作装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program operations can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that operation stored in the computer readable memory produces an article of manufacture including the operating device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序操作也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的操作提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program operations can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The operations provide steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围,凡在本公开的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本公开的保护范围之内。The above description is only for the preferred embodiment of the present disclosure, and is not intended to limit the scope of the disclosure, and any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure should be included in Within the scope of protection of the present disclosure.
Claims (40)
- 一种翻页方法,包括:A page turning method comprising:监听到单页翻页行为;Listening to a single page flipping behavior;根据所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作。According to whether the single page turning behavior is associated with the historical page turning operation, a single page turning operation or a multi page turning operation that is adapted to the result of the association is performed.
- 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:比较所述单页翻页行为的时间与所述历史翻页操作的时间的差值、与时间差值阈值,Comparing the difference between the time of the single page turning behavior and the time of the historical page turning operation, and the time difference threshold,当所述差值大于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作不关联;Determining that the single page turning behavior is not associated with the historical page turning operation when the difference is greater than the time difference threshold;当所述差值小于等于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作关联。When the difference is less than or equal to the time difference threshold, it is determined that the single page turning behavior is associated with the historical page turning operation.
- 根据权利要求2所述的方法,其中,The method of claim 2, wherein所述单页翻页行为的时间包括:The time for the single page turning behavior includes:所述单页翻页行为的接收时间或所述单页翻页行为的完成时间。The receiving time of the single page turning behavior or the completion time of the single page turning behavior.
- 根据权利要求2所述的方法,其中,The method of claim 2, wherein所述历史翻页操作包括:最近一次和/或最近多次连续翻页操作。The historical page turning operation includes the most recent and/or most recent consecutive page turning operations.
- 根据权利要求2所述的方法,还包括:The method of claim 2 further comprising:基于历史翻页操作中连续两次的多页翻页操作的时间,计算间隔值;Calculating the interval value based on the time of two consecutive page turning operations in the historical page turning operation;将所述间隔值设置为所述时间差值阈值的初始值。The interval value is set to an initial value of the time difference threshold.
- 根据权利要求5所述的方法,还包括:The method of claim 5 further comprising:基于所述差值、所述时间差值阈值的初始值修正所述时间差值阈值。The time difference threshold is corrected based on the difference, the initial value of the time difference threshold.
- 根据权利要求1所述的方法,其中,所述根据所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作,包括:The method according to claim 1, wherein said single page turning operation or multi-page turning operation is performed according to whether said single page turning behavior is associated with a history turning operation, and a result of whether or not the associated result is adapted ,include:当所述单页翻页行为与所述历史翻页操作关联,且所述历史翻页操作为多页翻页操作时,执行多页翻页操作;When the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation, performing a multi-page turning operation;当所述单页翻页行为与所述历史翻页操作不关联时,执行单页翻页操作。When the single page turning behavior is not associated with the historical page turning operation, a single page turning operation is performed.
- 根据权利要求1所述的方法,其中,所述执行多页翻页操作包括:The method of claim 1, wherein said performing a multi-page page turning operation comprises:确定所述多页翻页操作的参数;Determining parameters of the multi-page page turning operation;根据所确定的所述多页翻页操作的参数执行所述多页翻页操作;Performing the multi-page turning operation according to the determined parameters of the multi-page turning operation;其中,所述多页翻页操作的参数包括以下至少之一或组合:The parameter of the multi-page turning operation includes at least one or a combination of the following:所述多页翻页操作的翻页页数、所述多页翻页操作的翻页方向。The number of page turning pages of the multi-page turning operation, and the page turning direction of the multi-page turning operation.
- 根据权利要求8所述的方法,其中,所述确定所述多页翻页操作的参数,包括:The method of claim 8 wherein said determining said parameters of said multi-page page turning operation comprises:根据所述历史翻页操作中的最近一次翻页操作的对应参数,确定所述多页翻页操作的参数;或者,Determining a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation; or根据所述历史的翻页操作中的最近多次连续翻页操作的对应参数,确定所述多页翻页操作的参数。The parameters of the multi-page page turning operation are determined according to corresponding parameters of the most recent consecutive page turning operations in the historical page turning operation.
- 根据权利要求1所述的方法,其中,所述方法在进入自动多页翻页模式后执行。The method of claim 1 wherein said method is performed after entering an automatic multi-page page turning mode.
- 根据权利要求1或10所述的方法,还包括:The method of claim 1 or 10, further comprising:响应退出所述自动多页翻页模式的操作,切换到单页翻页模式。In response to the operation of exiting the automatic multi-page turning mode, switching to the single page turning mode.
- 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:执行所述单页翻页操作或多页翻页操作过程中,During the single page turning operation or the multiple page turning operation,通过翻页动画,展示所述单页翻页操作或多页翻页操作对应的翻页数量。Through the page turning animation, the number of pages corresponding to the single page turning operation or the multi-page turning operation is displayed.
- 根据权利要求1-12中任一项所述的方法,其中,A method according to any one of claims 1 to 12, wherein所述单页翻页行为的复杂度,低于多页翻页行为的复杂度。The complexity of the single page turning behavior is lower than the complexity of the multi-page turning behavior.
- 一种翻页装置,包括:A page turning device comprising:信息接收模块,用于监听单页翻页行为;An information receiving module, configured to monitor a single page turning behavior;翻页操作执行模块,用于根据监听到的所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作。The page turning operation execution module is configured to perform a single page turning operation or a multi-page turning operation that is adapted to the result of the association according to whether the single page turning behavior that is monitored is associated with the historical page turning operation.
- 根据权利要求14所述的装置,其中,所述根据监听到的所述单页翻页行为与历史翻页操作是否关联,包括:The apparatus according to claim 14, wherein said according to said single page turning behavior that is monitored is associated with a historical page turning operation, comprising:比较所述单页翻页行为的时间与所述历史翻页操作的时间的差值、与时间差值阈值,Comparing the difference between the time of the single page turning behavior and the time of the historical page turning operation, and the time difference threshold,当所述差值大于所述时间差值阈值时,确定所述单页翻页行为与所述历 史翻页操作不关联;Determining that the single page turning behavior is not associated with the historical page turning operation when the difference is greater than the time difference threshold;当所述差值小于等于所述时间差值阈值时,确定所述单页翻页行为与所述历史翻页操作关联。When the difference is less than or equal to the time difference threshold, it is determined that the single page turning behavior is associated with the historical page turning operation.
- 根据权利要求15所述的装置,其中,The device according to claim 15, wherein所述单页翻页行为的时间包括:The time for the single page turning behavior includes:所述单页翻页行为的接收时间和/或所述单页翻页行为的完成时间。The receiving time of the single page turning behavior and/or the completion time of the single page turning behavior.
- 根据权利要求14所述的装置,其中,The device according to claim 14, wherein所述历史翻页操作包括:最近一次和/或最近多次连续翻页操作。The historical page turning operation includes the most recent and/or most recent consecutive page turning operations.
- 根据权利要求15所述的装置,其中,所述时间差值阈值的初始值根据历史翻页操作中连续两次的多页翻页操作的时间计算。The apparatus according to claim 15, wherein the initial value of the time difference threshold is calculated based on a time of two consecutive page turning operations in the historical page turning operation.
- 根据权利要求18所述的装置,其中,所述时间差值阈值基于所述差值和初始值修正。The apparatus of claim 18, wherein the time difference threshold is corrected based on the difference and an initial value.
- 根据权利要求14所述的装置,其中,所述根据监听到的单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作,包括:The apparatus according to claim 14, wherein said single page turning operation or multi-page turning is performed in accordance with whether or not the monitored single page turning behavior is associated with a history turning operation Operations, including:当所述单页翻页行为与所述历史翻页操作关联,且所述历史翻页操作为多页翻页操作时,执行多页翻页操作;When the single page turning behavior is associated with the historical page turning operation, and the historical page turning operation is a multi-page turning operation, performing a multi-page turning operation;当所述单页翻页行为与所述历史翻页操作不关联时,执行单页翻页操作。When the single page turning behavior is not associated with the historical page turning operation, a single page turning operation is performed.
- 根据权利要求14所述的装置,其中,所述执行多页翻页操作包括:The apparatus of claim 14, wherein said performing a multi-page page turning operation comprises:确定所述多页翻页操作的参数;Determining parameters of the multi-page page turning operation;根据所确定的所述多页翻页操作的参数执行所述多页翻页操作;Performing the multi-page turning operation according to the determined parameters of the multi-page turning operation;其中,所述多页翻页操作的参数包括以下至少之一或组合:The parameter of the multi-page turning operation includes at least one or a combination of the following:所述多页翻页操作的翻页页数、所述多页翻页操作的翻页方向。The number of page turning pages of the multi-page turning operation, and the page turning direction of the multi-page turning operation.
- 根据权利要求21所述的装置,其中,所述确定所述多页翻页操作的参数,包括:The apparatus according to claim 21, wherein said determining said parameter of said multi-page page turning operation comprises:根据所述历史翻页操作中的最近一次翻页操作的对应参数,确定所述多页翻页操作的参数;或者,Determining a parameter of the multi-page turning operation according to a corresponding parameter of a last page turning operation in the historical page turning operation; or根据所述历史的翻页操作中的最近多次连续翻页操作的对应参数,确定所述多页翻页操作的参数。The parameters of the multi-page page turning operation are determined according to corresponding parameters of the most recent consecutive page turning operations in the historical page turning operation.
- 根据权利要求14所述的装置,其中,所述翻页操作执行模块,用于在进入自动多页翻页模式后,根据监听到的所述单页翻页行为与历史翻页操作是否关联,执行与是否关联的结果相适配的单页翻页操作或多页翻页操作。The device according to claim 14, wherein the page turning operation execution module is configured to, after entering the automatic multi-page turning mode, according to whether the single page turning behavior that is monitored is associated with a historical page turning operation, Perform a single page turning operation or a multiple page turning operation that is compatible with the result of the association.
- 根据权利要求14或23所述的装置,其中,The device according to claim 14 or 23, wherein所述信息收发模块,还用于接收退出自动多页翻页模式的操作;The information transceiver module is further configured to receive an operation of exiting the automatic multi-page page turning mode;所述装置退出自动多页翻页模式,进入单页翻页模式。The device exits the automatic multi-page turning mode and enters the single page turning mode.
- 根据权利要求15所述的装置,还包括:The apparatus of claim 15 further comprising:翻页动画展示模块,用于通过翻页动画,展示所述单页翻页操作或多页翻页操作对应翻页数量。The page turning animation display module is configured to display the number of pages turned by the page turning operation or the multi-page turning operation by turning the page animation.
- 根据权利要求14-25中任一项所述的装置,其中,A device according to any one of claims 14 to 25, wherein所述单页翻页行为的复杂度,低于多页翻页行为的复杂度。The complexity of the single page turning behavior is lower than the complexity of the multi-page turning behavior.
- 一种翻页装置,包括:A page turning device comprising:处理器和存储计算机程序的存储器,a processor and a memory storing the computer program,其中,所述处理器用于运行所述计算机程序,执行如权利要求1至13中任一所述的方法。Wherein the processor is configured to execute the computer program to perform the method of any one of claims 1 to 13.
- 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序能够被运行,以执行如权利要求1至13中任一所述的方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program can be executed to perform the method of any one of claims 1 to 13.
- 一种翻页方法,包括:A page turning method comprising:接收到翻页手势;Receiving a page turning gesture;距离上次翻页的时差小于时间差值阈值,且上次翻页操作为多页翻页操作时,执行翻多页操作。The time difference from the last page turning is less than the time difference threshold, and when the last page turning operation is a multi-page turning operation, the multi-page operation is performed.
- 根据权利要求29所述的方法,还包括:The method of claim 29, further comprising:基于所述时差修正所述时间差值阈值。The time difference threshold is corrected based on the time difference.
- 根据权利要求29所述的方法,所述基于所述时差修正所述时间差值阈值包括:The method of claim 29, the correcting the time difference threshold based on the time difference comprises:其中,上次多页翻页和本次自动多页翻页行为的相距时间差为β i,用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑 动”等已有技术进行多页翻页操作,则η n为有效值,否则,舍弃本次的η n值,α为修正前的所述时间差值阈值, 为修正前的所述时间差值阈值。 Among them, the time difference between the last multi-page turning and the automatic multi-page turning behavior is β i , the user turned the page in the last multiple pages, and the behavior of the automatic multi-page turning is not η n , if After the page turning operation is completed, the user's next page turning action is to actively perform a multi-page turning operation by the prior art such as "slide out angle" or "press and slide", then η n is an effective value; otherwise, Discarding the current η n value, α is the time difference threshold before correction, To correct the time difference threshold before the correction.
- 根据权利要求29至31中任一所述的方法,其中,所述时间差值阈值的初始值根据两次连续多页翻页的间隔时长确定。The method according to any one of claims 29 to 31, wherein the initial value of the time difference threshold is determined based on an interval length of two consecutive pages of page turning.
- 根据权利要求29所述的方法,还包括:距离上次翻页的时差不小于时间差值阈值,或上次翻页操作不是多页翻页操作时,执行翻单页操作。The method according to claim 29, further comprising: performing a page turning operation when the time difference from the last page turning is not less than the time difference threshold, or when the last page turning operation is not a multi-page turning operation.
- 根据权利要求29所述的方法,其中,所述执行翻多页操作包括:获取上次翻页的页数N,执行翻多页操作。The method according to claim 29, wherein said performing the multi-page operation comprises: acquiring the number N of pages that were last turned over, and performing a multi-page operation.
- 根据权利要求29所述的方法,其中,所述执行翻多页操作还包括:通过翻页动画,展示所述单页翻页操作或多页翻页操作对应翻页数量。The method of claim 29, wherein the performing the multi-page operation further comprises: displaying, by the page turning animation, the number of page turning operations corresponding to the single page turning operation or the multi-page turning operation.
- 一种翻页装置,包括:A page turning device comprising:用户输入监听模块,用于监听用户输入的翻页行为;The user input monitoring module is configured to monitor the page turning behavior input by the user;用户行为存储模块,用于存储用户的行为与行为发生的时间;User behavior storage module for storing the time when the user's behavior and behavior occur;中央控制模块,用于获取用户输入,并从用户行为存储模块获取用户上次的行为与行为发生的时间,结合与上次翻页相距时差和时间差值阈值,判断是否需要执行多页翻页操作,并将翻页操作、翻页数量发送给翻页模块;The central control module is configured to acquire user input, and obtain the time when the user's last behavior and behavior occurred from the user behavior storage module, and determine whether to perform multi-page turning by combining the time difference and the time difference threshold from the last page turning Operation, and send the page turning operation and the number of page turning to the page turning module;翻页模块,用于接收到来自所述中央控制模块的翻页操作后,执行单页翻页操作或者多页翻页操作。The page turning module is configured to perform a single page turning operation or a multiple page turning operation after receiving the page turning operation from the central control module.
- 根据权利要求36所述的装置,其中,所述装置进一步包括:系数修正模块,用于修正所述时间差值阈值。The apparatus of claim 36, wherein said apparatus further comprises: a coefficient correction module for modifying said time difference threshold.
- 根据权利要求37所述的装置,其中,所述系数修正模块根据以下公式修正所述时间差值阈值: The apparatus of claim 37, wherein said coefficient correction module modifies said time difference threshold according to the following formula:其中,上次多页翻页和本次自动多页翻页行为的相距时间差为β i,用户在上次多页翻页,本次没有自动多页翻页的行为相距时间差为η n,若在本次翻页操作完成后,用户下一翻页动作为主动通过“滑动出夹角”或“按压并滑动”等已有技术进行多页翻页操作,则η n为有效值,否则,舍弃本次的η n值,α为修正前所述时间差值阈值,α为修正前的所述时间差值阈值, 为修正前的所述时间差值阈值。 Among them, the time difference between the last multi-page turning and the automatic multi-page turning behavior is β i , the user turned the page in the last multiple pages, and the behavior of the automatic multi-page turning is not η n , if After the page turning operation is completed, the user's next page turning action is to actively perform a multi-page turning operation by the prior art such as "slide out angle" or "press and slide", then η n is an effective value; otherwise, Discarding the η n value of the current time, α is the time difference threshold value before the correction, and α is the time difference threshold value before the correction, To correct the time difference threshold before the correction.
- 一种翻页装置,包括:A page turning device comprising:处理器和存储计算机程序的存储器,a processor and a memory storing the computer program,其中,所述处理器用于运行所述计算机程序,执行如权利要求29至35中任一所述的方法。Wherein the processor is configured to execute the computer program to perform the method of any one of claims 29 to 35.
- 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序能够被运行,以执行如权利要求29至35中任一所述的方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program can be executed to perform the method of any one of claims 29-35.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757503.7 | 2017-08-29 | ||
CN201710757503.7A CN107608593A (en) | 2017-08-29 | 2017-08-29 | Page turning method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019042249A1 true WO2019042249A1 (en) | 2019-03-07 |
Family
ID=61056514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/102497 WO2019042249A1 (en) | 2017-08-29 | 2018-08-27 | Page-turning method and apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107608593A (en) |
WO (1) | WO2019042249A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608593A (en) * | 2017-08-29 | 2018-01-19 | 中国移动通信集团公司 | Page turning method, device and storage medium |
CN112783412A (en) * | 2019-11-04 | 2021-05-11 | 阿里巴巴集团控股有限公司 | Page control method, page control device, electronic book reader and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130229358A1 (en) * | 2012-03-02 | 2013-09-05 | International Business Machines Corporation | Time-based contextualizing of multiple pages for electronic book reader |
CN103365574A (en) * | 2012-03-27 | 2013-10-23 | 百度在线网络技术(北京)有限公司 | Method and equipment for executing page turning operation |
CN106896975A (en) * | 2015-12-18 | 2017-06-27 | 北京搜狗科技发展有限公司 | A kind of input method and device, a kind of device for being input into |
CN107608593A (en) * | 2017-08-29 | 2018-01-19 | 中国移动通信集团公司 | Page turning method, device and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853439B (en) * | 2012-11-29 | 2017-11-07 | 北大方正集团有限公司 | terminal and page turning method |
CN104093076B (en) * | 2013-06-19 | 2018-04-10 | 腾讯科技(深圳)有限公司 | Page turning method, device and terminal |
CN105320458A (en) * | 2015-12-01 | 2016-02-10 | 成都龙渊网络科技有限公司 | Method and device for executing user operations on touch terminal |
CN106775275A (en) * | 2016-11-04 | 2017-05-31 | 咪咕数字传媒有限公司 | A kind of page guided reading method and device |
-
2017
- 2017-08-29 CN CN201710757503.7A patent/CN107608593A/en active Pending
-
2018
- 2018-08-27 WO PCT/CN2018/102497 patent/WO2019042249A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130229358A1 (en) * | 2012-03-02 | 2013-09-05 | International Business Machines Corporation | Time-based contextualizing of multiple pages for electronic book reader |
CN103365574A (en) * | 2012-03-27 | 2013-10-23 | 百度在线网络技术(北京)有限公司 | Method and equipment for executing page turning operation |
CN106896975A (en) * | 2015-12-18 | 2017-06-27 | 北京搜狗科技发展有限公司 | A kind of input method and device, a kind of device for being input into |
CN107608593A (en) * | 2017-08-29 | 2018-01-19 | 中国移动通信集团公司 | Page turning method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107608593A (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018098912A1 (en) | Recording and playing method for screen video, and screen recording terminal and playing terminal | |
WO2019015582A1 (en) | Information notification method and mobile terminal | |
CN108874336B (en) | Information processing method and electronic equipment | |
US12033532B2 (en) | Interactive method and electronic device | |
WO2017032079A1 (en) | Information browsing method and mobile terminal | |
WO2017032078A1 (en) | Interface control method and mobile terminal | |
WO2019007409A1 (en) | Display method, device, smart terminal and computer readable storage medium | |
CN108389159A (en) | A kind of distortion correction method and terminal | |
CN109167934B (en) | Video processing method and device and computer readable storage medium | |
WO2019042249A1 (en) | Page-turning method and apparatus, and storage medium | |
WO2016112791A1 (en) | Method and device for displaying interface of application program on mobile terminal | |
WO2016173307A1 (en) | Message copying method and device, and smart terminal | |
CN109358927B (en) | Application program display method and device and terminal equipment | |
WO2024104113A1 (en) | Screen capture method, screen capture apparatus, electronic device, and readable storage medium | |
WO2024061285A1 (en) | Video playback method and device | |
WO2018228062A1 (en) | Application interface display method under split-screen display state and mobile terminal | |
CN112835544A (en) | Display method, display device, electronic device, and storage medium | |
CN108052578B (en) | Method and apparatus for information processing | |
WO2016078528A1 (en) | Method and device for displaying object information | |
CN110798521A (en) | File sharing method and device, electronic equipment and storage medium | |
CN106919397B (en) | A kind of method and mobile terminal of interface display | |
US20100094815A1 (en) | Method and apparatus for performing type-aware change tracking in a document | |
CN107643914A (en) | A kind of page turning method, device and storage medium | |
CN111599449B (en) | Automatic playing method, device and equipment of electronic image and storage medium | |
CN110879738B (en) | Operation step display method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18851270 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18851270 Country of ref document: EP Kind code of ref document: A1 |