CN111459481A - Page sideslip method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN111459481A
CN111459481A CN202010224012.8A CN202010224012A CN111459481A CN 111459481 A CN111459481 A CN 111459481A CN 202010224012 A CN202010224012 A CN 202010224012A CN 111459481 A CN111459481 A CN 111459481A
Authority
CN
China
Prior art keywords
page
sideslip
return
htm
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010224012.8A
Other languages
Chinese (zh)
Inventor
梁承飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202010224012.8A priority Critical patent/CN111459481A/en
Publication of CN111459481A publication Critical patent/CN111459481A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a page sideslip method, a device, electronic equipment and a storage medium, belonging to the technical field of computers, wherein the method is applied to an application developed by adopting a hybrid architecture, and comprises the steps of intercepting a sideslip return event if the sideslip return event is monitored when the application displays a page, determining that the current displayed page is a target HTM L page with sideslip return authority, and when the target HTM L page has a pre-configured sideslip return HTM L page, acquiring a page identifier of the pre-configured sideslip return HTM L page, acquiring page resource data according to the page identifier of the pre-configured sideslip return HTM L page, and executing a sideslip return action.

Description

Page sideslip method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a page sideslip method, apparatus, electronic device, and storage medium.
Background
At present, in the development of an application developed by adopting a hybrid framework, the richness of resources displayed by a page is further improved by using a browser native page to bear a page programmed by a fifth generation hypertext Markup language (HTM L Markup L angle).
In the sideslip return method supported by the current application, generally only the previous native page is directly returned from the current native page, but a plurality of HTM L5 pages may be loaded in the native page, and when the previous page needs to be returned from one HTM L5 page carried by a certain native page, since the previous page needing to be returned may be one HTM L5 page of a plurality of HTM L5 pages carried by the native page, the existing sideslip return method cannot realize the sideslip page switching between the HTM L5 pages.
Disclosure of Invention
Based on this, in order to solve the technical problem that the page sideslip switching between the HTM L5 pages cannot be realized in the application of hybrid framework development, the invention provides a page sideslip method, a device, an electronic device and a storage medium.
The first aspect provides a page sideslip method, which is applied to an application developed by adopting a hybrid architecture, and comprises the steps of intercepting a sideslip return event if the sideslip return event is monitored when the application displays a page, obtaining a page identifier of a pre-configured sideslip return HTM L5 page if a current display page is determined to be a target HTM L5 page with sideslip return authority and the target HTM L5 page has a pre-configured sideslip return HTM L5 page, obtaining page resource data according to the page identifier of the pre-configured sideslip return HTM L5 page, executing a sideslip return action, and loading the pre-configured sideslip return HTM L5 page according to the page resource data in the display page after the sideslip return action is executed.
The second aspect provides a page sideslip device which comprises an intercepting unit, an acquiring unit and a first executing unit, wherein the intercepting unit is used for intercepting a sideslip return event if the sideslip return event is monitored when the application displays a page, the acquiring unit is used for acquiring a page identifier of a pre-configured sideslip return HTM L5 page if the current display page is determined to be a target HTM L5 page with sideslip return authority and the target HTM L5 page has the pre-configured sideslip return HTM L5 page, the first executing unit is used for acquiring page resource data according to the page identifier of the pre-configured sideslip return HTM L5 page, executing a sideslip return action and loading the pre-configured sideslip return HTM L5 page according to the page resource data in the display page after the sideslip return action is executed.
In a third aspect, an electronic device is provided, comprising a memory and a processor, the memory having stored therein computer-readable instructions, which, when executed by the processor, cause the processor to perform the steps of the above-mentioned page sideslip method.
In a fourth aspect, a storage medium is provided that stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the page-side-slipping method described above.
The technical scheme provided by the embodiment of the disclosure can include the following beneficial effects that in an application developed by adopting a hybrid framework, when a current display page is an HTM L5 page, by setting a sideslip return authority for an HTM L5 page and a sideslip return HTM L5 page preconfigured for the HTM L5 page, when a sideslip return event is monitored, the preconfigured sideslip return HTM L5 page can be loaded in the display page after executing the sideslip return action, the preconfigured sideslip return HTM L5 page can be any other HTM L5 page displayed in a native page carrying a target HTM L5 page, in the application developed by adopting the hybrid framework, the HTM L5 page can return to other HTM L5 pages in a page sideslip way, and the return to the default native page is avoided, so that convenience is provided for a user when browsing the page content, and the browsing efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 schematically shows a flow diagram of a page sideslip method according to one embodiment of the present invention.
Fig. 2 schematically shows a block diagram of an apparatus for monitoring the progress of execution of a software product according to an embodiment of the invention.
Fig. 3 schematically shows an example block diagram of an electronic device for implementing the above-described method of monitoring the progress of execution of a software product.
Fig. 4 schematically illustrates a computer-readable storage medium for implementing the above-described method of monitoring the progress of execution of a software product.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 schematically shows a flowchart of a page sideslip method according to an embodiment of the present invention, wherein an execution subject of the page sideslip method is an electronic device, and the electronic device may specifically be a machine in which a software product is executed, such as an electronic device like a smart phone, a tablet computer, and the like, and the following description will be given taking the electronic device as an example.
Referring to fig. 1, a page sideslip method according to an embodiment of the present invention may include the following steps S110 to S130, which are described in detail as follows:
step S110, when the page display is carried out through the mixed mode mobile application, if the sideslip return event is monitored, the sideslip return event is intercepted.
In step S110, the application developed by using the hybrid framework is an application supported by the HTM L page and the browser native page, and the HTM L page needs to be carried by the native page.
The sideslip return event refers to an event generated when a native page or an HTM L5 page is displayed in an application and aiming at a sideslip return request input by a user in an electronic device, and when the sideslip return event is executed, the sideslip return event is used for realizing that a current display page is switched to an upper-layer display page in a sideslip mode, and the upper-layer display page is a native page or an HTM L5 page displayed at the previous time of the current display page.
Upon detection of a side-slip return event, the side-slip return event is intercepted in order to determine whether the side-slip return event needs to be executed.
In one embodiment of the invention, intercepting the side-slip return event if a side-slip return event is monitored comprises:
and if a sideslip return event is monitored and the application is determined to be in a state of opening page sideslip, intercepting the sideslip return event.
In this embodiment, after the sideslip return event is monitored, it may be further determined whether the application is in a state of opening the page sideslip, and if it is determined that the application is in the state of opening the page sideslip, the sideslip return event is intercepted. It should be noted that the state that the application is in the open page sideslip state and the state that the application is in the closed page sideslip state may be pre-configured according to requirements.
Whether the application is in the state of opening the page sideslip or not is set, so that the page sideslip function of the application is closed according to the requirement in a self-defined mode, and the convenience of managing the application is improved.
Step S120, if the current display page is determined to be the target HTM L5 page with sideslip return authority, and the target HTM L5 page has a preconfigured sideslip return HTM L5 page, acquiring a page identifier of the preconfigured sideslip return HTM L5 page.
In step S120, after intercepting the sideslip return event, it is required to determine whether the current display page is a target HTM L page with sideslip return authority, the sideslip return authority of the target HTM L page is an authority preset for all HTM L pages in the application whether sideslip switching is allowed, and when the HTM L page is a target HTM L page with sideslip switching authority, an operation of sideslip switching to other pages may be performed in response to the monitored sideslip return event.
When it is determined that the currently displayed page is a target HTM L5 page with a sideslip return right and a target HTM L5 page has a preconfigured sideslip return HTM L5 page, the page identifier of the preconfigured sideslip return HTM L5 page may be obtained, so as to obtain page resource data corresponding to the HTM L5 page, where the page identifier is a unique identifier for each HTM L5 page, and the page identifier may specifically be a unique page name added to each HTM L5 page, or may be a page number, which is not limited herein.
And S130, acquiring page resource data according to the page identifier of the pre-configured sideslip return HTM L5 page, executing a sideslip return action, and loading the pre-configured sideslip return HTM L5 page in a display page after the sideslip return action is executed according to the page resource data.
And acquiring corresponding page resource data according to the page identifier of the pre-configured sideslip return HTM L5 page, executing a sideslip return action, and loading the pre-configured sideslip return HTM L5 page on the display page after executing the sideslip return action according to the page resource data.
As can be seen from the above, in an application developed by using a hybrid framework, when a current display page is an HTM L5 page, by setting a sideslip return permission for an HTM L5 page and a sideslip return HTM L5 page preconfigured for the HTM L5 page, when a sideslip return event is monitored, a preconfigured sideslip return HTM L5 page may be loaded in the display page after executing a sideslip return action, and a preconfigured sideslip return HTM L5 page may be any other HTM L5 page displayed in a native page carrying a target HTM L5 page, in an application developed by using a hybrid framework, it is achieved that the HTM L5 page may sideslip return to another HTM L5 page, direct return to the default native page is avoided, convenience is provided for a user when browsing page content, and viewing efficiency is improved.
In an embodiment of the invention, after intercepting the sideslip return event if the sideslip return event is monitored, the page sideslip method further includes executing a sideslip return action if it is determined that a current display page is a target HTM L5 page with sideslip return authority and the target HTM L5 page does not have a preconfigured sideslip return HTM L5 page, and displaying an upper display page in the display page executing the sideslip return action, wherein the upper display page is a native page which is displayed last time in the current display page and bears the target HTM L5 page or a native page which bears the target HTM L5 page and is a HTM L5 page loaded last except the target HTM L5 page.
In an embodiment, if it is determined that the current display page is a target HTM L5 page having a sideslip return authority, and the target HTM L5 page does not have a preconfigured sideslip return HTM L5 page, a sideslip return action may be performed, and an upper display page is displayed in the display page on which the sideslip return action is performed, where the upper display page may be a native page, which is displayed last time before the current display page and carries the target HTM L5 page, or an HTM L5 page, which is loaded last except for the target HTM L5 page, of the native page carrying the target HTM L5 page, and further, when the sideslip return is not performed on the page displayed after the target HTM L5 page having the sideslip return authority is returned in a preconfigured manner, a switching operation on the target HTM L5 page may be implemented, so as to meet a complex sideslip switching requirement.
In one embodiment of the present invention, after intercepting a side-slip return event if the side-slip return event is monitored, the page side-slip method further comprises:
and if the current display page is determined to be a first native page with side-sliding return authority, and the page displayed last time of the current display page is a second native page, executing a side-sliding return action, and displaying the second native page in the display page executing the side-sliding return action.
In this embodiment, after the sideslip return event is monitored, if the current display page is the first native page with the sideslip return authority and the page displayed last time of the current display page is the second native page, the second native page may be displayed in the display page where the sideslip return action is executed, so that the sideslip return operation may also be executed when the current display page is the first native page with the sideslip return authority.
In an embodiment of the present application, the page sideslip method further includes:
and responding to an input configuration file, configuring the sideslip return authority of the specified HTM L5 page which can be displayed by the application and the sideslip return HTM L5 page which is pre-configured by the specified HTM L5 page according to configuration data in the configuration file.
For all HTM L5 pages capable of being displayed in an application, a designated HTM L5 page requiring sideslip return authority configuration and a sideslip return HTM L5 page pre-configured by a designated HTM L5 page may be configured, a configuration file may specifically include a file of configuration data, and the configuration data may be a page identifier of a designated HTM L5 page requiring configuration, a tag whether sideslip return is supported, and a page identifier of a sideslip return HTM L5 page pre-configured by the HTM L5 page, so as to configure an HTM L5 page table having sideslip return authority corresponding to the application according to the configuration data.
Referring to fig. 2, fig. 2 schematically illustrates a block diagram of a page sideslip apparatus according to an embodiment of the present invention, which may be integrated in the above-mentioned electronic device, and may specifically include an intercepting unit 210, an obtaining unit 220, and a first executing unit 230.
The intercepting unit 210 is configured to intercept a sideslip return event if the sideslip return event is monitored when the application performs page display;
the obtaining unit 220 is configured to obtain a page identifier of the preconfigured sideslip return HTM L5 page if it is determined that the currently displayed page is the target HTM L5 page with the sideslip return authority and the target HTM L5 page has the preconfigured sideslip return HTM L5 page.
The first execution unit 230 is configured to obtain page resource data according to the page identifier of the preconfigured sideslip return HTM L5 page, execute a sideslip return action, and load the preconfigured sideslip return HTM L5 page according to the page resource data in a display page after the sideslip return action is executed.
Optionally, the page sideslip device further includes a second execution unit, configured to execute a sideslip return action if it is determined that the current display page is a target HTM L page having a sideslip return authority, and when the target HTM L page does not have a preconfigured sideslip return HTM L page, and display an upper display page in the display page where the sideslip return action is executed, where the upper display page is a native page that is displayed last time of the current display page and bears the target HTM L page or a native page that bears the target HTM L page and is last loaded in the native page of the target HTM L page except the target HTM L page.
Optionally, the page sideslip device further includes a second execution unit, configured to execute a sideslip return action if it is determined that the current display page is a target HTM L page having a sideslip return authority, and when the target HTM L page does not have a preconfigured sideslip return HTM L page, and display an upper display page in the display page where the sideslip return action is executed, where the upper display page is a native page that is displayed last time of the current display page and bears the target HTM L page or a native page that bears the target HTM L page and is last loaded in the native page of the target HTM L page except the target HTM L page.
Optionally, the page sideslip device further comprises a configuration unit, which is used for responding to an input configuration file, and configuring sideslip return authority of a specified HTM L5 page which can be displayed by the application and a sideslip return HTM L5 page which is specified by HTM L5 page pre-configuration according to configuration data in the configuration file.
Optionally, the intercepting unit is specifically configured to intercept a sideslip return event if a sideslip return event is monitored and it is determined that the application is in a state of opening a page sideslip.
The implementation processes of the functions and actions of each module in the device are specifically detailed in the implementation processes of the corresponding steps in the method for monitoring the execution progress of the software product, and are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Referring to fig. 3, fig. 3 is an electronic device 400 according to this embodiment of the invention. The electronic device 300 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: the at least one processing unit 310, the at least one memory unit 320, and a bus 330 that couples various system components including the memory unit 320 and the processing unit 310.
For example, the processing unit 310 may execute step S110 shown in fig. 1, when the application displays a page, intercepting a sideslip return event if the sideslip return event is monitored, step S120, if it is determined that the current displayed page is a target HTM L5 page with sideslip return authority and the target HTM L5 page has a preconfigured sideslip return HTM L5 page, acquiring a page identifier of the preconfigured sideslip return HTM L5 page, and step S130, acquiring page resource data according to the page identifier of the preconfigured sideslip return HTM L5 page, executing a sideslip return action, and loading the preconfigured sideslip return HTM L5 page according to the page resource data in the displayed page after the sideslip return action is executed.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache memory unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
Electronic device 300 may also communicate with one or more external devices 500 (e.g., keyboard, pointing device, Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with electronic device 300, and/or with any device (e.g., router, modem, etc.) that enables electronic device 300 to communicate with one or more other computing devices.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 4, a program product 400 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, 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 readable signal medium may also be any readable medium that is not a 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 readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" language or similar programming languages.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A page sideslip method is applied to application developed by adopting a hybrid framework, and is characterized by comprising the following steps:
when the application displays a page, if a sideslip return event is monitored, intercepting the sideslip return event;
if the current display page is determined to be a target HTM L5 page with sideslip return authority, and a preconfigured sideslip return HTM L5 page exists in the target HTM L5 page, acquiring a page identifier of the preconfigured sideslip return HTM L5 page;
and acquiring page resource data according to the page identifier of the pre-configured sideslip return HTM L5 page, executing a sideslip return action, and loading the pre-configured sideslip return HTM L5 page according to the page resource data in a display page after the sideslip return action is executed.
2. The page sideslip method of claim 1, wherein after intercepting a sideslip return event if a sideslip return event is monitored, said page sideslip method further comprises:
if confirm that the current display page is the target HTM L5 page that has sideslip return authority, and when the target HTM L5 page does not have the sideslip return HTM L5 page of preconfigured, then carry out the action of returning to sideslip to show upper display page in the display page of carrying out the action of returning to sideslip, upper display page is in the last time of current display page bears of showing the native page or bear of target HTM L5 page in the native page of target HTM L5 page except that last loaded HTM L5 page outside target HTM L5 page.
3. The page sideslip method of claim 1, wherein after intercepting a sideslip return event if a sideslip return event is monitored, said page sideslip method further comprises:
and if the current display page is determined to be a first native page with side-sliding return authority, and the page displayed last time of the current display page is a second native page, executing a side-sliding return action, and displaying the second native page in the display page executing the side-sliding return action.
4. The page sideslip method of claim 1, characterized in that said page sideslip method further comprises:
and responding to an input configuration file, configuring the sideslip return authority of the specified HTM L5 page which can be displayed by the application and the sideslip return HTM L5 page which is pre-configured by the specified HTM L5 page according to configuration data in the configuration file.
5. The page sideslip method of claim 1, wherein intercepting a sideslip return event if a sideslip return event is monitored comprises:
and if a sideslip return event is monitored and the application is determined to be in a state of opening page sideslip, intercepting the sideslip return event.
6. A page sideslip apparatus, comprising:
the intercepting unit is used for intercepting the sideslip return event if the sideslip return event is monitored when the application displays a page;
the acquisition unit is used for acquiring the page identifier of the pre-configured sideslip return HTM L5 page if the current display page is determined to be the target HTM L5 page with the sideslip return authority and the pre-configured sideslip return HTM L5 page exists in the target HTM L5 page;
and the first execution unit is used for acquiring page resource data according to the page identifier of the pre-configured sideslip return HTM L5 page, executing a sideslip return action, and loading the pre-configured sideslip return HTM L5 page according to the page resource data in a display page after the sideslip return action is executed.
7. The page sideslip apparatus of claim 6, characterized in that said page sideslip apparatus further comprises:
the second execution unit is used for determining that the current display page is a target HTM L5 page with sideslip return authority, and when the target HTM L5 page does not have a preconfigured sideslip return HTM L5 page, executing a sideslip return action, and displaying an upper display page in the display page executing the sideslip return action, wherein the upper display page is a previous display carrying load of the current display page, the native page of the target HTM L5 page or the native page of the target HTM L5 page is except for the last loaded HTM L5 page outside the target HTM L5 page.
8. The page sideslip apparatus of claim 6, characterized in that said page sideslip apparatus comprises:
and the third execution unit is used for executing the sideslip return action if the current display page is determined to be the first native page with the sideslip return authority, and the page displayed last time of the current display page is the second native page, and displaying the second native page in the display page executing the sideslip return action.
9. An electronic device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the page sideslip method of any of claims 1-5.
10. A storage medium having computer-readable instructions stored thereon that, when executed by one or more processors, cause the one or more processors to perform the page sideslip method of any of claims 1-5.
CN202010224012.8A 2020-03-26 2020-03-26 Page sideslip method and device, electronic equipment and storage medium Pending CN111459481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010224012.8A CN111459481A (en) 2020-03-26 2020-03-26 Page sideslip method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010224012.8A CN111459481A (en) 2020-03-26 2020-03-26 Page sideslip method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111459481A true CN111459481A (en) 2020-07-28

Family

ID=71683286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010224012.8A Pending CN111459481A (en) 2020-03-26 2020-03-26 Page sideslip method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111459481A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113343138A (en) * 2021-05-31 2021-09-03 北京达佳互联信息技术有限公司 Rollback interception method and device, intelligent terminal and storage medium
CN113760273A (en) * 2020-08-31 2021-12-07 北京沃东天骏信息技术有限公司 Page control method and page control device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160124914A1 (en) * 2014-10-30 2016-05-05 Alibaba Group Holding Limited Page Processing for Mobile App
CN105630949A (en) * 2015-12-23 2016-06-01 小米科技有限责任公司 Page loading and backspacing method and device
CN106339163A (en) * 2016-08-30 2017-01-18 竞技世界(北京)网络技术有限公司 Backspacing interaction method of App built-in browser and embedded webpage
CN107506430A (en) * 2017-08-22 2017-12-22 四川长虹电器股份有限公司 A kind of route control method and system based on mixed developing
CN109460524A (en) * 2018-09-21 2019-03-12 北京三快在线科技有限公司 Method, apparatus, storage medium and the client that the page returns
CN109634604A (en) * 2018-11-30 2019-04-16 南京天溯自动化控制系统有限公司 IOS method for page jump and its system based on mixed developing
CN109740090A (en) * 2018-12-25 2019-05-10 南京天溯自动化控制系统有限公司 A kind of android page return jump method and its system based on mixed developing
CN109814960A (en) * 2018-12-21 2019-05-28 北京城市网邻信息技术有限公司 A kind of page returning method, device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160124914A1 (en) * 2014-10-30 2016-05-05 Alibaba Group Holding Limited Page Processing for Mobile App
CN105630949A (en) * 2015-12-23 2016-06-01 小米科技有限责任公司 Page loading and backspacing method and device
CN106339163A (en) * 2016-08-30 2017-01-18 竞技世界(北京)网络技术有限公司 Backspacing interaction method of App built-in browser and embedded webpage
CN107506430A (en) * 2017-08-22 2017-12-22 四川长虹电器股份有限公司 A kind of route control method and system based on mixed developing
CN109460524A (en) * 2018-09-21 2019-03-12 北京三快在线科技有限公司 Method, apparatus, storage medium and the client that the page returns
CN109634604A (en) * 2018-11-30 2019-04-16 南京天溯自动化控制系统有限公司 IOS method for page jump and its system based on mixed developing
CN109814960A (en) * 2018-12-21 2019-05-28 北京城市网邻信息技术有限公司 A kind of page returning method, device, electronic equipment and storage medium
CN109740090A (en) * 2018-12-25 2019-05-10 南京天溯自动化控制系统有限公司 A kind of android page return jump method and its system based on mixed developing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760273A (en) * 2020-08-31 2021-12-07 北京沃东天骏信息技术有限公司 Page control method and page control device
CN113343138A (en) * 2021-05-31 2021-09-03 北京达佳互联信息技术有限公司 Rollback interception method and device, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
US11868785B2 (en) Application program page processing method and device
US11119812B2 (en) Method and device for processing application program page according to a common interface container
WO2020119800A1 (en) List display method, apparatus and device, and storage medium
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
US11455075B2 (en) Display method when application is exited and terminal
CN111581555B (en) Document loading method, device, equipment and storage medium
CN114625481B (en) Data processing method and device, readable medium and electronic equipment
CN110321189B (en) Method and equipment for presenting hosted program in hosted program
CN111459481A (en) Page sideslip method and device, electronic equipment and storage medium
CN114138363A (en) Program data calling method, device, equipment and storage medium
CN110347601B (en) Interrupt processing method and device for script process
CN110045952B (en) Code calling method and device
CN116257320B (en) DPU-based virtualization configuration management method, device, equipment and medium
CN109408057B (en) Method, device, medium and computing equipment for automatically generating codes
CN108021317B (en) Method and device for screen editing
CN116051031A (en) Project scheduling system, medium and electronic equipment
CN114490266A (en) Data acquisition method, device, equipment and storage medium
CN114647411A (en) Programming interface loading method and device, electronic equipment and storage medium
CN114490265A (en) Data acquisition method, device, equipment and storage medium
CN114168209A (en) Hardware operation method and device, storage medium and electronic equipment
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN112506781A (en) Test monitoring method, test monitoring device, electronic device, storage medium, and program product
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN113268300B (en) Information display method and device
WO2022237826A1 (en) User interface testing method and system, cluster, medium, and program product

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