CN107643872B - Multi-module page control method and device - Google Patents

Multi-module page control method and device Download PDF

Info

Publication number
CN107643872B
CN107643872B CN201610575810.9A CN201610575810A CN107643872B CN 107643872 B CN107643872 B CN 107643872B CN 201610575810 A CN201610575810 A CN 201610575810A CN 107643872 B CN107643872 B CN 107643872B
Authority
CN
China
Prior art keywords
module
page
action
target
list
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.)
Active
Application number
CN201610575810.9A
Other languages
Chinese (zh)
Other versions
CN107643872A (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201610575810.9A priority Critical patent/CN107643872B/en
Publication of CN107643872A publication Critical patent/CN107643872A/en
Application granted granted Critical
Publication of CN107643872B publication Critical patent/CN107643872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a multi-module page control method, which comprises the following steps: receiving a touch event input based on a multi-module page, and acquiring a gesture action according to a moving track of the touch event; selecting a target module from the modules according to the trigger action corresponding to each module in the preset multi-module page and the gesture action; and controlling the multi-module page to enter a control mode of the target module. The invention also discloses a multi-module page control device. The invention realizes the gesture customization of each module in the page, enriches the touch operation response mechanism of a multi-module page and expands the function which can be realized by the page.

Description

Multi-module page control method and device
Technical Field
The invention relates to the technical field of networks, in particular to a multi-module page control method and device.
Background
At present, due to the convenience of a touch screen, the touch screen is applied to more and more terminals, a user can input a control instruction through a touch event such as clicking and sliding, and the terminal performs corresponding response according to factors such as a moving track and retention time of the touch event.
In order to enrich the content of the page, one page of the APP may comprise a plurality of functional modules corresponding to different display areas. For the control of a multi-module page, various operations such as refreshing and jumping are often performed on the page according to a touch operation of a user, and control operation cannot be performed on each module in the page. The response mode of the multi-module page to the touch operation of the user is single, so that the function which can be realized by the same page is single, and the user experience is influenced.
Disclosure of Invention
The invention mainly aims to provide a multi-module page control method and device, and aims to solve the technical problem that a multi-module interface has too single response mode for touch operation.
In order to achieve the above object, the present invention provides a multi-module page control method, which comprises the following steps:
receiving a touch event input based on a multi-module page, and acquiring a gesture action according to a moving track of the touch event;
selecting a target module from the modules according to the trigger action corresponding to each module in the preset multi-module page and the gesture action;
and controlling the multi-module page to enter a control mode of the target module.
In one embodiment, after the step of controlling the multi-module page to enter the control mode of the target module, the method further includes:
and under the control mode of the target module, if the touch action based on the multi-module page input is detected, sending the touch action to the target module for processing.
In one embodiment, after the step of controlling the multi-module page to enter the control mode of the target module, the method further includes:
and under the control mode of the target module, if a mode exit instruction is received, exiting the control instruction of the target module.
In one embodiment, the multi-module page is a list page, and includes a list module and a cell module, and the step of selecting a target module from the modules according to a trigger action corresponding to each module in the pre-configured multi-module page and the gesture action includes:
and if the gesture action is matched with a preset cell module triggering action, acquiring the cell module as a target module.
In an embodiment, the step of selecting a target module from the modules according to the trigger action and the gesture action corresponding to each module in the preconfigured multi-module page further includes:
if the gesture action is matched with a preset list module triggering action, acquiring the list module as a target module;
the step of controlling the multi-module page to enter the control mode of the target module comprises:
and controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the movement track of the touch event.
In addition, to achieve the above object, the present invention further provides a multi-module page control apparatus, including:
the action module is used for receiving a touch event input based on a multi-module page and acquiring a gesture action according to the movement track of the touch event;
the selection module is used for selecting a target module from the modules according to the trigger action corresponding to each module in the multi-module page and the gesture action which are configured in advance;
and the control module is used for controlling the multi-module page to enter the control mode of the target module.
In one embodiment, the multi-module page control apparatus further includes:
and the distribution module is used for sending the touch action to the target module for processing if the touch action based on the multi-module page input is detected in the control mode of the target module.
In one embodiment, the multi-module page control apparatus further includes:
and the exit module is used for exiting the control instruction of the target module if a mode exit instruction is received in the control mode of the target module.
In one embodiment, the multi-module page is a list page, and includes a list module and a cell module, and the selecting module is further configured to,
and if the gesture action is matched with a preset cell module triggering action, acquiring the cell module as a target module.
In one embodiment, the selection module is further configured to,
if the gesture action is matched with a preset list module triggering action, acquiring the list module as a target module;
the control module is also configured to,
and controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the movement track of the touch event.
According to the multi-module page control method and device provided by the embodiment of the invention, when a touch event input based on a multi-module page is received, a corresponding gesture action is obtained according to the movement track of the touch event; then, selecting a target module from each module according to a trigger action and a gesture action corresponding to each module in a preset multi-module page; then, the multi-module page is controlled to enter the control mode of the target module. According to the method, the gesture customization of each module in the page is realized by pre-configuring the trigger action corresponding to each module; a user can select a target module by inputting a touch event and control to enter a control mode of the target module, and under the control mode of the target module, the user can perform various control operations on the target module. The invention enriches the touch operation response mechanism of the multi-module page and expands the function which can be realized by the page.
Drawings
FIG. 1 is a schematic flow chart of a multi-module page control method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a multi-module page control method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a multi-module page control method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a fourth exemplary embodiment of a multi-module page control method according to the present invention;
FIG. 5 is a flowchart illustrating a fifth embodiment of a multi-module page control method according to the present invention;
FIG. 6 is a functional block diagram of the multi-module page control apparatus according to the first, fourth and fifth embodiments of the present invention;
FIG. 7 is a functional block diagram of a multi-module page control apparatus according to a second embodiment of the present invention.
FIG. 8 is a functional block diagram of a multi-module page control apparatus according to a third embodiment of the present invention;
fig. 9 is a schematic diagram of a list page in the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, a first embodiment of a multi-module page control method according to the present invention provides a multi-module page control method, including:
and step S10, receiving a touch event input based on the multi-module page, and acquiring a gesture action according to the movement track of the touch event.
According to the method and the device, after the touch event input by the user on the multi-module page is received, the corresponding target module is determined according to the gesture action, the control mode of the target module is entered, the touch event is distributed to the target module for response, the independent control of each module in the multi-module page is started through the customized gesture, the functions of the multi-module page are enriched, and the function integration level of the application software page is higher.
It should be noted that, in this embodiment, a multi-module page refers to a page including a plurality of functional modules, and each functional module is used for controlling and displaying corresponding data content in different areas of the page and executing a received operation instruction. In this embodiment, a multi-module page is taken as a page of application software for example, and the application software is deployed in a mobile terminal with a touch screen.
Specifically, as an embodiment, a user inputs a touch event on the multi-module page, such as a swipe left, a swipe right, and the like.
After the mobile terminal detects a touch event input by a user, analyzing a movement track of the touch event, and obtaining a gesture action corresponding to the movement track according to a preset gesture customization table.
For example, if it is detected that the movement track of the touch event is linear sliding and an included angle between the straight line and a horizontal line of a touch screen of the mobile terminal is within 45 degrees, the gesture corresponding to the touch event can be determined as sliding in the horizontal direction; further, the direction of the movement trajectory may be used as the direction of the gesture motion, and the obtained gesture motion is horizontal sliding in the same direction as the movement trajectory.
Thereby, a gesture action corresponding to the touch event is obtained, such as horizontal leftward sliding, vertical upward sliding, and the like.
And step S20, selecting a target module from the modules according to the trigger action corresponding to each module in the multi-module page and the gesture action which are configured in advance.
After the gesture action is obtained, the mobile terminal searches for the target module according to the trigger action corresponding to each module in the preset page.
It should be noted that the trigger actions corresponding to the modules in the page are configured in units of pages. Different modules in the same page correspond to different trigger actions, and the same module in different pages may be configured with the same trigger action or with different trigger actions. And realizing the personalized customization of the response mechanism of each module.
Therefore, after the gesture action corresponding to the touch event is acquired, the gesture action is respectively matched with the trigger action corresponding to each module.
And if the trigger action matched with the gesture action is found, selecting a module corresponding to the trigger action as a target module.
For example, the current page includes a video module and a list module, the triggering action corresponding to the video module is sliding in the horizontal direction, and the triggering action corresponding to the list module is sliding in the vertical direction.
If the gesture motion of the touch event is used as sliding in the horizontal direction and is matched with the trigger motion corresponding to the video module, selecting the video module as a target module; and if the gesture action of the touch event is sliding in the vertical direction and is matched with the trigger action corresponding to the list module, selecting the list module as a target module.
Furthermore, trigger actions with different sliding directions can be configured, and the trigger actions correspond to different modules.
Thus, the selected target module is obtained.
And step S30, controlling the multi-module page to enter the control mode of the target module.
After the selected target module is obtained, the current page is controlled to enter the control mode of the target module, and a user can perform control operation on the target module in the control mode of the target module, such as deleting the target module, zooming the target module, performing editing operation on data in the target module, and the like.
In this embodiment, after a touch event input based on a multi-module page is received, a corresponding gesture action is obtained according to a movement track of the touch event; then, selecting a target module from each module according to a trigger action and a gesture action corresponding to each module in a preset multi-module page; then, the multi-module page is controlled to enter the control mode of the target module. In the embodiment, the gesture customization of each module in the page is realized by pre-configuring the trigger action corresponding to each module; a user can select a target module by inputting a touch event and control to enter a control mode of the target module, and under the control mode of the target module, the user can perform various control operations on the target module. The embodiment enriches the touch operation response mechanism of the multi-module page and expands the function which can be realized by the page.
Further, referring to fig. 2, a second embodiment of the multi-module page control method according to the present invention provides a multi-module page control method, based on the embodiment shown in fig. 1, after step S30, the method further includes:
and step S40, in the control mode of the target module, if the touch action input based on the multi-module page is detected, sending the touch action to the target module for processing.
After entering the control mode of the target module, if the mobile terminal detects a touch action input by the user in the current multi-module page, such as clicking, sliding, long pressing and the like, the touch action is sent to the target module, and the target module processes the received touch action according to a preset response mechanism.
That is, in the control mode of the target module, the touch actions detected at any position in the multi-module page are all sent to the target module for processing.
And the target module responds according to a pre-configured response mechanism after receiving the touch action.
For example, the current target module is a picture module, and in the control mode of the picture module, the target module can provide a toolbar with a cropping function, a user can select the cropping function by inputting a touch action, and the operations such as altering and the like are performed on the picture in the target module in the current multi-module page, so that the operation is convenient and quick, the traditional picture viewing page and the traditional cropping page are combined in the same page, and the user does not need to additionally open the cropping page for the cropping operation.
Further, as an embodiment, when the touch action input in the display area corresponding to the target module is detected, the touch action is sent to the target module for response.
That is, in the control mode of the target module, the target module processes only the touch action received in the display area corresponding thereto.
In this embodiment, in the control mode of the target module, if a touch action based on multi-module page input is detected, the touch action is sent to the target module for processing. In the embodiment, in the control mode of the target module, a user can perform various control operations on the target module only by inputting a touch action on the touch screen, and the operation is convenient and fast.
Further, referring to fig. 3, a third embodiment of the multi-module page control method according to the present invention provides a multi-module page control method, based on the embodiment shown in fig. 1 or fig. 2 (this embodiment takes fig. 1 as an example), after step S30, the method further includes:
step S50, in the control mode of the target module, if a mode exit instruction is received, exiting the control instruction of the target module.
After entering the control mode of the target module, if a mode exit instruction input by a user is received, the control mode of the target module is controlled to exit, and subsequently received touch actions all respond according to an original page response mechanism.
The user may input the mode exit instruction in various ways, for example, the user presses a return key of the physical keys of the mobile terminal to input the mode exit instruction, or presses the input mode exit instruction on the touch screen of the mobile terminal for a long time.
Furthermore, if the target module only responds to the touch action received in the corresponding display area in the control mode of the target module, the mobile terminal may be configured to use the touch action received in any area except the display area of the target module as a mode exit instruction.
In this embodiment, in the control mode of the target module, if the mode exit instruction is received, the control instruction of the target module exits, so that flexible control over the control mode of the target module is realized.
Further, referring to fig. 4, a fourth embodiment of the multi-module page control method according to the present invention provides a multi-module page control method, based on the embodiments shown in fig. 1, fig. 2, or fig. 3 (in this embodiment, fig. 1 is taken as an example), where the multi-module page is a list page and includes a list module and a cell module, and the step S20 includes:
and step S21, if the gesture action is matched with a preset cell module triggering action, acquiring the cell module as a target module.
In this embodiment, the multi-module page is a list page, and referring to fig. 9, the page includes a list module and a cell module, and corresponds to a cell page displayed as a column and a plurality of lines in the page, such as a menu list page and a scenery spot list page. The list module is used for controlling the whole list in the page, and the cell module is used for controlling each cell in the page.
And after the gesture action is obtained, if the gesture action is matched with the preset cell module triggering action, selecting the cell module as a target module.
And after the target module is obtained, controlling the multi-module page to enter a cell control mode.
In the cell control mode, the user can perform operations such as adding, deleting and updating on the cells, and perform operations such as editing and modifying on data in the cells.
For example, a horizontal sliding mode may be configured to delete a corresponding cell, and if a moving track of a touch action input by a user in the cell control mode is located in a display area corresponding to a cell module and the touch action is a horizontal sliding mode, the cell is controlled to be deleted.
Furthermore, the user can click the hyperlink in the cell to control page jump or call other modules.
Thereby, control of the cells in the list page is achieved.
In this embodiment, the multi-module page is a list page and includes a list module and a cell module, and after the gesture action is obtained, if the gesture action matches with the trigger action of the preset cell module, the cell module is obtained as a target module, so that in the control mode of the target module, each cell correspondingly displayed by the cell module is controlled.
Further, referring to fig. 5, a fifth embodiment of the multi-module page control method according to the present invention provides a multi-module page control method, based on the embodiment shown in fig. 4, where the step of S20 further includes:
step S22, if the gesture action is matched with a preset list module triggering action, acquiring the list module as a target module;
the step S30 includes:
and step S31, controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the movement track of the touch event.
In this embodiment, the multi-module page is a list page, and after the gesture action is obtained, if the gesture action matches a preset list module trigger action, the list module is selected as the target module.
And then, controlling the current list page to enter a control mode of the target module, and controlling the list module to scroll or refresh according to the moving track of the touch event, namely controlling the list in the list page to scroll or refresh. Different types of touch tracks or touch tracks in different directions can be configured in advance to correspond to different control actions of the list module.
For example, in a cell page, a preset list module triggering action is vertical sliding, and a cell module triggering action is horizontal sliding.
If the gesture action of the touch event is horizontal sliding and is matched with the cell module triggering action, controlling the list page to enter a control mode of the cell module; and if the gesture action of the touch event is vertical sliding and is matched with the trigger action of the list module, controlling the list page to enter a control mode of the list module.
In the control mode of the list module, if the moving track of the touch event slides downwards and the top of the list in the current list page does not contain hidden cells, the list module is controlled to refresh and update data in the current page; and if the moving track of the touch event slides upwards and the bottom of the list in the current list page contains hidden cells, controlling the list to scroll upwards and displaying the hidden cells.
In this embodiment, if the gesture action matches a preset list module trigger action, the list module is acquired as a target module; and then, controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the moving track of the touch event, so that the control of the list module in the list page is realized.
Referring to fig. 6, a first embodiment of the multi-module page control apparatus according to the present invention provides a multi-module page control apparatus, including:
the action module 10 is configured to receive a touch event input based on a multi-module page, and acquire a gesture action according to a movement trajectory of the touch event.
According to the method and the device, after the touch event input by the user on the multi-module page is received, the corresponding target module is determined according to the gesture action, the control mode of the target module is entered, the touch event is distributed to the target module for response, the independent control of each module in the multi-module page is started through the customized gesture, the functions of the multi-module page are enriched, and the function integration level of the application software page is higher.
It should be noted that, in this embodiment, a multi-module page refers to a page including a plurality of functional modules, and each functional module is used for controlling and displaying corresponding data content in different areas of the page and executing a received operation instruction. In this embodiment, a multi-module page is taken as a page of application software for example, and the application software is deployed in a mobile terminal with a touch screen.
Specifically, as an embodiment, a user inputs a touch event on the multi-module page, such as a swipe left, a swipe right, and the like.
After detecting a touch event input by a user, the action module 10 analyzes a movement trajectory of the touch event, and obtains a gesture action corresponding to the movement trajectory according to a preset gesture customization table.
For example, if it is detected that the movement track of the touch event is linear sliding and an included angle between the straight line and a horizontal line of the touch screen of the mobile terminal is within 45 degrees, the action module 10 may determine the gesture corresponding to the touch event as sliding in the horizontal direction; further, the direction of the movement trajectory may be used as the direction of the gesture motion, and the obtained gesture motion is horizontal sliding in the same direction as the movement trajectory.
Thus, the action module 10 obtains a gesture action corresponding to the touch event, such as sliding horizontally to the left, sliding vertically to the top, and the like.
And the selecting module 20 is configured to select a target module from the modules according to the trigger action corresponding to each module in the preconfigured multi-module page and the gesture action.
After obtaining the gesture actions, the selecting module 20 searches for the target module according to the trigger actions corresponding to the modules in the preconfigured page.
It should be noted that the trigger actions corresponding to the modules in the page are configured in units of pages. Different modules in the same page correspond to different trigger actions, and the same module in different pages may be configured with the same trigger action or with different trigger actions. And realizing the personalized customization of the response mechanism of each module.
Therefore, after acquiring the gesture actions corresponding to the touch events, the selection module 20 matches the gesture actions with the trigger actions corresponding to the modules, respectively.
If the trigger action matched with the gesture action is found, the selection module 20 selects the module corresponding to the trigger action as the target module.
For example, the current page includes a video module and a list module, the triggering action corresponding to the video module is sliding in the horizontal direction, and the triggering action corresponding to the list module is sliding in the vertical direction.
If the gesture motion of the touch event is used as sliding in the horizontal direction and is matched with the trigger motion corresponding to the video module, selecting the video module as a target module; and if the gesture action of the touch event is sliding in the vertical direction and is matched with the trigger action corresponding to the list module, selecting the list module as a target module.
Furthermore, trigger actions with different sliding directions can be configured, and the trigger actions correspond to different modules.
Thus, the selection module 20 obtains the selected target module.
And the control module 30 is used for controlling the multi-module page to enter the control mode of the target module.
After the selected target module is obtained, the control module 30 controls the current page to enter the control mode of the target module, and the user can perform control operations on the target module in the control mode of the target module, such as deleting the target module, zooming the target module, and performing editing operations on data in the target module.
In this embodiment, after receiving a touch event input based on a multi-module page, the action module 10 obtains a corresponding gesture action according to a movement track of the touch event; then, the selecting module 20 selects a target module from each module according to the trigger action and the gesture action corresponding to each module in the preconfigured multi-module page; control module 30 then controls the multi-module page to enter the control mode of the target module. In the embodiment, the gesture customization of each module in the page is realized by pre-configuring the trigger action corresponding to each module; a user can select a target module by inputting a touch event and control to enter a control mode of the target module, and under the control mode of the target module, the user can perform various control operations on the target module. The embodiment enriches the touch operation response mechanism of the multi-module page and expands the function which can be realized by the page.
Further, referring to fig. 7, a second embodiment of the multi-module page control apparatus according to the present invention provides a multi-module page control apparatus, based on the embodiment shown in fig. 6, the multi-module page control apparatus further includes:
and the distribution module 40 is configured to, in the control mode of the target module, send the touch action to the target module for processing if the touch action based on the multi-module page input is detected.
After entering the control mode of the target module, if the distribution module 40 detects a touch action input by the user in the current multi-module page, such as clicking, sliding, long-pressing, etc., the touch action is sent to the target module, and the target module processes the received touch action according to a preset response mechanism.
That is, in the control mode of the target module, the touch actions detected by the distributing module 40 at any position in the multi-module page are all distributed to the target module for processing.
And the target module responds according to a pre-configured response mechanism after receiving the touch action.
For example, the current target module is a picture module, and in the control mode of the picture module, the target module can provide a toolbar with a cropping function, a user can select the cropping function by inputting a touch action, and the operations such as altering and the like are performed on the picture in the target module in the current multi-module page, so that the operation is convenient and quick, the traditional picture viewing page and the traditional cropping page are combined in the same page, and the user does not need to additionally open the cropping page for the cropping operation.
Further, as an embodiment, the distributing module 40 is further configured to, if a touch action input in the display area corresponding to the target module is detected, send the touch action to the target module for response.
That is, in the control mode of the target module, the target module processes only the touch action received in the display area corresponding thereto.
In this embodiment, in the control mode of the target module, if a touch action based on multi-module page input is detected, the distribution module 40 sends the touch action to the target module for processing. In the embodiment, in the control mode of the target module, a user can perform various control operations on the target module only by inputting a touch action on the touch screen, and the operation is convenient and fast.
Further, referring to fig. 8, a third embodiment of the multi-module page control apparatus according to the present invention provides a multi-module page control apparatus, based on the embodiment shown in fig. 6 or fig. 7 (in this embodiment, fig. 6 is taken as an example), the multi-module page control apparatus further includes:
and the exit module 50 is configured to, in the control mode of the target module, exit the control instruction of the target module if a mode exit instruction is received.
After entering the control mode of the target module, if a mode exit instruction input by the user is received, the exit module 50 controls to exit the control mode of the target module, and the subsequent received touch actions all respond according to the original page response mechanism.
The user may input the mode exit instruction in various ways, for example, the user presses a return key of the physical keys of the mobile terminal to input the mode exit instruction, or presses the input mode exit instruction on the touch screen of the mobile terminal for a long time.
Further, if the target module only responds to the touch action received in the corresponding display area in the control mode of the target module, the distribution module 40 may be configured to use the touch action received in any area other than the display area corresponding to the target module as the mode exit instruction.
In this embodiment, in the control mode of the target module, if the mode exit instruction is received, the distribution module 40 exits the control instruction of the target module, thereby implementing flexible control on the control mode of the target module.
Further, referring to fig. 6, a fourth embodiment of the multi-module page control apparatus according to the present invention provides a multi-module page control apparatus, based on the embodiments shown in fig. 6, fig. 7, or fig. 8 (in this embodiment, the first embodiment of the multi-module page control apparatus according to the present invention shown in fig. 6 is taken as an example), where the multi-module page is a list page, and includes a list module and a cell module, the selecting module 20 is further configured to,
and if the gesture action is matched with a preset cell module triggering action, acquiring the cell module as a target module.
In this embodiment, the multi-module page is a list page, and referring to fig. 9, the page includes a list module and a cell module, and corresponds to a cell page displayed as a column and a plurality of lines in the page, such as a menu list page and a scenery spot list page. The list module is used for controlling the whole list in the page, and the cell module is used for controlling each cell in the page.
After the gesture action is obtained, if the gesture action matches the preset cell module triggering action, the selection module 20 selects the cell module as the target module.
After the target module is acquired, the control module 30 controls the multi-module page to enter the cell control mode.
In the cell control mode, the user can perform operations such as adding, deleting and updating on the cells, and perform operations such as editing and modifying on data in the cells.
For example, a horizontal sliding mode may be configured to delete a corresponding cell, and if a moving track of a touch action input by a user in the cell control mode is located in a display area corresponding to a cell module and the touch action is a horizontal sliding mode, the cell is controlled to be deleted.
Furthermore, the user can click the hyperlink in the cell to control page jump or call other modules.
Thereby, control of the cells in the list page is achieved.
In this embodiment, the multi-module page is a list page, and includes a list module and a cell module, after the gesture action is obtained, if the gesture action matches with the trigger action of the preset cell module, the selection module 20 obtains the cell module as a target module, so as to perform a control operation on each cell correspondingly displayed by the cell module in a control mode of the target module.
Further, referring to fig. 6, a fifth embodiment of the multi-module page control apparatus of the present invention provides a multi-module page control apparatus, based on the above-mentioned fourth embodiment of the multi-module page control apparatus of the present invention, the selecting module 20 is further configured to,
if the gesture action is matched with a preset list module triggering action, acquiring the list module as a target module;
the control module 30 is also configured to,
and controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the movement track of the touch event.
In this embodiment, the multi-module page is a list page, and after the gesture action is obtained, if the gesture action matches a preset list module trigger action, the selecting module 20 selects the list module as the target module.
Then, the control module 30 controls the current list page to enter the control mode of the target module, and controls the list module to scroll or refresh according to the movement track of the touch event, that is, controls the list in the list page to scroll or refresh. The control module 30 may be configured with different types of touch tracks or touch tracks in different directions corresponding to different control actions of the list module in advance.
For example, in a cell page, a preset list module triggering action is vertical sliding, and a cell module triggering action is horizontal sliding.
If the gesture action of the touch event is horizontal sliding and is matched with the cell module triggering action, the control module 30 controls the list page to enter the control mode of the cell module; if the gesture motion of the touch event is vertical sliding and matches with the trigger motion of the list module, the control module 30 controls the list page to enter the control mode of the list module.
In the control mode of the list module, if the movement track of the touch event slides downwards and the top of the list in the current list page does not contain hidden cells, the control module 30 controls the list module to refresh and update the data in the current page; if the moving track of the touch event is upward sliding and the bottom of the list in the current list page includes hidden cells, the control module 30 controls the list to scroll upward to display the hidden cells.
In this embodiment, if the gesture action matches a preset trigger action of the list module, the selecting module 20 obtains the list module as a target module; then, the control module 30 controls the list page to enter the control mode of the list module, and controls the list module to scroll or refresh according to the movement track of the touch event, thereby implementing the control of the list module in the list page.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A multi-module page control method is characterized by comprising the following steps:
receiving a touch event input based on a multi-module page, and acquiring a gesture action according to a moving track of the touch event;
selecting a target module from the modules according to the trigger action corresponding to each module in the preset multi-module page and the gesture action;
controlling the multi-module page to enter a control mode of the target module;
and under the control mode of the target module, if the touch action based on the multi-module page input is detected, sending the touch action to the target module, and processing the received touch action by the target module according to a preset response mechanism.
2. The multi-module page control method of claim 1, wherein after the step of controlling the multi-module page to enter the control mode of the target module, further comprising:
and under the control mode of the target module, if a mode exit instruction is received, exiting the control instruction of the target module.
3. The multi-module page control method according to claim 1 or 2, wherein the multi-module page is a list page, and includes a list module and a cell module, and the step of selecting a target module from the modules according to the trigger action corresponding to each module in the pre-configured multi-module page and the gesture action includes:
and if the gesture action is matched with a preset cell module triggering action, acquiring the cell module as a target module.
4. The multi-module page control method according to claim 3, wherein the step of selecting a target module from the modules according to the trigger action and the gesture action corresponding to each module in the pre-configured multi-module page further comprises:
if the gesture action is matched with a preset list module triggering action, acquiring the list module as a target module;
the step of controlling the multi-module page to enter the control mode of the target module comprises:
and controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the movement track of the touch event.
5. A multi-module page control apparatus, comprising:
the action module is used for receiving a touch event input based on a multi-module page and acquiring a gesture action according to the movement track of the touch event;
the selection module is used for selecting a target module from the modules according to the trigger action corresponding to each module in the multi-module page and the gesture action which are configured in advance;
the control module is used for controlling the multi-module page to enter a control mode of the target module;
and the distribution module is used for sending the touch action to the target module if the touch action based on the multi-module page input is detected in the control mode of the target module, and the target module processes the received touch action according to a preset response mechanism.
6. The multi-module page control apparatus of claim 5, wherein said multi-module page control apparatus further comprises:
and the exit module is used for exiting the control instruction of the target module if a mode exit instruction is received in the control mode of the target module.
7. A multi-module page control device as claimed in claim 5 or 6, wherein said multi-module page is a list page, comprising a list module and a cell module, said selection module being further adapted to,
and if the gesture action is matched with a preset cell module triggering action, acquiring the cell module as a target module.
8. The multi-module page control apparatus of claim 7, wherein said selection module is further configured to,
if the gesture action is matched with a preset list module triggering action, acquiring the list module as a target module;
the control module is also configured to,
and controlling the list page to enter a control mode of the list module, and controlling the list module to scroll or refresh according to the movement track of the touch event.
CN201610575810.9A 2016-07-20 2016-07-20 Multi-module page control method and device Active CN107643872B (en)

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 CN107643872A (en) 2018-01-30
CN107643872B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107643872A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN109120981B (en) Information list display method and device and storage medium
JP6553719B2 (en) Screen split display method and apparatus
CN105955607B (en) Content sharing method and device
CN109164964B (en) Content sharing method and device, terminal and storage medium
CN112632322B (en) Video switching method and device, electronic equipment and storage medium
CN104423879A (en) Information processing apparatus, storage medium, and control method
CN109218819B (en) Video preview method and mobile terminal
CN111857513B (en) Background program control method and device and electronic equipment
CN105278799A (en) Interface switching method and apparatus
CN110636355B (en) Video switching method, device, terminal and storage medium
CN108228020B (en) Information processing method and terminal
US9509733B2 (en) Program, communication apparatus and control method
US20150199058A1 (en) Information processing method and electronic device
KR20200142065A (en) Global special effects conversion method, conversion device, terminal equipment and storage medium
CN105824819A (en) Image loading method, device and electronic device
CN110321497B (en) Interface navigation method and device, electronic equipment and storage medium
CN106775210B (en) Wallpaper changing method and device
CN107643872B (en) Multi-module page control method and device
CN113342232A (en) Icon generation method and device, electronic equipment and readable storage medium
CN106325712A (en) Terminal display control method and apparatus and terminal
CN115756707A (en) Content sharing method and device, electronic equipment and readable storage medium
US10613622B2 (en) Method and device for controlling virtual reality helmets
CN114827709B (en) Video display method and device, electronic equipment and storage medium
CN112948730A (en) Webpage data display method and device, storage medium and electronic equipment
CN112783998A (en) Navigation method and electronic equipment

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