CN107643872A - Multimode page control method and device - Google Patents
Multimode page control method and device Download PDFInfo
- Publication number
- CN107643872A CN107643872A CN201610575810.9A CN201610575810A CN107643872A CN 107643872 A CN107643872 A CN 107643872A CN 201610575810 A CN201610575810 A CN 201610575810A CN 107643872 A CN107643872 A CN 107643872A
- Authority
- CN
- China
- Prior art keywords
- module
- page
- multimode
- control
- object module
- 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.)
- Granted
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of multimode page control method, this method includes:The touch event based on the input of the multimode page is received, gesture motion is obtained according to the motion track of the touch event;According to trigger action corresponding to each module in the multimode page being pre-configured with, and the gesture motion, object module is chosen from each module;The multimode page is controlled to enter the control model of the object module.The invention also discloses a kind of multimode page control device.The present invention realizes to be customized to the gesture of each module in the page, is enriched the touch operation response mechanism of the multimode page, has been expanded the achievable function of the page.
Description
Technical field
The present invention relates to network technique field, more particularly to a kind of multimode page control method and device.
Background technology
At present, touch screen has been applied in increasing terminal due to its convenience, user can by clicking on, it is sliding
Dynamic to wait touch event input control instruction, terminal carries out corresponding according to factors such as the motion track of touch event, residence times
Response.
In order to enrich the content of the page, the work(of the different viewing areas of multiple correspondences may be included in an APP page
Can module.Control for the multimode page, the items such as often refreshed, redirected to the page according to the touch operation of user
Operation, can not be controlled operation to each module in the page.Due to for response of the multimode page to user's touch operation
Mode is more single, causes the achievable function of the same page also more single, influences Consumer's Experience.
The content of the invention
It is a primary object of the present invention to provide a kind of multimode page control method and device, it is intended to solve multimode circle
Face the excessively single technical problem of the response mode of touch control operation.
To achieve the above object, the present invention provides a kind of multimode page control method, the multimode page controlling party
Method comprises the following steps:
The touch event based on the input of the multimode page is received, obtaining gesture according to the motion track of the touch event moves
Make;
According to trigger action corresponding to each module in the multimode page being pre-configured with, and the gesture motion,
Object module is chosen from each module;
The multimode page is controlled to enter the control model of the object module.
In one embodiment, the step of control multimode page enters the control model of the object module
Afterwards, in addition to:
Under the control model of the object module, if detecting the touch action based on multimode page input,
The touch action is sent to the object module and handled.
In one embodiment, the step of control multimode page enters the control model of the object module
Afterwards, in addition to:
Under the control model of the object module, if receiving pattern exit instruction, the object module is exited
Control instruction.
In one embodiment, the multimode page is original list, including list block and cell module, described
According to trigger action corresponding to each module in the multimode page being pre-configured with, and the gesture motion, from described each
The step of object module is chosen in module includes:
If the gesture motion matches with default cell module trigger action, it is mesh to obtain the cell module
Mark module.
In one embodiment, triggering is dynamic corresponding to each module in the multimode page that the basis is pre-configured with
Make, and the gesture motion, from each module the step of selection object module, in addition to:
If the gesture motion matches with default list block trigger action, it is target mould to obtain the list block
Block;
The step of control multimode page enters the control model of the object module includes:
The original list is controlled to enter the control model of the list block, according to the motion track of the touch event
The list block is controlled to be rolled or refreshed.
In addition, to achieve the above object, the present invention also provides a kind of multimode page control device, the multimode page
Control device includes:
Action module, for receiving the touch event based on the input of the multimode page, according to the movement of the touch event
Track obtains gesture motion;
Module is chosen, trigger action corresponding to each module in the multimode page being pre-configured with for basis, and
The gesture motion, object module is chosen from each module;
Control module, for controlling the multimode page to enter the control model of the object module.
In one embodiment, the multimode page control device also includes:
Distribution module, under the control model of the object module, if detecting defeated based on the multimode page
The touch action entered, the touch action is sent to the object module and handled.
In one embodiment, the multimode page control device also includes:
Module is exited, under the control model of the object module, if receiving pattern exit instruction, exiting institute
State the control instruction of object module.
In one embodiment, the multimode page is original list, including list block and cell module, described
Module is chosen to be additionally operable to,
If the gesture motion matches with default cell module trigger action, it is mesh to obtain the cell module
Mark module.
In one embodiment, the selection module is additionally operable to,
If the gesture motion matches with default list block trigger action, it is target mould to obtain the list block
Block;
The control module is additionally operable to,
The original list is controlled to enter the control model of the list block, according to the motion track of the touch event
The list block is controlled to be rolled or refreshed.
A kind of multimode page control method and device that the embodiment of the present invention proposes, it is defeated based on the multimode page receiving
During the touch event entered, the gesture motion according to corresponding to obtaining the motion track of touch event;Then, it is more according to what is be pre-configured with
Trigger action corresponding to each module in module page, and gesture motion, object module is chosen from each module;Then, control
The multimode page enters the control model of object module.The present invention is realized by being pre-configured with trigger action corresponding to each module
The gesture of each module in the page is customized;User can choose object module by inputting touch event, and control enters target
The control model of module, under the control model of object module, user can carry out every control operation to object module.This hair
The bright touch operation response mechanism for enriching the multimode page, has expanded the achievable function of the page.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of multimode page control method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of multimode page control method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of multimode page control method 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of multimode page control method fourth embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the embodiment of multimode page control method the 5th of the present invention;
Fig. 6 is the function of multimode page control device first embodiment of the present invention, fourth embodiment and the 5th embodiment
Module diagram;
Fig. 7 is the high-level schematic functional block diagram of multimode page control device second embodiment of the present invention.
Fig. 8 is the high-level schematic functional block diagram of multimode page control device 3rd embodiment of the present invention;
Fig. 9 is a kind of original list schematic diagram in the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Reference picture 1, multimode page control method first embodiment of the present invention provide a kind of multimode page control method,
The multimode page control method includes:
Step S10, the touch event based on the input of the multimode page is received, is obtained according to the motion track of the touch event
Take gesture motion.
The present invention is after the touch event that user inputs on the multimode page is received, according to corresponding to determining gesture motion
Object module, into the control model of object module, touch event is assigned to object module and responded, realized by fixed
Gesture processed starts the independent control to each module in the multimode page, enriches the function of the multimode page so that application software
The functional integration of the page is higher.
It should be noted that the multimode page refers to the page for including multiple functional modules, each functional module in the present embodiment
For data content corresponding to the control display in the different zones of the page, and perform the operational order received.The present embodiment
The page using the multimode page as application software is illustrated, and application software is deployed in the mobile terminal with touch screen
In.
Specifically, as a kind of embodiment, user inputs touch event on the multimode page, such as slide to the left,
Slide to the right etc..
After mobile terminal detects the touch event of user's input, the motion track of touch event is analyzed, according to matching somebody with somebody in advance
Gesture custom table is put, obtains gesture motion corresponding to motion track.
For example, if the motion track for detecting this touch event is linear slide, and this straight line and mobile terminal touch screen
Horizontal angle then can confirm that the slip that gesture motion corresponding to this touch event is horizontal direction within 45 degree;Enter
One step, direction that can be using the direction of motion track as gesture motion, obtained gesture motion is same with motion track
The horizontal slip in one direction.
Thus, gesture motion corresponding to touch event, such as horizontal slip to the left, straight up slip etc. have been obtained.
Step S20, according to trigger action corresponding to each module in the multimode page being pre-configured with, and the hand
Gesture is acted, and object module is chosen from each module.
After gesture motion is obtained, mobile terminal trigger action according to corresponding to each module in the page being pre-configured with, look into
Look for object module.
It should be noted that trigger action corresponding to each module is configured in units of the page in the page.Then, together
Different modules corresponds to different trigger actions in one page, and identical module can configure identical triggering in the different pages
Action, can also configure different trigger actions.Realize the personalized customization to each module response mechanism.
Therefore, after gesture motion corresponding to touch event is obtained, respectively by gesture motion triggering corresponding with each module
Action is matched.
If finding the trigger action matched with this gesture motion, it is target to choose module corresponding to this trigger action
Module.
For example, the current page includes video module and list block, trigger action corresponding to video module is level
The slip in direction, trigger action corresponding to list block are the slip of vertical direction.
Then, if the gesture motion of touch event is the slip of horizontal direction, trigger action matching corresponding with video module,
It is object module then to select video module;If the gesture motion of touch event is the slip of vertical direction, corresponding with list block
Trigger action matching, then selective listing module is object module.
Further, the different trigger action of glide direction, corresponding different module can also be configured.
Thus, the object module chosen.
Step S30, the multimode page is controlled to enter the control model of the object module.
After the object module chosen, control current page enters the control model of object module, and user can be
Operation, such as delete target module, scaling object module are controlled under the control model of object module to object module, and
Edit operation etc. is carried out to the data in object module.
In the present embodiment, after the touch event based on the input of the multimode page is received, according to the movement of touch event
Gesture motion corresponding to the acquisition of track;Then, the trigger action according to corresponding to each module in the multimode page being pre-configured with, with
And gesture motion, choose object module from each module;Then, the multimode page is controlled to enter the control model of object module.
The present embodiment is realized and the gesture of each module in the page is customized by trigger action corresponding to being pre-configured with each module;User
Object module can be chosen by inputting touch event, control enters the control model of object module, in the control of object module
Under pattern, user can carry out every control operation to object module.The present embodiment enriches the touch operation of the multimode page
Response mechanism, the achievable function of the page is expanded.
Further, reference picture 2, multimode page control method second embodiment of the present invention provide a kind of multimode page
Control method, based on the embodiment shown in above-mentioned Fig. 1, after the step S30, in addition to:
Step S40, under the control model of the object module, if detecting touching based on multimode page input
Action is touched, the touch action is sent to the object module and handled.
After the control model of object module is entered, if mobile terminal detects that user inputs in the current multi-modal block page
Touch action, touch action is then sent to object module by such as click, slip, long-press etc., by object module according to default
The touch action that receives of response mechanism processing.
Namely under the control model of object module, the touch action that optional position detects in the multimode page is divided equally
Object module is issued to be handled.
Object module is responded after touch action is received according to the response mechanism being pre-configured with.
For example, current object module is picture module, then under the control model of picture module, object module can carry
Toolbar for repairing figure function, user may be selected to repair figure function by inputting touch action, in the current multimode page
Picture in object module is carried out the operation such as to alter, it is easy to operate, traditional picture is checked into the page and repaiies diagram page
Merge in the same page, still further opened without user and repair diagram page and carry out repairing graphic operation.
Further, as a kind of embodiment, if detecting, what is inputted in viewing area corresponding to object module touches
Action is touched, then touch action is sent to object module and responded.
That is, under the control model of object module, object module only handles touching of being received in its corresponding viewing area
Touch action.
In the present embodiment, under the control model of object module, if detecting the touch based on the input of the multimode page
Action, touch action is sent to object module and handled.Under the control model of object module, user only needs the present embodiment
Touch action is inputted on touch screen can carry out every control operation to object module, easy to operate.
Further, reference picture 3, multimode page control method 3rd embodiment of the present invention provide a kind of multimode page
Control method, based on the embodiment (the present embodiment is by taking Fig. 1 as an example) shown in above-mentioned Fig. 1 or Fig. 2, after the step S30, also wrap
Include:
Step S50, under the control model of the object module, if receiving pattern exit instruction, the mesh is exited
Mark the control instruction of module.
After the control model of object module is entered, if receiving the pattern exit instruction of user's input, mesh is exited in control
The control model of module is marked, the touch action being successfully received is responded according to original page response mechanism.
User can input pattern exit instruction in several ways, such as user presses returning in mobile terminal physical button
Return key input pattern exit instruction, or the long-press input pattern exit instruction on the touch screen of mobile terminal.
Further, if under the control model of object module, object module in its corresponding viewing area only in response to receiving
The touch action arrived, then it can also configure mobile terminal and move the touch that the arbitrary region beyond object module viewing area receives
Make, as pattern exit instruction.
In the present embodiment, under the control model of object module, if receiving pattern exit instruction, target mould is exited
The control instruction of block, realize the flexible control to object module control model.
Further, reference picture 4, multimode page control method fourth embodiment of the present invention provide a kind of multimode page
Control method, based on the embodiment (the present embodiment is by taking Fig. 1 as an example) shown in above-mentioned Fig. 1, Fig. 2 or Fig. 3, the multimode page is
Original list, including list block and cell module, the step S20 include:
If step S21, described gesture motion matches with default cell module trigger action, the cell is obtained
Module is object module.
The multimode page is original list in the present embodiment, reference picture 9, and the page includes list block and cell mould
Block, the corresponding cell page that a row multirow is shown as in the page, such as the menu list page, the attraction list page.Wherein,
List block is used to control whole list in the page, and cell module is used to control each unit lattice in the page.
Then after gesture motion is obtained, if gesture motion matches with default cell module trigger action, choose single
First lattice module is object module.
After object module is obtained, the control multimode page enters cell control model.
Under cell control model, the operations such as user can be added to cell, delete, updating, and to list
Data in first lattice enter the operation such as edlin, modification.
For example, cell corresponding to deletion can be slided with configuration level, then, if user inputs under cell control model
The motion track of touch action is located at corresponding to a cell module in viewing area, and this touch action is slided to be horizontal, then
This element lattice are deleted in control.
Further, user can also click on the hyperlink control page jump in cell, or call other modules.
Hereby it is achieved that the control to cell in original list.
In the present embodiment, the multimode page is original list, including list block and cell module, then is obtaining hand
After gesture action, if gesture motion matches with default cell module trigger action, acquiring unit lattice module is object module,
So as to which under the control model of object module, operation is controlled to each unit lattice of the corresponding display of cell module.
Further, reference picture 5, the embodiment of multimode page control method the 5th of the present invention provide a kind of multimode page
Control method, based on the embodiment shown in above-mentioned Fig. 4, the step of the S20, in addition to:
If step S22, described gesture motion matches with default list block trigger action, the list block is obtained
For object module;
The step S30 includes:
Step S31, the original list is controlled to enter the control model of the list block, according to the touch event
Motion track controls the list block to be rolled or refreshed.
In the present embodiment, the multimode page is original list, after gesture motion is obtained, if gesture motion with it is default
List block trigger action matches, then it is object module to choose list block.
Then, current original list is controlled to enter the control model of object module, according to the motion track of touch event
Control list block is rolled or refreshed, namely the list in control original list is rolled or refreshed.It can match somebody with somebody in advance
Put the different control action of the touch track corresponding lists module of different types of touch track or different directions.
For example, in the cell page, default list block trigger action is vertical sliding, cell module trigger action
Slided for level.
Then, if the gesture motion of touch event is slided to be horizontal, matched with cell module trigger action, then control list
The page enters the control model of cell module;It is dynamic with list block triggering if the gesture motion of touch event is vertical sliding
Match, then control original list to enter the control model of list block.
Under the control model of list block, if the motion track of touch event is slide downward, and current list page
The top of list does not include hiding cell in face, then controls list block to be refreshed, and updates the data in current page;
If the motion track of touch event is upward sliding, and the bottom of list includes hiding cell in current original list,
Then control list scrolls up, and shows hiding cell.
In the present embodiment, if gesture motion matches with default list block trigger action, obtaining list block is
Object module;Then, control original list to enter the control model of list block, controlled and arranged according to the motion track of touch event
Table module is rolled or refreshed, and realizes the control to list block in original list.
Reference picture 6, multimode page control device first embodiment of the present invention provide a kind of multimode page control device,
The multimode page control device includes:
Action module 10, for receiving the touch event based on the input of the multimode page, according to the shifting of the touch event
Dynamic rail mark obtains gesture motion.
The present invention is after the touch event that user inputs on the multimode page is received, according to corresponding to determining gesture motion
Object module, into the control model of object module, touch event is assigned to object module and responded, realized by fixed
Gesture processed starts the independent control to each module in the multimode page, enriches the function of the multimode page so that application software
The functional integration of the page is higher.
It should be noted that the multimode page refers to the page for including multiple functional modules, each functional module in the present embodiment
For data content corresponding to the control display in the different zones of the page, and perform the operational order received.The present embodiment
The page using the multimode page as application software is illustrated, and application software is deployed in the mobile terminal with touch screen
In.
Specifically, as a kind of embodiment, user inputs touch event on the multimode page, such as slide to the left,
Slide to the right etc..
After action module 10 detects the touch event of user's input, the motion track of touch event is analyzed, according to advance
Gesture custom table is configured, obtains gesture motion corresponding to motion track.
For example, if the motion track for detecting this touch event is linear slide, and this straight line and mobile terminal touch screen
Horizontal angle is within 45 degree, then action module 10 can confirm that gesture motion corresponding to this touch event is horizontal direction
Slip;Further, direction that can be using the direction of motion track as gesture motion, obtained gesture motion are and shifting
The unidirectional horizontal slip of dynamic rail mark.
Thus, action module 10 has obtained gesture motion corresponding to touch event, such as level is slided, straight up to the left
Slide etc..
Module 20 is chosen, trigger action corresponding to each module in the multimode page being pre-configured with for basis, with
And the gesture motion, choose object module from each module.
After gesture motion is obtained, the trigger action according to corresponding to each module in the page being pre-configured with of module 20 is chosen,
Search object module.
It should be noted that trigger action corresponding to each module is configured in units of the page in the page.Then, together
Different modules corresponds to different trigger actions in one page, and identical module can configure identical triggering in the different pages
Action, can also configure different trigger actions.Realize the personalized customization to each module response mechanism.
Therefore, after gesture motion corresponding to touch event is obtained, module 20 is chosen respectively by gesture motion and each module
Corresponding trigger action is matched.
If finding the trigger action matched with this gesture motion, choose module 20 and choose corresponding to this trigger action
Module is object module.
For example, the current page includes video module and list block, trigger action corresponding to video module is level
The slip in direction, trigger action corresponding to list block are the slip of vertical direction.
Then, if the gesture motion of touch event is the slip of horizontal direction, trigger action matching corresponding with video module,
It is object module then to select video module;If the gesture motion of touch event is the slip of vertical direction, corresponding with list block
Trigger action matching, then selective listing module is object module.
Further, the different trigger action of glide direction, corresponding different module can also be configured.
Thus, the object module that module 20 is chosen is chosen.
Control module 30, for controlling the multimode page to enter the control model of the object module.
After the object module chosen, the control current page of control module 30 enters the control model of object module,
User can be controlled operation, such as delete target module, scaling mesh under the control model of object module to object module
Module is marked, and edit operation etc. is carried out to the data in object module.
In the present embodiment, after the touch event based on the input of the multimode page is received, action module 10 is according to touch
Gesture motion corresponding to the motion track acquisition of event;Then, module 20 is chosen according to each in the multimode page being pre-configured with
Trigger action corresponding to module, and gesture motion, object module is chosen from each module;Then, control module 30 controls more
Module page enters the control model of object module.The present embodiment is realized by being pre-configured with trigger action corresponding to each module
The gesture of each module in the page is customized;User can choose object module by inputting touch event, and control enters target
The control model of module, under the control model of object module, user can carry out every control operation to object module.This reality
The touch operation response mechanism that example enriches the multimode page is applied, has expanded the achievable function of the page.
Further, reference picture 7, multimode page control device second embodiment of the present invention provide a kind of multimode page
Control device, based on the embodiment shown in above-mentioned Fig. 6, the multimode page control device also includes:
Distribution module 40, under the control model of the object module, if detecting based on the multimode page
The touch action of input, the touch action is sent to the object module and handled.
After the control model of object module is entered, if distribution module 40 detects that user is defeated in the current multi-modal block page
The touch action entered, such as click, slip, long-press etc., then be sent to object module by touch action, by object module according to pre-
If the touch action that receives of response mechanism processing.
Namely under the control model of object module, what the optional position in the multimode page of distribution module 40 detected touches
Action is touched to be distributed to object module and handled.
Object module is responded after touch action is received according to the response mechanism being pre-configured with.
For example, current object module is picture module, then under the control model of picture module, object module can carry
Toolbar for repairing figure function, user may be selected to repair figure function by inputting touch action, in the current multimode page
Picture in object module is carried out the operation such as to alter, it is easy to operate, traditional picture is checked into the page and repaiies diagram page
Merge in the same page, still further opened without user and repair diagram page and carry out repairing graphic operation.
Further, as a kind of embodiment, showing if distribution module 40 is additionally operable to detect corresponding to object module
Show the touch action inputted in region, then touch action is sent to object module and responded.
That is, under the control model of object module, object module only handles touching of being received in its corresponding viewing area
Touch action.
In the present embodiment, under the control model of object module, if detecting the touch based on the input of the multimode page
Action, distribution module 40, which sends touch action to object module, to be handled.Control model of the present embodiment in object module
Under, user only needs the input touch action on touch screen to carry out every control operation to object module, easy to operate fast
It is prompt.
Further, reference picture 8, multimode page control device 3rd embodiment of the present invention provide a kind of multimode page
Control device, based on the embodiment (the present embodiment is by taking Fig. 6 as an example) shown in above-mentioned Fig. 6 or Fig. 7, the multimode page control dress
Putting also includes:
Module 50 is exited, under the control model of the object module, if receiving pattern exit instruction, exiting
The control instruction of the object module.
After the control model of object module is entered, if receiving the pattern exit instruction of user's input, module 50 is exited
The control model of object module is exited in control, and the touch action being successfully received is rung according to original page response mechanism
Should.
User can input pattern exit instruction in several ways, such as user presses returning in mobile terminal physical button
Return key input pattern exit instruction, or the long-press input pattern exit instruction on the touch screen of mobile terminal.
Further, if under the control model of object module, object module in its corresponding viewing area only in response to receiving
The touch action arrived, then it can also configure distribution module 40 and receive the arbitrary region beyond viewing area corresponding to object module
Touch action, as pattern exit instruction.
In the present embodiment, under the control model of object module, if receiving pattern exit instruction, distribution module 40
The control instruction of object module is exited, realizes the flexible control to object module control model.
Further, reference picture 6, multimode page control device fourth embodiment of the present invention provide a kind of multimode page
Control device, based on the embodiment shown in above-mentioned Fig. 6, Fig. 7 or Fig. 8, (the present embodiment is with the multimode page of the present invention shown in Fig. 6
Exemplified by control device first embodiment), the multimode page is original list, including list block and cell module, institute
Selection module 20 is stated to be additionally operable to,
If the gesture motion matches with default cell module trigger action, it is mesh to obtain the cell module
Mark module.
The multimode page is original list in the present embodiment, reference picture 9, and the page includes list block and cell mould
Block, the corresponding cell page that a row multirow is shown as in the page, such as the menu list page, the attraction list page.Wherein,
List block is used to control whole list in the page, and cell module is used to control each unit lattice in the page.
Then after gesture motion is obtained, if gesture motion matches with default cell module trigger action, mould is chosen
It is object module that block 20, which chooses cell module,.
After object module is obtained, control module 30 controls the multimode page to enter cell control model.
Under cell control model, the operations such as user can be added to cell, delete, updating, and to list
Data in first lattice enter the operation such as edlin, modification.
For example, cell corresponding to deletion can be slided with configuration level, then, if user inputs under cell control model
The motion track of touch action is located at corresponding to a cell module in viewing area, and this touch action is slided to be horizontal, then
This element lattice are deleted in control.
Further, user can also click on the hyperlink control page jump in cell, or call other modules.
Hereby it is achieved that the control to cell in original list.
In the present embodiment, the multimode page is original list, including list block and cell module, then is obtaining hand
After gesture action, if gesture motion matches with default cell module trigger action, the acquiring unit lattice module of module 20 is chosen
For object module, so that under the control model of object module, each unit lattice of the corresponding display of cell module are controlled
Operation.
Further, reference picture 6, the embodiment of multimode page control device the 5th of the present invention provide a kind of multimode page
Control device, based on the invention described above multimode page control device fourth embodiment, the selection module 20 is additionally operable to,
If the gesture motion matches with default list block trigger action, it is target mould to obtain the list block
Block;
The control module 30 is additionally operable to,
The original list is controlled to enter the control model of the list block, according to the motion track of the touch event
The list block is controlled to be rolled or refreshed.
In the present embodiment, the multimode page is original list, after gesture motion is obtained, if gesture motion with it is default
List block trigger action matches, then it is object module to choose module 20 and choose list block.
Then, control module 30 controls current original list into the control model of object module, according to touch event
Motion track control list block rolled or refreshed, namely control original list in list rolled or refreshed.
Control module 30 can be pre-configured with different types of touch track or the touch track corresponding lists module of different directions is different
Control action.
For example, in the cell page, default list block trigger action is vertical sliding, cell module trigger action
Slided for level.
Then, if the gesture motion of touch event is slided to be horizontal, matched with cell module trigger action, then control module
30 control original lists enter the control model of cell module;If the gesture motion of touch event is vertical sliding, with list
Module trigger action matches, then control module 30 controls original list into the control model of list block.
Under the control model of list block, if the motion track of touch event is slide downward, and current list page
The top of list does not include hiding cell in face, then control module 30 controls list block to be refreshed, and updates current page
Data in face;If the motion track of touch event is upward sliding, and in current original list list bottom include it is hidden
The cell of Tibetan, the then control of control module 30 list scroll up, and show hiding cell.
In the present embodiment, if gesture motion matches with default list block trigger action, choose module 20 and obtain
List block is object module;Then, control module 30 controls original list into the control model of list block, according to touch
The motion track control list block of event is rolled or refreshed, and realizes the control to list block in original list.
The alternative embodiment of the present invention is these are only, is not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of multimode page control method, it is characterised in that the multimode page control method comprises the following steps:
The touch event based on the input of the multimode page is received, gesture motion is obtained according to the motion track of the touch event;
According to trigger action corresponding to each module in the multimode page being pre-configured with, and the gesture motion, from institute
State in each module and choose object module;
The multimode page is controlled to enter the control model of the object module.
2. multimode page control method as claimed in claim 1, it is characterised in that the control multimode page enters
After the step of entering the control model of the object module, in addition to:
Under the control model of the object module, if the touch action based on multimode page input is detected, by institute
State touch action and send to the object module and handled.
3. multimode page control method as claimed in claim 1 or 2, it is characterised in that the control multimode page
Face entered after the step of control model of the object module, in addition to:
Under the control model of the object module, if receiving pattern exit instruction, the control of the object module is exited
Instruction.
4. multimode page control method as claimed in claim 1 or 2, it is characterised in that the multimode page is list
The page, including list block and cell module, in the multimode page that the basis is pre-configured with corresponding to each module
Trigger action, and the gesture motion, include from each module the step of selection object module:
If the gesture motion matches with default cell module trigger action, it is target mould to obtain the cell module
Block.
5. multimode page control method as claimed in claim 4, it is characterised in that the basis is pre-configured with described more
Trigger action corresponding to each module in module page, and the gesture motion, object module is chosen from each module
Step, in addition to:
If the gesture motion matches with default list block trigger action, it is object module to obtain the list block;
The step of control multimode page enters the control model of the object module includes:
Control the original list to enter the control model of the list block, controlled according to the motion track of the touch event
The list block is rolled or refreshed.
6. a kind of multimode page control device, it is characterised in that the multimode page control device includes:
Action module, for receiving the touch event based on the input of the multimode page, according to the motion track of the touch event
Obtain gesture motion;
Module is chosen, trigger action corresponding to each module in the multimode page being pre-configured with for basis, and it is described
Gesture motion, object module is chosen from each module;
Control module, for controlling the multimode page to enter the control model of the object module.
7. multimode page control device as claimed in claim 6, it is characterised in that the multimode page control device is also
Including:
Distribution module, under the control model of the object module, if detecting based on multimode page input
Touch action, the touch action is sent to the object module and handled.
8. multimode page control device as claimed in claims 6 or 7, it is characterised in that the multimode page control dress
Putting also includes:
Module is exited, under the control model of the object module, if receiving pattern exit instruction, exiting the mesh
Mark the control instruction of module.
9. multimode page control device as claimed in claims 6 or 7, it is characterised in that the multimode page is list
The page, including list block and cell module, the selection module are additionally operable to,
If the gesture motion matches with default cell module trigger action, it is target mould to obtain the cell module
Block.
10. multimode page control device as claimed in claim 9, it is characterised in that the selection module is additionally operable to,
If the gesture motion matches with default list block trigger action, it is object module to obtain the list block;
The control module is additionally operable to,
Control the original list to enter the control model of the list block, controlled according to the motion track of the touch event
The list block is rolled or refreshed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610575810.9A CN107643872B (en) | 2016-07-20 | 2016-07-20 | Multi-module page control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610575810.9A CN107643872B (en) | 2016-07-20 | 2016-07-20 | Multi-module page control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107643872A true CN107643872A (en) | 2018-01-30 |
CN107643872B CN107643872B (en) | 2019-12-27 |
Family
ID=61108835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610575810.9A Active CN107643872B (en) | 2016-07-20 | 2016-07-20 | Multi-module page control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107643872B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328255A (en) * | 2020-10-26 | 2021-02-05 | 成都商通时代数字科技有限公司 | Page turning refreshing method and refreshing system for universal integrated list based on IOS (input/output system) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060007174A1 (en) * | 2004-07-06 | 2006-01-12 | Chung-Yi Shen | Touch control method for a drag gesture and control module thereof |
CN102314428A (en) * | 2010-06-30 | 2012-01-11 | 上海视加信息科技有限公司 | Method for distributively creating webpage |
CN102467336A (en) * | 2010-11-19 | 2012-05-23 | 联想(北京)有限公司 | Electronic equipment and object selection method thereof |
CN102541851A (en) * | 2010-12-10 | 2012-07-04 | 金蝶软件(中国)有限公司 | Page modularity generation method and page modularity generation system |
CN102929524A (en) * | 2012-09-20 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Page content selecting method and device |
CN103488410A (en) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | Method, device and system for controlling display contents |
CN104536674A (en) * | 2014-12-12 | 2015-04-22 | 北京百度网讯科技有限公司 | Method and device for executing operation on webpage in mobile equipment |
CN105488072A (en) * | 2014-09-23 | 2016-04-13 | 阿里巴巴集团控股有限公司 | Target object selection method, device and system in target library |
-
2016
- 2016-07-20 CN CN201610575810.9A patent/CN107643872B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060007174A1 (en) * | 2004-07-06 | 2006-01-12 | Chung-Yi Shen | Touch control method for a drag gesture and control module thereof |
CN102314428A (en) * | 2010-06-30 | 2012-01-11 | 上海视加信息科技有限公司 | Method for distributively creating webpage |
CN102467336A (en) * | 2010-11-19 | 2012-05-23 | 联想(北京)有限公司 | Electronic equipment and object selection method thereof |
CN102541851A (en) * | 2010-12-10 | 2012-07-04 | 金蝶软件(中国)有限公司 | Page modularity generation method and page modularity generation system |
CN103488410A (en) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | Method, device and system for controlling display contents |
CN102929524A (en) * | 2012-09-20 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Page content selecting method and device |
CN105488072A (en) * | 2014-09-23 | 2016-04-13 | 阿里巴巴集团控股有限公司 | Target object selection method, device and system in target library |
CN104536674A (en) * | 2014-12-12 | 2015-04-22 | 北京百度网讯科技有限公司 | Method and device for executing operation on webpage in mobile equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328255A (en) * | 2020-10-26 | 2021-02-05 | 成都商通时代数字科技有限公司 | Page turning refreshing method and refreshing system for universal integrated list based on IOS (input/output system) |
Also Published As
Publication number | Publication date |
---|---|
CN107643872B (en) | 2019-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186345B (en) | The section system of selection of a kind of literary composition and device | |
US10351386B2 (en) | System and method of initiating elevator service by entering an elevator call | |
CN105302784B (en) | Method and system for copying/cutting and pasting data | |
CN107000972B (en) | System and method for initiating elevator service by typing an elevator call | |
CN102855066A (en) | Terminal and terminal control method | |
US10384910B2 (en) | System and method of initiating elevator service by graphical objects | |
US20170355556A1 (en) | System and method of initiating elevator service by entering an elevator call | |
KR20130093043A (en) | Method and mobile device for user interface for touch and swipe navigation | |
CN102073454A (en) | Mobile terminal and input control method for touch panel | |
CN112148170A (en) | Desktop element adjusting method and device and electronic equipment | |
CN104750351A (en) | Mobile terminal and desktop homing method and device thereof | |
CN102243561A (en) | Method and device for modifying input information | |
KR20140089224A (en) | Device and method for executing operation based on touch-input | |
US10252880B2 (en) | System and method of initiating elevator service by entering an elevator call | |
CN113342232A (en) | Icon generation method and device, electronic equipment and readable storage medium | |
CN104809416B (en) | display screen shielding method, electronic device and computer program product | |
CN104423876A (en) | Mobile terminal and operation handling method thereof | |
CN103324430B (en) | The objects operating method and device of many fingers | |
TWI430146B (en) | The input method and device of the operation instruction of the double touch panel | |
CN107643872A (en) | Multimode page control method and device | |
CN102129317A (en) | Multi-point touch technology-based input method, input device and terminal | |
CN109739590B (en) | Desktop wallpaper replacing method, device and equipment | |
JP2018151946A (en) | Character input device, character input method, and character input program | |
CN106775237B (en) | Control method and control device of electronic equipment | |
CN110377378A (en) | Picture suspension display methods, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |