CN111273847A - Page processing method and device, electronic equipment and storage medium - Google Patents

Page processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111273847A
CN111273847A CN202010014825.4A CN202010014825A CN111273847A CN 111273847 A CN111273847 A CN 111273847A CN 202010014825 A CN202010014825 A CN 202010014825A CN 111273847 A CN111273847 A CN 111273847A
Authority
CN
China
Prior art keywords
page
gesture operation
party
processing
target user
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
Application number
CN202010014825.4A
Other languages
Chinese (zh)
Other versions
CN111273847B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010014825.4A priority Critical patent/CN111273847B/en
Publication of CN111273847A publication Critical patent/CN111273847A/en
Application granted granted Critical
Publication of CN111273847B publication Critical patent/CN111273847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The embodiment of the disclosure discloses a page processing method and device, electronic equipment and a storage medium. The method comprises the following steps: judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page; and if the touch operation of the target user is determined to be the preset gesture operation, processing the third-party page according to the page processing rule corresponding to the preset gesture operation. According to the embodiment of the disclosure, the effect of the shortcut gesture operation function of processing the third-party page according to the gesture operation of the user can be simulated under the condition that other normal operations of the third-party page are not influenced, and the convenience degree of the user operation is improved.

Description

Page processing method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and in particular, to a page processing method and apparatus, an electronic device, and a storage medium.
Background
In an internal operating system of an electronic device, a shortcut gesture operation of the internal operating system is generally added to a page by setting a gesture proxy. For example, in the iOS system, a shortcut gesture operation such as right-slide edge exit is added to a page. The shortcut gesture operation can greatly improve the convenience of user operation.
In the prior art, the electronic device often displays a third-party page in a Software Development Kit (SDK) manufactured by a third party according to business needs. The closeness of the third-party SDK results in the internal operating system of the electronic device not being able to set a gesture proxy for the third-party page directly. Therefore, a shortcut gesture operation function cannot be added to the third-party page. The user can not control the third-party page displayed by the electronic equipment through gesture operation, and the convenience degree of the user operation is greatly reduced.
Disclosure of Invention
The disclosure provides a page processing method and device, electronic equipment and a storage medium, so that a third-party page can be processed according to gesture operation of a user, and convenience in operation of the user is improved.
In a first aspect, an embodiment of the present disclosure provides a page processing method, including:
judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page;
and if the touch operation of the target user is determined to be the preset gesture operation, processing the third-party page according to the page processing rule corresponding to the preset gesture operation.
In a second aspect, an embodiment of the present disclosure further provides a page processing apparatus, including:
the gesture operation judging module is used for judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page;
and the page processing module is used for processing the third-party page according to a page processing rule corresponding to the preset gesture operation if the touch operation of the target user is determined to be the preset gesture operation.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the page processing method according to the embodiment of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the page processing method according to the disclosed embodiments.
According to the method and the device, whether the touch operation of the target user is the preset gesture operation or not is judged through the transparent page, if the touch operation of the target user is the preset gesture operation, the third-party page is processed according to the page processing rule corresponding to the preset gesture operation, the gesture operation of the user can be detected through the transparent page, the third-party page is processed according to the gesture operation of the user, the effect of the shortcut gesture operation function of processing the third-party page according to the gesture operation of the user can be simulated under the condition that other normal operations of the third-party page are not influenced, and the convenience in operation of the user is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a page processing method according to an embodiment of the present disclosure;
fig. 2a is a flowchart of a page processing method according to an embodiment of the disclosure;
fig. 2b is a schematic diagram of an overlay process of a transparent page according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a page processing method provided by the embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a page processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart of a page processing method according to an embodiment of the present disclosure. The embodiment of the disclosure may be applicable to the case of processing the third-party page according to the gesture operation of the user, and the method may be executed by a page processing apparatus, which may be implemented in a software and/or hardware manner, and may be configured in an electronic device. As shown in fig. 1, the method may include the steps of:
step 101, judging whether the touch operation of the target user is a preset gesture operation through a transparent page: if yes, go to step 102; if not, go to step 103.
And the target user performs touch operation on the display area in the process of browsing the third-party page in the display area. The touch operation of the target user can be detected through the transparent page above the third-party page, and whether the touch operation of the target user is a preset gesture operation or not is judged.
Optionally, the preset gesture operation includes: and the page exits the gesture operation.
In one embodiment, the page exit gesture operates as an edge right slide, i.e., a slide to the right from the left edge of the display area. And the target user slides from the left edge of the display area to the right in the process of browsing the third-party page in the display area. Detecting a touch operation of a target user sliding from the left edge of a display area to the right through a transparent page above a third-party page, judging whether the touch operation is a page quitting gesture operation or not, and then determining that the touch operation is the page quitting gesture operation.
The transparent page is a page generated by an operating system in the electronic equipment and does not belong to a third party. Codes for realizing the designated functions can be set for the transparent page according to the internal requirements of the system, so that the designated functions can be realized through the transparent page. Optionally, a gesture recognition code is set in advance for the transparent page, so that a gesture recognition function can be realized through the transparent page. Specifically, whether the touch operation of the target user is a preset gesture operation is judged through the transparent page.
Optionally, the transparent page completely covers the third party page.
Optionally, the size of the transparent page is the same as the third party page.
And 102, processing the third-party page according to the page processing rule corresponding to the preset gesture operation.
Optionally, before determining whether a third-party page is displayed in the display area, the method further includes: and setting a corresponding relation between preset gesture operation and page processing rules.
The page processing rule is a rule for processing a page. And setting a corresponding relation between preset gesture operation and page processing rules. Each preset gesture operation corresponds to one page processing rule. And if the touch operation of the target user is determined to be the preset gesture operation, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
Optionally, the preset gesture operation includes: a page exit gesture operation, a page zoom gesture operation, a page rotation gesture operation, and the like.
Optionally, the page processing rule may be a page removal rule, a page scaling rule, a page rotation rule, or the like.
In a specific example, the corresponding relationship between the page quitting gesture operation and the page removing rule, the corresponding relationship between the page zooming gesture operation and the page zooming rule, and the corresponding relationship between the page rotating gesture operation and the page rotating rule are set respectively. And if the touch operation of the target user is determined to be the page quitting gesture operation, removing the third-party page according to the page removing rule corresponding to the page quitting gesture operation. And if the touch operation of the target user is determined to be the page zooming gesture operation, zooming the third-party page according to the page zooming rule corresponding to the page zooming gesture operation. And if the touch operation of the target user is determined to be the page rotation gesture operation, performing rotation processing on the third-party page according to a page rotation rule corresponding to the page zooming gesture operation.
Optionally, if it is determined that the touch operation of the target user is a preset gesture operation, processing the third-party page according to a page processing rule corresponding to the preset gesture operation may include: and if the touch operation of the target user is determined to be the preset gesture operation, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
In a specific example, the corresponding relationship between the page quitting gesture operation and the page removing rule, the corresponding relationship between the page zooming gesture operation and the page zooming rule, and the corresponding relationship between the page rotating gesture operation and the page rotating rule are set respectively. And if the touch operation of the target user is determined to be the page quitting gesture operation, synchronously removing the transparent page and the third-party page according to the page removing rule corresponding to the page quitting gesture operation. And if the touch operation of the target user is determined to be the page zooming gesture operation, synchronously zooming the transparent page and the third-party page according to the page zooming rule corresponding to the page zooming gesture operation. And if the touch operation of the target user is determined to be the page rotation gesture operation, synchronously rotating the transparent page and the third-party page according to the page rotation rule corresponding to the page zooming gesture operation.
And 103, responding to the touch operation through the third-party page.
If the touch operation of the target user is determined not to be the preset gesture operation, which indicates that the touch operation of the target user is a specific operation aiming at the third-party page and is not a shortcut gesture operation, the touch operation of the target user is directly transmitted to the third-party page, and the touch operation is responded through the third-party page.
For example, the target user clicks a preset function control in the third-party page in the process of browsing the third-party page in the display area. The click operation of the target user is detected through a transparent page above the third-party page, whether the click operation is a page quitting gesture operation or not is judged, then the click operation is determined not to be a preset gesture operation, the click operation of the target user is directly transmitted to the third-party page, and the click operation is responded through the third-party page.
In the prior art, in the process of using the electronic device by a user, an SDK made by a third party pops up a third party page according to a service requirement. The third party page is displayed in a display area of the electronic device. The closeness of the third-party SDK results in the internal operating system of the electronic device not being able to set a gesture proxy for the third-party page directly. Therefore, a shortcut gesture operation function cannot be directly added to the third-party page.
According to the method and the device for processing the third-party page, the transparent page is added on the third-party page, gesture recognition is added on the transparent page, after the touch operation of the target user is determined to be the preset gesture operation through the transparent page, the third-party page is processed according to the page processing rule corresponding to the preset gesture operation. The experience effect of the user is like directly performing gesture operation on the third-party page. Therefore, the transparent page above the third-party page bypasses the limitation that the third-party page cannot be superposed with gestures, and the gesture proxy is indirectly arranged for the third-party page, so that the effect of adding the shortcut gesture operation function to the third-party page can be simulated under the condition that the existing content of the third-party page is not changed.
According to the technical scheme, whether the touch operation of the target user is the preset gesture operation or not is judged through the transparent page, if the touch operation of the target user is the preset gesture operation, the third-party page is processed according to the page processing rule corresponding to the preset gesture operation, the gesture operation of the user can be detected through the transparent page, and the third-party page is processed according to the gesture operation of the user, so that the effect of the shortcut gesture operation function of processing the third-party page according to the gesture operation of the user can be simulated under the condition that other normal operations of the third-party page are not influenced, and the convenience in operation of the user is improved.
Fig. 2a is a flowchart of a page processing method according to an embodiment of the disclosure. The present embodiment may be combined with each optional solution in one or more of the above embodiments, and in the present embodiment, the method may further include: judging whether a third-party page is displayed in a display area or not; and if the third-party page is determined to be displayed in the display area, a layer of transparent page is superposed above the third-party page.
And if the touch operation of the target user is determined to be the preset gesture operation, processing the third-party page according to the page processing rule corresponding to the preset gesture operation, wherein the processing comprises the following steps: and if the touch operation of the target user is determined to be the preset gesture operation, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
As shown in fig. 2a, the method may comprise the steps of:
step 201, judging whether a third-party page is displayed in a display area: if yes, go to step 202; if not, the process returns to continue to step 201.
And the third-party page is a page in the SDK made by the third party. And in the process of using the electronic equipment by the user, the SDK made by the third party can pop up a third party page according to the service requirement. The third party page is displayed in a display area of the electronic device. The display area may be a screen of the electronic device.
Optionally, whether a third-party page is displayed in the display area is judged according to the current display content of the display area. If the current display content in the display area comprises a third-party page, determining that the third-party page is displayed in the display area, and executing step 202; and if the current display content in the display area does not comprise the third-party page, determining that no third-party page is displayed in the display area, and continuously judging whether the third-party page is displayed in the display area.
Therefore, after the third-party page is loaded, the third-party page can be determined to be displayed in the display area immediately according to the current display content of the display area.
Step 202, a layer of transparent page is overlaid on the third-party page.
Fig. 2b is a schematic diagram of an overlay process of a transparent page according to an embodiment of the present disclosure. After determining that the third-party page is displayed in the display area, a layer of transparent page is overlaid on the third-party page. Because the page superposed above the third-party page is a transparent page, the normal display of the third-party page cannot be influenced.
The transparent page is a page generated by an operating system in the electronic equipment and does not belong to a third party. Codes for realizing the designated functions can be set for the transparent page according to the internal requirements of the system, so that the designated functions can be realized through the transparent page. Optionally, a gesture recognition code is set in advance for the transparent page, so that a gesture recognition function can be realized through the transparent page. Specifically, whether the touch operation of the target user is a preset gesture operation is judged through the transparent page.
Optionally, the transparent page completely covers the third party page.
Step 203, judging whether the touch operation of the target user is a preset gesture operation through the transparent page: if yes, go to step 204; if not, go to step 205.
And the target user performs touch operation on the display area in the process of browsing the third-party page in the display area. The touch operation of the target user can be detected through the transparent page above the third-party page, and whether the touch operation of the target user is a preset gesture operation or not is judged.
Optionally, the preset gesture operation includes: and the page exits the gesture operation.
In one embodiment, the page exit gesture operates as an edge right slide, i.e., a slide to the right from the left edge of the display area. And the target user slides from the left edge of the display area to the right in the process of browsing the third-party page in the display area. Detecting a touch operation of a target user sliding from the left edge of a display area to the right through a transparent page above a third-party page, judging whether the touch operation is a page quitting gesture operation or not, and then determining that the touch operation is the page quitting gesture operation.
And step 204, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
Optionally, before determining whether a third-party page is displayed in the display area, the method further includes: and setting a corresponding relation between preset gesture operation and page processing rules.
The page processing rule is a rule for processing a page. And setting a corresponding relation between preset gesture operation and page processing rules. Each preset gesture operation corresponds to one page processing rule. And if the touch operation of the target user is determined to be the preset gesture operation, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
Optionally, the preset gesture operation includes: a page exit gesture operation, a page zoom gesture operation, a page rotation gesture operation, and the like.
Optionally, the page processing rule may be a page removal rule, a page scaling rule, a page rotation rule, or the like.
In a specific example, the corresponding relationship between the page quitting gesture operation and the page removing rule, the corresponding relationship between the page zooming gesture operation and the page zooming rule, and the corresponding relationship between the page rotating gesture operation and the page rotating rule are set respectively.
And if the touch operation of the target user is determined to be the page quitting gesture operation, synchronously removing the transparent page and the third-party page according to the page removing rule corresponding to the page quitting gesture operation.
And if the touch operation of the target user is determined to be the page zooming gesture operation, synchronously zooming the transparent page and the third-party page according to the page zooming rule corresponding to the page zooming gesture operation.
And if the touch operation of the target user is determined to be the page rotation gesture operation, synchronously rotating the transparent page and the third-party page according to the page rotation rule corresponding to the page zooming gesture operation.
And step 205, responding to the touch operation through the third-party page.
If the touch operation of the target user is determined not to be the preset gesture operation, which indicates that the touch operation of the target user is a specific operation aiming at the third-party page and is not a shortcut gesture operation, the touch operation of the target user is directly transmitted to the third-party page, and the touch operation is responded through the third-party page.
For example, the target user clicks a preset function control in the third-party page in the process of browsing the third-party page in the display area. The click operation of the target user is detected through a transparent page above the third-party page, whether the click operation is a page quitting gesture operation or not is judged, then the click operation is determined not to be a preset gesture operation, the click operation of the target user is directly transmitted to the third-party page, and the click operation is responded through the third-party page.
In the prior art, in the process of using the electronic device by a user, an SDK made by a third party pops up a third party page according to a service requirement. The third party page is displayed in a display area of the electronic device. The closeness of the third-party SDK results in the internal operating system of the electronic device not being able to set a gesture proxy for the third-party page directly. Therefore, a shortcut gesture operation function cannot be directly added to the third-party page.
According to the method and the device for processing the transparent page, the transparent page is added on the third-party page, the transparent page and the third-party page appear synchronously, gesture recognition is added on the transparent page, after the touch operation of the target user is determined to be the preset gesture operation through the transparent page, and the transparent page and the third-party page are processed synchronously according to the page processing rule corresponding to the preset gesture operation. The experience effect of the user is like directly performing gesture operation on the third-party page. Therefore, the gesture proxy is indirectly arranged for the third-party page by overlapping the transparent page above the third-party page and bypassing the limitation that the third-party page can not be overlapped with gestures, so that the effect of adding the shortcut gesture operation function to the third-party page can be simulated under the condition that the existing content of the third-party page is not changed.
According to the technical scheme of the embodiment, when the third-party page is determined to be displayed in the display area, a layer of transparent page is overlapped above the third-party page, then whether the touch operation of the target user is the preset gesture operation or not is judged through the transparent page, if the touch operation of the target user is determined to be the preset gesture operation, the transparent page and the third-party page are synchronously processed according to the page processing rule corresponding to the preset gesture operation, the gesture operation of the user can be detected through the layer of transparent page overlapped above the third-party page, and the transparent page and the third-party page are synchronously processed according to the gesture operation of the user, so that the effect of the shortcut gesture operation function of processing the third-party page according to the gesture operation of the user can be simulated under the condition that other normal operations of the third-party page are not influenced, the operation convenience of the user is improved.
Fig. 3 is a flowchart of a page processing method according to an embodiment of the disclosure. The present embodiment may be combined with various alternatives in one or more of the above embodiments, and in the present embodiment, the preset gesture operation includes a page exit gesture operation.
And if it is determined that the touch operation of the target user is a preset gesture operation, synchronously processing the transparent page and the third-party page according to a page processing rule corresponding to the preset gesture operation, which may include: and if the touch operation of the target user is determined to be the page quitting gesture operation, synchronously removing the transparent page and the third-party page according to the page removing rule corresponding to the page quitting gesture operation.
As shown in fig. 3, the method may include the steps of:
step 301, judging whether a third-party page is displayed in a display area: if yes, go to step 302; if not, the process returns to continue to step 301.
Step 302, a layer of transparent page is overlaid on the third-party page.
Step 303, judging whether the touch operation of the target user is a page exit gesture operation through the transparent page: if yes, go to step 304; if not, go to step 305.
Optionally, the page exit gesture is operated as edge right sliding, that is, sliding from the left edge of the display area to the right.
In one embodiment, the target user slides to the right from the left edge of the display area while browsing the third-party page in the display area. Detecting a touch operation of a target user sliding from the left edge of a display area to the right through a transparent page above a third-party page, judging whether the touch operation is a page quitting gesture operation or not, and then determining that the touch operation is the page quitting gesture operation.
And step 304, synchronously removing the transparent page and the third-party page according to the page removing rule corresponding to the page quitting gesture operation.
Optionally, the synchronously removing the transparent page and the third-party page according to the page removal rule corresponding to the page quitting gesture operation may include: and removing the transparent page, and removing the third-party page according to the page removal effect corresponding to the third-party page.
And 305, responding to the touch operation through the third-party page.
According to the technical scheme of the embodiment, when the third-party page is determined to be displayed in the display area, a layer of transparent page is overlapped above the third-party page, then whether the touch operation of the target user is the page quitting gesture operation or not is judged through the transparent page, if the touch operation of the target user is determined to be the page quitting gesture operation, the transparent page and the third-party page are synchronously removed according to the page removing rule corresponding to the page quitting gesture operation, the page quitting gesture operation of the user can be detected through the layer of transparent page overlapped above the third-party page, and the transparent page and the third-party page are synchronously removed according to the page quitting gesture operation of the user, so that the effect of the shortcut gesture operation function of removing the third-party page according to the gesture operation of the user can be simulated under the condition that other normal operations of the third-party page are not influenced, the operation convenience of the user is improved.
Fig. 4 is a schematic structural diagram of a page processing apparatus according to an embodiment of the disclosure. The embodiment of the disclosure may be applicable to the case of processing the third-party page according to the gesture operation of the user, and the method may be executed by a page processing apparatus, which may be implemented in a software and/or hardware manner, and may be configured in an electronic device. As shown in fig. 4, the apparatus may include: a gesture operation judgment module 401 and a page processing module 402.
The gesture operation determination module 401 is configured to determine whether the touch operation of the target user is a preset gesture operation through the transparent page; the page processing module 402 is configured to, if it is determined that the touch operation of the target user is a preset gesture operation, process the third-party page according to a page processing rule corresponding to the preset gesture operation.
According to the technical scheme, whether the touch operation of the target user is the preset gesture operation or not is judged through the transparent page, if the touch operation of the target user is the preset gesture operation, the third-party page is processed according to the page processing rule corresponding to the preset gesture operation, the gesture operation of the user can be detected through the transparent page, and the third-party page is processed according to the gesture operation of the user, so that the effect of the shortcut gesture operation function of processing the third-party page according to the gesture operation of the user can be simulated under the condition that other normal operations of the third-party page are not influenced, and the convenience in operation of the user is improved.
Optionally, on the basis of the above technical solution, the page processing apparatus may further include: the page judgment module is used for judging whether a third-party page is displayed in the display area; and the page overlapping module is used for overlapping a layer of transparent page above the third-party page if the third-party page is determined to be displayed in the display area.
Optionally, on the basis of the foregoing technical solution, the page processing module 402 may include: and the page synchronous processing unit is used for synchronously processing the transparent page and the third-party page according to a page processing rule corresponding to the preset gesture operation if the touch operation of the target user is determined to be the preset gesture operation.
Optionally, on the basis of the above technical solution, the page processing apparatus may further include: and the page response module is used for responding to the touch operation through the third-party page if the touch operation of the target user is determined not to be the preset gesture operation.
Optionally, on the basis of the above technical solution, the transparent page completely covers the third-party page.
Optionally, on the basis of the technical scheme, the preset gesture operation includes a page quitting gesture operation; the page synchronization processing unit may include: and the page removing subunit is used for synchronously removing the transparent page and the third-party page according to a page removing rule corresponding to the page quitting gesture operation if the touch operation of the target user is determined to be the page quitting gesture operation.
Optionally, on the basis of the above technical solution, the page processing apparatus may further include: and the relationship setting module is used for setting the corresponding relationship between the preset gesture operation and the page processing rule.
The page processing device provided by the embodiment of the disclosure can execute the page processing method provided by the embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Referring now to FIG. 5, a block diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device in the embodiments of the present disclosure may include, but is not limited to, devices such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 506 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 506 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 506, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page; and if the touch operation of the target user is determined to be the preset gesture operation, processing the third-party page according to the page processing rule corresponding to the preset gesture operation.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus, electronic devices, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the designation of a module, unit or sub-unit does not in some cases constitute a limitation of the module, unit or sub-unit itself, for example, the page response module may also be described as "if it is determined that the touch operation of the target user is not a preset gesture operation, the module that responds to the touch operation through the third-party page ", the page synchronization processing unit may also be described as" if it is determined that the touch operation of the target user is a preset gesture operation, the unit that processes the transparent page and the third-party page synchronously according to the page processing rule corresponding to the preset gesture operation, the page removal subunit may also be described as "if it is determined that the touch operation of the target user is a page exit gesture operation, and synchronously removing the transparent page and the third-party page according to the page removing rule corresponding to the page quitting gesture operation.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, an example provides a page processing method, including:
judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page;
and if the touch operation of the target user is determined to be the preset gesture operation, processing the third-party page according to the page processing rule corresponding to the preset gesture operation.
According to one or more embodiments of the present disclosure, example two provides a page processing method, and on the basis of the page processing method of example one, the page processing method further includes:
judging whether a third-party page is displayed in a display area or not;
and if the third-party page is determined to be displayed in the display area, a layer of transparent page is superposed above the third-party page.
According to one or more embodiments of the present disclosure, example three provides a page processing method, where on the basis of the page processing method of example one, if it is determined that the touch operation of the target user is a preset gesture operation, processing a third-party page according to a page processing rule corresponding to the preset gesture operation includes:
and if the touch operation of the target user is determined to be the preset gesture operation, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
According to one or more embodiments of the present disclosure, example four provides a page processing method, and on the basis of the page processing method of example one, after determining, through a transparent page, whether a touch operation of a target user is a preset gesture operation, the method further includes:
and if the touch operation of the target user is determined not to be the preset gesture operation, responding to the touch operation through the third-party page.
According to one or more embodiments of the present disclosure, example five provides a page processing method, and on the basis of the page processing method of example one, the transparent page completely covers the third-party page.
According to one or more embodiments of the present disclosure, example six provides a page processing method, and on the basis of the page processing method of example one, the preset gesture operation includes a page exit gesture operation;
if the touch operation of the target user is determined to be a preset gesture operation, synchronously processing the transparent page and the third-party page according to a page processing rule corresponding to the preset gesture operation, wherein the processing comprises the following steps:
and if the touch operation of the target user is determined to be a page quitting gesture operation, synchronously removing the transparent page and the third-party page according to a page removing rule corresponding to the page quitting gesture operation.
According to one or more embodiments of the present disclosure, example seven provides a page processing method, and on the basis of the page processing method of example one, the page processing method further includes:
and setting a corresponding relation between preset gesture operation and page processing rules.
Example eight provides, in accordance with one or more embodiments of the present disclosure, a page processing apparatus, including:
the gesture operation judging module is used for judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page;
and the page processing module is used for processing the third-party page according to a page processing rule corresponding to the preset gesture operation if the touch operation of the target user is determined to be the preset gesture operation. Example nine provides, in accordance with one or more embodiments of the present disclosure, an electronic device, comprising:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the page processing method of any of examples one to seven.
Example ten provides, according to one or more embodiments of the present disclosure, a computer-readable storage medium on which is stored a computer program that, when executed by a processor, implements the page processing method as described in any one of examples one to seven.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A page processing method is characterized by comprising the following steps:
judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page;
and if the touch operation of the target user is determined to be the preset gesture operation, processing the third-party page according to the page processing rule corresponding to the preset gesture operation.
2. The method of claim 1, further comprising:
judging whether a third-party page is displayed in a display area or not;
and if the third-party page is determined to be displayed in the display area, a layer of transparent page is superposed above the third-party page.
3. The method according to claim 1, wherein if it is determined that the touch operation of the target user is a preset gesture operation, processing the third-party page according to a page processing rule corresponding to the preset gesture operation includes:
and if the touch operation of the target user is determined to be the preset gesture operation, synchronously processing the transparent page and the third-party page according to the page processing rule corresponding to the preset gesture operation.
4. The method according to claim 1, wherein after determining whether the touch operation of the target user is a preset gesture operation through the transparent page, the method further comprises:
and if the touch operation of the target user is determined not to be the preset gesture operation, responding to the touch operation through the third-party page.
5. The method of claim 1, wherein the transparent page completely covers the third-party page.
6. The method according to claim 3, wherein the preset gesture operation comprises a page exit gesture operation;
if the touch operation of the target user is determined to be a preset gesture operation, synchronously processing the transparent page and the third-party page according to a page processing rule corresponding to the preset gesture operation, wherein the processing comprises the following steps:
and if the touch operation of the target user is determined to be a page quitting gesture operation, synchronously removing the transparent page and the third-party page according to a page removing rule corresponding to the page quitting gesture operation.
7. The method of claim 1, further comprising:
and setting a corresponding relation between preset gesture operation and page processing rules.
8. A page processing apparatus, comprising:
the gesture operation judging module is used for judging whether the touch operation of the target user is a preset gesture operation or not through the transparent page;
and the page processing module is used for processing the third-party page according to a page processing rule corresponding to the preset gesture operation if the touch operation of the target user is determined to be the preset gesture operation.
9. An electronic device, characterized in that the electronic device comprises:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the page processing method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the page processing method according to any one of claims 1 to 7.
CN202010014825.4A 2020-01-07 2020-01-07 Page processing method and device, electronic equipment and storage medium Active CN111273847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010014825.4A CN111273847B (en) 2020-01-07 2020-01-07 Page processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010014825.4A CN111273847B (en) 2020-01-07 2020-01-07 Page processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111273847A true CN111273847A (en) 2020-06-12
CN111273847B CN111273847B (en) 2021-07-20

Family

ID=70996991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010014825.4A Active CN111273847B (en) 2020-01-07 2020-01-07 Page processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111273847B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883212A (en) * 2021-02-25 2021-06-01 北京有竹居网络技术有限公司 Control method and device for multimedia content display, electronic equipment and medium
CN113051017A (en) * 2021-03-30 2021-06-29 北京字节跳动网络技术有限公司 Gesture processing method, device and equipment on application program page and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164064A (en) * 2011-12-15 2013-06-19 英顺源(上海)科技有限公司 System and method enabling corresponding control to be carried out when target gesture is input at any position
CN103530044A (en) * 2012-07-03 2014-01-22 腾讯科技(深圳)有限公司 Method and device for triggering webpage gestures
CN105700727A (en) * 2014-12-15 2016-06-22 联想(新加坡)私人有限公司 Interacting With Application layer Beneath Transparent Layer
US20170053622A1 (en) * 2015-08-21 2017-02-23 Le Holdings (Beijing) Co., Ltd. Method and apparatus for setting transparency of screen menu, and audio and video playing device
CN110413187A (en) * 2018-04-26 2019-11-05 广州视源电子科技股份有限公司 The treating method and apparatus of the annotation of interactive intelligence equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164064A (en) * 2011-12-15 2013-06-19 英顺源(上海)科技有限公司 System and method enabling corresponding control to be carried out when target gesture is input at any position
CN103530044A (en) * 2012-07-03 2014-01-22 腾讯科技(深圳)有限公司 Method and device for triggering webpage gestures
CN105700727A (en) * 2014-12-15 2016-06-22 联想(新加坡)私人有限公司 Interacting With Application layer Beneath Transparent Layer
US20170053622A1 (en) * 2015-08-21 2017-02-23 Le Holdings (Beijing) Co., Ltd. Method and apparatus for setting transparency of screen menu, and audio and video playing device
CN110413187A (en) * 2018-04-26 2019-11-05 广州视源电子科技股份有限公司 The treating method and apparatus of the annotation of interactive intelligence equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883212A (en) * 2021-02-25 2021-06-01 北京有竹居网络技术有限公司 Control method and device for multimedia content display, electronic equipment and medium
CN113051017A (en) * 2021-03-30 2021-06-29 北京字节跳动网络技术有限公司 Gesture processing method, device and equipment on application program page and storage medium
CN113051017B (en) * 2021-03-30 2024-03-15 北京字节跳动网络技术有限公司 Gesture processing method, device and equipment on application program page and storage medium

Also Published As

Publication number Publication date
CN111273847B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN110389807B (en) Interface translation method and device, electronic equipment and storage medium
CN111580718A (en) Page switching method and device of application program, electronic equipment and storage medium
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
CN111291244B (en) House source information display method, device, terminal and storage medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN110825286B (en) Image processing method and device and electronic equipment
CN110633126B (en) Information display method and device and electronic equipment
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN111273847B (en) Page processing method and device, electronic equipment and storage medium
CN111459364A (en) Icon updating method and device and electronic equipment
CN112307375A (en) Page display method and device, electronic equipment and computer readable medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN110865734A (en) Target object display method and device, electronic equipment and computer readable medium
CN110795196A (en) Window display method, device, terminal and storage medium
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN110806834A (en) Information processing method and device based on input method, electronic equipment and medium
CN111259291B (en) View display method and device and electronic equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN112380819A (en) Document editing method and device and electronic equipment
CN111273884A (en) Image display method and device and electronic equipment
CN115576458A (en) Application window display method, device, equipment and medium
CN111290692B (en) Picture display method and device, electronic equipment and computer readable medium
CN111258582B (en) Window rendering method and device, computer equipment and storage medium
CN111274513B (en) Window display method, device, terminal and storage medium
CN110618776B (en) Picture scaling method, device, equipment 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