Summary of the invention
The object of the invention is to the method and apparatus proposing a kind of content of pages roll display, just can continue without the need to moveable finger, automatically scroll through pages displaying contents, facilitate user to check, simplify operating process, improve user experience.
For reaching this object, the present invention by the following technical solutions:
First aspect, provides a kind of method of content of pages roll display, comprising:
Be received in the touch screen slip signals of a segment distance that screen slides, obtain touch screen home signal and the touch screen endpoint signal of described touch screen slip signals;
Obtain the distance value between described touch screen home signal and touch screen endpoint signal, and slide into the duration needed for described touch screen endpoint signal from described touch screen home signal;
By described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.
Wherein, described content of pages, with after described content of pages roll display speed scroll display, also comprises:
Judge whether described touch screen endpoint signal frames out;
If so, then described content of pages stops roll display;
If fruit is no, then content of pages shows with described content of pages roll display speed progressive rolling movement.
Wherein, described content of pages, with after described content of pages roll display speed scroll display, also comprises:
Determine that described touch screen endpoint signal does not frame out, receive the new touch screen slip signals of the segment distance that to slide on screen;
Obtain the new touch screen home signal of described new touch screen slip signals and new touch screen endpoint signal; Obtain the new distance value between described new touch screen home signal and new touch screen endpoint signal, and slide into the new duration needed for described new touch screen endpoint signal from described new touch screen home signal; By described new distance value divided by described new duration, calculate and regulate the speed;
When described new touch screen slip signals is substantially identical with the glide direction of described touch screen slip signals, using described content of pages roll display speed and described sum of regulating the speed as the first roll display speed, content of pages is with described first roll display speed scroll display;
When the glide direction of described new touch screen slip signals and described touch screen slip signals basic contrary time, using described content of pages roll display speed and described difference of regulating the speed as the second roll display speed, content of pages is with described second roll display speed scroll display.
Wherein, described in be received in the touch screen slip signals of a segment distance that screen slides before, also comprise:
Content of pages roll display key is shown in screen, when described content of pages roll display key detects trigger pip, then starts content of pages roll display function.
Wherein, described content of pages shows with described content of pages roll display speed scroll, comprising:
Described content of pages continues automatically to upgrade display line by line with described content of pages roll display speed; Or
According to default screen size and described content of pages roll display speed, calculate the displaying time of a screen content of pages; At interval of described displaying time, last screen content of pages is automatically updated into next screen content of pages, to continue automatic rolling display page content.
Second aspect, provides a kind of device of content of pages roll display, comprising:
Obtaining signal element, for being received in the touch screen slip signals of a segment distance that screen slides, obtaining touch screen home signal and the touch screen endpoint signal of described touch screen slip signals;
Obtaining parameters unit, for obtaining the distance value between described touch screen home signal and touch screen endpoint signal, and sliding into the duration needed for described touch screen endpoint signal from described touch screen home signal;
Roll display unit, for by described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.
Wherein, the device of described content of pages roll display also comprises stop element, described stop element, for judging whether described touch screen endpoint signal frames out; If so, then described content of pages stops roll display; If fruit is no, then content of pages shows with described content of pages roll display speed progressive rolling movement.
Wherein, the device of described content of pages roll display also comprises adjustment display unit, described adjustment display unit, for:
Determine that described touch screen endpoint signal does not frame out, receive the new touch screen slip signals of the segment distance that to slide on screen;
Obtain the new touch screen home signal of described new touch screen slip signals and new touch screen endpoint signal; Obtain the new distance value between described new touch screen home signal and new touch screen endpoint signal, and slide into the new duration needed for described new touch screen endpoint signal from described new touch screen home signal; By described new distance value divided by described new duration, calculate and regulate the speed;
When described new touch screen slip signals is substantially identical with the glide direction of described touch screen slip signals, using described content of pages roll display speed and described sum of regulating the speed as the first roll display speed, content of pages is with described first roll display speed scroll display;
When the glide direction of described new touch screen slip signals and described touch screen slip signals basic contrary time, using described content of pages roll display speed and described difference of regulating the speed as the second roll display speed, content of pages is with described second roll display speed scroll display.
Wherein, the device of described content of pages roll display also comprises start unit, described start unit, for content of pages roll display key is shown in screen, when described content of pages roll display key detects trigger pip, then start content of pages roll display function.
Wherein, described roll display unit, specifically for:
Described content of pages continues automatically to upgrade display line by line with described content of pages roll display speed; Or
According to default screen size and described content of pages roll display speed, calculate the displaying time of a screen content of pages; At interval of described displaying time, last screen content of pages is automatically updated into next screen content of pages, to continue automatic rolling display page content.
Beneficial effect of the present invention is: a kind of method and apparatus of content of pages roll display, comprises and obtains signal element, acquisition parameters unit and roll display unit; Described acquisition signal element, for being received in the touch screen slip signals of a segment distance that screen slides, obtains touch screen home signal and the touch screen endpoint signal of described touch screen slip signals; Described acquisition parameters unit, for obtaining the distance value between described touch screen home signal and touch screen endpoint signal, and slides into the duration needed for described touch screen endpoint signal from described touch screen home signal; Described roll display unit, for by described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.The method and device, the sliding speed of touch screen slip signals when can obtain user operation, and keep this sliding speed automatically to upgrade content of pages, just can continue without the need to moveable finger, automatically scroll through pages displaying contents, user is facilitated to check, simplify operating process, improve user experience.
Embodiment
The technical matters solved for making the present invention, the technical scheme of employing and the technique effect that reaches are clearly, be described in further detail below in conjunction with the technical scheme of accompanying drawing to the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is the method flow diagram of method first embodiment of content of pages roll display provided by the invention.The method of the content of pages roll display that the embodiment of the present invention provides, can be applicable to various intelligent terminal, such as panel computer, notebook computer, PC, smart mobile phone and Wearable wrist-watch etc.
The method of this content of pages roll display, comprising:
Step S101, be received in the touch screen slip signals of a segment distance that screen slides, obtain touch screen home signal and the touch screen endpoint signal of described touch screen slip signals.
The acquisition of described touch screen home signal and touch screen endpoint signal, the sliding trace mainly by recording this touch screen slip signals obtains.
Step S102, obtain distance value between described touch screen home signal and touch screen endpoint signal, and slide into the duration needed for described touch screen endpoint signal from described touch screen home signal.
Preferably, this distance value is the air line distance value between described touch screen home signal and touch screen endpoint signal, but not the sliding trace length of this touch screen slip signals.
Preferably, screen can highlight one section of straight line, to guide operating personnel to do touch screen slide along this straight line, to send touch screen slip signals.The starting point of this straight line preferably drops on the left side bearing of screen, and terminal preferably drops on the right side bearing of screen.
Duration obtains by starting the direct timing of timer, also can obtain by calculating the difference of described touch screen slip signals start time and end time.
Step S103, by described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.
Content of pages roll display speed=distance value/duration.
Progressive updating display that the mode of described content of pages roll display comprises the display of content of pages line scrolling, the whole screen page turning of content of pages shows or content of pages paragraphs.
To sum up, the method of the content of pages roll display that the embodiment of the present invention provides, the sliding speed of touch screen slip signals when can obtain user operation, and keep this sliding speed automatically to upgrade content of pages, just can continue without the need to moveable finger, automatically scroll through pages displaying contents, facilitate user to check, simplify operating process, improve user experience.
Please refer to Fig. 2, it is the method flow diagram of method second embodiment of content of pages roll display provided by the invention.The key distinction of method first embodiment of the present embodiment and content of pages roll display is to add the concrete steps starting content of pages roll display function, stop content of pages roll display function and content of pages roll display mode.
The method of this content of pages roll display, comprising:
Step S201, content of pages roll display key is shown in screen, when described content of pages roll display key detects trigger pip, then starts content of pages roll display function.
Preferably, after downloading and installing the client realizing content of pages roll display function, click described client icon, content of pages roll display function can be started.
Step S202, be received in the touch screen slip signals of a segment distance that screen slides, obtain touch screen home signal and the touch screen endpoint signal of described touch screen slip signals.
Step S203, obtain distance value between described touch screen home signal and touch screen endpoint signal, and slide into the duration needed for described touch screen endpoint signal from described touch screen home signal.
Step S204, by described distance value divided by described duration, calculate content of pages roll display speed,
Described content of pages continues automatically to upgrade display line by line with described content of pages roll display speed; Or
According to default screen size and described content of pages roll display speed, calculate the displaying time of a screen content of pages; At interval of described displaying time, last screen content of pages is automatically updated into next screen content of pages, to continue automatic rolling display page content.
Step S205, judge whether described touch screen endpoint signal frames out;
If so, then described content of pages stops roll display;
If fruit is no, then content of pages shows with described content of pages roll display speed progressive rolling movement.
Be presented above the mode of two kinds of different content of pages progressive rolling movement displays, check custom with the person that adapts to different operating.Certainly, other the mode continuing automatic rolling display page content with described content of pages roll display speed can also be selected.
To sum up, the method for the content of pages roll display that the embodiment of the present invention provides, just can realize continuing without the need to moveable finger, the object of automatically scroll through pages displaying contents, and the mode of scroll through pages displaying contents is various, and user experience is high.
Please refer to Fig. 3, it is the method flow diagram of method the 3rd embodiment of content of pages roll display provided by the invention.The key distinction of method second embodiment of the present embodiment and content of pages roll display is to add the concrete steps adjusting content of pages roll display speed.
The method of this content of pages roll display, comprising:
Step S301, be received in the touch screen slip signals of a segment distance that screen slides, obtain touch screen home signal and the touch screen endpoint signal of described touch screen slip signals.
Step S302, obtain distance value between described touch screen home signal and touch screen endpoint signal, and slide into the duration needed for described touch screen endpoint signal from described touch screen home signal.
Step S303, by described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.
Step S304, determine that described touch screen endpoint signal does not frame out, receive the new touch screen slip signals of the segment distance that to slide on screen;
Obtain the new touch screen home signal of described new touch screen slip signals and new touch screen endpoint signal; Obtain the new distance value between described new touch screen home signal and new touch screen endpoint signal, and slide into the new duration needed for described new touch screen endpoint signal from described new touch screen home signal; By described new distance value divided by described new duration, calculate and regulate the speed;
When described new touch screen slip signals is substantially identical with the glide direction of described touch screen slip signals, using described content of pages roll display speed and described sum of regulating the speed as the first roll display speed, content of pages is with described first roll display speed scroll display;
When the glide direction of described new touch screen slip signals and described touch screen slip signals basic contrary time, using described content of pages roll display speed and described difference of regulating the speed as the second roll display speed, content of pages is with described second roll display speed scroll display.
Preferably, described new touch screen slip signals is all substantially mutually with the glide direction of described touch screen slip signals, and the angle of the sliding trace of described new touch screen slip signals and described touch screen slip signals is less than or equal to 30 degree.
The glide direction of described new touch screen slip signals and described touch screen slip signals is substantially on the contrary, and the angle of the sliding trace of described new touch screen slip signals and described touch screen slip signals is more than or equal to 60 degree.
Be presented above the content of pages roll display speed determined when the touch screen slip signals sent according to operator when not meeting the reading habit of operator, the optimal way that can regulate the speed further.Certainly, based on technical background of the present invention, those skilled in the art can also adopt other adjustment mode, as the mode such as acoustic control, gravity sensing, do not repeat herein.
To sum up, the method for the content of pages roll display that the embodiment of the present invention provides, just can realize continuing without the need to moveable finger, the object of automatically scroll through pages displaying contents, and provides the mode of speed adjustment, and adapt to the operating habit of people, user experience is good.
The embodiment of the device of the content of pages roll display provided for the embodiment of the present invention below.The embodiment of the device of content of pages roll display and the embodiment of the method for above-mentioned content of pages roll display belong to same design, the detail content of not detailed description in the embodiment of the device of content of pages roll display, can with reference to the embodiment of the method for above-mentioned content of pages roll display.
Please refer to Fig. 4, it is the block diagram of device first embodiment of content of pages roll display provided by the invention.The device of the content of pages roll display that the embodiment of the present invention provides, comprises various intelligent terminal, as panel computer, notebook computer, PC, smart mobile phone and Wearable wrist-watch etc.
The device of this content of pages roll display, comprising:
Obtaining signal element 10, for being received in the touch screen slip signals of a segment distance that screen slides, obtaining touch screen home signal and the touch screen endpoint signal of described touch screen slip signals;
Obtaining parameters unit 20, for obtaining the distance value between described touch screen home signal and touch screen endpoint signal, and sliding into the duration needed for described touch screen endpoint signal from described touch screen home signal;
Roll display unit 30, for by described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.
To sum up, the device of the content of pages roll display that the embodiment of the present invention provides, the sliding speed of touch screen slip signals when can obtain user operation, and keep this sliding speed automatically to upgrade content of pages, just can continue without the need to moveable finger, automatically scroll through pages displaying contents, facilitate user to check, simplify operating process, improve user experience.
Please refer to Fig. 5, it is the block diagram of device second embodiment of content of pages roll display provided by the invention.The key distinction of device first embodiment of the present embodiment and content of pages roll display is to add stop element 40, adjust display unit 50 and start unit 60.
The device of this content of pages roll display, comprising:
Obtaining signal element 10, for being received in the touch screen slip signals of a segment distance that screen slides, obtaining touch screen home signal and the touch screen endpoint signal of described touch screen slip signals;
Obtaining parameters unit 20, for obtaining the distance value between described touch screen home signal and touch screen endpoint signal, and sliding into the duration needed for described touch screen endpoint signal from described touch screen home signal;
Roll display unit 30, for by described distance value divided by described duration, calculate content of pages roll display speed, content of pages shows with described content of pages roll display speed scroll.
Wherein, the device of described content of pages roll display also comprises stop element 40, described stop element 40, for judging whether described touch screen endpoint signal frames out; If so, then described content of pages stops roll display; If fruit is no, then content of pages shows with described content of pages roll display speed progressive rolling movement.
Wherein, the device of described content of pages roll display also comprises adjustment display unit 50, described adjustment display unit 50, for:
Determine that described touch screen endpoint signal does not frame out, receive the new touch screen slip signals of the segment distance that to slide on screen;
Obtain the new touch screen home signal of described new touch screen slip signals and new touch screen endpoint signal; Obtain the new distance value between described new touch screen home signal and new touch screen endpoint signal, and slide into the new duration needed for described new touch screen endpoint signal from described new touch screen home signal; By described new distance value divided by described new duration, calculate and regulate the speed;
When described new touch screen slip signals is substantially identical with the glide direction of described touch screen slip signals, using described content of pages roll display speed and described sum of regulating the speed as the first roll display speed, content of pages is with described first roll display speed scroll display;
When the glide direction of described new touch screen slip signals and described touch screen slip signals basic contrary time, using described content of pages roll display speed and described difference of regulating the speed as the second roll display speed, content of pages is with described second roll display speed scroll display.
Wherein, the device of described content of pages roll display also comprises start unit 60, described start unit 60, for content of pages roll display key is shown in screen, when described content of pages roll display key detects trigger pip, then start content of pages roll display function.
Wherein, described roll display unit, specifically for:
Described content of pages continues automatically to upgrade display line by line with described content of pages roll display speed; Or
According to default screen size and described content of pages roll display speed, calculate the displaying time of a screen content of pages; At interval of described displaying time, last screen content of pages is automatically updated into next screen content of pages, to continue automatic rolling display page content.
To sum up, the device of the content of pages roll display that the embodiment of the present invention provides, just can realize continuing without the need to moveable finger, the object of automatically scroll through pages displaying contents, the mode of scroll through pages displaying contents is various, and provide the mode of speed adjustment, adapt to the operating habit of people, user experience is high.
A method and apparatus for content of pages roll display, just can continue without the need to moveable finger, automatically scroll through pages displaying contents, facilitates user to check, simplifies operating process, improve user experience.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise storer, disk or CD etc.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.