CN105630315A - Quantity adjustment method and apparatus - Google Patents

Quantity adjustment method and apparatus Download PDF

Info

Publication number
CN105630315A
CN105630315A CN201410594136.XA CN201410594136A CN105630315A CN 105630315 A CN105630315 A CN 105630315A CN 201410594136 A CN201410594136 A CN 201410594136A CN 105630315 A CN105630315 A CN 105630315A
Authority
CN
China
Prior art keywords
response region
trigger action
current quantity
moves
regulating
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
CN201410594136.XA
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 Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410594136.XA priority Critical patent/CN105630315A/en
Publication of CN105630315A publication Critical patent/CN105630315A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a quantity adjustment method and apparatus, and belongs to the field of communication. The method comprises the steps of when the triggering operation for a quantity adjustment control in a page is detected, generating a response region and displaying a current quantity in the response region; when it is detected that the triggering operation is not ended and moves in the response region, judging a moving direction of the triggering operation in the response region; if the triggering operation moves in a first direction, performing increment adjustment on the current quantity; and if the triggering operation moves in a second direction, performing reduction adjustment on the current quantity. The apparatus comprises a triggering module, a judgment module and an adjustment module. According to the quantity adjustment method and apparatus, the quantity adjustment efficiency is improved, the multi-time clicking is not required, the operation is simple and convenient, the implementation is easy, the defect of cumbersome operation is overcome, the usability is enhanced, and the effect of quick quantity increment and reduction is achieved.

Description

The method and apparatus regulating quantity
Technical field
The present invention relates to the communications field, particularly to a kind of method and apparatus regulating quantity.
Background technology
At present, when there is the function regulating quantity on the page, common mode is the numeral showing an acquiescence on the page, and provides increase button such as "+" or " �� ", and reduce button such as "-" or " �� ". When user clicks and increases button, showing after Contemporary Digital is added 1, when user clicks and reduces button, showing after Contemporary Digital is subtracted 1, thus realizing the adjustment to quantity increase and decrease.
But, in the above-mentioned process that quantity is carried out increase and decrease adjustment, it is necessary to the number of times of click is more, operates comparatively laborious, it is not easy to operation.
Summary of the invention
In view of this, a kind of method and apparatus regulating quantity is embodiments provided, to improve efficiency, it is easy to operation. Described technical scheme is as follows:
On the one hand, it is provided that a kind of method regulating quantity, including:
The trigger action for the quantity regulating control on the page detected, generate response region, in described response region, show current quantity;
Detect that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region;
If described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating.
On the other hand, it is provided that a kind of device regulating quantity, including:
Trigger module, for the trigger action for the quantity regulating control on the page being detected, generates response region, shows current quantity in described response region;
Judge module, is used for detecting that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region;
Adjustment module, if moved in the first direction for described trigger action, then performs to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating.
The technical scheme that the embodiment of the present invention provides has the benefit that the trigger action detected for the quantity regulating control on the page, generates response region, shows current quantity in described response region; Detect that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region; If described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating; Improve the efficiency of quantity regulating, it is not necessary to repeatedly click, simple to operation, it is easy to realize, overcome the defect of complex operation, improve ease for use, reached the effect of quick increase and decrease quantity.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described 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 premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of the adjustment quantity that one embodiment of the invention provides;
Fig. 2 is the method flow diagram of the adjustment quantity that another embodiment of the present invention provides;
Fig. 3 a-d is the interface schematic diagram of the adjustment quantity that another embodiment of the present invention provides;
Fig. 4 is the structure drawing of device of the adjustment quantity that another embodiment of the present invention provides;
Fig. 5 is the structure drawing of device of the adjustment quantity that another embodiment of the present invention provides;
Fig. 6 is the terminal structure figure that another embodiment of the present invention provides.
Detailed description of the invention
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.
Referring to Fig. 1, one embodiment of the invention provides a kind of method regulating quantity, including:
101: the trigger action for the quantity regulating control on the page detected, generate response region, in this response region, show current quantity.
The page that the present embodiment relates to can be any one page, such as the webpage browsed, or a page in application program etc.
The method that the present embodiment provides is applied to terminal, especially touch screen terminal, such as mobile phone, panel computer etc., does not specifically limit.
Wherein, response region refers to for the region being available for user operation that number of responses regulates. The size of this response region, shape and color etc. do not limit. If shape can be rectangle, square, circle, ellipse, rhombus etc. It addition, the position that this response region is on the page, the present embodiment does not also limit, as can above screen, lower section or the upper right corner, the lower left corner, or the surrounding of this control etc.
102: detect that this trigger action does not terminate and moves in this response region, it is judged that this trigger action moving direction in this response region.
In the present embodiment, this trigger action does not terminate to refer to that the finger of user does not frame out, as long as user's finger does not frame out and is considered as this trigger action and do not terminate.
In the present embodiment, the adjustment of quantity includes increasing and reducing, and therefore, the moving direction of corresponding trigger action has two, first direction and second direction. The two direction can be the direction being arbitrarily designated, if both direction difference. Wherein, first direction is accelerated for control, and second direction is used for controlling to reduce quantity.
103: if this trigger action moves in the first direction, then perform to increase adjustment to this current quantity; If this trigger action moves in a second direction, then this current quantity performs to reduce regulating.
In the present embodiment, optionally, if this trigger action described moves in the first direction, then perform to increase adjustment to this current quantity; If this trigger action moves in a second direction, then this current quantity performs to reduce regulating, it is possible to including:
If this trigger action moves in the first direction, then it is gradually increased this current quantity the current quantity of display in this response region of real-time update, until this trigger action frames out or removes this response region;
If this trigger action moves in a second direction, then gradually decrease this current quantity the current quantity of display in this response region of real-time update, until this trigger action frames out or removes this response region.
In the present embodiment, optionally, detect described in that this trigger action does not terminate and moves in this response region, it is possible to including:
Detect that this trigger action does not frame out and continues to move in this response region; Or,
Detect that this trigger action rests on screen after not frameing out and persistently moving in this response region.
In the present embodiment, optionally, described in this response region, current quantity is shown, it is possible to including:
Directly display on this page or hide or show this response region according to default transparency, and in this response region, showing this current quantity.
In the present embodiment, optionally, this first direction is upwards, and this second direction is downward; Or, this first direction is that this second direction is upwards downwards; Or, this first direction is to the left, and this second direction is to the right; Or, this first direction is to the right, and this second direction is to the left.
The said method that the present embodiment provides, detects the trigger action for the quantity regulating control on the page, generates response region, shows current quantity in described response region; Detect that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region; If described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating; Improve the efficiency of quantity regulating, it is not necessary to repeatedly click, simple to operation, it is easy to realize, overcome the defect of complex operation, improve ease for use, reached the effect of quick increase and decrease quantity.
Referring to Fig. 2, another embodiment of the present invention provides a kind of method regulating quantity, including:
201: the trigger action for the quantity regulating control on the page detected, generate response region, in this response region, show current quantity.
Wherein, when in response region, the current quantity of display is initial, the quantity of acquiescence, is generally 0, naturally it is also possible to being arranged as required to the value into other, this is not specifically limited by the present embodiment.
Wherein, in this response region, current quantity is shown, it is possible to including:
Directly display on this page or hide or show this response region according to default transparency, and in this response region, showing this current quantity.
In the present embodiment, the display mode of response region has multiple, it is possible to be directly displayed on screen, and this mode is more directly perceived, it is easier to be easily accepted by a user. Or, it is also possible to being shown on screen with default transparency, this mode can be avoided the out of Memory on the page is caused excessively blocking, and visual effect is better. It is of course also possible to stash, user directly operates, and this is not specifically limited by the present embodiment.
202: detect that this trigger action does not frame out and continues to move in this response region; Or, detect that this trigger action rests on screen after not frameing out and persistently moving in this response region.
In the present embodiment, this trigger action can be single operation, or the combination for continuous operation, does not specifically limit. For example, it is possible to be a slide, or being slide and the long combination in any by operation, if slide-> length is by operation, or slide-> length is by operation-> slide etc. The finger of user can arbitrarily stop in the process slided, and the time of staying is not limit. As long as the finger of user does not frame out, being considered as being in the process of quantity regulating all the time, no matter finger is to continue to slide, still slide with loitering, all quantity is adjusted, until user's finger frames out or skids off response region, just stops regulating.
203: judge this trigger action moving direction in this response region, if this trigger action moves in the first direction, then perform 204; If this trigger action moves in a second direction, then perform 205.
204: being gradually increased this current quantity the current quantity of display in this response region of real-time update, until this trigger action frames out or removes this response region, flow process terminates.
In the present embodiment, it is preferable that increasing to of quantity increases evenly. Wherein, the speed that quantity increases can be the speed specified, and this is not specifically limited by the present embodiment. Such as, this command speed is the speed that trigger action slides, or speed of obtaining etc. after being multiplied by a prescribed coefficient for the speed of trigger action slip, and this is not specifically limited by the present embodiment.
205: gradually decreasing this current quantity the current quantity of display in this response region of real-time update, until this trigger action frames out or removes this response region, flow process terminates.
Similar, the minimizing of described quantity can also for reduce evenly. Wherein, the speed that quantity reduces can be the speed specified, and this is not specifically limited by the present embodiment. Such as, this command speed is the speed that trigger action slides, or speed of obtaining etc. after being multiplied by a prescribed coefficient for the speed of trigger action slip, and this is not specifically limited by the present embodiment.
In the present embodiment, optionally, described first direction and second direction can be following any one:
First direction is upwards, and second direction is downward; Or,
First direction is that second direction is upwards downwards; Or,
First direction is to the left, and second direction is to the right; Or,
First direction is to the right, and second direction is to the left.
Certainly, first direction and second direction can also be other direction, as obliquely or obliquely etc., this is not specifically limited by the present embodiment.
For example, with reference to Fig. 3, for the interface schematic diagram of the adjustment quantity that another embodiment of the present invention provides. Wherein, as shown in Figure 3 a, current page showing the schematic diagram of commodity " chocolate (cold) ", lower section has marked the price of these commodity, and right shows the control regulating quantity. After user clicks this control with finger on screen, the page shows rectangular response region, as shown in Figure 3 b. Circle on figure represents the click on area of user's finger. Showing initial number in response region is 0. If the finger of user does not frame out, and in response region, start upward sliding, as shown in Figure 3 c, be then gradually increased this quantity and real-time update is shown on response region. Until the finger of user frames out, current quantity increases to 6, and hides this response region, quantity 6 after vision-control on this control, as shown in Figure 3 d. It is noted that in the process of user's finger upward sliding, the numeral on screen is progressively incremented by by 0 to 6, reflect the adjustment process of quantity intuitively, it is easy to user check, it is possible to understand the adjustment situation of quantity in time, and real-time update has reached the effect of quick adjustment.
The said method that the present embodiment provides, improves the efficiency of quantity regulating, it is not necessary to repeatedly click, simple to operation, it is easy to realizes, overcomes the defect of complex operation, improve ease for use, reached the effect of quick increase and decrease quantity.
Referring to Fig. 4, another embodiment of the present invention provides a kind of device regulating quantity, including:
Trigger module 401, for the trigger action for the quantity regulating control on the page being detected, generates response region, shows current quantity in this response region;
Judge module 402, is used for detecting that this trigger action does not terminate and moves in this response region, it is judged that this trigger action moving direction in this response region;
Adjustment module 403, if moved in the first direction for this trigger action, then performs to increase adjustment to this current quantity; If this trigger action moves in a second direction, then this current quantity performs to reduce regulating.
Referring to Fig. 5, in the present embodiment, optionally, adjustment module 403 may include that
First regulon 403a, if moved in the first direction for this trigger action, is then gradually increased this current quantity the current quantity of display in this response region of real-time update, until this trigger action frames out or removes this response region;
Second regulon 403b, if moved in a second direction for this trigger action, then gradually decreases this current quantity the current quantity of display in this response region of real-time update, until this trigger action frames out or removes this response region.
In the present embodiment, optionally, it is judged that module 402 may include that
Judging unit, is used for detecting that this trigger action does not frame out and continues to move in this response region, it is judged that this trigger action moving direction in this response region; Or, detect that this trigger action rests on screen after not frameing out and persistently moving in this response region, it is judged that this trigger action moving direction in this response region.
In the present embodiment, optionally, trigger module 401 may include that
Generate unit, for the trigger action for the quantity regulating control on the page being detected, generate response region;
Display unit, for directly displaying on this page or hiding or show this response region according to default transparency, and shows this current quantity in this response region.
In the present embodiment, optionally, this first direction is upwards, and this second direction is downward; Or, this first direction is that this second direction is upwards downwards; Or, this first direction is to the left, and this second direction is to the right; Or, this first direction is to the right, and this second direction is to the left.
The said apparatus that the present embodiment provides, improves the efficiency of quantity regulating, it is not necessary to repeatedly click, simple to operation, it is easy to realizes, overcomes the defect of complex operation, improve ease for use, reached the effect of quick increase and decrease quantity.
Referring to Fig. 6, another embodiment of the present invention provides a kind of terminal 600, communication unit 610 can be included, include the memorizer 620 of one or more non-volatile readable storage mediums, input block 630, display unit 640, sensor 650, voicefrequency circuit 660, WiFi (wirelessfidelity, Wireless Fidelity) module 670, include the parts such as processor 680 and power supply 690 of or more than one process core.
It will be understood by those skilled in the art that the terminal structure shown in Fig. 6 is not intended that the restriction to terminal, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged. Wherein:
Communication unit 610 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication unit 610 can be RF (RadioFrequency, radio frequency) circuit, router, modem, etc. network communication equipment. especially, when communication unit 610 is RF circuit, after the downlink information of base station is received, transfer to one or more than one processor 680 processes, it addition, be sent to base station by relating to up data. generally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder, LNA (LowNoiseAmplifier, low-noise amplifier), duplexer etc. communicate additionally, communication unit 610 can also pass through radio communication with network and other equipment. described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, WCDMA), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc. memorizer 620 can be used for storing software program and module, and processor 680 is stored in software program and the module of memorizer 620 by running, thus performing the application of various function and data process. memorizer 620 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function, storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to terminal 600 creates. additionally, memorizer 620 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts. correspondingly, memorizer 620 can also include Memory Controller, to provide processor 680 and the input block 630 access to memorizer 620.
Input block 630 can be used for receiving numeral or the character information of input, and produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal and input. Alternatively, input block 630 can include Touch sensitive surface 630a and other input equipments 630b. Touch sensitive surface 630a, also referred to as touching display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on Touch sensitive surface 630a or near Touch sensitive surface 630a), and drive corresponding connecting device according to formula set in advance. Optionally, Touch sensitive surface 630a can include touch detecting apparatus and two parts of touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 680, and can receive order that processor 680 sends and be performed. Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Touch sensitive surface 630a. Except Touch sensitive surface 630a, input block 630 can also include other input equipments 630b. Alternatively, other input equipments 630b 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, action bars etc.
Display unit 640 can be used for showing the various graphical user interface of information or the information being supplied to user and the terminal 600 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any. Display unit 640 can include display floater 640a, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 640a. Further, Touch sensitive surface 630a can cover display floater 640a, when Touch sensitive surface 630a detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display floater 640a, provide corresponding visual output with preprocessor 680 according to the type of touch event. Although in figure 6, Touch sensitive surface 630a and display floater 640a realize input and input function as two independent parts, but in some embodiments it is possible to by integrated for Touch sensitive surface 630a and display floater 640a and realize input and output function.
Terminal 600 may also include at least one sensor 650, such as optical sensor, motion sensor and other sensors. Alternatively, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate the brightness of display floater 640a according to the light and shade of ambient light, proximity transducer when terminal 600 moves in one's ear, can cut out display floater 640a and/or backlight. One as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction 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 pedometer, knock) etc.; Other sensors such as the gyroscope that can also configure as terminal 600, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, speaker 660a, microphone 660b can provide the audio interface between user and terminal 600. Voicefrequency circuit 660 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 660a, by speaker 660a be converted to acoustical signal output; On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 660b, voice data is converted to after being received by voicefrequency circuit 660, after again voice data output processor 680 being processed, through RF circuit 610 to be sent to such as another terminal, or voice data is exported to memorizer 620 to process further. Voicefrequency circuit 660 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and terminal 600.
In order to realize radio communication, this terminal can being configured with wireless communication unit 670, this wireless communication unit 670 can be WiFi module. WiFi belongs to short range wireless transmission technology, and terminal 600 can help user to send and receive e-mail by wireless communication unit 670, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed. Although Fig. 6 illustrates wireless communication unit 670, but it is understood that, it is also not belonging to must be configured into of terminal 600, completely can as needed in do not change invention essence scope in and omit.
Processor 680 is the control centre of terminal 600, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in memorizer 620 and/or module by running or performing, and call the data being stored in memorizer 620, perform the various functions of terminal 600 and process data, thus mobile phone is carried out integral monitoring. Optionally, processor 680 can include one or more process core; Preferably, processor 680 can integrated 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. It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Terminal 600 also includes the power supply 690 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 680 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system. Power supply 690 can also include one or more direct current or alternating current power supply, 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 600 can also include photographic head, bluetooth module etc., does not repeat them here.
Give the optional structure of terminal 600 above in association with Fig. 6, wherein one or more module stores are in described memorizer and are configured to be performed by the one or more processor, and the one or more module has following function:
The trigger action for the quantity regulating control on the page detected, generate response region, in described response region, show current quantity;
Detect that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region;
If described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating.
Wherein, if described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating, including:
If described trigger action moves in the first direction, then it is gradually increased described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region;
If described trigger action moves in a second direction, then gradually decrease described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region.
Wherein, described in detect that described trigger action does not terminate and moves in described response region, including:
Detect that described trigger action does not frame out and continues to move in described response region; Or,
Detect that described trigger action rests on screen after not frameing out and persistently moving in described response region.
Wherein, described in described response region, show current quantity, including:
Directly display on the page or hide or show described response region according to default transparency, and in described response region, showing described current quantity.
Wherein, described first direction is upwards, and described second direction is downward; Or, described first direction is that described second direction is upwards downwards; Or, described first direction is to the left, and described second direction is to the right; Or, described first direction is to the right, and described second direction is to the left.
The above-mentioned terminal that the present embodiment provides, improves the efficiency of quantity regulating, it is not necessary to repeatedly click, simple to operation, it is easy to realizes, overcomes the defect of complex operation, improve ease for use, reached the effect of quick increase and decrease quantity.
Another embodiment of the present invention provides a kind of non-volatile readable storage medium, in this storage medium, storage has one or more module (programs), when these one or more modules are employed in a device, it is possible to make this equipment perform the instruction (instructions) of following steps:
The trigger action for the quantity regulating control on the page detected, generate response region, in described response region, show current quantity;
Detect that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region;
If described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating.
Wherein, if described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating, including:
If described trigger action moves in the first direction, then it is gradually increased described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region;
If described trigger action moves in a second direction, then gradually decrease described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region.
Wherein, described in detect that described trigger action does not terminate and moves in described response region, including:
Detect that described trigger action does not frame out and continues to move in described response region; Or,
Detect that described trigger action rests on screen after not frameing out and persistently moving in described response region.
Wherein, described in described response region, show current quantity, including:
Directly display on the page or hide or show described response region according to default transparency, and in described response region, showing described current quantity.
Wherein, described first direction is upwards, and described second direction is downward; Or,
Described first direction is that described second direction is upwards downwards; Or,
Described first direction is to the left, and described second direction is to the right; Or,
Described first direction is to the right, and described second direction is to the left.
The above-mentioned non-volatile readable storage medium that the present embodiment provides, improves the efficiency of quantity regulating, it is not necessary to repeatedly click, simple to operation, it is easy to realizes, overcomes the defect of complex operation, improve ease for use, reached the effect of quick increase and decrease quantity.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be completed by hardware, can also be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of non-volatile readable storage medium, described non-volatile readable storage medium can be read only memory, disk or CD etc.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (10)

1. the method regulating quantity, it is characterised in that described method includes:
The trigger action for the quantity regulating control on the page detected, generate response region, in described response region, show current quantity;
Detect that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region;
If described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating.
2. method according to claim 1, it is characterised in that if described trigger action moves in the first direction, then perform to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating, including:
If described trigger action moves in the first direction, then it is gradually increased described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region;
If described trigger action moves in a second direction, then gradually decrease described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region.
3. method according to claim 1, it is characterised in that described in detect that described trigger action does not terminate and moves in described response region, including:
Detect that described trigger action does not frame out and continues to move in described response region; Or,
Detect that described trigger action rests on screen after not frameing out and persistently moving in described response region.
4. method according to claim 1, it is characterised in that described show current quantity in described response region, including:
Directly display on the page or hide or show described response region according to default transparency, and in described response region, showing described current quantity.
5. method according to any one of claim 1 to 4, it is characterised in that
Described first direction is upwards, and described second direction is downward; Or,
Described first direction is that described second direction is upwards downwards; Or,
Described first direction is to the left, and described second direction is to the right; Or,
Described first direction is to the right, and described second direction is to the left.
6. the device regulating quantity, it is characterised in that described device includes:
Trigger module, for the trigger action for the quantity regulating control on the page being detected, generates response region, shows current quantity in described response region;
Judge module, is used for detecting that described trigger action does not terminate and moves in described response region, it is judged that described trigger action moving direction in described response region;
Adjustment module, if moved in the first direction for described trigger action, then performs to increase adjustment to described current quantity; If described trigger action moves in a second direction, then described current quantity performs to reduce regulating.
7. device according to claim 6, it is characterised in that described adjustment module includes:
First regulon, if moved in the first direction for described trigger action, is then gradually increased described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region;
Second regulon, if moved in a second direction for described trigger action, then gradually decreases described current quantity the current quantity of display in response region described in real-time update, until described trigger action frames out or removes described response region.
8. device according to claim 6, it is characterised in that described judge module includes:
Judging unit, is used for detecting that described trigger action does not frame out and continues to move in described response region, it is judged that described trigger action moving direction in described response region; Or, detect that described trigger action rests on screen after not frameing out and persistently moving in described response region, it is judged that described trigger action moving direction in described response region.
9. device according to claim 6, it is characterised in that described trigger module includes:
Generate unit, for the trigger action for the quantity regulating control on the page being detected, generate response region;
Display unit, for directly displaying on the page or hiding or show described response region according to default transparency, and shows described current quantity in described response region.
10. the device according to any one of claim 6 to 9, it is characterised in that
Described first direction is upwards, and described second direction is downward; Or,
Described first direction is that described second direction is upwards downwards; Or,
Described first direction is to the left, and described second direction is to the right; Or,
Described first direction is to the right, and described second direction is to the left.
CN201410594136.XA 2014-10-29 2014-10-29 Quantity adjustment method and apparatus Pending CN105630315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410594136.XA CN105630315A (en) 2014-10-29 2014-10-29 Quantity adjustment method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410594136.XA CN105630315A (en) 2014-10-29 2014-10-29 Quantity adjustment method and apparatus

Publications (1)

Publication Number Publication Date
CN105630315A true CN105630315A (en) 2016-06-01

Family

ID=56045324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410594136.XA Pending CN105630315A (en) 2014-10-29 2014-10-29 Quantity adjustment method and apparatus

Country Status (1)

Country Link
CN (1) CN105630315A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731470A (en) * 2013-12-20 2015-06-24 达索系统公司 A computer-implemented method for configuring a tool with at least one pointing element on a screen
CN109166378A (en) * 2018-08-23 2019-01-08 深圳点猫科技有限公司 A kind of interest educational interaction method and electronic equipment
CN109445593A (en) * 2018-10-31 2019-03-08 贵州火星探索科技有限公司 Control method of electronic device and device
WO2019129264A1 (en) * 2017-12-29 2019-07-04 维沃移动通信有限公司 Interface display method and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101268436A (en) * 2004-08-02 2008-09-17 皇家飞利浦电子股份有限公司 Touch screen slider for setting floating point value
CN101916501A (en) * 2010-07-30 2010-12-15 海信集团有限公司 Remote control method, controlled method and related device
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Method for controlling touch electronic device
TW201246035A (en) * 2011-04-05 2012-11-16 Research In Motion Ltd Electronic device and method of controlling same
CN102955650A (en) * 2011-08-25 2013-03-06 幻音科技(深圳)有限公司 Cursor gesture input method and device
CN103927108A (en) * 2013-01-16 2014-07-16 怡利电子工业股份有限公司 Multi-finger touch control volume adjusting method of vehicle stereo

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101268436A (en) * 2004-08-02 2008-09-17 皇家飞利浦电子股份有限公司 Touch screen slider for setting floating point value
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Method for controlling touch electronic device
CN101916501A (en) * 2010-07-30 2010-12-15 海信集团有限公司 Remote control method, controlled method and related device
TW201246035A (en) * 2011-04-05 2012-11-16 Research In Motion Ltd Electronic device and method of controlling same
CN102955650A (en) * 2011-08-25 2013-03-06 幻音科技(深圳)有限公司 Cursor gesture input method and device
CN103927108A (en) * 2013-01-16 2014-07-16 怡利电子工业股份有限公司 Multi-finger touch control volume adjusting method of vehicle stereo

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731470A (en) * 2013-12-20 2015-06-24 达索系统公司 A computer-implemented method for configuring a tool with at least one pointing element on a screen
CN104731470B (en) * 2013-12-20 2021-03-30 达索系统公司 Method, apparatus, and medium for configuring a tool using a pointing element
WO2019129264A1 (en) * 2017-12-29 2019-07-04 维沃移动通信有限公司 Interface display method and mobile terminal
CN109166378A (en) * 2018-08-23 2019-01-08 深圳点猫科技有限公司 A kind of interest educational interaction method and electronic equipment
CN109445593A (en) * 2018-10-31 2019-03-08 贵州火星探索科技有限公司 Control method of electronic device and device

Similar Documents

Publication Publication Date Title
US10033920B2 (en) Method for controlling cameras, non-transitory storage medium and terminal
US20170187566A1 (en) Alerting Method and Mobile Terminal
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
CN104915091B (en) A kind of method and apparatus for the prompt information that Shows Status Bar
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN105302408A (en) Method and apparatus for adjusting position of hover button and terminal
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN104951179A (en) Method and device for refreshing page
CN105808060A (en) Method and device for playing animation
US20160292946A1 (en) Method and apparatus for collecting statistics on network information
CN103616983A (en) Picture presentation method, picture presentation device and terminal device
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN104216915A (en) Webpage processing method, device and terminal equipment
CN104991699B (en) A kind of method and apparatus of video display control
EP2876539A1 (en) Method, device and terminal apparatus for responding to a sliding operation
US20140181726A1 (en) Method and electronic device for providing quick launch access and storage medium
CN104951215A (en) Processing method and device for page operation
CN104346028B (en) Address field display methods, device and mobile terminal
CN104820546A (en) Functional information exhibition method and apparatus
CN104007887A (en) Floating layer display method and terminal
CN105630315A (en) Quantity adjustment method and apparatus
CN105808043A (en) Setting method of terminal application and mobile terminal
CN105278795A (en) Method and device for displaying function bars
CN104951178A (en) Processing method, device and system for desktop data
CN105787982A (en) Method and device for manufacturing e-book

Legal Events

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

Application publication date: 20160601