CN111459281B - Haptic feedback method, electronic device, and storage medium - Google Patents

Haptic feedback method, electronic device, and storage medium Download PDF

Info

Publication number
CN111459281B
CN111459281B CN202010260817.8A CN202010260817A CN111459281B CN 111459281 B CN111459281 B CN 111459281B CN 202010260817 A CN202010260817 A CN 202010260817A CN 111459281 B CN111459281 B CN 111459281B
Authority
CN
China
Prior art keywords
area
target
sub
input
target area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010260817.8A
Other languages
Chinese (zh)
Other versions
CN111459281A (en
Inventor
黎政君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010260817.8A priority Critical patent/CN111459281B/en
Publication of CN111459281A publication Critical patent/CN111459281A/en
Application granted granted Critical
Publication of CN111459281B publication Critical patent/CN111459281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The embodiment of the invention discloses a tactile feedback method, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a first input of a user aiming at a target area under the condition that the user reads the electronic book; and responding to the first input, acquiring the target page number N corresponding to the target region, wherein N is an integer larger than 0, dividing the target region into N sub-regions and controlling the N sub-regions to release first current, wherein the current value of the central region of each sub-region is larger than that of the edge region of each sub-region. According to the embodiment of the invention, when the first input aiming at the target area is received, the target page number N corresponding to the target area is obtained, the first current is controlled to be released on the N sub-areas of the target area, the current value of the central area of each area is larger than that of the edge area of the corresponding sub-area, and the raised touch feeling is simulated, so that the thickness touch feeling of the page edge and the real book is simulated, and the user experience is improved.

Description

Haptic feedback method, electronic device, and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a tactile feedback method, electronic equipment and a storage medium.
Background
With the development of electronic technology and information technology, people have been unable to leave electronic devices for life, study and work, such as reading electronic books on electronic devices. At present, the electronic equipment only enables a user to simulate the experience of a real book from two aspects of hearing and vision, but cannot experience the experience of simulating the real book from the sense of touch, and the user experience is reduced.
Disclosure of Invention
The embodiment of the invention provides a touch feedback method, electronic equipment and a storage medium, which can enable a user to simulate real book experience from touch and improve user experience.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a haptic feedback method, applied to an electronic device, where the method includes:
receiving a first input of a user aiming at a target area under the condition that the user reads the electronic book;
and responding to the first input, acquiring a target page number N corresponding to the target region, wherein N is an integer greater than 0, dividing the target region into N sub-regions and controlling the N sub-regions to release a first current, wherein the current value of the central region of each sub-region is greater than that of the edge region of each sub-region.
In a second aspect, an embodiment of the present invention provides an electronic device with haptic feedback, including:
the receiving module is used for receiving a first input of a user aiming at the target area under the condition that the user reads the electronic book;
and the processing module is used for responding to the first input, acquiring the target page number N corresponding to the target area, wherein N is an integer larger than 0, dividing the target area into N sub-areas and controlling the N sub-areas to release first current, and the current value of the central area of each sub-area is larger than that of the edge area of each sub-area.
In a third aspect, embodiments of the present invention provide an electronic device, which includes a processor, a memory, and instructions stored on the memory, where the processor is configured to read and execute the instructions in the memory to implement the haptic feedback method of the first aspect.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the haptic feedback method of the first aspect.
According to the haptic feedback method, the electronic device and the storage medium provided by the embodiment of the invention, under the condition that a user reads an electronic book, the electronic device receives a first input of the user for a target region, responds to the first input, obtains the target page number N corresponding to the target region, and controls to release first current on N sub-regions of the target region, and the current value of the center of each sub-region is larger than that of the edge region of each sub-region, so that the raised touch sense is simulated, the thickness of a real book is simulated, the experience of simulating the real book in the sense of touch is realized, and the user experience is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
FIG. 1 is a schematic flow chart of a method for haptic feedback according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a display interface of an electronic device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a thickness simulation of a real book according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of N sub-regions releasing current according to an embodiment of the present invention;
FIG. 5 is a schematic view of a page turning apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another electronic device provided in an embodiment of the invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
With the development of information technology, people's lives are increasingly kept away from electronic products, for example, people often use electronic equipment to read electronic books, but existing display screens are smooth, only page turning experience of simulating real books from the two aspects of hearing and vision can be provided, and touch experience the same as that of real books cannot be provided.
To solve the problem, embodiments of the present invention provide a touch screen-based haptic feedback method, an electronic device, and a storage medium. The touch screen is a novel screen, and can simulate different touch by the electrostatic attraction generated when a user touches the display screen with a finger, thereby bringing more accurate touch feedback to the user.
According to the embodiment of the invention, the touch screen is utilized, under the condition that a user reads an electronic book, the target page number N corresponding to the target area is obtained based on the first input obtained in the target area, the first current is controlled to be released in each sub-area of the N target area, the current value of the central area of each sub-area is larger than that of the edge area of each sub-area, the convex feeling is simulated, the thickness of a real book is simulated, the touch experience of page turning is simulated, and the user experience is improved.
The following describes aspects of embodiments of the present invention with reference to the drawings. The described embodiments are only some, but not all embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In the embodiment of the present invention, "first" and "second" are used only for distinguishing information, and the information itself is not limited.
Fig. 1 is a schematic flow chart of a haptic feedback method according to an embodiment of the present invention. As shown in fig. 1, the method is applied to an electronic device, and the method may include the following steps:
s110, receiving a first input of the user aiming at the target area under the condition that the user reads the electronic book.
When a user reads an electronic book on an electronic device, the electronic device may receive a first input of the user at a target area of the electronic device.
In one embodiment, the target area may be a specific area on a display screen of the electronic device.
Optionally, in an embodiment, when the electronic book is turned over by the user, only the page of the nth page being read is displayed on the display interface of the electronic device, and the target area is a specific area set on the area, and the target area may be set according to the requirement of the user.
Optionally, in an embodiment, the electronic book, which is turned by the user and displayed on the display interface of the electronic device, may be divided into two regions, a first region and a second region, as shown in fig. 2, wherein the first region may be regarded as a page of the nth page, and the second region may be regarded as a page of the (N + 1) th page. The target area is a front half area and a rear half area as shown in fig. 3, and the front half area can be understood as a page before the nth page, such as an area occupied by a page edge of the front cover, page 1, page 2, page … …, and the nth page of the electronic book; the latter half area is understood as the area occupied by the page edges of the (N + 1) th page, the (N + 2) th page, … … and the M (M) th page, and the whole electronic book is M pages. Fig. 2 is a schematic diagram of a display interface of an electronic device according to an embodiment of the present invention; fig. 3 is a schematic diagram of an electronic book simulation interface according to an embodiment of the present invention.
Optionally, in one embodiment, the sum of the width K1 of the front half region and the width K2 of the back half region is equal to the width of the display interface of the electronic device of 1/2. And the width K1 of the front half region and the width K2 of the rear half region satisfy the following formulas:
K1=aN;K2=a(M-N)
wherein a is a coefficient, M is the total number of pages of the electronic book, and N is the target number of pages.
In one embodiment, the first input may be a slide input, a click input, a long press input, or the like. The first input is for a user to turn a page of the electronic book.
S120, responding to the first input, acquiring the target page number N corresponding to the target area, dividing the target area into N sub-areas, and controlling the N sub-areas to release first current, wherein the current of the central area of each sub-area is larger than the current value of the edge area of each sub-area.
Wherein N is an integer greater than zero. Under the condition that the electronic equipment acquires first input in the target area, responding to the first input, acquiring the target page number N corresponding to the target area, dividing the target area into N sub-areas, then controlling the N sub-areas to release first current, and controlling the current value of the center area of each sub-area to be larger than the current value of the edge area of each sub-area.
In one embodiment, the electronic device controls the N sub-regions to release the first current, and controls the current value of the central region of each sub-region to be larger than the current value of the edge region of each sub-region, as shown in fig. 4. In fig. 4, the horizontal axis is the width of the target region, the vertical axis is the current value of the first current, n is the width of each sub-region, and I is the magnitude of the current value of the middle region of each sub-region; in each sub-region, the magnitude of the current value is regular in several regions of each sub-region, and the current value in the edge region of each sub-region is smaller than that in the center region of the corresponding sub-region.
In other words, in fig. 4, the middle region of each sub-region is the region where the maximum value of the current, i.e. the peak, is reached, and the current gradually decreases until it is zero in the regions on both sides of the peak.
According to the embodiment of the invention, when the first input aiming at the target area is received, the target page number N corresponding to the target area is obtained, the first current is controlled to be released on the N sub-areas of the target area, the current value of the central area of each area is larger than that of the edge area of the corresponding sub-area, and the raised touch feeling is simulated, so that the thickness touch feeling of the page edge and the real book is simulated, and the user experience is improved.
Optionally, in one embodiment, the current value released by the N sub-regions is positively correlated with the target number of pages N. The positive correlation between the current values released by the N sub-regions and N refers to that the current values released by a plurality of regions in each sub-region are all related to N. In this way, the magnitude of the current values of the plurality of regions in the N sub-regions is positively correlated with N, so that the tactile experience of the user is further improved. Optionally, in one embodiment, the first input may comprise a slide input. In the case where the first input is a slide input, the method may further include:
the electronic equipment determines the sliding direction and the sliding distance of the sliding input; in the case where the sliding direction is the first direction, the widths of the N sub-regions are controlled to increase with an increase in the sliding distance, and at the same time, the current values of the N sub-regions become gradually smaller with an increase in the sliding distance.
Alternatively, in the case where the sliding direction is the second direction, the electronic device controls the widths of the N sub-regions to decrease as the sliding distance increases.
In the case shown in fig. 4, the number of waves in the target region is:
Num1=floor(K÷n1)
wherein Num1 is the number of waves; floor is rounding down; k is the width of the target area; n1 is the distance between two peaks, where n1 equals n.
When the user inputs a sliding operation in the target area, that is, when the electronic device receives a sliding operation for the target area, and when the electronic device determines that the sliding direction of the sliding input is the first direction, the widths of the N sub-areas increase with the increase of the sliding distance, in this case, compared with the case shown in fig. 4, the number of waves in the target area is:
Num2=floor(K÷n2)
wherein Num2 is the current number of waves; k is the width of the target area; n2 is the distance between two peaks at this time. At this time, since the widths of the N sub-regions increase with an increase in the sliding distance, i.e., N2> N1, Num2< Num 1. At this time, the convex tactile sensation of the target region becomes sparse, and the degree of sparseness of the convex tactile sensation gradually increases as the sliding distance increases.
Optionally, in an embodiment, in a case that the electronic device determines that the sliding direction of the sliding input is the first direction, the widths of the N sub-regions increase with an increase in the sliding distance, and meanwhile, the current values of the N sub-regions gradually decrease with an increase in the sliding distance, so that the protruding touch feeling can be further reduced, and the user experience is improved.
In the case where the electronic device determines that the sliding direction of the sliding input is the second direction, the widths of the N sub-regions decrease with increasing sliding distance, and at this time, the number of waves of the target region is:
Num3=floor(K÷n3)
wherein Num3 is the current number of waves; k is the width of the target area; n3 is the distance between two peaks at this time. At this time, since the widths of the N sub-regions decrease with increasing sliding distance, i.e., N3< N1, Num3> Num 1. The convex tactile sensation of the target area at this time becomes dense, and the degree of the dense convex tactile sensation gradually increases as the sliding distance increases.
In one embodiment, in a case where the electronic device receives a sliding input of a user for a target region, assuming that the target region is a first half region as shown in fig. 2, if the electronic device detects that the sliding direction is a first direction, the first direction is a direction drawn from the first region to a second region (as shown in fig. 1), or is a direction sliding to the right, at this time, the electronic device controls a distance between two peaks of the first half region to increase with an increase in the sliding distance, at this time, a wave number of the first half region gradually decreases with an increase in the sliding distance, and a sparseness degree of a convex touch feeling of the first half region gradually increases.
If the electronic device detects that the sliding direction is the second direction, which is the direction drawn from the second region to the first region (as shown in fig. 1), or the direction of sliding to the left, the electronic device controls the distance between two peaks of the first half region to be smaller as the sliding distance increases, the wave number of the first half region to be gradually increased as the sliding distance increases, and the density of the convex touch feeling of the first half region to be gradually increased.
In one embodiment, if the target region is the second half region as shown in fig. 2, and the electronic device detects that the sliding direction is the first direction, the first direction is the direction drawn from the first region to the second region (as shown in fig. 1), or the direction is called sliding to the right, at this time, the electronic device controls the distance between two peaks of the second half region to decrease with the increase of the sliding distance, at this time, the wave number of the second half region gradually increases with the increase of the sliding distance, and the density of the convex touch feeling of the first half region gradually increases.
If the target region is the second half region as shown in fig. 2, and the electronic device detects that the sliding direction is the second direction, which is the direction drawn from the second region to the first region (as shown in fig. 1), or the direction of sliding to the left, at this time, the electronic device controls the distance between two peaks of the second half region to increase with the increase of the sliding distance, the wave number of the second half region gradually decreases with the increase of the sliding distance, and the degree of sparseness of the convex touch feeling of the second half region gradually increases.
Optionally, in an embodiment, in a case that a current value released by the target area (the front panel area or the rear half area) is smaller than a preset value, the electronic device controls to complete page turning, and the user experience is improved by gradually reducing the current value of the target area to experience a tactile sensation of page turning from a tactile sensation.
Optionally, in an embodiment, the electronic device controls to complete the page turning when the current value released by the target area gradually decreases to zero. In the process that the current of the target area is gradually reduced to zero, the convex touch sense of the target area is gradually reduced to zero, and when the current value is reduced to zero, the target area is smooth, the process of page turning is experienced in the sense of touch, and the user experience is improved.
According to the embodiment of the invention, the distance between the N sub-regions is controlled according to the sliding distance and the sliding direction of the sliding data, and the density change of the convex touch sense is simulated, so that the effect of turning the page of the book is achieved, the experience of simulating the real book to be turned over is experienced by the user in the sense of touch, and the user experience is improved.
The scheme provided by the embodiment of the invention can be suitable for simulating the roughness of paper, and different roughness of the paper can be simulated by changing the distance between two wave crests and the magnitude of the wave crest current. The electronic equipment can control the distance between the wave crests to increase along with the increase of the sliding distance, and the current value of the wave crests is gradually reduced along with the increase of the sliding distance, so that the smoothness of the paper is simulated; on the contrary, the electronic equipment can control the distance between the wave crests to increase along with the increase of the sliding distance, the current value of the wave crests increases along with the increase of the sliding distance, and the paper is rougher along with the increase of the sliding distance to show the tactile experience that the page is difficult to turn over.
Besides, the embodiment of the invention is also suitable for simulating the tightness degree of the rope, for example, in a game, the distance between two wave crests and the magnitude of the current value are controlled through the sliding distance and the sliding direction of the sliding input, so that the tightness experience when the rope is pulled is simulated.
Optionally, in one embodiment, the first input may also be a click input. In a case where the first input is a click input, the method may further include:
the electronic equipment responds to the electronic input and controls the turning of the target page; under the condition that the edge area of the target page is overlapped with the target area, controlling the target area to release a second current; under the condition that the edge area of the target page is far away from the target area, controlling the current value released by the target area to be gradually reduced; the target page is the uppermost page of the N pages corresponding to the target area.
As shown in fig. 5, fig. 5 is a schematic diagram of page turning according to an embodiment of the present invention. In fig. 5, in the case where the electronic device receives a user's click input with respect to the target area (a position area), the electronic device controls page flipping. Assume in fig. 5 that the page is flipped from "right" to "left", in other words, the page flips first through the B-position area and then to the a-position area. In the case where the electronic device detects that the edge area of the target page coincides with the target area (a-position area), the electronic device controls the target area to discharge the second current. When the electronic equipment detects that the edge area of the target page is far away from the target area, the electronic equipment controls the current value released by the target area to be gradually reduced. Optionally, in an embodiment, in a case that the current value released by the target area is gradually decreased to be smaller than a preset threshold, the electronic device controls to complete page turning of the target page, that is, completing fast page turning of the target page by one-click input.
Optionally, in an embodiment, under the condition that the current value released by the target area is gradually reduced to zero, the electronic device controls to complete page turning of the target page, that is, the electronic device completes fast page turning of the target page by one-click input, so that the tactile experience of fast page turning of the user is improved.
Optionally, in one embodiment, the first input may also be a long press input. The electronic equipment can control the target page to turn pages under the condition that the electronic equipment receives long press input of a user aiming at the target area, when the edge area of the target page reaches the target area, the target area is controlled to release the second current, and when the electronic equipment detects that the edge area of the target page is far away from the target area, the current value released by the target area is controlled to gradually decrease by the electronic equipment. And under the condition that the current value released by the target area is gradually reduced to be smaller than a preset threshold value, the electronic equipment controls to complete page turning of the target page. And when the electronic equipment detects that the time of the long press input exceeds PT, turning the page of the next target page, wherein P is a positive integer greater than or equal to 1, and T is a preset time threshold. Namely, when the long press input time exceeds P times of T duration, the electronic equipment controls the continuous page turning P, so that the fast page turning is achieved, the touch sense of the fast page turning is simulated, and the user experience is improved.
According to the haptic feedback method provided by the embodiment of the invention, the rapid page turning and the continuous page turning are simulated through different operations, the target area is controlled to release the second current when the edge area of the target page is controlled to coincide with the target area in the rapid page turning and the continuous page turning, and the current value of the target area is controlled to be gradually reduced under the condition that the edge area of the target page is far away from the target area, so that the touch sense that the edge of paper scrapes fingers is simulated, the page turning effect of an electronic book is more real, and the experience of reading the electronic book is improved.
Fig. 1 to 5 illustrate a haptic feedback method provided by an embodiment of the present invention, and an electronic device provided by an embodiment of the present invention is described below with reference to fig. 6, 7 and 8.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device includes a receiving module 610 and a processing module 620.
A receiving module 610, configured to receive a first input of a user for a target area in a case where the user reads an electronic book;
the processing module 620 is configured to, in response to the first input, obtain a target number N of pages corresponding to the target region, where N is an integer greater than 0, divide the target region into N sub-regions, and control the N sub-regions to release the first current, where a current value of a center region of each sub-region is greater than a current value of an edge region of each sub-region.
Optionally, in one embodiment, the current value released by the N sub-regions is positively correlated with the target number of pages N.
Optionally, in one embodiment, the first input comprises a slide input; the processing module 620 is further configured to:
determining a sliding direction and a sliding distance of a sliding input;
and controlling the widths of the N sub-regions to increase with the increase of the sliding distance when the sliding direction is the first direction, wherein the current values of the N sub-regions become smaller gradually with the increase of the sliding distance.
Optionally, in one embodiment, the first input comprises a click input; the processing module 620 is further configured to:
responding to the click input, and controlling the target page to turn over;
under the condition that the edge area of the target page is overlapped with the target area, controlling the target area to release a second current;
under the condition that the edge area of the target page is far away from the target area, controlling the current value released by the target area to be gradually reduced;
the target page is the uppermost page of the N pages corresponding to the target area.
Optionally, in an embodiment, the processing module 620 is further configured to: and finishing page turning under the condition that the current value released by the target area is smaller than a preset value.
Each unit of the electronic device in fig. 6 may implement each method step executed by the electronic device shown in fig. 1, and is not described herein again for brevity.
According to the embodiment of the invention, when the first input aiming at the target area is received, the target page number N corresponding to the target area is obtained, the first current is controlled to be released on the N sub-areas of the target area, the current value of the central area of each area is larger than that of the edge area of the corresponding sub-area, and the raised touch feeling is simulated, so that the thickness touch feeling of the page edge and the real book is simulated, and the experience of a user for reading the electronic book is improved.
Meanwhile, the distance between the N sub-regions is controlled according to the sliding distance and the sliding direction of the sliding data, the density change of the convex touch sense is simulated, and the effect that the book is turned over is achieved, so that a user experiences and simulates the experience that the real book is turned over from the touch sense, and the experience of the user for reading the electronic book is further improved.
Furthermore, the embodiment of the invention simulates fast page turning and continuous page turning according to different operations of the target area, controls the target area to release the second current when the edge area of the target page is controlled to coincide with the target area in the fast page turning and continuous page turning, and controls the current value of the target area to be gradually reduced under the condition that the edge area of the target page is far away from the target area, so as to simulate the touch of the paper edge scraping fingers, thus the page turning effect of the electronic book is more real, and the experience of reading the electronic book is further improved.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic device includes a touch screen 710, a processor 720 and a memory 730, where the memory stores instructions, and the processor is configured to read and execute the instructions in the memory to implement the haptic feedback method in the embodiment shown in fig. 1 and achieve the technical effects in fig. 1 and fig. 6, and therefore, the description thereof is omitted for brevity.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 8, the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 911. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The processor 810 is configured to receive a first input of a user for a target area in a case that the user reads an electronic book;
and responding to the first input, acquiring a target page number N corresponding to the target area, wherein N is an integer greater than 0, dividing the target area into N sub-areas and controlling the N sub-areas to release first current, wherein the current value of the central area of each sub-area is greater than that of the edge area of each sub-area.
According to the embodiment of the invention, when the first input aiming at the target area is received, the target page number N corresponding to the target area is obtained, the first current is controlled to be released on the N sub-areas of the target area, the current value of the central area of each area is larger than that of the edge area of the corresponding sub-area, and the raised touch feeling is simulated, so that the thickness touch feeling of the page edge and the real book is simulated, and the experience of a user for reading the electronic book is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of still pictures or video obtained by an image capturing electronic device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch sensitive screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions, a touch detection electronics and a touch controller. The touch detection electronic equipment detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing electronics, converts it to touch point coordinates, and sends the touch point coordinates to the processor 810, receives commands from the processor 810, and executes the commands. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external electronic device to the electronic device 800. For example, the external electronic device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting an electronic device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external electronic device and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and the external electronic device.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may further include a power supply 911 (e.g., a battery) for supplying power to various components, and preferably, the power supply 911 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
The embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, and when the computer program is executed by the processor 810, the method or the step executed by the electronic device in the embodiments shown in fig. 3 and 5 is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each method or step executed by the electronic device in the embodiments shown in fig. 3 and fig. 5, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A haptic feedback method applied to an electronic device, the method comprising:
receiving a first input of a user aiming at a target area under the condition that the user reads an electronic book, wherein the target area is an area where a page edge of the electronic book is located;
responding to the first input, acquiring a target page number N corresponding to the target area, wherein N is an integer greater than 0, dividing the target area into N sub-areas and controlling the N sub-areas to release first current, wherein the current value of the central area of each sub-area is greater than that of the edge area of each sub-area;
wherein the current values released by the N sub-regions are positively correlated with the target page number N.
2. A haptic feedback method as recited in claim 1 wherein said first input comprises a slide input; the method further comprises the following steps:
determining a sliding direction and a sliding distance of the sliding input;
and controlling the widths of the N sub-regions to increase with the increase of the sliding distance when the sliding direction is a first direction, wherein the current values of the N sub-regions gradually become smaller with the increase of the sliding distance, and the first direction is a direction away from the target region.
3. A haptic feedback method as recited in claim 1 wherein said first input comprises a click input; the method further comprises the following steps:
responding to the click input, and controlling the turning of a target page;
under the condition that the edge area of the target page is overlapped with the target area, controlling the target area to release a second current;
under the condition that the edge area of the target page is far away from the target area, controlling the current value released by the target area to gradually decrease;
and the target page is the uppermost page of the N pages corresponding to the target area.
4. A haptic feedback method as recited in claim 2 or 3 further comprising:
and completing page turning under the condition that the current value released by the target area is smaller than a preset value.
5. An electronic device for haptic feedback, the electronic device comprising:
the electronic book reading device comprises a receiving module, a display module and a control module, wherein the receiving module is used for receiving first input of a user aiming at a target area under the condition that the user reads an electronic book, and the target area is an area where a page edge of the electronic book is located;
the processing module is used for responding to the first input, acquiring a target page number N corresponding to the target area, wherein N is an integer larger than 0, dividing the target area into N sub-areas and controlling the N sub-areas to release first current, and the current value of the center area of each sub-area is larger than that of the edge area of each sub-area;
wherein the current values released by the N sub-regions are positively correlated with the target page number N.
6. The electronic device of claim 5, wherein the first input comprises a slide input; the processing module is further configured to:
determining a sliding direction and a sliding distance of the sliding input;
and controlling the widths of the N sub-regions to increase with the increase of the sliding distance when the sliding direction is a first direction, wherein the current values of the N sub-regions gradually become smaller with the increase of the sliding distance, and the first direction is a direction away from the target region.
7. The electronic device of claim 5, wherein the first input comprises a click input; the processing module is further configured to:
responding to the click input, and controlling the turning of a target page;
under the condition that the edge area of the target page is overlapped with the target area, controlling the target area to release a second current;
under the condition that the edge area of the target page is far away from the target area, controlling the current value released by the target area to gradually decrease;
and the target page is the uppermost page of the N pages corresponding to the target area.
8. The electronic device of claim 6 or 7, wherein the processing module is further configured to:
and completing page turning under the condition that the current value released by the target area is smaller than a preset value.
9. An electronic device comprising a processor, a memory, and instructions stored on the memory, the processor configured to read and execute the instructions in the memory to implement the haptic feedback method of any of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements a haptic feedback method as recited in any one of claims 1 to 4.
CN202010260817.8A 2020-04-03 2020-04-03 Haptic feedback method, electronic device, and storage medium Active CN111459281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010260817.8A CN111459281B (en) 2020-04-03 2020-04-03 Haptic feedback method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010260817.8A CN111459281B (en) 2020-04-03 2020-04-03 Haptic feedback method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN111459281A CN111459281A (en) 2020-07-28
CN111459281B true CN111459281B (en) 2022-03-25

Family

ID=71683580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010260817.8A Active CN111459281B (en) 2020-04-03 2020-04-03 Haptic feedback method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN111459281B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016701A (en) * 2022-07-25 2022-09-06 北京字跳网络技术有限公司 Page turning method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907922A (en) * 2009-06-04 2010-12-08 智点科技(深圳)有限公司 Touch system
CN102609179A (en) * 2011-12-12 2012-07-25 鸿富锦精密工业(深圳)有限公司 Electronic device capable of simulating real page flip effect
CN103034430A (en) * 2011-10-05 2013-04-10 广达电脑股份有限公司 Virtual touch feedback method and electronic device thereof
CN104679433A (en) * 2015-03-10 2015-06-03 中国联合网络通信集团有限公司 Method for realizing electronic book reading and electronic book reading device
CN107765844A (en) * 2016-08-17 2018-03-06 意美森公司 Selectivity control is carried out to electric field to transmit contactless haptic effect

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150091809A1 (en) * 2013-09-27 2015-04-02 Analia Ibargoyen Skeuomorphic ebook and tablet
US10712821B2 (en) * 2015-08-19 2020-07-14 International Business Machines Corporation Tactile graphical display

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907922A (en) * 2009-06-04 2010-12-08 智点科技(深圳)有限公司 Touch system
CN103034430A (en) * 2011-10-05 2013-04-10 广达电脑股份有限公司 Virtual touch feedback method and electronic device thereof
CN102609179A (en) * 2011-12-12 2012-07-25 鸿富锦精密工业(深圳)有限公司 Electronic device capable of simulating real page flip effect
CN104679433A (en) * 2015-03-10 2015-06-03 中国联合网络通信集团有限公司 Method for realizing electronic book reading and electronic book reading device
CN107765844A (en) * 2016-08-17 2018-03-06 意美森公司 Selectivity control is carried out to electric field to transmit contactless haptic effect

Also Published As

Publication number Publication date
CN111459281A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN108469898B (en) Image processing method and flexible screen terminal
CN109558061B (en) Operation control method and terminal
CN108319390B (en) Control method of flexible screen and mobile terminal
US11604567B2 (en) Information processing method and terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN111324235A (en) Screen refreshing frequency adjusting method and electronic equipment
CN110187822B (en) Terminal and screen display control method applied to terminal
CN111562896B (en) Screen projection method and electronic equipment
CN107741814B (en) Display control method and mobile terminal
EP4016975A1 (en) Object position adjustment method, and electronic apparatus
CN110874147A (en) Display method and electronic equipment
CN110764675A (en) Control method and electronic equipment
CN108509141B (en) Control generation method and mobile terminal
US20220171521A1 (en) Icon display method and terminal
CN109782970B (en) Display method and terminal
CN110795402A (en) Method and device for displaying file list and electronic equipment
EP4137915A1 (en) Control method and electronic device
CN111459281B (en) Haptic feedback method, electronic device, and storage medium
CN108021315B (en) Control method and mobile terminal
CN111443824B (en) Touch screen control method and electronic equipment
CN110536007B (en) Interface display method, terminal and computer readable storage medium
CN110333803B (en) Multimedia object selection method and terminal equipment
CN108920090B (en) Control method of mobile terminal and mobile terminal
CN109088978B (en) Terminal and method for controlling terminal
CN108696638B (en) Control method of mobile terminal and mobile terminal

Legal Events

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