WO2014000656A1 - 刷新页面的方法、装置及终端 - Google Patents

刷新页面的方法、装置及终端 Download PDF

Info

Publication number
WO2014000656A1
WO2014000656A1 PCT/CN2013/078126 CN2013078126W WO2014000656A1 WO 2014000656 A1 WO2014000656 A1 WO 2014000656A1 CN 2013078126 W CN2013078126 W CN 2013078126W WO 2014000656 A1 WO2014000656 A1 WO 2014000656A1
Authority
WO
WIPO (PCT)
Prior art keywords
refresh
progress bar
preset
moving cursor
output
Prior art date
Application number
PCT/CN2013/078126
Other languages
English (en)
French (fr)
Inventor
张晶
李美娜
李杨
陈单枝
刘念
马群立
张晨
刘宇飞
叶军
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to US14/408,538 priority Critical patent/US9720561B2/en
Publication of WO2014000656A1 publication Critical patent/WO2014000656A1/zh
Priority to US15/630,647 priority patent/US10509532B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • the present invention relates to the field of microblog technology, and in particular, to a method, device and terminal for refreshing a page. Background technique
  • Weibo is a platform for information sharing, dissemination and book acquisition based on user relationships. Users can set up a personal community through WEB, WAP (Wireless Application Protocol) and various clients to update information in 140 words or so and share instantly. With the increase of mobile terminal users, more and more microblog users, with the popularity of Weibo, in order to enable Weibo users to get a better experience, how to refresh the page becomes a problem that operators need to solve. .
  • WEB Wired Application Protocol
  • the refresh icon is displayed on the terminal page.
  • the refresh icon is rotated 360 degrees freely, and after the content is refreshed, the icon is automatically refreshed. disappear.
  • the embodiment of the present invention provides a method, a device, and a terminal for refreshing a page.
  • the technical solution is as follows:
  • a method for refreshing a page comprising:
  • the preset animation interface When the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor starts from the preset identifier Refreshing the direction of the progress bar; Calculating and outputting a current length of the refresh progress bar when detecting that the moving cursor reaches the refresh progress bar;
  • the extracted refresh information is output.
  • the outputting the preset animation interface includes:
  • a preset animation interface is output at the top of the page.
  • the calculating the current length of the refresh progress bar includes:
  • the current length of the refresh progress bar is obtained by multiplying the actual refresh progress by the width of the preset animation interface.
  • the refresh information that is extracted by the output includes:
  • the method further includes:
  • the moving cursor is composed of a plurality of sets of moving cursor units, wherein each set of moving cursor units comprises a preset number of cursor seeds, and the acceleration of each group of moving cursor units is in an arithmetic progression sequence.
  • an apparatus for refreshing a page comprising:
  • An animation output module configured to output a preset animation interface when performing a refresh operation of the page, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, wherein the moving cursor is from the The preset identifier starts to move in the direction of the refresh progress bar;
  • a progress bar display module configured to calculate and output a current length of the refresh progress bar when detecting that the moving cursor reaches the refresh progress bar;
  • a data display module configured to output the extracted refresh information when a current length of the refresh progress bar is equal to a width of the preset animation interface.
  • the animation output module is specifically configured to:
  • a preset animation interface is output at the top of the page.
  • the progress bar display module includes:
  • An obtaining unit configured to acquire the quantity of refresh information currently pulled
  • a first calculating unit configured to calculate the actual refresh progress according to the quantity of the currently extracted refresh information and the total number of refresh information that needs to be pulled;
  • a second calculating unit configured to multiply the width of the preset animation interface by the actual refresh progress to obtain a current length of the refresh progress bar.
  • the data display module is specifically configured to:
  • the device further includes:
  • an adjustment module configured to: when the progress bar display module calculates that the length of the refresh progress bar does not increase, reduce the transparency of the moving cursor to a preset value.
  • the moving cursor is composed of a plurality of sets of moving cursor units, wherein each set of moving cursor units comprises a preset number of cursor seeds, and the acceleration of each group of moving cursor units is in an arithmetic progression sequence.
  • the preset animation interface When the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor starts from the preset identifier Refreshing the direction of the progress bar; when detecting that the moving cursor reaches the refresh progress bar, calculating and outputting the current length of the refresh progress bar; when the length of the refresh progress bar is equal to the preset animation When the width of the interface is exceeded, the refresh information pulled is output.
  • the preset animation interface is output when the page refresh operation is performed, so that the user can get a better experience.
  • FIG. 1 is a flowchart of a method for refreshing a page according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for refreshing a page according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic diagram of an animation interface provided in Embodiment 2 of the present invention.
  • Embodiment 4 is a schematic diagram of a page provided in Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of a page provided in Embodiment 2 of the present invention
  • 6 is a schematic diagram of a page provided in Embodiment 2 of the present invention
  • FIG. 7 is a schematic diagram of a page provided in Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of an apparatus for refreshing a page according to Embodiment 3 of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus for refreshing a page according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention. detailed description
  • a method for refreshing a page is provided in this embodiment, where the method includes:
  • a preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor starts from the preset identifier Moving in the direction of the refresh progress bar;
  • the outputting the preset animation interface includes but is not limited to:
  • a preset animation interface is output at the top of the page.
  • the calculating the current length of the refresh progress bar includes but is not limited to:
  • the current length of the refresh progress bar is obtained by multiplying the actual refresh progress by the width of the preset animation interface.
  • the refresh information extracted by the output includes but is not limited to:
  • the method further includes: When the length of the refresh progress bar does not increase, the transparency of the moving cursor is lowered to a preset value.
  • the moving cursor is composed of a plurality of sets of moving cursor units, wherein each set of moving cursor units comprises a preset number of cursor seeds, and the acceleration of each group of moving cursor units is in an arithmetic progression sequence.
  • the effect of the embodiment is: when the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in a direction of the refresh progress bar; when detecting that the moving cursor reaches the refresh progress bar, calculating and outputting a current length of the refresh progress bar; when the refresh progress bar is When the current length is equal to the width of the preset animation interface, the extracted refresh information is output.
  • the preset animation interface is output, and the user can get a better experience.
  • the embodiment of the present invention provides a method for refreshing a page.
  • the method for refreshing a page on the microblog interface is used as an example.
  • the method provided in this embodiment is explained in detail. Referring to FIG. 2, the method process includes:
  • the microblog platform performs a refresh operation, pulls the refresh data, and outputs a preset animation interface on the display interface.
  • the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar; the moving cursor starts moving from the preset identifier to the direction of the refresh progress bar, and the visual effect is equivalent to the preset identifier being transmitted.
  • the width of the preset animation interface is consistent with the width of the page, but the preset animation interface may also be smaller than the width of the page, which is not specifically limited in this embodiment.
  • the preset identifier may be an identifier of the microblog itself, or may be an identifier of another advertisement, which is not specifically limited in this embodiment.
  • the preset identifier may be at one end or the middle of the preset animation interface. When it is at one end of the preset animation interface, the moving cursor moves from the beginning to the other end of the animation interface.
  • the refresh progress bar is The opposite end of the preset logo starts to grow; for example, when the mobile logo is at the left end of the preset animation interface, the moving cursor moves from the beginning to the right end of the animation interface, and at this time, the refresh progress bar starts to grow from the right end of the animation interface; When the preset logo is in the middle of the animation interface, the moving cursor can not only move to both ends of the animation interface at the same time. At this time, the refresh progress bar starts to increase from both ends of the animation interface; when the refresh progress bar at both ends grows to the same time When the location is identified, all refresh information is pulled; it can also be increased from one end of the animation interface, for example, the left end of the animation interface.
  • the refresh progress bar starts to grow from the left end of the animation interface; when the left end refreshes the progress bar When you grow to the position of the mobile logo, move the cursor to move to the right end of the animation interface.
  • New progress bar starts to grow from the right animation interface; refresh the progress bar when the right end position to increase identification, pull to refresh all of the information.
  • the position of the animation interface is not specifically limited in this embodiment.
  • the preset animation interface in this embodiment only occupies a small part of the microblog display page, and may be displayed at the bottom or the top of the microblog display page, which is not specifically limited in this embodiment.
  • the moving cursor may be composed of a plurality of sets of moving cursor units, wherein each set of moving cursor units includes a preset number of cursor seeds, and optionally, in order to make the animation effect better, each group of moving cursors may be set.
  • the acceleration of the unit is in the arithmetic progression.
  • the acceleration of each group of moving cursor units may be the same, which is not specifically limited in this embodiment.
  • the number of seeds of each group of moving cursor units may be 1, 2, 3, 4, or 5, etc., which is not specifically limited in this embodiment, but the number of seeds in each group cannot be greater than the total width of the page.
  • the initial length of the refresh progress bar is zero, and the progress bar is continuously increased as the cursor moves.
  • the preset identifier is an image identifier of a dandelion.
  • Each group of broadcast mobile units is composed of 5 seeds, moving from left to right to the edge of the page.
  • the animation of each frame is 0.2 seconds
  • the first set of moving distance is 1 dandelion seed
  • the second set of moving distance is the width of 2 dandelion seeds
  • the third set of moving distance is the width of 3 dandelion seeds
  • fourth The group moves at a distance of 4 dandelion seeds... and so on.
  • the preset animation interface is animated according to a preset rule, so that the user obtains a good user experience while waiting for the refresh process.
  • the moving cursor When it is detected that the moving cursor reaches the refresh progress bar, calculate a current length of the refresh progress bar. In this step, the moving cursor continuously moves in the direction of the refreshing progress bar during the data pulling process. When detecting that the moving cursor reaches the refreshing progress bar, the length of the refreshing progress bar that needs to be increased is calculated, and the specific method includes: Get the number of refresh information currently pulled;
  • the current length of the refresh progress bar is obtained by multiplying the actual refresh progress by the total width of the page.
  • the above refresh progress is the percentage of the refresh information currently pulled by the page, which is the total amount of refresh information to be pulled.
  • the number of the refresh information to be pulled each time is set in advance, for example, 10 pieces of information, 20 pieces of information, or 25 pieces of information are set for each time, which is not specifically limited in this embodiment.
  • the current length of the refresh progress bar is calculated by the number of refresh information currently pulled, thereby associating the pull process of the network with the increase of the refresh progress bar, so that the user can know the network status according to the change of the refresh progress bar. Further improve the user's experience.
  • the corresponding length is displayed on the preset animation interface.
  • the refresh progress bar is displayed in a preset color, and the display color may be the same as the color of the seed.
  • the present embodiment is not specifically limited.
  • the length of the refresh progress bar does not increase correspondingly.
  • the brightness of the moving cursor to be launched is reduced to a preset value, wherein the preset value may be 20%, 30% or 40% of the current transparency.
  • the preset value may be 20%, 30% or 40% of the current transparency.
  • This embodiment does not specifically limit, so as to indicate that the current network environment is relatively poor.
  • the transparency of the moving cursor is adjusted back to the original value.
  • the transparency of the moving cursor may not be adjusted according to the condition of the network, which is not specifically limited in this embodiment.
  • the length of the refresh progress bar is not increased.
  • the current length of the refresh progress bar that is calculated and output is compared to the length of the refresh progress bar before the moving cursor reaches the refresh progress bar, which is unchanged.
  • the refresh progress bar continues to grow.
  • the output refreshed information includes: outputting the extracted message data, and outputting the total number of the refreshed messages in the form of a floating window. If 20 microblog messages are pulled, the 20 messages are output on the page, and the words "total pull to 20 new broadcasts" are outputted in the form of a floating window to inform the user of the number of messages pulled.
  • the floating window may be at the top or the bottom of the page, which is not specifically limited in this embodiment.
  • the page currently displays avatar 1 - edit content 1, avatar 2 - edit content 1, avatar 3 - edit content 1, and after clicking the refresh button on the microblog page, the preset logo starts to emit the moving cursor.
  • the moving cursor consists of 5 seeds.
  • the refresh progress bar starts to grow.
  • the refresh progress bar grows.
  • the width of the refresh progress bar is equal to the page width, it indicates that the data is pulled.
  • the user clicks the cancel button to cancel the current refresh operation when the data is not pulled the user exits the preset animation interface, and outputs the currently extracted message data, and the pulled message.
  • the total number For example, when the user clicks the cancel button, five messages have been pulled, and the five messages are output, and the words "total pull to five new broadcasts" are outputted in the form of a floating window, and the user is informed of the pull. The number of messages.
  • the effect of the embodiment is: when the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in a direction of the refresh progress bar; when it is detected that the moving cursor reaches the refresh progress bar, Calculating and outputting the current length of the refresh progress bar; when the current length of the refresh progress bar is equal to the width of the preset animation interface, outputting the extracted refresh information.
  • the preset animation interface is output when the page refresh operation is performed, so that the user can get a better experience.
  • the color of the moving cursor can be adjusted according to the change of the network condition, so that the user can know the current state of the network in time, so as to decide whether to continue waiting for the refresh or cancel the refresh, thereby further improving the user experience.
  • an embodiment of the present invention provides an apparatus for refreshing a page.
  • the apparatus includes: an animation output module 301, a progress bar display module 302, and a data display module 303.
  • the animation output module 301 is configured to: when the refresh operation of the page is performed, output a preset animation interface, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in the direction of the refresh progress bar;
  • a progress bar display module 302 configured to calculate and output a length of the refresh progress bar when detecting that the moving cursor reaches the refresh progress bar;
  • the data display module 303 is configured to output the extracted refresh information when the current length of the refresh progress bar is equal to the width of the preset animation interface.
  • the animation output module 301 is specifically configured to:
  • a preset animation interface is output at the top of the page.
  • the progress bar display module 302 includes:
  • An obtaining unit configured to acquire the quantity of refresh information currently pulled
  • a first calculating unit configured to calculate an actual refresh progress according to the quantity of the currently extracted refresh information and the total number of refresh information that needs to be pulled;
  • a second calculating unit configured to multiply the width of the preset animation interface by the actual refresh progress to obtain a current length of the refresh progress bar.
  • the data display module 303 is specifically configured to:
  • the device further includes:
  • the adjusting module 304 is configured to reduce the transparency of the moving cursor to a preset value when the progress bar display module 302 calculates that the length of the refresh progress bar does not increase.
  • the moving cursor is composed of a plurality of sets of moving cursor units, wherein each set of moving cursor units includes a preset number of cursor seeds, and the acceleration of each group of moving cursor units is an arithmetic progression sequence.
  • the effect of the embodiment is: when the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in a direction of the refresh progress bar; when detecting that the moving cursor reaches the refresh progress bar, calculating and outputting a length of the refresh progress bar; when the length of the refresh progress bar When the width of the preset animation interface is equal to, the extracted refresh information is output.
  • the preset animation interface is output when the page refresh operation is performed, so that the user can obtain a better experience.
  • FIG. 10 is a schematic structural diagram of a touch-sensitive surface according to an embodiment of the present invention.
  • the terminal can be used to implement the method for refreshing a page provided in the foregoing embodiment.
  • the terminal 1000 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a transmission module. 170.
  • a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in Fig. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
  • the RF circuit 110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving downlink information of the base station, and processing it by one or more processors 180; in addition, transmitting uplink data to the base station .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and an LNA (Low Noise). Amplifier), duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobility Communication System), GPRS (General Packet Radio Service) CDMA (Code Divi) s ion Mult iple Access, code division multiple access) WCDMA (Wideband Code Divi s ion Mult iple Access), LTE (Long Term Evolut ion), e-mail, SMS (Short Messaging Service, short) Message service) and so on.
  • GSM Global System of Mobility Communication System
  • GPRS General Packet Radio Service
  • CDMA Code Divi) s ion Mult iple Access
  • code division multiple access code division multiple access
  • WCDMA Wideband Code Divi s ion Mult iple Access
  • LTE Long Term Evolut ion
  • e-mail Short Messaging Service, short
  • the memory 120 can be used to store software programs and modules, such as software programs and modules corresponding to the devices for improving the running speed of the application in the third embodiment, and the processor 180 executes various functions by running software programs and modules stored in the memory 120.
  • Application and data processing such as improving the running speed of the application.
  • the memory 120 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, at least one function
  • the required application such as a sound playing function, an image playing function, etc.
  • the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the terminal 1000.
  • memory 120 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. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or on the touch-sensitive surface 131 The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 may include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 1000, which can be comprised of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal 1000 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 1000 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the mobile phone.
  • terminal 1000 can also be configured with gyroscope, barometer, hygrometer, thermometer, infrared sensor Other sensors, etc., will not be described here.
  • the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the terminal 1000.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the audio circuit 160 After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, by the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1000.
  • the terminal 1000 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170, which provides users with wireless or wired broadband Internet access.
  • FIG. 10 shows the transmission module 170, it is understood that it does not belong to the essential configuration of the terminal 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the terminal 1000, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 1000 are performed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 180.
  • the terminal 1000 also includes a power source 190 (such as a battery) for powering various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 1000 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more
  • the execution of one or more programs includes instructions for performing the following operations:
  • the preset animation interface When the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor starts from the preset identifier Refreshing the direction of the progress bar;
  • the extracted refresh information is output.
  • the memory of the terminal further includes an instruction for performing the following operations. :
  • a preset animation interface is output at the top of the page.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the current length of the refresh progress bar is obtained by multiplying the actual refresh progress by the width of the preset animation interface.
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the terminal's memory also contains instructions for performing the following operations:
  • the memory of the terminal further includes an instruction for performing the following operations:
  • the moving cursor is composed of a plurality of sets of moving cursor units, wherein each set of moving cursor units includes a preset number of cursor seeds, and the acceleration of each group of moving cursor units is in an arithmetic progression sequence.
  • the benefit of the embodiment is: when the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar.
  • the moving cursor starts moving from the preset identifier to the direction of the refresh progress bar; when detecting that the moving cursor reaches the refresh progress bar, calculating and outputting the length of the refresh progress bar;
  • the length of the refresh progress bar is equal to the width of the preset animation interface, the extracted refresh information is output.
  • the preset animation interface is output when the page refresh operation is performed, so that the user can get a better experience.
  • the embodiment of the present invention provides a computer readable storage medium, which may be a computer readable storage medium included in the memory in the above embodiment, or may exist separately and not assembled into the terminal.
  • Computer readable storage medium stores one or more programs, the one or more programs being used by one or more processors to perform a sliding control method, the method comprising:
  • the preset animation interface When the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor starts from the preset identifier Refreshing the direction of the progress bar;
  • the extracted refresh information is output.
  • the outputting the preset animation interface includes:
  • a preset animation interface is output at the top of the page.
  • the calculating the current length of the refresh progress bar includes:
  • the current length of the refresh progress bar is obtained by multiplying the actual refresh progress by the width of the preset animation interface.
  • the refresh information that is output by the output includes:
  • the method further includes: When the length of the refresh progress bar does not increase, the transparency of the moving cursor is lowered to a preset value.
  • the moving cursor is composed of a plurality of sets of moving cursor units, wherein each group of moving cursor units includes a preset number of cursor seeds, and each The group moves the acceleration of the cursor unit into an arithmetic progression.
  • the effect of the embodiment is: when the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in a direction of the refresh progress bar; when detecting that the moving cursor reaches the refresh progress bar, calculating and outputting a length of the refresh progress bar; when the length of the refresh progress bar When the width of the preset animation interface is equal to, the extracted refresh information is output.
  • the preset animation interface is output when the page refresh operation is performed, so that the user can obtain a better experience.
  • a graphical user interface is provided in an embodiment of the present invention, where the graphical user interface is used on a terminal, where the terminal includes a touch screen display, a memory, and one or more processors for executing one or more programs;
  • the graphical user interface includes:
  • a preset animation interface that is output when a refresh operation of the page is performed, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in a direction of the refresh progress bar;
  • the extracted refresh information is output.
  • the effect of the embodiment is: when the refresh operation of the page is performed, the preset animation interface is output, where the preset animation interface includes: a preset identifier, a moving cursor, and a refresh progress bar, where the moving cursor is The preset identifier starts to move in a direction of the refresh progress bar; when detecting that the moving cursor reaches the refresh progress bar, calculating and outputting a length of the refresh progress bar; when the length of the refresh progress bar When the width of the preset animation interface is equal to, the extracted refresh information is output.
  • the preset animation interface is output when the page refresh operation is performed, so that the user can get a better experience.
  • the device for refreshing the page and the terminal provided by the foregoing embodiment are only illustrated by the division of the foregoing functional modules when the page is refreshed. In actual applications, the functions may be assigned different functions according to requirements. The completion of the module, that is, the internal structure of the device and the terminal are divided into different functional modules to complete all or part of the functions described above.
  • the device, the terminal, and the method for refreshing the page provided by the foregoing embodiment are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种刷新页面的方法、装置及终端,属于微博技术领域。所述方法包括:当执行页面的刷新操作时,输出预设的动画界面,其中,所述预设的动画界面包括:预设标识、移动光标和刷新进度条,所述移动光标从所述预设标识开始向所述刷新进度条的方向移动;当检测到所述移动光标到达所述刷新进度条时,计算并输出所述刷新进度条的当前长度;当所述刷新进度条的当前长度等于所述页面的宽度时,输出拉取到的刷新信息。本发明在执行页面刷新操作时输出预设动画界面,使用户能够获得更好的体验感。

Description

刷新页面的方法、 装置及终端 本申请要求于 2012年 06月 28日提交中国专利局、 申请号为 201210218461. 7、发明名 称为 "刷新页面的方法和装置" 的中国专利申请的优先权, 其全部内容通过引用结合在本 申请中。 技术领域 说
本发明涉及微博技术领域, 特别涉及一种刷新页面的方法、 装置及终端。 背景技术
微博是一种基于用户关系的信息分享、 传播以及书获取平台。 用户可以通过 WEB、 WAP (Wireless Appl ication Protocol , 无线应用协议) 以及各种客户端组建个人社区, 以 140 字左右的文字更新信息, 并实现即时分享。 随着移动终端用户的增多, 微博用户越来越多, 随着微博的广泛普及, 为了使微博用户能够得到更好的体验感, 如何进行页面刷新, 成为 了运营商需要解决的问题。
现有技术中, 当用户点击终端上的刷新按键后, 将在终端页面上显示刷新图标, 在用 户等待刷新的过程中, 刷新图标 360度自由转动, 在拉取到刷新内容后, 刷新图标自动消 失。
在实现本发明的过程中, 发明人发现当前的技术中至少存在以下问题:
由于在等待刷新的过程中, 仅有刷新图标在自转, 所以用户无法获知拉取刷新内容的 进度, 从而降低了用户体验度; 且刷新图标单一地进行转动, 导致动画形式较为单薄, 用 户无法获得较好的体验感。 发明内容
为了提高用户在使用微博时的体验感, 本发明实施例提供了一种刷新页面的方法、 装 置及终端。 所述技术方案如下:
一方面, 提供了一种刷新页面的方法, 所述方法包括:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条 的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述刷新进度条的当前长 度;
当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新 信息。
优选地, 所述输出预设的动画界面, 包括:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
优选地, 所述计算所述刷新进度条的当前长度, 包括:
获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算所述实 际的刷新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前 长度。
优选地, 所述输出拉取到的刷新信息, 包括:
输出所述刷新后的消息数据, 并以悬浮窗的形式输出所述刷新得到的所述消息的总数 优选地, 所述计算并输出所述刷新进度条的当前长度之后, 还包括:
当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
优选地, 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设 数量的光标种子, 每组移动光标单元的加速度成等差数列。
另一方面, 提供了一种刷新页面的装置, 所述装置包括:
动画输出模块, 用于当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预 设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开 始向所述刷新进度条的方向移动;
进度条显示模块, 用于当检测到所述移动光标到达所述刷新进度条时, 计算并输出所 述刷新进度条的当前长度;
数据显示模块, 用于当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新信息。
优选地, 所述动画输出模块具体用于:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。 优选地, 所述进度条显示模块, 包括:
获取单元, 用于获取当前拉取到的刷新信息的数量;
第一计算单元, 用于根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的 总数量, 计算所述实际的刷新进度;
第二计算单元, 用于用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所 述刷新进度条的当前长度。
优选地, 所述数据显示模块具体用于:
输出所述刷新后的消息数据, 并以悬浮窗的形式输出所述刷新得到的所述消息的总数 优选地, 所述装置还包括:
调整模块, 用于当所述进度条显示模块计算出所述刷新进度条的长度并未增长时, 将 所述移动光标的透明度降低到预设值。
优选地, 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设 数量的光标种子, 每组移动光标单元的加速度成等差数列。
本发明实施例提供的技术方案带来的有益效果是:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条 的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述刷新进度条 的当前长度; 当所述刷新进度条的长度等于所述预设的动画界面的宽度时, 输出拉取到的 刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用户能够获得更好的体验感。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例 1中提供的一种刷新页面的方法流程图;
图 2是本发明实施例 2中提供的一种刷新页面的方法流程图;
图 3是本发明实施例 2中提供的一种动画界面的示意图;
图 4是本发明实施例 2中提供的一种页面的示意图;
图 5是本发明实施例 2中提供的一种页面的示意图; 图 6是本发明实施例 2中提供的一种页面的示意图;
图 7是本发明实施例 2中提供的一种页面的示意图;
图 8是本发明实施例 3中提供的一种刷新页面的装置结构示意图;
图 9是本发明实施例 3中提供的一种刷新页面的装置结构示意图;
图 10是本发明实施例 4中提供的一种终端的结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
实施例 1
参见图 1, 本实施例中提供了一种刷新页面的方法, 所述方法包括:
101、 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包 括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进 度条的方向移动;
102、 当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述刷新进度条的当 前长度;
103、 当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的 刷新信息。
可选地, 所述输出预设的动画界面, 包括但不限于:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
其中, 所述计算所述刷新进度条的当前长度, 包括但不限于:
获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算实际的 刷新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前 长度。
其中, 所述输出拉取到的刷新信息, 包括但不限于:
输出所述刷新后的消息数据, 并以悬浮窗的形式输出所述刷新得到的所述消息的总数 其中可选地, 所述计算并输出所述刷新进度条的当前长度之后, 还包括: 当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
可选地, 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设 数量的光标种子, 每组移动光标单元的加速度成等差数列。
本实施例的有益效果是: 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所 述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标 识开始向所述刷新进度条的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计 算并输出所述刷新进度条的当前长度; 当所述刷新进度条的当前长度等于所述预设的动画 界面的宽度时, 输出拉取到的刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用 户能够获得更好的体验感。 实施例 2
本发明实施例提供了一种刷新页面的方法, 为例便于理解, 以在微博界面上刷新页面 为例, 对本实施例提供的方法进行详细地解释说明, 参见图 2, 方法流程包括:
201: 当执行页面的刷新操作时, 输出预设的动画界面。
本步骤中, 当用户在微博界面上点击刷新按钮对数据进行刷新时, 微博平台执行刷新 操作, 拉取刷新数据, 同时在显示界面上输出预设的动画界面。 其中, 预设的动画界面包 括: 预设标识、 移动光标和刷新进度条; 所述移动光标从所述预设标识开始向所述刷新进 度条的方向移动, 视觉效果相当于预设标识在发射移动光标, 本实施例中优选地, 预设动 画界面的宽度与页面的宽度一致, 但是预设动画界面也可以小于页面的宽度, 对此本实施 例不做具体限定。
本实施例中, 预设标识可以是微博本身的标识, 也可以是一个其它广告的标识, 对此 本实施例不做具体限定。 其中预设标识可以在预设的动画界面的一端或是中间, 当其在预 设的动画界面的一端时, 移动光标从其开始向动画界面的另一端移动, 此时, 刷新进度条 从与预设标识相反的一端开始增长; 例如, 当移动标识在预设的动画界面的左端时, 移动 光标从其开始向动画界面的右端移动, 此时, 刷新进度条从动画界面的右端开始增长; 当 预设标识在动画界面的中间时, 移动光标不但可以同时向动画界面的两端移动, 此时, 刷 新进度条从动画界面的两端开始同时增长; 当两端的刷新进度条同时增长到移动标识的位 置时, 拉取到全部的刷新信息; 还可以先从动画界面的一端增长, 例如, 动画界面的左端, 此时, 刷新进度条从动画界面的左端开始增长; 当左端的刷新进度条增长到移动标识的位 置时, 移动光标开始向动画界面的右端移动, 此时, 刷新进度条从动画界面的右端开始增 长; 当右端的刷新进度条增长到移动标识的位置时, 拉取到全部的刷新信息。 具体预设标 识设置在动画界面的哪个位置, 对此本实施例不做具体限定。
本实施例中预设的动画界面只占微博显示页面的一小部分地方, 可以在微博显示页面 的底部或是顶部, 对此本实施例也不做具体限定。 本实施例中, 移动光标可以由多组移动 光标单元组成, 其中, 每组移动光标单元包括预设数量的光标种子, 且可选地, 为了使动 画效果更好, 可以设定每组移动光标单元的加速度成等差数列。 当然, 每组移动光标单元 的加速度也可以相同, 对此本实施例不做具体限定。每组移动光标单元的种子数量可以为 1 个、 2个、 3个、 4个或 5个等, 对此本实施例不做具体限定, 但是每组种子的数量不能大 于页面总宽度。 其中, 刷新进度条的初始长度为零, 随着光标的移动刷新进度条不断增长。
如图 3所示, 给出了一种预设动画界面的示意图, 预设标识为一个蒲公英的图像标识, 每组广播移动单元由 5个种子构成, 从左向右移动到页面的边缘。 其中, 每帧动画 0. 2秒, 第一组移动距离为 1个蒲公英的种子, 第二组移动距离为 2个蒲公英种子的宽度, 第三组 移动距离为 3个蒲公英种子的宽度, 第四组移动距离为 4个蒲公英的种子的宽度…以此类 推。
本实施例中, 在微博平台执行刷新操作时, 预设的动画界面按预设的规则进行动画演 示, 使用户在等待刷新的过程获得了很好的用户体验感。
202、当检测到所述移动光标到达所述刷新进度条时,计算所述刷新进度条的当前长度。 本步骤中, 移动光标在数据拉取的过程中不停的向刷新进度条的方向移动, 当检测到 移动光标到达刷新进度条时, 计算需要增加的刷新进度条的长度, 其中具体方法包括: 获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算所述实 际的刷新进度;
用所述实际的刷新进度乘以所述页面的总宽度, 得到所述刷新进度条的当前长度。 上述刷新进度就是页面当前拉取的刷新信息的数量占全部需拉取的刷新信息的百分 比。 本实施例中, 预先设定每次拉取的刷新信息的数量, 如设定每次拉取 10条信息, 20条 信息, 或是 25条信息等, 对此本实施例不做具体限定。
上述通过当前拉取到的刷新信息的数量来计算刷新进度条的当前长度, 从而将网络的 拉取进程与刷新进度条的增长相关联起来, 使得用户能够根据刷新进度条的变化获知网络 状况, 进一步提高了用户的体验感。
203、 输出所述刷新进度条的当前长度。
本实施例中, 当计算得到刷新进度条的当前长度后, 在预设的动画界面上显示相应的 长度。 其中, 刷新进度条以预设的颜色显示, 该显示颜色可以与种子的颜色相同也可以不 同, 对此本实施例不做具体限定。
值得说明的是, 本实施例中, 如果未拉取到刷新信息, 则刷新实际进度为零, 此时, 刷新进度条的长度也不会相应的增加。 本实施例中, 当刷新进度条的长度并未增长时, 将 要发射的移动光标的亮度降低到预设值,其中预设值可以是当前透明度的 20%,30%或是 40%, 对此本实施例不做具体限定, 以此来表明当前的网络环境比较差, 当网络环境变好时, 即 再次拉取到刷新信息时, 再将移动光标的透明度调整回原来值。 当然也可以不根据网络的 状况调整移动光标的透明度, 对此本实施例不做具体限定。 其中, 刷新进度条的长度并未 增长指代计算并输出的刷新进度条的当前长度相较于移动光标到达刷新进度条之前刷新进 度条的长度, 其未改变。
204、 当所述刷新进度条的长度等于页面的宽度时, 输出拉取到的刷新信息。
本实施例中, 随着拉取数据的增多, 刷新进度条不断的增长, 当刷新进度条的长度填 满整个页面的宽度时, 表明数据拉取完毕, 此时退出预设的动画界面, 输出拉取到的刷新 信息。 其中, 输出拉取到的刷新信息包括: 输出拉取到的消息数据, 并以悬浮窗的形式输 出所述刷新得到的所述消息的总数量。 如拉取到 20条微博消息, 则在页面上输出该 20条 消息, 并以悬浮窗的形式输出 "共拉取到 20条新广播" 的字样, 告知用户拉取到的消息数 量。 其中悬浮窗可以在页面的顶部或是底部, 对此本实施例不做具体限定。
为了使本领域技术人员更好的理解本发明提供的方案, 现举例如下:
如图 4所示, 页面当前显示的是头像 1-编辑内容 1, 头像 2-编辑内容 1, 头像 3-编辑 内容 1, 点击微博页面上的刷新按钮后, 预设标识开始发射移动光标, 移动光标由 5个种子 组成, 当移动光标到达页面的边缘时, 刷新进度条开始增长, 如图 5 所示, 刷新进度条的 增长, 当刷新进度条的宽度等于页面宽度时, 表明数据拉取完毕, 如图 6 所示, 此时退出 预设的动画界面, 输出拉取的数据并输出拉取到的数据数目, 如图 7 所示, 此时页面上显 示的是, 头像 1-编辑内容 2, 头像 2-编辑内容 2, 头像 4-编辑内容 1, 将最新的广播消息 展示在页面上, 并显示拉取到 20条新广播。
本实施例中, 如果用户在数据未拉取完毕时, 点击了取消按钮, 取消当前的刷新操作, 则退出预设的动画界面, 输出当前已拉取到的消息数据, 及拉取到的消息的总数量。 例如, 在用户点击取消按钮时, 已经拉取到了 5条消息, 则输出该 5条消息, 并以悬浮窗的形式 输出 "共拉取到 5条新广播" 的字样, 告知用户拉取到的消息数量。
本实施例的有益效果是: 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所 述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标 识开始向所述刷新进度条的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计 算并输出所述刷新进度条的当前长度; 当所述刷新进度条的当前长度等于所述预设的动画 界面的宽度时, 输出拉取到的刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用 户能够获得更好的体验感。 且能够根据网络状况的变化调整移动光标的颜色, 使得用户能 够及时获知网络当前的状态, 以便决定是否继续等待刷新或是取消刷新, 进一步提高了用 户的体验感。 实施例 3
参见图 8,本发明实施例提供了一种刷新页面的装置, 该装置包括: 动画输出模块 301、 进度条显示模块 302和数据显示模块 303。
动画输出模块 301, 用于当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述 预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识 开始向所述刷新进度条的方向移动;
进度条显示模块 302, 用于当检测到所述移动光标到达所述刷新进度条时, 计算并输出 所述刷新进度条的长度;
数据显示模块 303,用于当所述刷新进度条的当前长度等于所述预设的动画界面的宽度 时, 输出拉取到的刷新信息。
可选地, 所述动画输出模块 301具体用于:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
其中, 所述进度条显示模块 302, 包括:
获取单元, 用于获取当前拉取到的刷新信息的数量;
第一计算单元, 用于根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的 总数量, 计算实际的刷新进度;
第二计算单元, 用于用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所 述刷新进度条的当前长度。
其中, 所述数据显示模块 303具体用于:
输出所述刷新后的消息数据, 并以悬浮窗的形式输出所述刷新得到的所述消息的总数 参见图 9, 可选地, 所述装置还包括:
调整模块 304,用于当所述进度条显示模块 302计算出所述刷新进度条的长度并未增长 时, 将所述移动光标的透明度降低到预设值。 可选地, 本实施例中, 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标 单元包括预设数量的光标种子, 每组移动光标单元的加速度成等差数列。
本实施例的有益效果是: 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所 述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标 识开始向所述刷新进度条的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计 算并输出所述刷新进度条的长度; 当所述刷新进度条的长度等于所述预设的动画界面的宽 度时, 输出拉取到的刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用户能够获 得更好的体验感。 实施例 4
参见图 10, 本实施例提供了一种终端, 图 10示出了本发明实施例所涉及的具有触敏表 面的结构示意图, 该终端可以用于实施上述实施例中提供的刷新页面的方法。 具体来讲: 终端 1000可以包括 RF ( Radio Frequency, 射频) 电路 110、 包括有一个或一个以上 计算机可读存储介质的存储器 120、 输入单元 130、 显示单元 140、 传感器 150、 音频电路 160、 传输模块 170、 包括有一个或者一个以上处理核心的处理器 180、 以及电源 190等部 件。 本领域技术人员可以理解, 图 10中示出的终端结构并不构成对终端的限定, 可以包括 比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。 其中:
RF电路 110可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的下 行信息接收后, 交由一个或者一个以上处理器 180 处理; 另外, 将涉及上行的数据发送给 基站。 通常, RF电路 110包括但不限于天线、 至少一个放大器、 调谐器、 一个或多个振荡 器、 用户身份模块 (SIM) 卡、 收发信机、 耦合器、 LNA ( Low Noi se Ampl ifier, 低噪声放 大器)、 双工器等。 此外, RF电路 110还可以通过无线通信与网络和其他设备通信。 所述无 线通信可以使用任一通信标准或协议, 包括但不限于 GSM (Global System of Mob i le communicat ion, 全球移动通讯系统)、 GPRS (General Packet Radio Service , 通用分组无 线服务) CDMA (Code Divi s ion Mult iple Access ,码分多址) WCDMA (Wideband Code Divi s ion Mult iple Access, 宽带码分多址)、 LTE (Long Term Evolut ion,长期演进)、 电子邮件、 SMS (Short Messaging Service , 短消息服务)等。
存储器 120 可用于存储软件程序以及模块, 如实施例三中提高应用程序运行速度的装 置所对应的软件程序以及模块, 处理器 180通过运行存储在存储器 120的软件程序以及模 块, 从而执行各种功能应用以及数据处理, 如实现应用程序运行速度的提高等。 存储器 120 可主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能 所需的应用程序 (比如声音播放功能、 图像播放功能等) 等; 存储数据区可存储根据终端 1000的使用所创建的数据 (比如音频数据、 电话本等) 等。 此外, 存储器 120可以包括高 速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理 器 180和输入单元 130对存储器 120的访问。
输入单元 130 可用于接收输入的数字或字符信息, 以及产生与用户设置以及功能控制 有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 具体地, 输入单元 130 可包括触 敏表面 131以及其他输入设备 132。 触敏表面 131, 也称为触摸显示屏或者触控板, 可收集 用户在其上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体或附件在触敏 表面 131上或在触敏表面 131附近的操作), 并根据预先设定的程式驱动相应的连接装置。 可选的, 触敏表面 131 可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测装置 检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制 器从触摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处理器 180, 并能接收 处理器 180发来的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声 波等多种类型实现触敏表面 131。 除了触敏表面 131, 输入单元 130还可以包括其他输入设 备 132。 具体地, 其他输入设备 132可以包括但不限于物理键盘、 功能键(比如音量控制按 键、 开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及终端 1000的各种 图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构成。 显示单元 140可包括显示面板 141, 可选的, 可以采用 LCD (Liquid Crystal Display, 液 晶显示器)、 OLED (Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面 板 141。 进一步的, 触敏表面 131可覆盖显示面板 141, 当触敏表面 131检测到在其上或附 近的触摸操作后, 传送给处理器 180以确定触摸事件的类型, 随后处理器 180根据触摸事 件的类型在显示面板 141上提供相应的视觉输出。 虽然在图 10中, 触敏表面 131与显示面 板 141 是作为两个独立的部件来实现输入和输入功能, 但是在某些实施例中, 可以将触敏 表面 131与显示面板 141集成而实现输入和输出功能。
终端 1000还可包括至少一种传感器 150, 比如光传感器、运动传感器以及其他传感器。 具体地, 光传感器可包括环境光传感器及接近传感器, 其中, 环境光传感器可根据环境光 线的明暗来调节显示面板 141的亮度, 接近传感器可在终端 1000移动到耳边时, 关闭显示 面板 141和 /或背光。 作为运动传感器的一种, 重力加速度传感器可检测各个方向上 (一般 为三轴) 加速度的大小, 静止时可检测出重力的大小及方向, 可用于识别手机姿态的应用 (比如横竖屏切换、 相关游戏、磁力计姿态校准)、 振动识别相关功能(比如计步器、 敲击) 等; 至于终端 1000还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线传感器等其他传 感器, 在此不再赘述。
音频电路 160、 扬声器 161, 传声器 162可提供用户与终端 1000之间的音频接口。 音 频电路 160可将接收到的音频数据转换后的电信号, 传输到扬声器 161, 由扬声器 161转换 为声音信号输出; 另一方面, 传声器 162将收集的声音信号转换为电信号, 由音频电路 160 接收后转换为音频数据, 再将音频数据输出处理器 180处理后, 经 RF电路 110以发送给比 如另一终端, 或者将音频数据输出至存储器 120以便进一步处理。 音频电路 160还可能包 括耳塞插孔, 以提供外设耳机与终端 1000的通信。
终端 1000通过传输模块 170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等, 它为用户提供了无线或有线的宽带互联网访问。 虽然图 10示出了传输模块 170, 但是可以 理解的是, 其并不属于终端 1000的必须构成, 完全可以根据需要在不改变发明的本质的范 围内而省略。
处理器 180是终端 1000的控制中心, 利用各种接口和线路连接整个手机的各个部分, 通过运行或执行存储在存储器 120内的软件程序和 /或模块, 以及调用存储在存储器 120内 的数据, 执行终端 1000的各种功能和处理数据, 从而对手机进行整体监控。 可选的, 处理 器 180可包括一个或多个处理核心; 优选的, 处理器 180可集成应用处理器和调制解调处 理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程序等, 调制解调处理器主 要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集成到处理器 180中。
终端 1000还包括给各个部件供电的电源 190 (比如电池), 优选的, 电源可以通过电源 管理系统与处理器 180逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以及功耗 管理等功能。 电源 190还可以包括一个或一个以上的直流或交流电源、 再充电系统、 电源 故障检测电路、 电源转换器或者逆变器、 电源状态指示器等任意组件。
尽管未示出, 终端 1000还可以包括摄像头、 蓝牙模块等, 在此不再赘述。 具体在本实 施例中, 终端的显示单元是触摸屏显示器, 终端还包括有存储器, 以及一个或者一个以上 的程序, 其中一个或者一个以上程序存储于存储器中, 且经配置以由一个或者一个以上处 理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条 的方向移动;
当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述刷新进度条的当前长 度;
当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新 信息。
假设上述为第一种可能的实施方式, 则在第一种可能的实施方式作为基础而提供的第 二种可能的实施方式中, 所述终端的存储器中, 还包含用于执行以下操作的指令:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
在第一种可能的实施方式作为基础而提供的第三种可能的实施方式中, 所述终端的存 储器中, 还包含用于执行以下操作的指令:
获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算实际的 刷新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前 长度。
在第一种可能的实施方式作为基础而提供的第四种可能的实施方式中, 所述终端的存 储器中, 还包含用于执行以下操作的指令:
输出所述刷新后的消息数据, 并以悬浮窗的形式输出所述刷新得到的所述消息的总数 在第一种可能的实施方式作为基础而提供的第五种可能的实施方式中, 所述终端的存 储器中, 还包含用于执行以下操作的指令:
当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
在第一种可能的实施方式作为基础而提供的第六种可能的实施方式中, 所述终端的存 储器中, 还包含用于执行以下操作的指令:
所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设数量的光 标种子, 每组移动光标单元的加速度成等差数列。
综上所述, 本实施例的有益效果是: 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所 述预设标识开始向所述刷新进度条的方向移动; 当检测到所述移动光标到达所述刷新进度 条时, 计算并输出所述刷新进度条的长度; 当所述刷新进度条的长度等于所述预设的动画 界面的宽度时, 输出拉取到的刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用 户能够获得更好的体验感。 实施例 5
本发明实施例提供了一种计算机可读存储介质, 该计算机可读存储介质可以是上述实 施例中的存储器中所包含的计算机可读存储介质; 也可以是单独存在, 未装配入终端中的 计算机可读存储介质。 所述计算机可读存储介质存储有一个或者一个以上程序, 所述一个 或者一个以上程序被一个或者一个以上的处理器用来执行一个滑动控制方法, 所述方法包 括:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条 的方向移动;
当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述刷新进度条的当前长 度;
当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新 信息。
假设上述为第一种可能的实施方式, 则在第一种可能的实施方式作为基础而提供的第 二种可能的实施方式中, 所述输出预设的动画界面, 包括:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
在第一种可能的实施方式作为基础而提供的第三种可能的实施方式中, 所述计算所述 刷新进度条的当前长度, 包括:
获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算实际的 刷新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前 长度。
在第一种可能的实施方式作为基础而提供的第四种可能的实施方式中, 所述输出拉取 到的刷新信息, 包括:
输出所述刷新后的消息数据, 并以悬浮窗的形式输出所述刷新得到的所述消息的总数 在第一可能的实施方式作为基础而提供的第五种可能的实施方式中, 所述计算并输出 所述刷新进度条的当前长度之后, 还包括: 当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
在第一种可能的实施方式作为基础而提供的第六种可能的实施方式中, 所述移动光标 由多组移动光标单元组成, 其中, 每组移动光标单元包括预设数量的光标种子, 每组移动 光标单元的加速度成等差数列。
本实施例的有益效果是: 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所 述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标 识开始向所述刷新进度条的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计 算并输出所述刷新进度条的长度; 当所述刷新进度条的长度等于所述预设的动画界面的宽 度时, 输出拉取到的刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用户能够获 得更好的体验感。 实施例 6
本发明实施例中提供了一种图形用户接口, 所述图形用户接口用在终端上, 所述终端 包括触摸屏显示器、 存储器和用于执行一个或者一个以上的程序的一个或者一个以上的处 理器; 所述图形用户接口包括:
在所述触摸屏显示器上显示当执行页面的刷新操作时, 输出的预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设 标识开始向所述刷新进度条的方向移动;
当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述刷新进度条的当前长 度;
当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新 信息。
本实施例的有益效果是: 当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所 述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标 识开始向所述刷新进度条的方向移动; 当检测到所述移动光标到达所述刷新进度条时, 计 算并输出所述刷新进度条的长度; 当所述刷新进度条的长度等于所述预设的动画界面的宽 度时, 输出拉取到的刷新信息。 在执行页面刷新操作时输出预设动画界面, 使用户能够获 得更好的体验感。 需要说明的是: 上述实施例提供的刷新页面的装置及终端在刷新页面时, 仅以上述各 功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功 能模块完成, 即将装置及终端的内部结构划分成不同的功能模块, 以完成以上描述的全部 或者部分功能。 另外, 上述实施例提供的刷新页面的装置、 终端与刷新页面的方法实施例 属于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种刷新页面的方法, 其特征在于, 所述方法包括:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预 设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条的方 向移动;
当检测到所述移动光标到达所述刷新进度条时,计算并输出所述刷新进度条的当前长度; 当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新信 息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述输出预设的动画界面, 包括: 在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
3、 根据权利要求 1所述的方法, 其特征在于, 所述计算所述刷新进度条的当前长度, 包 括:
获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算所述实际 的刷新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前长 度。
4、 根据权利要求 1所述的方法, 其特征在于, 所述输出拉取到的所述刷新信息, 包括: 输出所述刷新后的消息数据,并以悬浮窗的形式输出所述刷新得到的所述消息的总数量。
5、根据权利要求 1所述的方法, 其特征在于, 所述计算并输出所述刷新进度条的当前长 度之后, 还包括:
当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
6、 根据权利要求 1所述的方法, 其特征在于, 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设数量的光标种子, 每组移动光标单元的加速度成等差数列。
7、 一种刷新页面的装置, 其特征在于, 所述装置包括:
动画输出模块, 用于当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设 的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向 所述刷新进度条的方向移动;
进度条显示模块, 用于当检测到所述移动光标到达所述刷新进度条时, 计算并输出所述 刷新进度条的当前长度;
数据显示模块, 用于当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新信息。
8、 根据权利要求 7所述的装置, 其特征在于, 所述动画输出模块具体用于:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
9、 根据权利要求 7所述的装置, 其特征在于, 所述进度条显示模块, 包括:
获取单元, 用于获取当前拉取到的刷新信息的数量;
第一计算单元, 用于根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总 数量, 计算实际的刷新进度;
第二计算单元, 用于用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述 刷新进度条的当前长度。
10、 根据权利要求 7所述的装置, 其特征在于, 所述数据显示模块具体用于: 输出所述刷新后的消息数据,并以悬浮窗的形式输出所述刷新得到的所述消息的总数量。
11、 根据权利要求 7所述的装置, 其特征在于, 所述装置还包括:
调整模块, 用于当所述进度条显示模块计算出所述刷新进度条的长度并未增长时, 将所 述移动光标的透明度降低到预设值。
12、根据权利要求 7所述的装置, 其特征在于, 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设数量的光标种子, 每组移动光标单元的加速度成等差数列。
13、 一种终端, 其特征在于, 所述终端包括: 触摸屏显示器、 一个或者一个以上的处理 器; 存储器; 以及一个或者一个以上的程序, 其中所述一个或者一个以上程序存储于所述存 储器中, 且经配置以由所述一个或者一个以上处理器执行, 所述一个或者一个以上程序包含 用于进行以下操作的指令:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预 设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条的方 向移动;
当检测到所述移动光标到达所述刷新进度条时,计算并输出所述刷新进度条的当前长度; 当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新信 息。
14、 根据权利要求 13所述的终端, 其特征在于, 包含用于执行以下操作的指令: 在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
15、 根据权利要求 13所述的终端, 其特征在于, 包含用于执行以下操作的指令: 获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算实际的刷 新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前长 度。
16、 根据权利要求 13所述的终端, 其特征在于, 包含用于执行以下操作的指令: 输出所述刷新后的消息数据,并以悬浮窗的形式输出所述刷新得到的所述消息的总数量。
17、 根据权利要求 13所述的终端, 其特征在于, 包含用于执行以下操作的指令: 当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
18、 根据权利要求 13所述的终端, 其特征在于, 包含用于执行以下操作的指令: 所述移动光标由多组移动光标单元组成, 其中, 每组移动光标单元包括预设数量 种子, 每组移动光标单元的加速度成等差数列。
19、 一种计算机可读存储介质, 其特征在于, 所述计算机可读存储介质存储有一个或者 一个以上程序, 所述一个或者一个以上程序被一个或者一个以上的处理器用来执行一个滑动 控制方法, 所述方法包括:
当执行页面的刷新操作时, 输出预设的动画界面, 其中, 所述预设的动画界面包括: 预 设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标识开始向所述刷新进度条的方 向移动;
当检测到所述移动光标到达所述刷新进度条时,计算并输出所述刷新进度条的当前长度; 当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新信 息。
20、根据权利要求 19所述的计算机可读存储介质, 其特征在于, 所述输出预设的动画界 面, 包括:
在所述页面的底部输出预设的动画界面; 或,
在所述页面的顶部输出预设的动画界面。
21、根据权利要求 19所述的计算机可读存储介质, 其特征在于, 所述计算所述刷新进度 条的当前长度, 包括:
获取当前拉取到的刷新信息的数量;
根据所述当前拉取到的刷新信息的数量和需要拉取的刷新信息的总数量, 计算实际的刷 新进度;
用所述实际的刷新进度乘以所述预设的动画界面的宽度, 得到所述刷新进度条的当前长 度。
22、根据权利要求 19所述的计算机可读存储介质, 其特征在于, 所述输出拉取到的刷新 信息, 包括:
输出所述刷新后的消息数据,并以悬浮窗的形式输出所述刷新得到的所述消息的总数量。
23、根据权利要求 19所述的计算机可读存储介质, 其特征在于, 所述计算并输出所述刷 新进度条的当前长度之后, 还包括:
当所述刷新进度条的长度并未增长时, 将所述移动光标的透明度降低到预设值。
24、根据权利要求 19所述的计算机可读存储介质, 其特征在于, 所述移动光标由多组移 动光标单元组成, 其中, 每组移动光标单元包括预设数量的光标种子, 每组移动光标单元的 加速度成等差数列。
25、 一种图形用户接口, 其特征在于, 所述图形用户接口用在终端上, 所述终端包括触 摸屏显示器、 存储器和用于执行一个或者一个以上的程序的一个或者一个以上的处理器; 所 述图形用户接口包括:
在所述触摸屏显示器上显示当执行页面的刷新操作时, 输出的预设的动画界面, 其中, 所述预设的动画界面包括: 预设标识、 移动光标和刷新进度条, 所述移动光标从所述预设标 识开始向所述刷新进度条的方向移动;
当检测到所述移动光标到达所述刷新进度条时,计算并输出所述刷新进度条的当前长度; 当所述刷新进度条的当前长度等于所述预设的动画界面的宽度时, 输出拉取到的刷新信
PCT/CN2013/078126 2012-06-28 2013-06-27 刷新页面的方法、装置及终端 WO2014000656A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/408,538 US9720561B2 (en) 2012-06-28 2013-06-27 Progress bar with graphical effects to indicate download progress and connection state
US15/630,647 US10509532B2 (en) 2012-06-28 2017-06-22 Progress bar with graphical effects to indicate download progress and connection state

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210218461.7A CN103513856B (zh) 2012-06-28 2012-06-28 刷新页面的方法和装置
CN201210218461.7 2012-06-28

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US14/408,538 A-371-Of-International US9720561B2 (en) 2012-06-28 2013-06-27 Progress bar with graphical effects to indicate download progress and connection state
US15/630,647 Continuation US10509532B2 (en) 2012-06-28 2017-06-22 Progress bar with graphical effects to indicate download progress and connection state

Publications (1)

Publication Number Publication Date
WO2014000656A1 true WO2014000656A1 (zh) 2014-01-03

Family

ID=49782255

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078126 WO2014000656A1 (zh) 2012-06-28 2013-06-27 刷新页面的方法、装置及终端

Country Status (3)

Country Link
US (2) US9720561B2 (zh)
CN (1) CN103513856B (zh)
WO (1) WO2014000656A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511844A (zh) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 一种应用于计算机的网页刷新方法及其装置

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150033156A1 (en) * 2013-07-25 2015-01-29 Declarativ, Inc. Opportunistic use of transient user interface space
CN104951179A (zh) * 2014-03-27 2015-09-30 腾讯科技(北京)有限公司 一种对页面进行刷新处理的方法和装置
CN104834474B (zh) * 2015-06-01 2019-05-31 走遍世界(北京)信息技术有限公司 页面刷新方法和装置
CN106354376B (zh) * 2015-07-13 2020-12-04 腾讯科技(深圳)有限公司 一种信息处理方法及客户端
CN107368345A (zh) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 应用程序数据处理的方法及装置
CN106708505B (zh) * 2016-11-15 2019-09-06 烽火通信科技股份有限公司 一种基于web页面的批量操作界面的应用方法及系统
CN106815042A (zh) * 2016-12-07 2017-06-09 乐视控股(北京)有限公司 刷新页面的动态加载方法、装置及电子设备
CN108228429A (zh) * 2016-12-15 2018-06-29 北京优朋普乐科技有限公司 一种显示文件下载状态信息的方法及终端
CN109976981A (zh) * 2017-12-27 2019-07-05 航天信息股份有限公司 设备的监控状态的显示方法及显示系统
CN108427726B (zh) * 2018-02-12 2020-10-02 北京达佳互联信息技术有限公司 一种刷新方法和装置
CN108710688B (zh) * 2018-05-21 2021-12-21 创新先进技术有限公司 一种页面中动画的生成方法、装置及电子设备
CN112149020B (zh) * 2020-09-17 2023-04-28 成都知道创宇信息技术有限公司 进度条显示方法、装置、电子设备及存储介质
CN113010820B (zh) * 2021-03-22 2023-07-04 中国联合网络通信集团有限公司 页面数据更新方法、装置、电子设备、介质及程序产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078453A1 (en) * 2002-10-17 2004-04-22 International Business Machines Corporation Method, apparatus, and computer program product to determine the progress of Web page downloads
CN101295244A (zh) * 2007-04-29 2008-10-29 鸿富锦精密工业(深圳)有限公司 进度条设计系统及方法
US20120096383A1 (en) * 2010-10-15 2012-04-19 Sony Network Entertainment Inc. Loader animation

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5953010A (en) * 1997-08-01 1999-09-14 Sun Microsystems, Inc. User-friendly iconic message display indicating progress and status of loading and running system program in electronic digital computer
US6965863B1 (en) * 1998-11-12 2005-11-15 Microsoft Corporation Speech recognition user interface
US6732296B1 (en) * 2000-07-14 2004-05-04 Rockwell Automation Technologies, Inc. Object oriented scaleable test executive
JP4650701B2 (ja) * 2008-05-12 2011-03-16 ソニー株式会社 コンテンツ再生装置、ステータスバー表示方法及びステータスバー表示プログラム
US8411046B2 (en) 2008-10-23 2013-04-02 Microsoft Corporation Column organization of content
US20100107100A1 (en) * 2008-10-23 2010-04-29 Schneekloth Jason S Mobile Device Style Abstraction
US8375319B2 (en) * 2009-06-05 2013-02-12 Apple Inc. Progress indicator for loading dynamically-sized contents
US9195980B2 (en) * 2009-10-30 2015-11-24 Nokia Technologies Oy Method and apparatus for recovery during authentication
US20110117867A1 (en) * 2009-11-13 2011-05-19 Usa Technologies, Inc. Received signal strength indicator apparatus and method
US8751953B2 (en) * 2010-06-04 2014-06-10 Apple Inc Progress indicators for loading content
US8666818B2 (en) * 2011-08-15 2014-03-04 Logobar Innovations, Llc Progress bar is advertisement
US9077646B2 (en) * 2012-02-13 2015-07-07 Fluke Corporation Method and apparatus for testing and displaying test results
US20130235044A1 (en) * 2012-03-09 2013-09-12 Apple Inc. Multi-purpose progress bar

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078453A1 (en) * 2002-10-17 2004-04-22 International Business Machines Corporation Method, apparatus, and computer program product to determine the progress of Web page downloads
CN101295244A (zh) * 2007-04-29 2008-10-29 鸿富锦精密工业(深圳)有限公司 进度条设计系统及方法
US20120096383A1 (en) * 2010-10-15 2012-04-19 Sony Network Entertainment Inc. Loader animation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511844A (zh) * 2014-09-22 2016-04-20 阿里巴巴集团控股有限公司 一种应用于计算机的网页刷新方法及其装置
CN105511844B (zh) * 2014-09-22 2019-04-19 阿里巴巴集团控股有限公司 一种应用于计算机的网页刷新方法及其装置

Also Published As

Publication number Publication date
CN103513856B (zh) 2017-08-25
CN103513856A (zh) 2014-01-15
US9720561B2 (en) 2017-08-01
US10509532B2 (en) 2019-12-17
US20170308263A1 (en) 2017-10-26
US20150153931A1 (en) 2015-06-04

Similar Documents

Publication Publication Date Title
US10509532B2 (en) Progress bar with graphical effects to indicate download progress and connection state
WO2016169465A1 (zh) 一种显示弹幕信息的方法、装置和系统
CN106686396B (zh) 一种切换直播间的方法和系统
US9658757B2 (en) Method and device for managing progress indicator display
WO2016165568A1 (zh) 视频图像缩放方法和移动终端
WO2017008551A1 (zh) 弹幕显示方法及装置
WO2016107501A1 (zh) 智能设备控制方法及装置
WO2016184302A1 (zh) 消息转发方法及电子设备
WO2017125027A1 (zh) 一种进行信息展示的方法和装置、计算机存储介质
WO2017129031A1 (zh) 信息获取方法及装置
WO2016066092A1 (zh) 多媒体播放控制方法、装置以及存储介质
WO2015172704A1 (en) To-be-shared interface processing method, and terminal
WO2019024700A1 (zh) 表情展示方法、装置及计算机可读存储介质
WO2019029406A1 (zh) 表情展示方法、装置、计算机可读存储介质及终端
WO2017032153A1 (zh) 提示信息的显示方法、装置及终端
WO2016206491A1 (zh) 目标对象运动轨迹确定方法、装置以及存储介质
WO2015043194A1 (zh) 虚拟键盘显示方法、装置及终端
WO2017084289A1 (zh) 一种进行信息展示的方法、装置和系统
CN105094501B (zh) 一种移动终端中消息的显示方法、装置和系统
WO2017028692A1 (zh) 一种视频播放器调用方法、装置及存储介质
WO2018137304A1 (zh) 一种2d应用在vr设备中的显示方法及终端
WO2014206138A1 (zh) 一种更新网页数据的方法、装置和终端设备
WO2015172705A1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
CN107066173A (zh) 操作控制方法及装置
WO2015032245A1 (en) Method and device for managing progress indicator display

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13808505

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14408538

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/06/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13808505

Country of ref document: EP

Kind code of ref document: A1