CN110780957A - Page jump configuration method, page jump configuration device and electronic equipment - Google Patents

Page jump configuration method, page jump configuration device and electronic equipment Download PDF

Info

Publication number
CN110780957A
CN110780957A CN201910882667.1A CN201910882667A CN110780957A CN 110780957 A CN110780957 A CN 110780957A CN 201910882667 A CN201910882667 A CN 201910882667A CN 110780957 A CN110780957 A CN 110780957A
Authority
CN
China
Prior art keywords
page
jump
execution environment
target
current execution
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
CN201910882667.1A
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.)
Beijing Youfu Computer Technology Co Ltd
Original Assignee
Beijing Youfu Computer 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 Youfu Computer Technology Co Ltd filed Critical Beijing Youfu Computer Technology Co Ltd
Priority to CN201910882667.1A priority Critical patent/CN110780957A/en
Publication of CN110780957A publication Critical patent/CN110780957A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a page jump configuration method, a page jump configuration device and electronic equipment, wherein the page jump configuration method comprises the following steps: when a page to be skipped is detected, detecting the current execution environment of the page to be skipped according to a target function, wherein the target function comprises variables corresponding to the addresses of the pages to be skipped opened in different execution environments respectively; searching a target jump method according to a variable corresponding to the current execution environment; and executing the target jump method. By the technical scheme of the invention, the whole skipping process is greatly simplified, the time is saved, in addition, the implementation of a centralized skipping strategy is realized, the individual skipping method executed by each end is not required to be maintained, and the cost is effectively saved.

Description

Page jump configuration method, page jump configuration device and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a page jump configuration method, a page jump configuration device, electronic equipment and a computer readable storage medium.
Background
With the development of mobile internet, people use a large amount of APPs in life or work. Normally, the same APP has three forms, i.e., an iOS version, an Android version, and an HTML5 version (browser version), and uses different languages and different specification protocols. Because the HTML5 page has good cross-platform properties, the HTML5 page will be used on three sides at the same time, but the way the page is opened is not the same.
If the page can be opened at three ends, that is, the page jumps at three ends, it is a common practice at present to execute a method at each end, transmit the address of the page to be opened to the method, and execute the page opening by the method, which needs different ends to detect the environment respectively, and then execute the jump method of the corresponding logic, which is very tedious and takes long time.
Disclosure of Invention
The invention aims to solve the problems of complicated jumping process and long time consumption when the page realizes three-end jumping.
In order to solve the above technical problem, a first aspect of the present invention provides a page jump configuration method, including: when a page to be skipped is detected, detecting the current execution environment of the page to be skipped according to a target function, wherein the target function comprises variables corresponding to the addresses of the pages to be skipped opened in different execution environments respectively; searching a target jump method according to a variable corresponding to the current execution environment; and executing the target jump method.
In the technical scheme, the jump schemes of different execution environments are encapsulated into the target function, when a page needs to be jumped, the current execution environment of the page to be jumped is detected according to the target function, then the target jump method is searched according to the variable corresponding to the current execution environment, and the target jump method is executed, so that the jump of the page is realized, independent execution at each end is not needed, the whole jump process is greatly simplified, the time is saved, in addition, the implementation of a centralized jump strategy is realized, independent jump method executed by each end is not needed to maintain, and the cost is effectively saved.
In the foregoing technical solution, preferably, the different execution environments include an HTML5 end, an IOS end, and an Android end.
In any one of the above technical solutions, preferably, the objective function includes an EXEC function, and before the step of detecting the current execution environment of the page to be jumped according to the objective function, the method further includes: and constructing the EXEC function at an HTML5 end, wherein the EXEC function comprises three variables corresponding to the addresses of the pages to be jumped opened by the HTML5 end, the IOS end and the Android end.
In any one of the above technical solutions, preferably, before the step of searching for a target jump method according to a variable corresponding to the current execution environment, the method further includes: and binding the jump methods corresponding to the different execution environments to target variables which can be accessed by all the different execution environments.
In any one of the above technical solutions, preferably, the finding a target jump method according to a variable corresponding to the current execution environment specifically includes: when the current execution environment is an HTML5 end, searching a jump method of an HTML5 end according to a variable corresponding to an HTML5 end; when the current execution environment is an IOS end, executing a skip method of the IOS end bound on a target variable according to a variable corresponding to the IOS end; and when the current execution environment is an Android terminal, executing the Android terminal jump method bound on the target variable according to the variable corresponding to the Android terminal.
In any one of the above technical solutions, preferably, before the step of searching for a target jump method according to a variable corresponding to the current execution environment, the method further includes: detecting whether the version of the current execution environment is on a preset version limit list or not; and if the version of the current execution environment is positioned on a preset version limit list, searching a target jump method according to variables corresponding to other execution environments, wherein the other execution environments comprise any execution environment except the current execution environment in the different execution environments.
In the technical scheme, whether the version of the current execution environment is located on the preset version limit list is detected, and if so, the target jump method is searched according to variables corresponding to other execution environments, so that the situation that the page cannot be normally opened due to the fact that the version of the current execution environment is too low is avoided, and effective jump of the page is ensured.
In any one of the above technical solutions, preferably, before the step of detecting the current execution environment of the page to be jumped according to an objective function, the method further includes: detecting whether trigger information for triggering page jump is acquired or not; and when the trigger information is determined to be acquired, executing the step of detecting the current execution environment of the page to be jumped according to the target function.
In any one of the above technical solutions, preferably, the page to be jumped includes an HTML5 page.
In order to solve the above technical problem, a second aspect of the present invention provides a page jump configuration apparatus, including: the execution environment detection unit is used for detecting the current execution environment of the page to be jumped according to a target function when the page to be jumped is detected, wherein the target function comprises variables corresponding to the addresses of the pages to be jumped opened by different execution environments; the searching unit is used for searching a target skipping method according to the variable corresponding to the current execution environment; and the execution unit is used for executing the target jump method.
In the technical scheme, the jump schemes of different execution environments are encapsulated into the target function, when a page needs to be jumped, the current execution environment of the page to be jumped is detected according to the target function, then the target jump method is searched according to the variable corresponding to the current execution environment, and the target jump method is executed, so that the jump of the page is realized, independent execution at each end is not needed, the whole jump process is greatly simplified, the time is saved, in addition, the implementation of a centralized jump strategy is realized, independent jump method executed by each end is not needed to maintain, and the cost is effectively saved.
In the foregoing technical solution, preferably, the different execution environments include an HTML5 end, an IOS end, and an Android end.
In any one of the above technical solutions, preferably, the objective function includes an EXEC function, and the apparatus further includes: the construction unit is used for constructing the EXEC function at an HTML5 end, wherein the EXEC function comprises three variables corresponding to the addresses of the pages to be jumped opened by the HTML5 end, the IOS end and the Android end.
In any one of the above technical solutions, preferably, the method further includes: and the binding unit is used for binding the jump methods corresponding to the different execution environments to target variables which can be accessed by all the different execution environments.
In any one of the above technical solutions, preferably, the search unit is specifically configured to: when the current execution environment is an HTML5 end, searching a jump method of an HTML5 end according to a variable corresponding to an HTML5 end; when the current execution environment is an IOS end, executing a skip method of the IOS end bound on a target variable according to a variable corresponding to the IOS end; and when the current execution environment is an Android terminal, executing the Android terminal jump method bound on the target variable according to the variable corresponding to the Android terminal.
In any one of the above technical solutions, preferably, the method further includes: the version detection unit is used for detecting whether the version of the current execution environment is positioned on a preset version limit list or not; the searching unit is further configured to search for a target jump method according to a variable corresponding to another execution environment when it is determined that the version of the current execution environment is located on a preset version limit list, where the another execution environment includes any one of the different execution environments except the current execution environment.
In the technical scheme, whether the version of the current execution environment is located on the preset version limit list is detected, and if so, the target jump method is searched according to variables corresponding to other execution environments, so that the situation that the page cannot be normally opened due to the fact that the version of the current execution environment is too low is avoided, and effective jump of the page is ensured.
In any one of the above technical solutions, preferably, the method further includes: the system comprises a skipping condition detection unit, a page skipping processing unit and a page skipping processing unit, wherein the skipping condition detection unit is used for detecting whether triggering information for triggering page skipping is acquired; the execution environment detection unit is specifically configured to detect a current execution environment of the page to be skipped according to a target function when it is determined that the trigger information is acquired.
In any one of the above technical solutions, preferably, the page to be jumped includes an HTML5 page.
In order to solve the above technical problem, a third aspect of the present invention provides an electronic device, comprising: a processor and a memory storing computer executable instructions which, when executed, cause the processor to perform the method as claimed in any one of the above claims.
In order to solve the technical problem, a fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs that, when executed by a processor, implement the method according to any one of the above technical solutions.
The invention adopts the steps of detecting the current execution environment of the page to be skipped according to the target function when the page is skipped, searching the target skipping method according to the variable corresponding to the current execution environment and executing the target skipping method, so the invention can greatly simplify the whole skipping process, save time, avoid maintaining the independent skipping method executed by each end, effectively save cost, and determine whether to execute adjustment according to the version of the current execution environment and the trigger information triggering page skipping, thereby realizing filtering before page skipping and page black-and-white list limitation.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects obtained more clear, the following will describe in detail the embodiments of the present invention with reference to the accompanying drawings. It should be noted, however, that the drawings described below are only illustrations of exemplary embodiments of the invention, from which other embodiments can be derived by those skilled in the art without inventive faculty.
FIG. 1 shows a schematic flow diagram of a page jump configuration method according to an embodiment of the invention;
FIG. 2 shows a schematic block diagram of a page jump configuration apparatus according to an embodiment of the present invention;
FIG. 3 shows a schematic block diagram of an electronic device according to an embodiment of the invention;
FIG. 4 shows a schematic block diagram of a computer-readable storage medium according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The same reference numerals denote the same or similar elements, components, or parts throughout the drawings, and thus, a repetitive description thereof may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these elements, components, or sections should not be limited by these terms. That is, these phrases are used only to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention. Further, the term "and/or" and/or "includes any and all combinations of one or more of the associated listed items.
Considering that when the current page is jumped, each end needs to execute its own method, the address of the page to be opened is transmitted to its own method, and the method is very tedious in the process of opening the page, in order to simplify the jumping process, the solution of three-end jumping is considered to be unified into one method, and only the page links required by different ends need to be transmitted to the method, specifically, the method is described by combining the page jumping configuration method in fig. 1, and the method comprises the following steps:
step S102, when the page to be jumped is detected, detecting the current execution environment of the page to be jumped according to a target function, wherein the target function comprises variables corresponding to the addresses of the pages to be jumped opened by different execution environments, the page to be jumped comprises an HTML5 page, and the different execution environments comprise an HTML5 end, an IOS end and an Android end.
The objective function includes an EXEC function, and before executing step S102, the method further includes: and constructing an EXEC function at an HTML5 end, wherein the EXEC function comprises three variables corresponding to the addresses of the pages to be jumped opened at the HTML5 end, the IOS end and the Android end.
And step S104, searching a target jump method according to the variable corresponding to the current execution environment.
Before step S104 is performed, the jump methods corresponding to different execution environments need to be bound to target variables accessible to all the different execution environments, and when step S104 is performed, and when the current execution environment is the HTML5 end, the jump method at the HTML5 end is searched according to the variables corresponding to the HTML5 end; when the current execution environment is an IOS end, executing a skip method of the IOS end bound on a target variable according to a variable corresponding to the IOS end; and when the current execution environment is an Android terminal, executing the Android terminal jump method bound on the target variable according to the variable corresponding to the Android terminal.
And step S106, executing a target jump method.
The following specifically describes a page jump configuration process by taking a Window variable as a target variable, an EXEC (url1, url2, url3) function as a target function, a variable url1 as a variable corresponding to an address of an HTML5 end opening a page to be jumped, a url2 as a variable corresponding to an address of an IOS end opening a page to be jumped, and a url3 as a variable corresponding to an address of an Android end opening a page to be jumped as examples:
1. and the IOS and Android terminals bind the page jump method of the IOS and Android terminals to a Window variable. Where the Window variable is the url of the page to open.
2. The HTML5 terminal encapsulates the branch jump scheme into a function EXEC (url1, url2, url 3).
3. The HTML5 page executes EXEC functions when a jump is required while running on three terminals. Note that now url1, url2, url3 are passed into the function EXEC as parameters.
4. The EXEC function will determine the current execution environment. For example, when the EXEC function determines that the current page environment is in iOSAPP, it calls variable url2 to execute the jump method execforos (url2) of the IOS bound to Window.
5. And executing the jump.
The method comprises the steps of packaging jump schemes of different execution environments into a target function, detecting the current execution environment of a page to be jumped according to the target function when the page needs to be jumped, searching a target jump method according to a variable corresponding to the current execution environment, executing the target jump method, realizing page jump, and avoiding independent execution at each end, thereby greatly simplifying the whole jump process, saving time, realizing centralized jump strategy implementation, avoiding the need of maintaining the independent jump method executed at each end, and effectively saving cost.
Further, in order to avoid the situation that the page cannot be normally opened due to the fact that the version of the current execution environment is too low, before the step of searching for the target jump method according to the variable corresponding to the current execution environment, the method further includes: detecting whether the version of the current execution environment is on a preset version limit list or not; if the version of the current execution environment is located on the preset version limit list, a target jump method is searched according to variables corresponding to other execution environments, wherein the other execution environments comprise any execution environment except the current execution environment in different execution environments, and if the current execution environment is detected to be android3.5 located on the preset version limit list, browser jump can be directly executed because the version is too low, so that effective jump of a page is ensured. The content of the preset version limit list can be added or deleted.
Further, before the step of detecting the current execution environment of the page to be skipped according to the objective function, the method further includes: detecting whether trigger information for triggering page jump is acquired or not; and when the trigger information is determined to be acquired, executing the step of detecting the current execution environment of the page to be jumped according to the target function. The trigger information can be a designated field in the page link, whether the jump is executed or not is determined according to the trigger information, and black and white list limitation of the page before the page jump can be carried out.
Those skilled in the art will appreciate that all or part of the steps to implement the above-described embodiments are implemented as programs (computer programs) executed by a computer data processing apparatus. When the computer program is executed, the method provided by the invention can be realized. Furthermore, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, such as a magnetic disk or a magnetic tape storage array. The storage medium is not limited to centralized storage, but may be distributed storage, such as cloud storage based on cloud computing.
Embodiments of the apparatus of the present invention are described below, which may be used to perform method embodiments of the present invention. The details described in the device embodiments of the invention should be regarded as complementary to the above-described method embodiments; reference is made to the above-described method embodiments for details not disclosed in the apparatus embodiments of the invention.
Considering that when the current page is jumped, each end needs to execute its own method, and the address of the page to be opened is transmitted to its own method, and the method is used to open the page, the process is very complicated, and in order to simplify the jumping process, the solution of three-end jumping is considered to be unified into one method, and only the page links required by different ends need to be transmitted to the method, specifically, the description is made in conjunction with the page jump configuration apparatus 200 in fig. 2, and the apparatus includes an execution environment detection unit 202, a search unit 204, and an execution unit 206.
The execution environment detection unit 202 is configured to detect, when a page to be skipped is detected, a current execution environment of the page to be skipped according to a target function, where the target function includes variables corresponding to addresses of pages to be skipped opened in different execution environments, the page to be skipped includes an HTML5 page, and the different execution environments include an HTML5 end, an IOS end, and an Android end.
Further, the target function includes an EXEC function, and the EXEC function is built at the HTML5 end by the building unit 208 before the execution environment detection unit 202 detects the execution environment, where the EXEC function includes three variables corresponding to addresses of pages to be jumped opened at the HTML5 end, the IOS end, and the Android end, respectively.
The lookup unit 204 is configured to lookup a target jump method according to a variable corresponding to the current execution environment.
Specifically, before the lookup unit 204 finds the target jump method, the jump methods corresponding to different execution environments are bound to target variables accessible to all different execution environments by the binding unit 210, the lookup unit 204 specifically finds the jump method at the HTML5 end according to the variables corresponding to the HTML5 end when the current execution environment is the HTML5 end, executes the jump method at the IOS end bound to the target variables according to the variables corresponding to the IOS end when the current execution environment is the IOS end, and executes the jump method at the Android end bound to the target variables according to the variables corresponding to the Android end when the current execution environment is the Android end.
And the execution unit 206 is configured to execute the target jump method.
The following specifically describes the execution process of each module in the page jump configuration device by taking a Window variable as a target variable, an EXEC (url1, url2, url3) function as a target function, a variable url1 as a variable corresponding to an address of an HTML5 end opening a page to be jumped, a url2 as a variable corresponding to an address of an IOS end opening a page to be jumped, and a url3 as a variable corresponding to an address of an Android end opening a page to be jumped as examples:
1. and the IOS and Android terminals bind the page jump method of the IOS and Android terminals to a Window variable. Where the Window variable is the url of the page to open.
2. The HTML5 terminal encapsulates the branch jump scheme into a function EXEC (url1, url2, url 3).
3. The HTML5 page executes EXEC functions when a jump is required while running on three terminals. Note that now url1, url2, url3 are passed into the function EXEC as parameters.
4. The EXEC function will determine the current execution environment. For example, when the EXEC function determines that the current page environment is in iOSAPP, it calls variable url2 to execute the jump method execforos (url2) of the IOS bound to Window.
5. And executing the jump.
The method comprises the steps of packaging jump schemes of different execution environments into a target function, detecting the current execution environment of a page to be jumped according to the target function when the page needs to be jumped, searching a target jump method according to a variable corresponding to the current execution environment, executing the target jump method, realizing page jump, and avoiding independent execution at each end, thereby greatly simplifying the whole jump process, saving time, realizing centralized jump strategy implementation, avoiding the need of maintaining the independent jump method executed at each end, and effectively saving cost.
In the above technical solution, preferably, the different execution environments include an HTML5 end, an IOS end, and an Android end.
In any one of the above technical solutions, preferably, the method further includes:
in any one of the above technical solutions, preferably, the search unit 204 is specifically configured to:
further, the apparatus 200 further comprises: a version detection unit 212, configured to detect whether a version of the current execution environment is located on a preset version limit list; the searching unit 204 is further configured to search for a target jump method according to a variable corresponding to another execution environment when it is determined that the version of the current execution environment is located on the preset version limit list, where the another execution environment includes any execution environment except the current execution environment in different execution environments, and if it is detected that the current execution environment is android3.5 located on the preset version limit list, because the version is too low, the browser jump may be directly executed, a situation that the page cannot be normally opened due to too low version of the current execution environment is avoided, and effective jump of the page is ensured. The content of the preset version limit list can be added or deleted.
Further, the apparatus 200 further comprises: a jump condition detecting unit 214, configured to detect whether trigger information for triggering page jump is acquired; the execution environment detection unit 202 is specifically configured to detect a current execution environment of the page to be skipped according to the target function when it is determined that the trigger information is acquired. The trigger information can be a designated field in the page link, whether the jump is executed or not is determined according to the trigger information, and black and white list limitation of the page before the page jump can be carried out.
Those skilled in the art will appreciate that the modules in the above-described embodiments of the apparatus may be distributed as described in the apparatus, and may be correspondingly modified and distributed in one or more apparatuses other than the above-described embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 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: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting the various system components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
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 storage 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.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: when the page to be skipped is detected, detecting the current execution environment of the page to be skipped according to the target function, searching a target skipping method according to the variable corresponding to the current execution environment, and executing the target skipping method to realize page skipping.
FIG. 4 is a schematic diagram of a computer-readable storage medium of the present invention. As shown in fig. 4, the computer program may be stored on one or more computer readable media. The computer 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.
The computer readable storage 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 storage 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 storage 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 for aspects 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 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.

Claims (10)

1. A page jump configuration method is characterized by comprising the following steps:
when a page to be skipped is detected, detecting the current execution environment of the page to be skipped according to a target function, wherein the target function comprises variables corresponding to the addresses of the pages to be skipped opened in different execution environments respectively;
searching a target jump method according to a variable corresponding to the current execution environment;
and executing the target jump method.
2. The page jump configuration method according to claim 1, wherein the different execution environments comprise an HTML5 end, an IOS end, and an Android end.
3. The page jump configuration method according to any one of claims 1-2, wherein said objective function comprises an EXEC function, and further comprising, before said step of detecting a current execution environment of said page to jump according to the objective function:
and constructing the EXEC function at an HTML5 end, wherein the EXEC function comprises three variables corresponding to the addresses of the pages to be jumped opened by the HTML5 end, the IOS end and the Android end.
4. The page jump configuration method according to any of claims 1-3, wherein before the step of finding a target jump method according to a variable corresponding to the current execution environment, further comprising:
and binding the jump methods corresponding to the different execution environments to target variables which can be accessed by all the different execution environments.
5. The page jump configuration method according to any one of claims 1 to 4, wherein the finding of the target jump method according to the variable corresponding to the current execution environment specifically comprises:
when the current execution environment is an HTML5 end, searching a jump method of an HTML5 end according to a variable corresponding to an HTML5 end;
when the current execution environment is an IOS end, executing a skip method of the IOS end bound on a target variable according to a variable corresponding to the IOS end;
and when the current execution environment is an Android terminal, executing the Android terminal jump method bound on the target variable according to the variable corresponding to the Android terminal.
6. The page jump configuration method according to any of claims 1-5, wherein before the step of finding a target jump method according to a variable corresponding to the current execution environment, further comprising:
detecting whether the version of the current execution environment is on a preset version limit list or not;
and if the version of the current execution environment is positioned on a preset version limit list, searching a target jump method according to variables corresponding to other execution environments, wherein the other execution environments comprise any execution environment except the current execution environment in the different execution environments.
7. The page jump configuration method according to any of claims 1-6, characterized in that before the step of detecting the current execution environment of the page to jump according to an objective function, it further comprises:
detecting whether trigger information for triggering page jump is acquired or not;
and when the trigger information is determined to be acquired, executing the step of detecting the current execution environment of the page to be jumped according to the target function.
8. A page jump configuration apparatus, comprising:
the execution environment detection unit is used for detecting the current execution environment of the page to be jumped according to a target function when the page to be jumped is detected, wherein the target function comprises variables corresponding to the addresses of the pages to be jumped opened by different execution environments;
the searching unit is used for searching a target skipping method according to the variable corresponding to the current execution environment;
and the execution unit is used for executing the target jump method.
9. An electronic device, wherein the electronic device comprises:
a processor; and
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-7.
CN201910882667.1A 2019-09-18 2019-09-18 Page jump configuration method, page jump configuration device and electronic equipment Pending CN110780957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910882667.1A CN110780957A (en) 2019-09-18 2019-09-18 Page jump configuration method, page jump configuration device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910882667.1A CN110780957A (en) 2019-09-18 2019-09-18 Page jump configuration method, page jump configuration device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110780957A true CN110780957A (en) 2020-02-11

Family

ID=69383586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910882667.1A Pending CN110780957A (en) 2019-09-18 2019-09-18 Page jump configuration method, page jump configuration device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110780957A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767109A (en) * 2020-06-30 2020-10-13 深圳前海微众银行股份有限公司 H5 page display method and device based on terminal application and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207881A (en) * 2011-07-07 2011-10-05 电子科技大学 Quick operation system start-up method based on Android
CN105027120A (en) * 2014-02-24 2015-11-04 华为技术有限公司 Multi-page management method and device
CN106713119A (en) * 2016-12-13 2017-05-24 四川长虹电器股份有限公司 Cross-platform notifying and displaying method of real-time message of mobile terminal
CN107515948A (en) * 2017-09-12 2017-12-26 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing
CN107766499A (en) * 2017-10-19 2018-03-06 广州视睿电子科技有限公司 Page jump method, device, equipment and storage medium
CN107870788A (en) * 2016-09-26 2018-04-03 展讯通信(上海)有限公司 The startup method and terminal device of terminal device under more credible performing environment
CN108469979A (en) * 2018-03-28 2018-08-31 深圳前海桔子信息技术有限公司 A kind of method for page jump, device, server and storage medium
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium
CN109492181A (en) * 2018-10-19 2019-03-19 中国平安财产保险股份有限公司 Method for page jump, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207881A (en) * 2011-07-07 2011-10-05 电子科技大学 Quick operation system start-up method based on Android
CN105027120A (en) * 2014-02-24 2015-11-04 华为技术有限公司 Multi-page management method and device
CN107870788A (en) * 2016-09-26 2018-04-03 展讯通信(上海)有限公司 The startup method and terminal device of terminal device under more credible performing environment
CN106713119A (en) * 2016-12-13 2017-05-24 四川长虹电器股份有限公司 Cross-platform notifying and displaying method of real-time message of mobile terminal
CN107515948A (en) * 2017-09-12 2017-12-26 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing
CN107766499A (en) * 2017-10-19 2018-03-06 广州视睿电子科技有限公司 Page jump method, device, equipment and storage medium
CN108469979A (en) * 2018-03-28 2018-08-31 深圳前海桔子信息技术有限公司 A kind of method for page jump, device, server and storage medium
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium
CN109492181A (en) * 2018-10-19 2019-03-19 中国平安财产保险股份有限公司 Method for page jump, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767109A (en) * 2020-06-30 2020-10-13 深圳前海微众银行股份有限公司 H5 page display method and device based on terminal application and readable storage medium

Similar Documents

Publication Publication Date Title
US10761867B2 (en) Nested emulation and dynamic linking environment
US9235451B2 (en) Browser kernel switching method
US11797692B2 (en) Tool for generating security policies for containers
CN108647032B (en) Application loading method and device, computer device and computer readable storage medium
US8612946B2 (en) Cross-building support using dependency information
CN110688096B (en) Method and device for constructing application program containing plug-in, medium and electronic equipment
CN103885814A (en) Simulator device and method for operating ARM APKs on x86 framework
CN103412754A (en) Dynamic language code execution method and device
US8959502B2 (en) Processing table of content access overflow in an application
CN110968340A (en) Method and device for realizing multi-version dependence isolation
CN105653943A (en) Log auditing method and system for android applications
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
JP5886450B2 (en) Hybrid emulation and kernel function processing system and method
US20130325944A1 (en) Client-side sharing of event information
CN110780957A (en) Page jump configuration method, page jump configuration device and electronic equipment
CN108376074B (en) RancherOS ros core module transplanting method based on embedded system
EP3519964B1 (en) Electronic apparatus for recording debugging information and control method thereof
US9916391B2 (en) Method, apparatus and terminal for webpage content browsing
CN117008920A (en) Engine system, request processing method and device, computer equipment and storage medium
CN116991434A (en) Packet reorganization method, system and storage medium for android APP
CN109460280B (en) Method and terminal for running program
CN109144575B (en) Device and method for running application across operating systems, electronic equipment and memory
CN113141407B (en) Page resource loading method and device and electronic equipment
CN108089852B (en) Method, medium, apparatus and computing device for establishing attribute access
CN104331017B (en) A kind of frequency converter Programmable logical controller function realizing method, device and frequency converter

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200211

WD01 Invention patent application deemed withdrawn after publication