CN115700468A - Address jump method and device for application program, computer equipment and medium - Google Patents

Address jump method and device for application program, computer equipment and medium Download PDF

Info

Publication number
CN115700468A
CN115700468A CN202110804486.4A CN202110804486A CN115700468A CN 115700468 A CN115700468 A CN 115700468A CN 202110804486 A CN202110804486 A CN 202110804486A CN 115700468 A CN115700468 A CN 115700468A
Authority
CN
China
Prior art keywords
address
application
routing table
packet
response
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
CN202110804486.4A
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.)
Chongqing Baiping Technology Co ltd
Original Assignee
Chongqing Baiping 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 Chongqing Baiping Technology Co ltd filed Critical Chongqing Baiping Technology Co ltd
Priority to CN202110804486.4A priority Critical patent/CN115700468A/en
Publication of CN115700468A publication Critical patent/CN115700468A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides an address jump method and apparatus, computer device and medium for application program, relating to the technical field of computer, and the implementation scheme is as follows: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application; in response to receiving a trigger instruction for jumping to a second address in a first page of an application program corresponding to a first address, judging whether the second address belongs to a grouped address in one or more address groups; and responding to the second address belonging to the grouped address in the one or more address groups, and executing the operation corresponding to the address group to which the second address belongs.

Description

Address jump method and device for application program, computer equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an address hopping method and apparatus for an application program, a computer device, a medium, and a program product.
Background
In recent years, with the development of mobile technology, more and more users use various types of applications, such as Native applications, flutter applications, web applications, applets, and the like, on mobile terminals (such as mobile phones, tablet computers, and the like).
When using an application, the application jumps between addresses in response to instructions entered by a user or generated by the application itself to effect a page switch or different types of services. Therefore, it is necessary to implement flexible and smooth jump of the application program between different addresses to improve the user experience.
The approaches described in this section are not necessarily approaches that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, unless otherwise indicated, the problems mentioned in this section should not be considered as having been acknowledged in any prior art.
Disclosure of Invention
The present disclosure provides an address jump method and apparatus for an application, a computer device, a computer-readable storage medium, and a computer program product.
According to an aspect of the present disclosure, there is provided an address jump method for an application, including: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application; in response to receiving a trigger instruction to jump to a second address in a first page of an application program corresponding to a first address, determining whether the second address belongs to a grouped address in one or more address groups; and responding to the second address belonging to the grouped address in the one or more address groups, and executing the operation corresponding to the address group to which the second address belongs.
According to another aspect of the present disclosure, there is provided an address jumping apparatus for an application, including: a packet configuration module configured to: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application; a packet determination module configured to: in response to receiving a trigger instruction for jumping to a second address in a first page of an application program corresponding to a first address, judging whether the second address belongs to a grouped address in one or more address groups; and a packet hopping module configured to: and responding to the second address belonging to the grouped address in the one or more address groups, and executing the operation corresponding to the address group to which the second address belongs.
According to another aspect of the present disclosure, there is provided a computer device including: a memory, a processor and a computer program stored on the memory, wherein the processor is configured to execute the computer program to implement the steps of the above method.
According to another aspect of the present disclosure, a non-transitory computer readable storage medium is provided, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described above.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program realizes the steps of the above-described method when executed by a processor.
According to one or more embodiments of the disclosure, the grouping function corresponding to the routing table of the application program is enabled to take effect in time, the address jump is enabled to be continuous and smooth, and the user experience is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the embodiments and, together with the description, serve to explain the exemplary implementations of the embodiments. The illustrated embodiments are for purposes of illustration only and do not limit the scope of the claims. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements.
FIG. 1 illustrates a schematic diagram of an exemplary system in which various methods described herein may be implemented, according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating an address jump method for an application according to an embodiment of the present disclosure;
FIG. 3 illustrates a flow diagram of an example process of performing an operation corresponding to an address packet to which a second address belongs in response to the second address belonging to a grouped address of one or more address packets in the method of FIG. 2, according to an embodiment of the disclosure;
FIG. 4 is a flowchart illustrating an address jump method for an application according to an embodiment of the present disclosure;
FIG. 5 illustrates a flow diagram of an example process of detecting whether an update to the routing table of an application is required in response to the application completing a launch in the method of FIG. 4 in accordance with an embodiment of the present disclosure;
fig. 6 is a block diagram illustrating a structure of an address jumping apparatus for an application according to an embodiment of the present disclosure;
FIG. 7 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, the timing relationship, or the importance relationship of the elements, and such terms are used only to distinguish one element from another. In some examples, a first element and a second element may refer to the same instance of the element, and in some cases, based on the context, they may also refer to different instances.
The terminology used in the description of the various described examples in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element may be one or a plurality of. Furthermore, the term "and/or" as used in this disclosure is intended to encompass any and all possible combinations of the listed items.
When an application jumps between different addresses, different rules may need to be applied when jumping (e.g., when a page corresponding to an address of a certain packet is only accessible in a login state, or when a user needs to control the time for accessing a page corresponding to a certain address). In order to apply a corresponding rule during address jump and bring coherent and flow user experience to a user, the present disclosure provides an address jump method for an application, including: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application; in response to receiving a trigger instruction to jump to a second address in a first page of an application program corresponding to a first address, determining whether the second address belongs to a grouped address in one or more address groups; and in response to the second address belonging to a grouped address of the one or more address groups, performing an operation corresponding to the address group to which the second address belongs.
Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 illustrates a schematic diagram of an example system 100 in which various methods and apparatus described herein may be implemented in accordance with embodiments of the present disclosure. Referring to fig. 1, the system 100 includes one or more terminal devices 101 and a server 120, the one or more terminal devices 101 and the server 120 being communicatively coupled via a network 110. In the case where the system 100 includes a plurality of terminal apparatuses 101, the plurality of terminal apparatuses 101 may be communicatively connected to each other via the network 110.
Terminal device 101 may be various types of computer devices that may be configured to execute one or more application programs. The terminal device may be, for example, a portable handheld device, a general purpose computer (such as a personal computer and a laptop computer), or a wearable device, or the like. Portable handheld devices may include cellular telephones, smart phones, tablets, personal Digital Assistants (PDAs), and the like. The wearable device may include a head mounted display, a wrist mounted display, and the like.
In embodiments of the present disclosure, server 120 may operate to enable the provision of routing tables or other resources to client devices 101, 102, 103, 104, 105, and/or 106.
In some embodiments, the server 120 may also provide other services or software applications. These services may be provided as web-based services or cloud services.
In the configuration shown in fig. 1, server 120 may include one or more units that implement the method performed by server 120. These units may include software units, hardware units, or a combination thereof, which may be executed by one or more processors. A user using the terminal device 101 can interact with the server 120 using the application of the client to utilize the services provided by these units. It should be understood that there may be a variety of different system configurations depending on different application scenarios, which may differ from the system 100 of FIG. 1. FIG. 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.
Client devices 101, 102, 103, 104, 105, and/or 106 may run one or more services or software applications that enable address hopping methods according to embodiments of the present disclosure to be performed. The terminal device may provide an interface with which a user using the terminal device can interact with the terminal device. The terminal device may also output information to the user via the interface. Although fig. 1 depicts only six client devices, those skilled in the art will appreciate that any number of client devices may be supported by the present disclosure.
Network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP/IP, SNA, IPX, etc. By way of example only, one or more networks 110 may be a Local Area Network (LAN), an ethernet-based network, a token ring, a Wide Area Network (WAN), the internet, a virtual network, a Virtual Private Network (VPN), an intranet, an extranet, a Public Switched Telephone Network (PSTN), an infrared network, a wireless network (e.g., bluetooth, WIFI), and/or any combination of these and/or other networks.
The server 120 may include one or more general purpose computers, special purpose server computers, blade servers, mainframe computers, clusters of servers, or any combination that meets the needs of the application. The server 120 may include one or more virtual machines running a virtual operating system, or other computing architecture involving virtualization. In various embodiments, the server 120 may run one or more services or software applications that provide the functionality described below.
The computing units in server 120 may run one or more operating systems including any of the operating systems described above, as well as any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and/or middle tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, and the like.
In some embodiments, the server 120 may include one or more applications to analyze and consolidate data feeds and/or event updates received from one or more terminal devices 101. The server 120 may also include one or more applications to display data feeds and/or real-time events via one or more display devices of the terminal device 101.
In some embodiments, the server 120 may be a server of a distributed system, or a server incorporating a blockchain. The server 120 may also be a cloud server, or a smart cloud computing server or a smart cloud host with artificial intelligence technology. The cloud Server is a host product in a cloud computing service system, and is used for solving the defects of high management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) service.
The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as merchandise and its corresponding two-dimensional code. The database 130 may be stored in different locations as desired. For example, a database used by the server 120 may be stored locally at the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection for use by the server 120. The database 130 may be of different types. In certain embodiments, the database used by the server 120 may be, for example, a relational database. One or more of these databases may store, update, and retrieve data to and from the databases in response to the commands.
In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the application may be different types of databases, such as key-value stores, object stores, or conventional stores supported by a file system.
The system 100 of fig. 1 may be configured and operated in various ways to enable application of the various methods and apparatus described in accordance with this disclosure.
FIG. 2 is a flow diagram illustrating an address hopping method 200 for an application in accordance with an embodiment of the present disclosure.
At step S201, in response to detecting that the routing table of the application is updated, one or more address packets are configured based on the routing table of the application.
According to some embodiments, the routing table is a file or table stored in a client device (e.g., the client device 101, 102, 103, 104, 105, or 106 shown in fig. 1) where the application program is located, wherein the routing table stores addresses corresponding to pages or services of the application program and parameters related to the addresses (e.g., grouping information corresponding to the addresses).
According to some embodiments, when an application is installed, the application is configured with an initial routing table, which may be located in an installation package of the application, for example. According to further embodiments, a higher version of the routing table may be received from the server to enable dynamic updates of the routing table of the application without requiring the user to re-install or upgrade the entire application.
According to some embodiments, configuring the one or more address packets based on the routing table of the application comprises: for each address in the routing table of the application program, responding to the packet information of the address contained in the routing table of the application program, and adding the address and the packet information of the address into a grouped address list. According to some embodiments, the group information of the address indicates a group to which the address corresponds, for example, the address belongs to a group to be registered and a group to be viewed in a limited time.
According to some embodiments, upon detecting that the routing table of the application is updated, in addition to configuring one or more address packets, other configurations based on the updated routing table may be performed. For example, based on the updated routing table, the binding relationship between the address and the page or service is updated, thereby allowing the page or service of the application to be adjusted without reinstalling or upgrading the entire application.
In step S203, in response to receiving a trigger instruction to jump to a second address in a first page of the application program corresponding to the first address, it is determined whether the second address belongs to a grouped address of one or more address groups.
According to some embodiments, a user operates in a first page to trigger an instruction to jump to a second address. For example, when the user has read through the content currently displayed in the application, the "next page" button is clicked to jump to the next interface. According to other embodiments, the application program triggers an instruction to jump to the second address according to its own logic, for example, when a timer in the application program indicates that the user has viewed the first page for a time period that reaches an upper viewing time limit, a command to force exit from the current page is triggered.
According to some embodiments, determining whether the second address belongs to a grouped address of the one or more address groups comprises: in response to the second address belonging to the grouped address list, determining that the second address belongs to a grouped address of the one or more address groups, and in response to the second address not belonging to the grouped address list, determining that the second address does not belong to a grouped address of the one or more address groups.
In step S205, in response to the second address belonging to a grouped address of the one or more address groups, an operation corresponding to the address group to which the second address belongs is performed.
According to some embodiments, when the second address belongs to a plurality of address packets, operations corresponding to the respective address packets to which the second address belongs are sequentially performed, for example, when the second address belongs to both a packet to be registered and a time-limited viewing packet, operations corresponding to the packet to be registered and the time-limited viewing packet are sequentially performed. According to further embodiments, when the second address belongs to only one address packet, for example, when the second address belongs to a packet to be registered, operations corresponding to the packet to be registered are sequentially performed.
In the address jump method for an application program according to the exemplary embodiment of the present disclosure, at least the following technical effects are provided: when the routing table of the application program is updated, one or more address groups are configured, so that the grouping function corresponding to the routing table of the application program is effective in time; moreover, address grouping is configured in advance, so that a routing table does not need to be analyzed in real time during address skipping, the address skipping is continuous and smooth, and the user experience is improved.
According to some embodiments, in response to the second address belonging to a grouped address of the one or more address groups, performing an operation corresponding to the address group to which the second address belongs comprises: in response to the second address belonging to a grouped address of the one or more address groups, for each address group to which the second address belongs, performing an operation corresponding to the address group; and controlling the application to jump to the second address.
Fig. 3 shows a flowchart of an example process of performing an operation corresponding to an address packet to which a second address belongs (step S205) in response to the second address belonging to a grouped address of one or more address packets in the method of fig. 2, according to an embodiment of the present disclosure.
At step S301, in response to the second address belonging to a grouped address in one or more address groups, for each address group to which the second address belongs, an operation corresponding to the address group is performed.
According to some embodiments, for each address packet to which the second address belongs, performing the operation corresponding to the address packet includes: and for each address packet to which the second address belongs, executing the operation corresponding to the address packet based on the priority of the address packet. That is, the operations corresponding to the address groups to which the second addresses belong are sequentially executed in the order of priority.
For example, when the second address belongs to the group needing login and the limited time login group at the same time, and the priority of the group needing login is higher than the priority of the displayed login group, the operation corresponding to the group needing login is executed first, and then the operation corresponding to the limited time login group is executed.
According to some embodiments, for each address packet to which the second address belongs, performing the operation corresponding to the address packet includes: responding to the address grouping which is a grouping needing to be logged in and the application program is in an unregistered state, and controlling the application program to jump to a login page; and in response to the application program being switched to be in the login state, ending the operation corresponding to the address grouping.
According to some embodiments, in response to a user entering login information in a login page, the login information is uploaded to a server for verification, and verification results from the server are received. According to some embodiments, the application is switched to be in the login state in response to the verification result of the server being a pass verification, and the application remains in the non-login state in response to the verification result of the server being a non-pass verification.
According to other embodiments, for each address packet to which the second address belongs, performing the operation corresponding to the address packet includes: and responding to the address packet as a packet needing to be logged in and the application program is in a logging state, and finishing the operation corresponding to the address packet.
According to some embodiments, for each address packet to which the second address belongs, performing the operation corresponding to the address packet includes: in response to the address packet being a time limited view packet and the timer being in an as not started state, the timer is started.
At step S303, the control application jumps to the second address.
According to some embodiments, a type of the second address is determined, and a jump operation is performed according to the type of the second address. According to some embodiments, in response to the second address corresponding to the service, the second address is dispatched to the corresponding service, a service class (class) object is obtained by a service name using a runtime property, and corresponding logic is processed. According to further embodiments, in response to the second address corresponding to a page, a page jump is performed according to the technology stack to which the page implementation belongs.
According to some embodiments, in the page jump, the page loading can be performed through a unified interface corresponding to various technology stacks (for example, native application program, flutter application program, web application program, applet, and third party APP) for implementing the page, wherein after a page address is transmitted into the unified interface, a specific implementation branch is shifted according to the technology stack to which the page belongs, so that the consistency of address jump of different technology stacks can be implemented, and the development efficiency is improved.
According to some embodiments, after the application jumps to the second address, the corresponding data is transmitted back to the server.
According to some embodiments, the address jump method for an application according to the present disclosure further includes: in response to the application completing the launch, it is detected whether the routing table of the application needs to be updated.
FIG. 4 is a flow diagram illustrating an address hopping method 400 for an application in accordance with an embodiment of the present disclosure.
At step S401, in response to the application completing the startup, it is detected whether the routing table of the application needs to be updated.
According to some embodiments, upon completion of the startup of the application, it is detected whether there is a routing table that has been received from the server but has not yet been validated (e.g., has not yet been configured from the received routing table), wherein if there is, the routing table of the application needs to be updated.
At step S403, in response to detecting that the routing table of the application is updated, one or more address packets are configured based on the routing table of the application. According to some embodiments, step S403 may be implemented similar to step S201 in fig. 2, for example.
At step S405, in response to receiving a trigger instruction to jump to a second address in a first page of an application corresponding to a first address, it is determined whether the second address belongs to a grouped address of one or more address groups. According to some embodiments, step S405 may be implemented similar to step S203 in fig. 2, for example.
At step S407, in response to the second address belonging to a grouped address of the one or more address groups, an operation corresponding to the address group to which the second address belongs is performed. According to some embodiments, step S407 may be implemented similar to step S205 in fig. 2, for example.
According to some embodiments, detecting whether an update to a routing table of an application is required in response to the application completing the launch includes: responding to the completion of the starting of the application program, and acquiring version information of a routing table stored by a server; in response to the server storing a higher version of the routing table than the version of the routing table of the application, the server storing the routing table is retrieved to update the routing table of the application.
Fig. 5 shows a flowchart of an example procedure of detecting whether an update of the routing table of the application is required in response to the application completing the startup in the method of fig. 4 (step S401), according to an embodiment of the present disclosure.
At step S501, in response to the application completing the startup, version information of the routing table stored by the server (e.g., version number of the routing table stored by the server) is acquired.
According to some embodiments, in response to the application completing the launch, a request is made to the server for version information of the server's stored routing table, and version information of the stored routing table is received from the server.
According to some embodiments, the starting of the application is an application cold start, that is, when the application is started, the background does not have a process of the application, and the system recreates a new process to be allocated to the application.
At step S503, in response to the version of the routing table stored by the server being higher than the version of the routing table of the application, the routing table stored by the server is acquired to update the routing table of the application.
According to some embodiments, the version information of the routing table stored by the server is compared to the version information of the routing table of the application to determine whether the version of the routing table stored by the server is higher than the version of the routing table of the application.
According to some embodiments, the routing table of the application program updated when the application program is started at this time will take effect next time when the application program is started, so that the user experience is improved due to the starting delay caused by too long time for updating the routing table and the operation of the relevant configuration. According to further embodiments, after the updating of the routing table of the application is completed, a configuration based on the updated routing table is then performed to validate the updated routing table in more real-time.
According to some embodiments, the address jump method according to the present disclosure further comprises: in response to the second address not belonging to a grouped address of the one or more address groups, the control application jumps to the second address. Therefore, in the address hopping method provided by the exemplary embodiment of the present disclosure, since the address packet is configured in advance, the address that does not need to execute the rule corresponding to the packet will not be affected when the address is hopped, so that the address hopping is continuous and smooth, and the user experience is improved.
According to some embodiments, the second address corresponds to a service or page to be jumped.
According to some embodiments, the routing table includes address information written in the format of an object. Therefore, in the address hopping method as provided in the exemplary embodiment of the present disclosure, when compiling the routing table file, it is easier to check an error in the routing table through syntax checking of the compiler, compared to conventional address information written using a format of a character string.
According to another aspect of the present disclosure, there is also provided an address jump method and apparatus for an application, including: a packet configuration module configured to: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application; a packet determination module configured to: in response to receiving a trigger instruction to jump to a second address in a first page of an application program corresponding to a first address, determining whether the second address belongs to a grouped address in one or more address groups; and a packet hopping module configured to: and in response to the second address belonging to a grouped address in the one or more address groups, performing an operation corresponding to the address group to which the second address belongs.
Fig. 6 is a block diagram illustrating a structure of an address jump apparatus 600 for an application according to an embodiment of the present disclosure.
As shown in fig. 6, the address hopping apparatus 600 includes a packet configuration module 601, a packet judgment module 602, and a packet hopping module 603. The packet configuration module 601 is configured to: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application; the packet determination module 602 is configured to: in response to receiving a trigger instruction to jump to a second address in a first page of an application program corresponding to a first address, determining whether the second address belongs to a grouped address in one or more address groups; and, the packet hopping module 603 is configured to: and responding to the second address belonging to the grouped address in the one or more address groups, and executing the operation corresponding to the address group to which the second address belongs.
It should be understood that the various modules of the apparatus 600 shown in fig. 6 may correspond to the various steps in the method 200 described with reference to fig. 2. Thus, the operations, features and advantages described above with respect to the method 200 are equally applicable to the apparatus 600 and the modules included therein. Certain operations, features and advantages may not be described in detail herein for the sake of brevity.
Although specific functionality is discussed above with reference to particular modules, it should be noted that the functionality of the various modules discussed herein may be divided into multiple modules and/or at least some of the functionality of multiple modules may be combined into a single module. Performing an action by a particular module as discussed herein includes the particular module itself performing the action, or alternatively the particular module invoking or otherwise accessing another component or module that performs the action (or performs the action in conjunction with the particular module). Thus, a particular module performing an action can include the particular module performing the action itself and/or another module performing the action that the particular module invokes or otherwise accesses.
It should also be appreciated that various techniques may be described herein in the general context of software, hardware elements, or program modules. The various modules described above with respect to fig. 6 may be implemented in hardware or in hardware in combination with software and/or firmware. For example, the modules may be implemented as computer program code/instructions configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, the modules may be implemented as hardware logic/circuitry. For example, in some embodiments, one or more of the packet configuration module 601, the packet determination module 602, and the packet hopping module 603 may be implemented together in a System on Chip (SoC). The SoC may include an integrated circuit chip that includes one or more components of a Processor (e.g., a Central Processing Unit (CPU), microcontroller, microprocessor, digital Signal Processor (DSP), etc.), memory, one or more communication interfaces, and/or other circuitry, and may optionally execute received program code and/or include embedded firmware to perform functions.
According to another aspect of the present disclosure, there is also provided a computer apparatus comprising: at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to execute a program to perform the steps of the above method.
According to another aspect of the present disclosure, there is also provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to execute the steps of implementing the above-described method.
According to another aspect of the present disclosure, there is also provided a computer program product comprising a computer program, wherein the computer program realizes the steps of the above-mentioned method when executed by a processor.
Referring to fig. 7, a block diagram of a structure of an electronic device 700, which may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the electronic apparatus 700 may include at least one processor 701, a work memory 702, an input unit 704, a display unit 705, a speaker 706, a storage unit 707, and a communication unit 708, etc., which can communicate with each other through a system bus 703.
Processor 701 may be a single processing unit or multiple processing units, all of which may include single or multiple computing units or multiple cores. The processor 701 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuitry, and/or any devices that manipulate signals based on operational instructions. The processor 701 may be configured to retrieve and execute computer readable instructions stored in the working memory 702, the storage unit 707, or other computer readable medium, such as program code of the operating system 702a, program code of the application 702b, etc. in the working memory 702.
Working memory 702 and storage unit 707 are examples of computer-readable storage media for storing instructions that may be executed by processor 701 to perform the various functions described above. The working memory 702 may include both volatile and non-volatile memory (e.g., RAM, ROM, etc.). Storage unit 707 may include a hard disk drive, solid state drive, removable media including external and removable drives, memory cards, flash memory, floppy disks, optical disks (e.g., CDs, DVDs), storage arrays, network attached storage, storage area networks, and so forth. Both the working memory 702 and the storage unit 707 may be collectively referred to herein as memory or a computer-readable storage medium, and may be a non-transitory medium capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by the processor 701 as a particular machine configured to implement the operations and functions described in the examples herein.
The input unit 706 may be any type of device capable of inputting information to the electronic device 700, and the input unit 706 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device, and may include, but is not limited to, a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and/or a remote controller. The display unit 705, the speaker 706 are examples of any type of device capable of presenting information to a user, and the electronic device 700 may also include, but is not limited to, other types of devices capable of presenting information to a user, including video/audio output terminals, vibrators, and/or printers.
The communication unit 708 can allow the electronic device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and/or chipsets, such as bluetooth (TM) devices, 1302.11 devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The application 702b in the working register 702 may be loaded to perform the various methods and processes described above, such as steps S201-S205 in fig. 2. For example, in some embodiments, the address hopping methods for applications as described in this disclosure may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 707. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 700 via the storage unit 707 and/or the communication unit 708. When the computer program is loaded and executed by the processor 701, one or more steps of the address jump method for an application described above may be performed. In some other embodiments, the processor 701 may be configured by any other suitable means (e.g., by way of firmware) to perform an address hopping method for an application.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, causes the functions/acts specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be performed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
While embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it is to be understood that the above-described methods, systems and apparatus are merely illustrative embodiments or examples and that the scope of the invention is not to be limited by these embodiments or examples, but only by the claims as issued and their equivalents. Various elements in the embodiments or examples may be omitted or may be replaced with equivalents thereof. Further, the steps may be performed in an order different from that described in the present disclosure. Further, various elements in the embodiments or examples may be combined in various ways. It is important that as technology evolves, many of the elements described herein may be replaced with equivalent elements that appear after the present disclosure.

Claims (17)

1. An address jump method for an application, comprising:
in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application;
in response to receiving a trigger instruction to jump to a second address in a first page of the application program corresponding to a first address, determining whether the second address belongs to a grouped address in the one or more address groups; and
and responding to the second address belonging to the grouped address in the one or more address groups, and executing the operation corresponding to the address group to which the second address belongs.
2. The address hopping method of claim 1, wherein the configuring one or more address packets based on the routing table of the application includes:
and for each address in the routing table of the application program, responding to the grouping information of the address contained in the routing table of the application program, and adding the address and the grouping information of the address into a grouped address list.
3. The address hopping method of claim 2, wherein the determining whether the second address belongs to a grouped address of the one or more address groups comprises:
in response to the second address belonging to the grouped address list, determining that the second address belongs to a grouped address of the one or more address groups, and
in response to the second address not belonging to the grouped address list, determining that the second address does not belong to a grouped address of the one or more address groups.
4. The address hopping method of claim 1, wherein the performing, in response to the second address belonging to a grouped address of the one or more address groups, the operation corresponding to the address group to which the second address belongs comprises:
in response to the second address belonging to a grouped address of the one or more address groups, for each address group to which the second address belongs, performing an operation corresponding to the address group; and
and controlling the application program to jump to the second address.
5. The address hopping method according to claim 4, wherein, for each address packet to which the second address belongs, the performing of the operation corresponding to the address packet includes:
and for each address packet to which the second address belongs, executing the operation corresponding to the address packet based on the priority of the address packet.
6. The address hopping method of claim 4, wherein, for each address packet to which the second address belongs, the performing of the operation corresponding to the address packet comprises:
responding to the address group as a group needing to be logged in and the application program is in a non-logged state, and controlling the application program to jump to the login page; and
and responding to the switching of the application program to be in the login state, and finishing the operation corresponding to the address grouping.
7. The address hopping method of claim 6, wherein for each address packet to which the second address belongs, the performing the operation corresponding to the address packet comprises:
and responding to the address grouping which is a grouping needing to be logged in and the application program is in the logging state, and ending the operation corresponding to the address grouping.
8. The address hopping method of claim 4, wherein, for each address packet to which the second address belongs, the performing of the operation corresponding to the address packet comprises:
in response to the address packet being a time limited viewing packet and a timer being in an un-started state, a timer is started.
9. The address hopping method as claimed in any one of claims 1 to 8, further comprising:
and responding to the completion of the starting of the application program, and detecting whether the routing table of the application program needs to be updated.
10. The address hopping method of claim 9, wherein the detecting whether the routing table of the application needs to be updated in response to the application completing the launch comprises:
responding to the completion of the starting of the application program, and acquiring the version information of the routing table stored by the server;
in response to the version of the routing table stored by the server being higher than the version of the routing table of the application, retrieving the routing table stored by the server to update the routing table of the application.
11. The address hopping method as claimed in any one of claims 1 to 8, further comprising:
in response to the second address not belonging to a grouped address of the one or more address groups, controlling the application to jump to the second address.
12. The address hopping method as claimed in any one of claims 1 to 8, wherein the second address corresponds to a service or page to be hopped.
13. The address hopping method as claimed in any one of claims 1 to 8, wherein the routing table includes address information written in a format of an object.
14. An address hopping apparatus for an application program, comprising:
a packet configuration module configured to: in response to detecting that the routing table of the application is updated, configuring one or more address packets based on the routing table of the application;
a packet determination module configured to: in response to receiving a trigger instruction for jumping to a second address in a first page of the application program corresponding to a first address, determining whether the second address belongs to a grouped address in the one or more address groups; and
a packet hopping module configured to: and responding to the second address belonging to the grouped address in the one or more address groups, and executing the operation corresponding to the address group to which the second address belongs.
15. A computer device, comprising:
a memory, a processor, and a computer program stored on the memory,
wherein the processor is configured to execute the computer program to implement the steps of the method of any one of claims 1-13.
16. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of any of claims 1-13.
17. A computer program product comprising a computer program, wherein the computer program realizes the steps of the method of any one of claims 1-13 when executed by a processor.
CN202110804486.4A 2021-07-16 2021-07-16 Address jump method and device for application program, computer equipment and medium Pending CN115700468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110804486.4A CN115700468A (en) 2021-07-16 2021-07-16 Address jump method and device for application program, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110804486.4A CN115700468A (en) 2021-07-16 2021-07-16 Address jump method and device for application program, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN115700468A true CN115700468A (en) 2023-02-07

Family

ID=85120531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110804486.4A Pending CN115700468A (en) 2021-07-16 2021-07-16 Address jump method and device for application program, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN115700468A (en)

Similar Documents

Publication Publication Date Title
US9813297B2 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
US8566648B2 (en) Automated testing on devices
US10831331B2 (en) Window control for simultaneously running applications
US10963624B2 (en) Web UI automation maintenance tool
US10489005B2 (en) Usability analysis for user interface based systems
US10949765B2 (en) Automated inference of evidence from log information
CN113312072A (en) Configuration file updating method and device, electronic equipment and medium
US10409625B1 (en) Version management for hosted computing workspaces
WO2014194654A1 (en) Method and apparatus for page view switching
US10878057B2 (en) Web application with custom form components
US20190332409A1 (en) Identification and storage of logical to physical address associations for components in virtualized systems
US9880861B2 (en) Method and apparatus for page view switching
CN112925652A (en) Application resource deployment method, device, electronic equipment and medium
CN112948018B (en) Dynamic library loading method, device, equipment and medium for applet
US11556699B2 (en) Data migration across SaaS applications
CN115700468A (en) Address jump method and device for application program, computer equipment and medium
JP7147123B2 (en) Source channel determination method, device, equipment, program and computer storage medium
US20190058752A1 (en) Outside-of-network management of a component in a virtual data center
CN113051122B (en) Performance data acquisition method, device, electronic equipment and medium
CN112559073A (en) Program starting method, inter-class relation construction method and device and mobile terminal
US11314500B2 (en) System and method for modularizing update environment in life cycle manager
US10915353B2 (en) Intelligent processor for user-provided routines in a transaction processing system
CN116545834A (en) Method and device for troubleshooting problem of network equipment, electronic equipment and medium
CN113836021A (en) Test method, test device, electronic apparatus, and medium
CN113542429A (en) Platform docking processing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination