[go: up one dir, main page]

CN104951179A - Method and device for refreshing page - Google Patents

Method and device for refreshing page Download PDF

Info

Publication number
CN104951179A
CN104951179A CN201410120612.4A CN201410120612A CN104951179A CN 104951179 A CN104951179 A CN 104951179A CN 201410120612 A CN201410120612 A CN 201410120612A CN 104951179 A CN104951179 A CN 104951179A
Authority
CN
China
Prior art keywords
page
edge
display
exhibition information
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410120612.4A
Other languages
Chinese (zh)
Inventor
季明辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410120612.4A priority Critical patent/CN104951179A/en
Publication of CN104951179A publication Critical patent/CN104951179A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and device for refreshing a page, and belongs to the technical field of computers. The method comprises the steps that a touch signal on a screen is detected, and the current page is dragged through the touch signal; in the process that the touch signal drags the current page, preset show information is displayed in the area vacated between the edge of the page and the edge of a content window; when the touch signal disappears, if the page shifts relative to the initial position, the page is refreshed, and otherwise the content of the page is kept unchanged. Through the method and device, waste of network resources can be reduced.

Description

A kind of method and apparatus page being carried out to refresh process
Technical field
The present invention relates to field of computer technology, particularly a kind of method and apparatus page being carried out to refresh process.
Background technology
Along with the fast development of terminal technology, the terminal device such as mobile phone, panel computer obtains universal and application widely, for the kind of the application program of terminal device exploitation is more and more abundanter, quantity is more and more huger.The function of page furbishing is all provided with in a lot of application program.Page furbishing obtains the content in current page and upgrades, such as, and the messaging list in the updating message page.
Generally, the process that triggering page refreshes is: the page is drop-down from apical position, the page moves down, the coboundary of the page moves down and is separated with the coboundary of properties window, region between page coboundary and properties window coboundary can also show the animation that water droplet stretches, if drop-down distance exceedes predetermined threshold value, then trigger the refresh process to the page.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In the process using application program; user often arbitrarily can drag the page with finger; or drag the page by mistake; at this moment likely trigger and refresh process is carried out to the page; and reality now user do not want to refresh the page; this will cause unnecessary network resource consumption, cause network resources waste.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and apparatus page being carried out to refresh process, to reduce the waste of Internet resources.Described technical scheme is as follows:
On the one hand, provide a kind of method of the page being carried out to refresh process, described method comprises:
The touching signal on screen detected, and described touching signal drags to the current page;
In the process that described touching signal drags the current page, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset;
When described touching blackout, if the described page exists displacement relative to initial position, then refresh process is carried out to the described page, otherwise, keep the content of the described page constant.
On the other hand, provide a kind of device page being carried out to refresh process, described device comprises:
Detection module, for the touching signal on screen being detected, and described touching signal drags the current page;
Display module, in the process that drags the current page at described touching signal, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset;
Refresh module, for when described touching blackout, if the described page exists displacement relative to initial position, then carries out refresh process to the described page, otherwise, keep the content of the described page constant.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, the touching signal on screen detected, and this touching signal drags to the current page, when this touching blackout, if this page exists displacement relative to initial position, then refresh process is carried out to this page, otherwise, keep the content of this page constant.Like this, after user drags the page, only the refresh process of just likely triggering page when unclamping finger, if user drags the page unintentionally, can unclamp finger again by after page pushed home, just can stop execution refresh process.Thus, the waste of Internet resources can be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram page being carried out to refresh process that the embodiment of the present invention provides;
Fig. 2 is the terminal screen display schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the apparatus structure schematic diagram page being carried out to refresh process that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the terminal that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method of the page being carried out to refresh process, as shown in Figure 1, the treatment scheme of the method can comprise following step:
Step 101, detects the touching signal on screen, and this touching signal drags the current page.
Step 102, in the process that touching signal drags the current page, in the region vacated between the edge and the edge of properties window of the page, the exhibition information that display is preset.
Step 103, when touching blackout, if the page exists displacement relative to initial position, then carries out refresh process to this page, otherwise, keep the content of this page constant.
In the embodiment of the present invention, the touching signal on screen detected, and this touching signal drags to the current page, when this touching blackout, if this page exists displacement relative to initial position, then refresh process is carried out to this page, otherwise, keep the content of this page constant.Like this, after user drags the page, only the refresh process of just likely triggering page when unclamping finger, if user drags the page unintentionally, can unclamp finger again by after page pushed home, just can stop execution refresh process.Thus, the waste of Internet resources can be reduced.
Embodiment two
Embodiments provide a kind of method of the page being carried out to refresh process, the executive agent of the method can be terminal device, is preferably the mobile terminal such as mobile phone, panel computer.Be the detailed description that mobile terminal carries out scheme for executive agent in the present embodiment, the situation of other terminal device is similar with it, is not repeated herein.
Below in conjunction with concrete processing mode, be described in detail to the treatment scheme shown in Fig. 1, content can be as follows:
Step 101, detects the touching signal on screen, and this touching signal drags the current page.
Wherein, touch signal be the screen of terminal touched time the pressure sensitive signal that produces.The page can be the page of display in properties window in Application Program Interface, as message page, the multidate information page etc., this page can be the page that content needs to obtain from network side, can obtain up-to-date content add to the page by refresh process from network side.Properties window is the region showing body matter in screen, is to be positioned at the viewing area middle with toolbar (or screen lower limb), system state hurdle (or navigation bar).The direction wherein dragged can be any, and as downwards, to the right etc., carry out illustrating of scheme for drag down in the embodiment of the present invention, other drawing direction is similar with it, is not repeated at this.
In force, when user does not operate the page, the page of current display is positioned at apical position, and namely the page is in not by the state of drag down, can think that the coboundary of the page overlaps with the coboundary of properties window.When user wants to refresh the page, the region of this page in screen can be pressed, i.e. the region of properties window, and slide downward finger.At this moment, terminal can detect the touching signal that screen produces, the position of this touching signal is in the Page Range of current display, and detect that the position of this touching signal moves down, if now the content of this page is not rolled to top line information, the content that then terminal can control the page scrolls up, if the content of the page is rolled to top line information, then terminal can control this page moving and move down with touching signal.
Step 102, in the process that touching signal drags the current page, in the region vacated between the edge and the edge of properties window of the page, the exhibition information that display is preset.
Wherein, exhibition information can be any information pre-set, and can be word, symbol, icon etc., such as, " micro-look " printed words in Fig. 2.For the situation of the drop-down page, the region vacated between the edge of the page and the edge of properties window, is the region between the coboundary of the page and the coboundary of properties window.
In force, in properties window, can arrange exhibiting pictures, arrange exhibition information in the predetermined position on exhibiting pictures top in the lower floor of the page, this exhibiting pictures can pass through definition view(view control) realize.In the process of the page by drag down, with the moving down of coboundary of the page, the exhibition information on exhibiting pictures can be exposed gradually.Like this, can screen display resource be made full use of, show more information, improve the information acquisition efficiency of user.
Preferably, different exhibition information can be shown in the different phase dragging the page, the corresponding exhibition information preset can comprise the first exhibition information and the second exhibition information, the process of step 102 can comprise following process: when touching signal and starting to drag the current page, in the region vacated between the edge and the edge of properties window of the page, show the first exhibition information; When the distance of page displacement reaches the first default distance threshold, in the region vacated between the edge and the edge of properties window of the page, show described second exhibition information.
Like this, for displacement for bottom offset, when user starts the drag down page, then show the first exhibition information, this first exhibition information can be the exhibition information that size is less, when user continue the drag down page reach the first distance threshold time, then can show the second exhibition information, this second exhibition information can be larger-size exhibition information.
Step 103, when touching blackout, if this page exists displacement relative to initial position, then carries out refresh process to this page, otherwise, keep the content of this page constant.
Wherein, the direction of displacement is corresponding with the direction of dragging, can be any direction, as downwards, to the right etc.Position when initial position and the page are not subjected to displacement, when the page is in initial position, each edge of the page overlaps with the respective edges of properties window respectively.For the situation of page drag down, this initial position can be above-mentioned apical position.
In force, for displacement for bottom offset, after user's drag down page, if determine to refresh this page, then finger can be frameed out, at this moment terminal will detect touching blackout, can determine the position of the page further, if now the position of the page is lower than apical position, then start to carry out refresh process to this page.The position of the page can be determined by detecting contentOffset.y value, the contentOffset.y value that apical position is corresponding is 0, the page is less than 0 to contentOffset.y value during bottom offset, and further, contentOffset value also can reflect the distance of page displacement.If user's reality is not want to refresh the current page, or the action of slide downward finger is maloperation, at this moment upward sliding will can be pointed, after the page being entrained back into original position (i.e. apical position), again finger is frameed out, now terminal detects touching blackout, the position of the page can be determined further, if now the position of the page is not less than apical position, namely contentOffset.y value is not less than 0, then refresh process is not carried out to this page, keep the content of this page constant.In the process that touching signal exists, no matter the page is how many to the distance of bottom offset, does not carry out refresh process, keep the content of this page constant to this page.
Preferably, the possibility occurred to prevent maloperation further, step 103 specifically can perform in the following manner:
When touching blackout, if this page exists displacement relative to initial position, and the distance of displacement reaches default the first distance threshold (as 10 millimeters), then carry out refresh process to this page, otherwise, keep the content of this page constant.
In force, for displacement for bottom offset, when user's finger frames out, terminal detects touching blackout, if now the page is more than or equal to the first default distance threshold to the distance of bottom offset, then carries out refresh process to this page, if now the page is less than the first distance threshold to the distance of bottom offset, or the page not to bottom offset (namely the page is towed back to apical position by user), does not then carry out refresh process to this page, keeps the content of this page constant.
In the embodiment of the present invention, can also in the process dragging the page, show a Rotating icon, clearly to react the situation of page displacement, corresponding processing procedure can be as follows: in the process that touching signal drags the current page, display Rotating icon, the anglec of rotation of Rotating icon and the distance of displacement have linear relationship.
Wherein, the profile of Rotating icon can be arranged according to the actual requirements, such as, and the circular icon in Fig. 2, or also can adopt chrysanthemum icon etc.This Rotating icon also can realize by defining a view.
In force, for displacement for bottom offset, the page is often to bottom offset unit distance, and Rotating icon then rotates corresponding angle, and such as, the contentOffset.y value that can arrange the page often reduces 1, and Rotating icon then rotates 1 °.The sense of rotation of Rotating icon and the relation in page movement direction can pre-set, and such as, can arrange the page and be rotated counterclockwise to Rotating icon during bottom offset, the page turns clockwise to Rotating icon during top offset.In addition, can also arrange mark Rotating icon is other, this mark is used to indicate the page and reaches the first distance threshold to the distance of bottom offset, and when namely Rotating icon rotates to this mark, the corresponding page reaches the first distance threshold to the distance of bottom offset.
Preferably, this Rotating icon can also be used for the carrying out of reflecting refresh process, and corresponding process can be as follows: carrying out in the process of refresh process to this page, controls Rotating icon and rotates by the angular velocity preset; At the end of refresh process, cancel the display of Rotating icon.
In force, when refresh process starts, Rotating icon then starts at the uniform velocity to rotate, and in the process of refresh process, Rotating icon will continue to rotate.In the process of refresh process, terminal can obtain up-to-date content of pages to server request, when the content of pages transmitting terminal that server will upgrade, and during the content of pages of this renewal of terminal demonstration, can determine that refresh process terminates, or, when the failure of requests for page content, can determine that refresh process terminates.At this moment, the display of Rotating icon can be cancelled.
The treatment mechanism that foregoing present the rotation of control Rotating icon of the embodiment of the present invention, below give the treatment mechanism controlling Rotating icon displacement, corresponding processing procedure can be as follows: in the process that touching signal drags the current page, display Rotating icon, when the distance of displacement is less than default second distance threshold value, control Rotating icon with page movement, when the distance of displacement is more than or equal to default second distance threshold value, controls Rotating icon and stop mobile.
Wherein, second distance threshold value and the first distance threshold can be identical numerical value, also can be different numerical value.
In force, for displacement for bottom offset, when the page is by drag down, terminal then can start to show Rotating icon, now Rotating icon can be created on the top of the page, and mobile with the movement of the page, and namely Rotating icon and the page keep geo-stationary, when the page reaches default second distance threshold value to upper/lower positions, Rotating icon then stops with page movement.Preferably, can arrange suitable second distance threshold value, the display position of the position that Rotating icon is stopped and above-mentioned exhibition information in the same horizontal line.
In the embodiment of the present invention, the touching signal on screen detected, and this touching signal drags to the current page, when this touching blackout, if this page exists displacement relative to initial position, then refresh process is carried out to this page, otherwise, keep the content of this page constant.Like this, after user drags the page, only the refresh process of just likely triggering page when unclamping finger, if user drags the page unintentionally, can unclamp finger again by after page pushed home, just can stop execution refresh process.Thus, the waste of Internet resources can be reduced.
Embodiment three
Based on identical technical conceive, the embodiment of the present invention additionally provides a kind of device page being carried out to refresh process, and as shown in Figure 3, described device comprises:
Detection module 310, for the touching signal on screen being detected, and described touching signal drags the current page;
Display module 320, in the process that drags the current page at described touching signal, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset;
Refresh module 330, for when described touching blackout, if the described page exists displacement relative to initial position, then carries out refresh process to the described page, otherwise, keep the content of the described page constant.
Preferably, described refresh module 330, for:
When described touching blackout, if the described page exists displacement relative to initial position, and the distance of described displacement reaches the first default distance threshold, then carry out refresh process to the described page, otherwise, keep the content of the described page constant.
Preferably, described default exhibition information, comprising: the first exhibition information and the second exhibition information;
Described display module 320, for:
When described touching signal starts to drag the current page, in the region vacated between the edge and the edge of properties window of the described page, show described first exhibition information;
When the distance of described page displacement reaches the first default distance threshold, in the region vacated between the edge and the edge of properties window of the described page, show described second exhibition information.
Preferably, described display module 320, also for:
In the process that described touching signal drags the current page, display Rotating icon, the anglec of rotation of described Rotating icon and the distance of described displacement have linear relationship.
Preferably, described display module 320, also for:
The described page is being carried out in the process of refresh process, controlling described Rotating icon and rotate by the angular velocity preset;
At the end of described refresh process, cancel the display of described Rotating icon.
Preferably, described display module 320, for:
In the process that described touching signal drags the current page, display Rotating icon, when the distance of described displacement is less than default second distance threshold value, control described Rotating icon with described page movement, when the distance of described displacement is more than or equal to default second distance threshold value, controls described Rotating icon and stop mobile.
In the embodiment of the present invention, the touching signal on screen detected, and this touching signal drags to the current page, when this touching blackout, if this page exists displacement relative to initial position, then refresh process is carried out to this page, otherwise, keep the content of this page constant.Like this, after user drags the page, only the refresh process of just likely triggering page when unclamping finger, if user drags the page unintentionally, can unclamp finger again by after page pushed home, just can stop execution refresh process.Thus, the waste of Internet resources can be reduced.
Embodiment four
Please refer to Fig. 4, it illustrates the terminal structure schematic diagram with Touch sensitive surface involved by the embodiment of the present invention, this terminal may be used for the method for the page being carried out to refresh process implementing to provide in above-described embodiment.Specifically:
Terminal 900 can comprise RF(Radio Frequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 4, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 900.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in the diagram, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 900 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 900 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 900 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 4 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 900, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 900, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 900 also comprises the power supply 190(such as battery of powering to all parts), preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 900 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal 900 is touch-screen displays, terminal 900 also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor state more than one or one routine package containing the instruction for carrying out following operation:
The touching signal on screen detected, and described touching signal drags to the current page;
In the process that described touching signal drags the current page, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset;
When described touching blackout, if the described page exists displacement relative to initial position, then refresh process is carried out to the described page, otherwise, keep the content of the described page constant.
Preferably, described when described touching blackout, if the described page exists displacement relative to initial position, then refresh process is carried out to the described page, otherwise, keep the content of the described page constant, comprising:
When described touching blackout, if the described page exists displacement relative to initial position, and the distance of described displacement reaches the first default distance threshold, then carry out refresh process to the described page, otherwise, keep the content of the described page constant.
Preferably, described default exhibition information, comprising: the first exhibition information and the second exhibition information;
In the described process dragged the current page at described touching signal, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset, comprising:
When described touching signal starts to drag the current page, in the region vacated between the edge and the edge of properties window of the described page, show described first exhibition information;
When the distance of described page displacement reaches the first default distance threshold, in the region vacated between the edge and the edge of properties window of the described page, show described second exhibition information.
Preferably, described method also comprises:
In the process that described touching signal drags the current page, display Rotating icon, the anglec of rotation of described Rotating icon and the distance of described displacement have linear relationship.
Preferably, described method also comprises:
The described page is being carried out in the process of refresh process, controlling described Rotating icon and rotate by the angular velocity preset;
At the end of described refresh process, cancel the display of described Rotating icon.
Preferably, in the described process dragged the current page at described touching signal, display Rotating icon, comprising:
In the process that described touching signal drags the current page, display Rotating icon, when the distance of described displacement is less than default second distance threshold value, control described Rotating icon with described page movement, when the distance of described displacement is more than or equal to default second distance threshold value, controls described Rotating icon and stop mobile.
In the embodiment of the present invention, the touching signal on screen detected, and this touching signal drags to the current page, when this touching blackout, if this page exists displacement relative to initial position, then refresh process is carried out to this page, otherwise, keep the content of this page constant.Like this, after user drags the page, only the refresh process of just likely triggering page when unclamping finger, if user drags the page unintentionally, can unclamp finger again by after page pushed home, just can stop execution refresh process.Thus, the waste of Internet resources can be reduced.
It should be noted that: what above-described embodiment provided carries out the device of refresh process when carrying out refresh process to the page to the page, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.In addition, what above-described embodiment provided belongs to same design to the device that the page carries out refresh process with the embodiment of the method for the page being carried out to refresh process, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
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, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. the page is carried out to a method for refresh process, it is characterized in that, described method comprises:
The touching signal on screen detected, and described touching signal drags to the current page;
In the process that described touching signal drags the current page, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset;
When described touching blackout, if the described page exists displacement relative to initial position, then refresh process is carried out to the described page, otherwise, keep the content of the described page constant.
2. method according to claim 1, is characterized in that, described when described touching blackout, if the described page exists displacement relative to initial position, then carries out refresh process to the described page, otherwise, keep the content of the described page constant, comprising:
When described touching blackout, if the described page exists displacement relative to initial position, and the distance of described displacement reaches the first default distance threshold, then carry out refresh process to the described page, otherwise, keep the content of the described page constant.
3. method according to claim 1, is characterized in that, described default exhibition information, comprising: the first exhibition information and the second exhibition information;
In the described process dragged the current page at described touching signal, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset, comprising:
When described touching signal starts to drag the current page, in the region vacated between the edge and the edge of properties window of the described page, show described first exhibition information;
When the distance of described page displacement reaches the first default distance threshold, in the region vacated between the edge and the edge of properties window of the described page, show described second exhibition information.
4. method according to claim 1, is characterized in that, described method also comprises:
In the process that described touching signal drags the current page, display Rotating icon, the anglec of rotation of described Rotating icon and the distance of described displacement have linear relationship.
5. method according to claim 4, is characterized in that, described method also comprises:
The described page is being carried out in the process of refresh process, controlling described Rotating icon and rotate by the angular velocity preset;
At the end of described refresh process, cancel the display of described Rotating icon.
6. method according to claim 4, is characterized in that, in the described process dragged the current page at described touching signal, display Rotating icon, comprising:
In the process that described touching signal drags the current page, display Rotating icon, when the distance of described displacement is less than default second distance threshold value, control described Rotating icon with described page movement, when the distance of described displacement is more than or equal to default second distance threshold value, controls described Rotating icon and stop mobile.
7. the page is carried out to a device for refresh process, it is characterized in that, described device comprises:
Detection module, for the touching signal on screen being detected, and described touching signal drags the current page;
Display module, in the process that drags the current page at described touching signal, in the region vacated between the edge and the edge of properties window of the described page, the exhibition information that display is preset;
Refresh module, for when described touching blackout, if the described page exists displacement relative to initial position, then carries out refresh process to the described page, otherwise, keep the content of the described page constant.
8. device according to claim 7, is characterized in that, described refresh module, for:
When described touching blackout, if the described page exists displacement relative to initial position, and the distance of described displacement reaches the first default distance threshold, then carry out refresh process to the described page, otherwise, keep the content of the described page constant.
9. device according to claim 7, is characterized in that, described default exhibition information, comprising: the first exhibition information and the second exhibition information;
Described display module, for:
When described touching signal starts to drag the current page, in the region vacated between the edge and the edge of properties window of the described page, show described first exhibition information;
When the distance of described page displacement reaches the first default distance threshold, in the region vacated between the edge and the edge of properties window of the described page, show described second exhibition information.
10. device according to claim 7, is characterized in that, described display module, also for:
In the process that described touching signal drags the current page, display Rotating icon, the anglec of rotation of described Rotating icon and the distance of described displacement have linear relationship.
11. devices according to claim 10, is characterized in that, described display module, also for:
The described page is being carried out in the process of refresh process, controlling described Rotating icon and rotate by the angular velocity preset;
At the end of described refresh process, cancel the display of described Rotating icon.
12. devices according to claim 10, is characterized in that, described display module, for:
In the process that described touching signal drags the current page, display Rotating icon, when the distance of described displacement is less than default second distance threshold value, control described Rotating icon with described page movement, when the distance of described displacement is more than or equal to default second distance threshold value, controls described Rotating icon and stop mobile.
CN201410120612.4A 2014-03-27 2014-03-27 Method and device for refreshing page Pending CN104951179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410120612.4A CN104951179A (en) 2014-03-27 2014-03-27 Method and device for refreshing page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410120612.4A CN104951179A (en) 2014-03-27 2014-03-27 Method and device for refreshing page

Publications (1)

Publication Number Publication Date
CN104951179A true CN104951179A (en) 2015-09-30

Family

ID=54165863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410120612.4A Pending CN104951179A (en) 2014-03-27 2014-03-27 Method and device for refreshing page

Country Status (1)

Country Link
CN (1) CN104951179A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511754A (en) * 2015-11-27 2016-04-20 北京京东尚科信息技术有限公司 A page jump method and device based on pull-down page
CN106598610A (en) * 2016-12-19 2017-04-26 北京小米移动软件有限公司 Refreshing implementation method and device based on webpage application
CN106909288A (en) * 2017-03-29 2017-06-30 广州阿里巴巴文学信息技术有限公司 The method for refreshing of application program, device and electronic equipment
CN106919323A (en) * 2015-12-24 2017-07-04 小米科技有限责任公司 Interface display method and device
CN107153704A (en) * 2017-05-11 2017-09-12 腾讯科技(深圳)有限公司 A kind of page display method and its equipment, storage medium, terminal
CN107885411A (en) * 2016-09-30 2018-04-06 北京京东尚科信息技术有限公司 For display methods and display device without the pulldown function page
CN107885424A (en) * 2017-12-05 2018-04-06 北京小米移动软件有限公司 A kind of method and device for updating dialogue option display order
CN108540531A (en) * 2018-03-13 2018-09-14 阿里巴巴集团控股有限公司 A kind of method, the method, apparatus of acquisition of information and the equipment of information push
CN109032729A (en) * 2018-07-04 2018-12-18 Oppo(重庆)智能科技有限公司 Mobile terminal and its method for preventing the page from refreshing automatically, storage medium
CN109308148A (en) * 2018-09-06 2019-02-05 北京酷我科技有限公司 A kind of water droplet drop-down refreshing implementation method
CN109583935A (en) * 2018-10-16 2019-04-05 深圳壹账通智能科技有限公司 Advertisement demonstration method, device, storage medium and mobile terminal
CN109976857A (en) * 2019-03-27 2019-07-05 北京字节跳动网络技术有限公司 Display control method, device, storage medium and the electronic equipment of terminal interface
CN110472166A (en) * 2018-05-08 2019-11-19 北京京东尚科信息技术有限公司 Method and apparatus for showing the page
CN110780952A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Application interface interaction method and device and electronic equipment
CN111897610A (en) * 2016-09-28 2020-11-06 创新先进技术有限公司 Information display method and device
CN112199028A (en) * 2015-11-02 2021-01-08 阿里巴巴(中国)有限公司 Interface display processing method, device and equipment
CN119356559A (en) * 2024-11-01 2025-01-24 维沃移动通信有限公司 Control display method, control display device, electronic device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100199180A1 (en) * 2010-04-08 2010-08-05 Atebits Llc User Interface Mechanics
CN103019601A (en) * 2012-12-18 2013-04-03 天津三星通信技术研究有限公司 Operation control method for display interface of touch terminal and touch terminal
CN103425416A (en) * 2012-05-20 2013-12-04 北京千橡网景科技发展有限公司 Display control method and device used for portable device
CN103513856A (en) * 2012-06-28 2014-01-15 腾讯科技(深圳)有限公司 Method and device for refreshing page
CN103559223A (en) * 2013-10-21 2014-02-05 东莞市东信网络技术有限公司 Table data refreshing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100199180A1 (en) * 2010-04-08 2010-08-05 Atebits Llc User Interface Mechanics
CN103425416A (en) * 2012-05-20 2013-12-04 北京千橡网景科技发展有限公司 Display control method and device used for portable device
CN103513856A (en) * 2012-06-28 2014-01-15 腾讯科技(深圳)有限公司 Method and device for refreshing page
CN103019601A (en) * 2012-12-18 2013-04-03 天津三星通信技术研究有限公司 Operation control method for display interface of touch terminal and touch terminal
CN103559223A (en) * 2013-10-21 2014-02-05 东莞市东信网络技术有限公司 Table data refreshing system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PHAIBIN: "网易新闻下拉刷新demo", 《开源中国社区:HTTPS://WWW.OSCHINA.NET/P/IOS-163-PULL-DOWN GITHUB:HTTPS://GITHUB.COM/PHAIBIN/EGOTABLEVIEWPULLREFRESH 》 *
关东升: "《iOS网络编程与云端应用最佳实践》", 31 May 2013, 清华大学出版社 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199028B (en) * 2015-11-02 2022-08-16 阿里巴巴(中国)有限公司 Interface display processing method, device and equipment
CN112199028A (en) * 2015-11-02 2021-01-08 阿里巴巴(中国)有限公司 Interface display processing method, device and equipment
CN105511754A (en) * 2015-11-27 2016-04-20 北京京东尚科信息技术有限公司 A page jump method and device based on pull-down page
CN112764653A (en) * 2015-11-27 2021-05-07 北京京东尚科信息技术有限公司 Method and device for acquiring information based on pull-down page
CN106919323A (en) * 2015-12-24 2017-07-04 小米科技有限责任公司 Interface display method and device
CN106919323B (en) * 2015-12-24 2020-09-01 小米科技有限责任公司 Interface display method and device
CN111897610A (en) * 2016-09-28 2020-11-06 创新先进技术有限公司 Information display method and device
CN107885411A (en) * 2016-09-30 2018-04-06 北京京东尚科信息技术有限公司 For display methods and display device without the pulldown function page
CN106598610A (en) * 2016-12-19 2017-04-26 北京小米移动软件有限公司 Refreshing implementation method and device based on webpage application
CN106598610B (en) * 2016-12-19 2020-06-02 北京小米移动软件有限公司 Refreshing implementation method and device based on webpage application
CN106909288B (en) * 2017-03-29 2020-05-22 广州阿里巴巴文学信息技术有限公司 Application program refreshing method and device and electronic equipment
CN106909288A (en) * 2017-03-29 2017-06-30 广州阿里巴巴文学信息技术有限公司 The method for refreshing of application program, device and electronic equipment
CN107153704A (en) * 2017-05-11 2017-09-12 腾讯科技(深圳)有限公司 A kind of page display method and its equipment, storage medium, terminal
CN107885424A (en) * 2017-12-05 2018-04-06 北京小米移动软件有限公司 A kind of method and device for updating dialogue option display order
CN107885424B (en) * 2017-12-05 2021-05-04 北京小米移动软件有限公司 A method and device for updating the display sequence of dialog options
WO2019174421A1 (en) * 2018-03-13 2019-09-19 阿里巴巴集团控股有限公司 Method for pushing information, method for acquiring information, device, and equipment
CN108540531A (en) * 2018-03-13 2018-09-14 阿里巴巴集团控股有限公司 A kind of method, the method, apparatus of acquisition of information and the equipment of information push
CN110472166A (en) * 2018-05-08 2019-11-19 北京京东尚科信息技术有限公司 Method and apparatus for showing the page
CN109032729A (en) * 2018-07-04 2018-12-18 Oppo(重庆)智能科技有限公司 Mobile terminal and its method for preventing the page from refreshing automatically, storage medium
CN109032729B (en) * 2018-07-04 2022-08-02 Oppo(重庆)智能科技有限公司 Mobile terminal, method for preventing automatic page refreshing of mobile terminal and storage medium
CN110780952A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Application interface interaction method and device and electronic equipment
CN109308148A (en) * 2018-09-06 2019-02-05 北京酷我科技有限公司 A kind of water droplet drop-down refreshing implementation method
CN109308148B (en) * 2018-09-06 2022-03-04 北京酷我科技有限公司 Water drop pull-down refreshing implementation method
CN109583935A (en) * 2018-10-16 2019-04-05 深圳壹账通智能科技有限公司 Advertisement demonstration method, device, storage medium and mobile terminal
CN109976857A (en) * 2019-03-27 2019-07-05 北京字节跳动网络技术有限公司 Display control method, device, storage medium and the electronic equipment of terminal interface
CN119356559A (en) * 2024-11-01 2025-01-24 维沃移动通信有限公司 Control display method, control display device, electronic device and medium

Similar Documents

Publication Publication Date Title
CN104951179A (en) Method and device for refreshing page
CN105302408A (en) Method and apparatus for adjusting position of hover button and terminal
US10372320B2 (en) Device and method for operating on touch screen, and storage medium
CN104133624B (en) Web animation display packing, device and terminal
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN103500063A (en) Virtual keyboard display method and device and terminal
CN106293375B (en) Scene switching method and device
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN104077184B (en) A kind of course control method and computer system of application program
CN104571787A (en) Message display method and communication terminal
CN104951215A (en) Processing method and device for page operation
CN104657666A (en) Method and device for optimizing terminal operation environment
CN106528282A (en) Method, device and terminal for closing process
CN103399633A (en) Wireless remote control method and mobile terminal
CN105224556A (en) Waterfall stream interface display packing and device
CN105005432A (en) Method and device for controlling terminal to operate
CN105094501A (en) Display method, device and system for messages in mobile terminal
CN104238931B (en) Information input method and device and electronic equipment
CN104991699A (en) Video display control method and apparatus
CN104007887A (en) Floating layer display method and terminal
CN104820546A (en) Functional information exhibition method and apparatus
CN104346028A (en) Address bar display method, device and mobile terminal
CN104751322A (en) Method and device for enabling data processing webpage
CN105278795A (en) Method and device for displaying function bars

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150930

RJ01 Rejection of invention patent application after publication