CN110221872B - Page jump method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN110221872B
CN110221872B CN201910324407.2A CN201910324407A CN110221872B CN 110221872 B CN110221872 B CN 110221872B CN 201910324407 A CN201910324407 A CN 201910324407A CN 110221872 B CN110221872 B CN 110221872B
Authority
CN
China
Prior art keywords
jump
page
rule
target
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910324407.2A
Other languages
Chinese (zh)
Other versions
CN110221872A (en
Inventor
赵学良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201910324407.2A priority Critical patent/CN110221872B/en
Publication of CN110221872A publication Critical patent/CN110221872A/en
Application granted granted Critical
Publication of CN110221872B publication Critical patent/CN110221872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a page jump method, a device, an electronic device and a storage medium, when an application program is started, a jump rule update parameter is obtained, a local jump rule is updated according to the jump rule update parameter, route jump information is analyzed from a URL link carried by a jump instruction by using the updated jump rule, wherein the jump instruction is generated in response to a click operation of a user before or after the application program is started, and finally target page data is obtained according to the route jump information to jump to a target page, so that the automatic modification of the local jump rule can be realized by modifying the jump rule update parameter at a server end, a large number of page jump files are not required to be configured locally in the application program, the internal code coupling of the application program is reduced, and a page jump or a jump modification mode is not required to be newly added by modifying codes in the page jump files, the method can realize flexible jump of any page and any scene while reducing the coupling of the internal codes of the application.

Description

Page jump method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a page jump method and apparatus, an electronic device, and a storage medium.
Background
The development of mobile Application development technology provides increasingly rich third party Application programs (APPs) for terminal users, almost all the APPs are installed in the system platform of each intelligent terminal, and accessing the internet through the APPs becomes the most common internet access mode at present. In order to make the APP experience of the user more friendly, a large number of page jump scenes are involved inside the terminal system, such as jump inside the APP, jump among different APPs, and the like.
The page jump function of mobile applications is typically implemented based on a page jump file. Specifically, for each page allowing jumping, a corresponding page jumping file can be configured locally, and the file comprises specific codes for realizing specific page jumping, page description information and the like; the APP can respond to the click of the user, read the locally configured page jump file, and execute specific codes in the file to jump to the corresponding page.
It can be seen that the page jump function is realized based on the page jump file, when there are many pages or scenes are complicated which need to realize the jump function, a large number of page jump files need to be configured in the APP in advance, and various associations may exist among the large number of page jump files, which makes the APP internal code coupling serious, and is not convenient for newly adding page jumps or modifying jump modes, so that it is difficult to realize flexible jumps of any page and any scene.
Disclosure of Invention
The application provides a page jump method, a page jump device, electronic equipment and a storage medium, which are used for solving the problems that the existing APP internal code coupling is serious, and the addition of a new page jump or the modification of a jump mode is inconvenient, so that the flexible jump of any page and any scene is difficult to realize.
In a first aspect, the present application provides a page jump method, including:
when the application program is started, acquiring a skip rule updating parameter;
updating a local skip rule according to the skip rule updating parameter;
analyzing route jump information from a URL link carried by a jump instruction by using an updated local jump rule, wherein the jump instruction is generated in response to a click operation of a user before or after the application program is started;
and acquiring target page data according to the route jump information so as to jump to a target page.
Further, the updating the local skip rule according to the skip rule update parameter includes:
and replacing the Value corresponding to the Key with the Value corresponding to each Key in the local jump rule updating parameter.
Further, the method further comprises:
when the application program is started, current page data are obtained, the current page data comprise at least one page jump control, the data of the page jump control comprise URL links, and the URL links are generated by a current page server according to jump rules containing the jump rule update parameters.
Further, after the current page data is obtained, the method further includes:
and responding to the clicking operation of the user on the page jump control in the current page, and generating a jump instruction.
Further, before the application program is started, the method further includes:
receiving an application program notification message or an external message, wherein the external message comprises a page jump control;
and responding to the click operation of the user on the page jump control in the application program notification message or the external message, generating a jump instruction, and starting the application program.
Further, the analyzing the route jump information from the URL link carried by the jump instruction by using the updated local jump rule includes:
and splitting a character string for pointing to a target application program, a character string for pointing to a target application module in the target application program, a character string for pointing to a target page in the target application module and a character string containing the target page to-be-loaded parameters from the URL link by using the updated local jump rule.
Further, the acquiring the target page data according to the route jump information includes:
and requesting target page data containing the parameters to be loaded from a target page server or a current page server, and receiving the target page data returned by the target page server or the current page server.
Further, before receiving the target page data returned by the target page server, the method further includes:
receiving preset page data issued by a target page server according to a preset interception strategy;
and if the preset page is provided with an input item, inputting information in the input item and submitting the information.
Further, after the jump to the target page, the method further includes:
detecting parameter change of a target page to obtain changed parameters;
and if the changed parameters accord with preset return conditions, returning the changed parameters to the previous page.
In a second aspect, the present application provides a page jump apparatus, including:
the acquiring unit is used for acquiring the updating parameters of the skip rule when the application program is started;
the rule updating unit is used for updating the local skip rule according to the skip rule updating parameter;
the analysis unit is used for analyzing route jump information from a URL link carried by a jump instruction by using the updated local jump rule, wherein the jump instruction is generated in response to the click operation of a user before or after the application program is started;
and the skipping unit is used for acquiring target page data according to the route skipping information so as to skip to a target page.
Further, the rule updating unit is specifically configured to:
and replacing the Value corresponding to the Key with the Value corresponding to each Key in the local jump rule updating parameter.
Further, the obtaining unit is further configured to:
when the application program is started, current page data is obtained, the current page data comprises at least one page jump control, the data of the page jump control comprises a URL link, and the URL link is generated by a current page server according to a jump rule containing the jump rule updating parameter.
Further, the apparatus further comprises:
and the instruction generating unit is used for responding to the clicking operation of the user on the page jump control in the current page and generating a jump instruction.
Further, the apparatus further comprises:
the information receiving unit is used for receiving an application program notification message or an external message, wherein the external message comprises a page jump control;
the instruction generating unit is further configured to generate a jump instruction in response to a click operation of a user on a page jump control in the application notification message or the external message, and start the application.
Further, the parsing unit is specifically configured to:
and splitting a character string for pointing to a target application program, a character string for pointing to a target application module in the target application program, a character string for pointing to a target page in the target application module and a character string containing the target page to-be-loaded parameters from the URL link by using the updated local jump rule.
Further, the jumping unit is specifically configured to:
and requesting target page data containing the parameters to be loaded from a target page server or a current page server, and receiving the target page data returned by the target page server or the current page server.
Further, the jumping unit is further configured to:
receiving preset page data issued by a target page server according to a preset interception strategy;
and if the preset page is provided with an input item, inputting information in the input item and submitting the information.
Further, the apparatus further comprises:
the detection unit is used for detecting the parameter change of the target page and obtaining the changed parameters;
and the return unit is used for returning the changed parameters to the previous page if the changed parameters meet the preset return conditions.
In a third aspect, the present application provides an electronic device, comprising:
a memory for storing program instructions;
and the processor is used for calling and executing the program instructions in the memory so as to realize the page jump method of the first aspect of the application.
In a fourth aspect, the present application provides a storage medium, in which a computer program is stored, and when at least one processor of a page jump apparatus executes the computer program, the page jump apparatus executes the page jump method according to the first aspect of the present application.
From the above technical solutions, embodiments of the present application provide a page jump method, apparatus, electronic device and storage medium, when the application program is started, the skip rule update parameter is obtained, the local skip rule is updated according to the skip rule update parameter, the route skip information is analyzed from the URL link carried by the skip instruction by using the updated skip rule, wherein, the jump instruction is generated in response to the click operation of the user before or after the application program is started, and finally, the target page data is obtained according to the route jump information to jump to the target page, therefore, the automatic modification of the local skip rule can be realized by modifying the skip rule update parameter at the server side without configuring a large number of page skip files locally at the application program, and further, the coupling of the internal codes of the application program is reduced, and the page jump is not required to be newly added or the jump mode is not required to be modified by modifying the codes in the page jump file. The page jump method, the page jump device, the electronic equipment and the storage medium can realize flexible jump of any page and any scene while reducing the coupling of internal codes of an application program.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a flowchart of an embodiment of a page jump method according to the present application;
FIG. 2 is a flowchart of another embodiment of a page jump method according to the present application;
FIG. 3 is a schematic diagram of an embodiment of a page jump apparatus according to the present application;
FIG. 4 is a schematic diagram of another embodiment of a page jump apparatus according to the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a diagram illustrating an embodiment of a page jump method according to the present application, which is applied to a client. As shown in fig. 1, the method may include:
and step 110, when the application program is started, acquiring the skip rule updating parameter.
The jump rule is stored locally in the client and is used for providing a routing rule for page jump of the client application program. Among them, the page jump scenarios in the client are various, such as jump inside an application, jump from an application to webView, jump from webView, external short message or notification message to an application, and so on.
And the skip rule updating parameter is stored in the server and used for modifying and updating the local skip rule. When the application program is started every time, the client sends a first request for obtaining the skip rule update parameters to the current page server, and the current page server returns the latest skip rule update parameters to the client according to the first request, so that the automatic modification of the local skip rules can be realized by modifying the skip rule update parameters at the server, a large number of page skip files do not need to be configured locally in the application program, the internal code coupling of the application program is further reduced, and the page skip mode is not needed to be newly added or modified by modifying codes in the page skip files.
Wherein the current page server is the application server. Of course, for a scene where a jump is performed from the webView, when the webView runs, the client obtains the updated parameters of the jump rule.
The above-mentioned start of the application means that the application is started successfully simultaneously or within a sufficiently short time after the application is started successfully.
And step 120, updating the local jump rule according to the jump rule updating parameter.
The local skip rule comprises a plurality of Key-Value values which are nested with each other to form complex route skip logic.
The skip rule updating parameter comprises at least part of Key-Value values in the original local skip rule, wherein the Value corresponding to a certain Key in the local skip rule may be different from the Value corresponding to the Key in the skip rule updating parameter. And updating the local jump rule according to the jump rule updating parameter, namely, replacing the Value corresponding to each Key in the local jump rule by using the Value corresponding to each Key in the jump rule updating parameter.
In addition, the jump rule update parameter can also include a Key-Value which does not exist in the original local jump rule. At this time, these new Key-Value values need to be added to the local jump rule to implement the update of the local jump rule.
Step 130, using the updated local jump rule, analyzing route jump information from a URL (Uniform Resource Locator) link carried by a jump instruction, where the jump instruction is generated in response to a click operation of a user before or after the application program is started.
In one scenario, at least one page jump control is provided on a user page of an application program, and a client generates a jump instruction carrying a target page URL link in response to a click operation of the user on the page jump control in the page.
For example, 58 is the page jump control in the "full job recruitment", "part-time job", "rent room" of the city APP home page, or other landing modes "WeChat", "QQ" of the login page. The user clicks the full-job recruitment, the client responds to the user click to generate a jump instruction for jumping to a full-job recruitment page, the jump belongs to the internal jump of the APP, the user clicks the WeChat, and the client responds to the user click to generate a jump instruction for jumping to a WeChat page, and the jump belongs to the jump among the APPs.
In another scenario, a client receives an application program notification message or an external message, the text content of the external message includes a clickable page jump control, and the client responds to the click operation of a user on the page jump control in the application program notification message or the text content of the external message, generates a jump instruction carrying a target page URL link, and starts the application program.
For example, the client receives 58 a notification message pushed by an APP in city, such as "Hi", someone leaves a message at your release. -click to view- ", or the client receives an external short message like" [ 58 same city ] with slow hand! Only 1 yuan is needed, the good things of the second-hand quality are shot home, the links are stamped, the user clicks the links in the notification message or the external short message, the client responds to the click of the user to generate a jump instruction for jumping to the appointed page of the APP in the same city 58, and the APP in the same city 58 is started.
The jump instruction carries a URL link of the target page, and the URL link is generated by the current page server according to a jump rule containing the jump rule update parameter.
As a possible implementation mode, after the client updates the local jump rule each time, the latest jump rule is backed up to the application program server.
When the application program is started, the client needs to send a second request for acquiring current page data to the current page server besides requesting the server for the skip rule update parameters. And the current page server receives the second request, generates a new rule as a URL link rule according to the jump rule update parameter and the backed-up jump rule, generates a URL link, regenerates page jump control data containing the URL link, and finally returns the page data containing the page jump control data to the client.
The above-described URL link rule is used to specify a URL link structure composition, a meaning represented by a character string constituting each part, and to define an identifier for distinguishing each part composition, and the like. The generation of a URL link for a particular page using URL link rules and the parsing of route hop information from the URL link using local hop rules may be understood as two reversible processes.
As a possible implementation manner, the updated local skip rule is used to parse the route skip information from the URL link, that is, split a character string for pointing to a target page address from the URL link, specifically, the character string may include a character string for pointing to a target application program, a character string for pointing to a target application module in the target application program, a character string for pointing to a target page in the target application module, and a character string including a parameter to be loaded into the target page.
For example, in the following URL links:
https://m.58.com/bj/shouji/36627248608268x.shtmlisself=1&707&utps= 1381740504000
includes five sections, in turn "https:// m.58. com"/"bj"/"shouji"/"36627248608268 x. shtml"? "isself-1 &707& utps-1381740504000", where "https:// m.58. com" points to the target application, "bj" and "shouji" point to the target application module in the target application, "bj" points to the primary application module, "shoji" points to the secondary application module below the primary application module, "36627248608268 x. shtml" points to the target page in the target application module, and "isself-1 &707& utps-1381740504000" contains the parameters to be loaded to the target page, and identifiers between partial character strings such as "/" and "? "is used to distinguish and space the components.
And 140, acquiring target page data according to the route jump information so as to jump to a target page.
As a possible implementation manner, according to the route jump information, it may be determined whether the target application program is an application program to which the current page belongs, if not, the target application program is started first, then a third request for obtaining target page data including the parameter to be loaded is sent to the target page server, the target page server returns the target page data according to the third request, the target application program completes loading the target page, and the process of jumping to the target page is completed. And if the target application program is the application program to which the current page belongs, the client sends a third request to the current page server.
In the implementation manner, the target page service presets an interception policy for the jump to be used for filtering and intercepting the jump. For example, the content of the received request is matched with a preset interception policy, if the content of the received request is matched with the preset interception policy, the target page data is returned, and if the content of the received request is not matched with the preset interception policy, the request message is discarded, or a client user accessing the target page server is preprocessed to be matched with the preset interception policy. For example, it is determined whether the received request content includes a user ID and a password, and if not, preset page data is returned, which may be login page data or registration page data, or may be an error information prompt page. According to the specific content of the preset page data, an input item may be set on the preset page displayed by the client, for example, a user name is input, and the client submits the input information of the user to the target page server. The target page server can judge whether the information submitted by the client is matched with the preset interception strategy again according to the information submitted by the client, and if the information is matched with the preset interception strategy, the target page server returns target page data.
In addition, for the situation that the target page parameter changes after the jump is successful, in order to make the user experience of the page jump function more friendly, the target page parameter needs to be returned to the previous page. Specifically, in step 150, detecting a parameter change of the target page to obtain a changed parameter; and if the changed parameters meet preset return conditions, returning the changed parameters to the previous page.
The preset feedback condition may be a condition designed by a developer in the development stage of the application program for determining whether parameter feedback is required. For example, in some shopping applications, a user clicks a control "enter a shopping cart" from a "commodity details" page, and jumps to a "shopping cart" page, and if the user adds a commodity category before the "shopping cart" page is modified, parameter changes related to the commodity category can be returned to the "commodity details" page, so that when the "commodity details" page is returned, the commodity details after the modified commodity category are displayed, and the user experience is further improved.
From the above technical solutions, the page jump method provided in this embodiment, when the application program is started, acquiring a skip rule updating parameter, updating a local skip rule according to the skip rule updating parameter, analyzing route skip information from a URL link carried by a skip instruction by using the updated skip rule, wherein, the jump instruction is generated in response to the click operation of the user before or after the application program is started, and finally, the target page data is obtained according to the route jump information to jump to the target page, therefore, the automatic modification of the local skip rule can be realized by modifying the skip rule update parameter at the server side without configuring a large number of page skip files locally at the application program, and further, the coupling of the internal codes of the application program is reduced, and the page jump is not required to be newly added or the jump mode is not required to be modified by modifying the codes in the page jump file. The page jump method provided by the application can realize flexible jump of any page and any scene while reducing the coupling of internal codes of the application program.
Fig. 2 is a schematic diagram of another embodiment of the page jump method of the present application, showing an interaction process between a client and a server of the page jump scheme of the present application. In the application, the client can be a mobile phone, a tablet personal computer and other portable terminals, and can also be a PC. The client side is provided with various application programs.
As shown in fig. 2, the page jump method of the present application may include:
when the client starts the application program, a first request for acquiring the skip rule updating parameters is generated and sent to the current page server, and a second request for acquiring the current page data is generated and sent to the current page server. And the current page server receives the first request and the second request, returns preset skip rule update parameters to the client according to the first request, and returns current page data to the client according to the second request. The current page data comprises at least one page jump control, the page jump control data comprises URL links, and the URL links are generated by an application program server according to jump rules containing the jump rule update parameters.
And the client updates the local skip rule according to the received skip rule update parameters and displays the current page according to the received current page data.
The client responds to the click operation of a user on the current page and generates a jump instruction carrying a target page URL link; and analyzing the route skipping information from the URL link by using the updated local skipping rule, generating a third request for acquiring target page data and sending the third request to the target page server.
And the current page server receives the third request, judges whether the third request accords with a preset interception strategy or not, returns preset page data to the client or intercepts the jump if the third request accords with the preset interception strategy, and returns target page data to the client if the third request does not accord with the preset interception strategy.
And if the client receives the target page data, displaying the target page, if the preset page data is received, displaying the preset page, receiving information input by a user at the preset page, and sending the input information to the target page server.
And the target page server receives the input information and judges whether the input information accords with a preset interception strategy or not, if so, the jump is intercepted, and if not, the target page data is returned to the client.
Fig. 3 is a schematic diagram of an embodiment of a page jump apparatus provided in the present application. The device can be applied to various devices such as a PC (personal computer), a tablet computer, a mobile phone and the like. As shown in fig. 4, the page jump apparatus provided in this embodiment may include:
the obtaining unit 310 is configured to obtain a skip rule update parameter when the application program is started. In other embodiments, the obtaining unit 310 is further configured to obtain current page data when the application program is started, where the current page data includes at least one page jump control, and the data of the page jump control includes a URL link, where the URL link is generated by the current page server according to a jump rule that includes the jump rule update parameter.
A rule updating unit 320, configured to update the local skip rule according to the skip rule update parameter. The rule updating unit 320 updates the local jump rule by replacing the Value corresponding to the Key in the local jump rule with the Value corresponding to each Key in the jump rule update parameter.
And the analyzing unit 330 is configured to analyze the route jump information from the URL link carried by the jump instruction by using the updated local jump rule, where the jump instruction is generated in response to a click operation of a user before or after the application program is started. Specifically, the parsing unit 330 splits the URL link into a character string pointing to the target application program, a character string pointing to a target application module in the target application program, a character string pointing to a target page in the target application module, and a character string containing the parameter to be loaded in the target page, by using the updated local skip rule.
And the skipping unit 340 is configured to obtain target page data according to the route skipping information, so as to skip to a target page. Specifically, the jumping unit 340 requests the target page server or the current page server for target page data including the parameter to be loaded, and receives the target page data returned by the target page server or the current page server. In other embodiments, the skipping unit 340 is further configured to receive preset page data issued by the target page server according to a preset interception policy;
and if the preset page is provided with an input item, inputting information in the input item and submitting the information.
Fig. 4 is a schematic diagram of another embodiment of the page jump apparatus provided in the present application, where the apparatus may be applied to a PC (personal computer), a tablet computer, a mobile phone, and other devices. As shown in fig. 4, the page jump apparatus of the present application may further include:
an information receiving unit 410, configured to receive an application notification message or an external message, where the external message includes a page jump control.
And the instruction generating unit 420 is configured to generate a jump instruction in response to a click operation of the user on the page jump control in the current page. And the application program notification message is also used for responding to the click operation of the user on the page jump control in the application program notification message or the external message, generating a jump instruction and starting the application program.
The detecting unit 430 is configured to detect a parameter change of the target page, and obtain a changed parameter.
A returning unit 440, configured to return the changed parameter to the previous page if the changed parameter meets a preset returning condition.
It can be known from the above technical solutions that, in the page jump apparatus provided in the embodiments of the present application, when an application program is started, a jump rule update parameter is obtained, a local jump rule is updated according to the jump rule update parameter, and route jump information is resolved from a URL link carried by a jump instruction using the updated jump rule, where the jump instruction is generated in response to a click operation of a user before or after the application program is started, and finally target page data is obtained according to the route jump information to jump to a target page, so that automatic modification of the local jump rule can be realized by modifying the jump rule update parameter at a server side, without configuring a large number of page jump files locally in the application program, thereby reducing code coupling inside the application program, and without modifying a new page jump or a new change jump manner by modifying codes in the page jump files, the method can realize flexible jump of any page and any scene while reducing the coupling of internal codes of the application program.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device may include: a memory 510 for storing program instructions; and the processor 520 is used for calling and executing the program instructions in the memory so as to realize the page jump method.
In this embodiment, the processor 510 and the memory 520 may be connected by a bus or other means. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a computer program, and when at least one processor of the page jump apparatus executes the computer program, the page jump apparatus executes some or all of the steps in each embodiment of the page jump method of the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
It should be understood that the terms "first," "second," "third," and the like in the description and in the claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used are interchangeable under appropriate circumstances and can be implemented in sequences other than those illustrated or otherwise described herein with respect to the embodiments of the application, for example.
The term "module," as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, as for the device, the electronic apparatus and the storage medium embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the description in the method embodiments.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (18)

1. A page jump method, characterized in that the method comprises:
when an application program is started, acquiring a skip rule updating parameter;
updating a local skip rule according to the skip rule updating parameter;
splitting a character string for pointing to a target application program, a character string for pointing to a target application module in the target application program, a character string for pointing to a target page in the target application module and a character string containing a parameter to be loaded of the target page from the URL link by using the updated local skip rule; analyzing route jump information from a URL link carried by a jump instruction, wherein the jump instruction is generated in response to a click operation of a user before or after the application program is started; the jump instruction carries a URL link of a target page, and the URL link is generated by a current page server according to a jump rule; the skip rule comprises a skip rule update parameter;
and acquiring target page data according to the route jump information so as to jump to a target page.
2. The method of claim 1, wherein the updating the local skip rule according to the skip rule update parameter comprises:
and replacing the Value corresponding to the Key with the Value corresponding to each Key in the jump rule updating parameter.
3. The method of claim 1, further comprising:
when the application program is started, current page data is obtained, the current page data comprises at least one page jump control, the data of the page jump control comprises a URL link, and the URL link is generated by a current page server according to a jump rule containing the jump rule updating parameter.
4. The method of claim 3, wherein after obtaining the current page data, the method further comprises:
and responding to the click operation of the user on the page jump control in the current page, and generating a jump instruction.
5. The method of claim 1, wherein before the application is launched, the method further comprises:
receiving an application program notification message or an external message, wherein the external message comprises a page jump control;
and responding to the click operation of the user on the page jump control in the application program notification message or the external message, generating a jump instruction, and starting the application program.
6. The method of claim 1, wherein the obtaining target page data according to the route jump information comprises:
and requesting target page data containing the parameters to be loaded from a target page server or a current page server, and receiving the target page data returned by the target page server or the current page server.
7. The method of claim 6, wherein prior to receiving the target page data returned by the target page server, the method further comprises:
receiving preset page data issued by a target page server according to a preset interception strategy;
and if the preset page is provided with an input item, inputting information in the input item and submitting the information.
8. The method of claim 1, wherein after the jumping to the destination page, the method further comprises:
detecting the parameter change of a target page to obtain a changed parameter;
and if the changed parameters accord with preset return conditions, returning the changed parameters to the previous page.
9. A page jump apparatus, characterized in that the apparatus comprises:
the acquiring unit is used for acquiring the updating parameters of the skip rule when the application program is started;
the rule updating unit is used for updating the local skip rule according to the skip rule updating parameter;
the analysis unit is used for splitting a character string used for pointing to a target application program, a character string used for pointing to a target application module in the target application program, a character string used for pointing to a target page in the target application module and a character string containing a parameter to be loaded in the target page from the URL link by using the updated local skip rule; analyzing route jump information from a URL link carried by a jump instruction, wherein the jump instruction is generated in response to a click operation of a user before or after the application program is started; the jump instruction carries a URL link of a target page, and the URL link is generated by a current page server according to a jump rule; the skip rule comprises a skip rule update parameter;
and the skipping unit is used for acquiring target page data according to the route skipping information so as to skip to a target page.
10. The apparatus according to claim 9, wherein the rule updating unit is specifically configured to:
and replacing the Value corresponding to the Key with the Value corresponding to each Key in the local jump rule updating parameter.
11. The apparatus of claim 9, wherein the obtaining unit is further configured to:
when the application program is started, current page data is obtained, the current page data comprises at least one page jump control, the data of the page jump control comprises a URL link, and the URL link is generated by a current page server according to a jump rule containing the jump rule updating parameter.
12. The apparatus of claim 11, further comprising:
and the instruction generating unit is used for responding to the click operation of the user on the page jump control in the current page and generating a jump instruction.
13. The apparatus of claim 12, further comprising:
the information receiving unit is used for receiving an application program notification message or an external message, wherein the external message comprises a page jump control;
the instruction generating unit is further configured to generate a jump instruction in response to a click operation of a user on a page jump control in the application notification message or the external message, and start the application.
14. The apparatus according to claim 9, wherein the jumping unit is specifically configured to:
and requesting target page data containing the parameters to be loaded from a target page server or a current page server, and receiving the target page data returned by the target page server or the current page server.
15. The apparatus of claim 14, wherein the jumping unit is further configured to:
receiving preset page data issued by a target page server according to a preset interception strategy;
and if the preset page is provided with an input item, inputting information in the input item and submitting the information.
16. The apparatus of claim 9, further comprising:
the detection unit is used for detecting the parameter change of the target page and acquiring the changed parameters;
and the return unit is used for returning the changed parameters to the previous page if the changed parameters meet the preset return conditions.
17. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling and executing program instructions in said memory to implement the page jump method of any of claims 1-8.
18. A storage medium having stored therein a computer program which, when executed by at least one processor of a page jump apparatus, causes the page jump apparatus to perform the page jump method of any one of claims 1-8.
CN201910324407.2A 2019-04-22 2019-04-22 Page jump method and device, electronic equipment and storage medium Active CN110221872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910324407.2A CN110221872B (en) 2019-04-22 2019-04-22 Page jump method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910324407.2A CN110221872B (en) 2019-04-22 2019-04-22 Page jump method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110221872A CN110221872A (en) 2019-09-10
CN110221872B true CN110221872B (en) 2022-09-09

Family

ID=67820006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910324407.2A Active CN110221872B (en) 2019-04-22 2019-04-22 Page jump method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110221872B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795181A (en) * 2019-09-18 2020-02-14 北京你财富计算机科技有限公司 Application program interface display method and device based on skip protocol and electronic equipment
CN110716786B (en) * 2019-10-16 2021-10-22 腾讯科技(深圳)有限公司 Page display method, system and storage medium
CN111046419A (en) * 2019-12-02 2020-04-21 紫光云技术有限公司 Method and device for realizing Web page jump native app and terminal equipment
CN111125604B (en) * 2019-12-30 2024-03-15 华人运通(上海)云计算科技有限公司 Page management method and device, terminal equipment and storage medium
CN111428163A (en) * 2020-03-20 2020-07-17 吉林亿联银行股份有限公司 Page access method and device
CN111680247B (en) * 2020-04-28 2024-04-05 深圳赛安特技术服务有限公司 Local calling method, device and equipment of webpage character strings and storage medium
CN111625736B (en) * 2020-05-25 2023-04-07 厦门美图之家科技有限公司 Link skip control method and related device
CN111611507A (en) * 2020-05-27 2020-09-01 掌阅科技股份有限公司 Modularization-based in-application page jump method and computing device
CN111753229B (en) * 2020-06-10 2024-07-09 支付宝(杭州)信息技术有限公司 Page configuration method, device and equipment
CN111723313A (en) * 2020-06-23 2020-09-29 中国平安财产保险股份有限公司 Page jump processing method, device, equipment and storage medium
CN111767071A (en) * 2020-07-02 2020-10-13 湖南快乐阳光互动娱乐传媒有限公司 Data display adjustment method and device and electronic equipment
CN112256562A (en) * 2020-09-22 2021-01-22 北京达佳互联信息技术有限公司 Page jump testing method, device, equipment and storage medium
CN112256564A (en) * 2020-09-23 2021-01-22 北京达佳互联信息技术有限公司 Application program running method and device and electronic equipment
CN112417337B (en) * 2020-11-27 2022-03-11 贝壳找房(北京)科技有限公司 Page jump implementation method and device, electronic equipment and storage medium
CN112905281A (en) * 2021-02-08 2021-06-04 北京字跳网络技术有限公司 View display method and device, electronic equipment and storage medium
CN113064583B (en) * 2021-04-14 2024-04-16 深圳市活力天汇科技股份有限公司 Multistage page route jump method, device, computer equipment and storage medium
CN113434230A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Jump control method and device for H5 page, storage medium and electronic device
CN113434233B (en) * 2021-06-28 2023-10-24 青岛海尔科技有限公司 Interface jump method and device, storage medium and electronic device
CN113254753B (en) * 2021-07-06 2021-12-07 北京达佳互联信息技术有限公司 Page rollback method, device, electronic equipment and storage medium
CN113608726B (en) * 2021-07-30 2023-08-11 三一专用汽车有限责任公司 Code generation method, device, electronic equipment and storage medium
CN113641940B (en) * 2021-10-13 2022-01-25 北京新氧科技有限公司 Page jump method, device, system, equipment and storage medium
CN114189718A (en) * 2021-11-23 2022-03-15 贵阳朗玛视讯科技有限公司 Method and device for optimizing IPTV (Internet protocol television) starting
CN114553477B (en) * 2022-01-12 2024-03-22 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN115065945B (en) * 2022-06-28 2023-08-29 飞鸟鱼信息科技有限公司 Short message link generation method and device, electronic equipment and storage medium
CN115202538B (en) * 2022-08-26 2024-02-06 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN116149757B (en) * 2023-04-14 2023-06-30 深圳复临科技有限公司 Plug-in virtual route realization method, device, computer equipment and storage medium
CN116233217B (en) * 2023-05-08 2023-07-21 成都赛力斯科技有限公司 Page jump method and device based on route, electronic equipment and storage medium
CN117793001A (en) * 2023-12-28 2024-03-29 北京虎嗅信息科技股份有限公司 Analysis and jump method of routing component

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769832A (en) * 2018-03-16 2018-11-06 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set-top box
CN109063064A (en) * 2018-07-20 2018-12-21 北京三快在线科技有限公司 A kind of method for page jump, device and computer readable storage medium
WO2019061522A1 (en) * 2017-09-30 2019-04-04 深圳前海达闼云端智能科技有限公司 Domain name resolution method, client, edge node, and domain name resolution system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512190B (en) * 2015-11-26 2019-03-29 网易(杭州)网络有限公司 Interface jump method and device
CN106815276B (en) * 2015-11-27 2020-06-16 阿里巴巴集团控股有限公司 Page skipping method and device
CN108153768A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Method for page jump, data processing method, device and page jump control system
CN107133053A (en) * 2017-06-05 2017-09-05 上海鋆创信息技术有限公司 Method for page jump and device, the storage medium and terminal of a kind of application program
CN108829477B (en) * 2018-05-31 2023-08-18 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019061522A1 (en) * 2017-09-30 2019-04-04 深圳前海达闼云端智能科技有限公司 Domain name resolution method, client, edge node, and domain name resolution system
CN108769832A (en) * 2018-03-16 2018-11-06 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set-top box
CN109063064A (en) * 2018-07-20 2018-12-21 北京三快在线科技有限公司 A kind of method for page jump, device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ASP.NET页面跳转和参数传递;周广清等;《医疗卫生装备》;20150315(第03期);全文 *

Also Published As

Publication number Publication date
CN110221872A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
US20170242783A1 (en) System and Method for Data Collection and Analysis of Information Relating to Mobile Applications
CN109492181B (en) Page jump method, device, computer equipment and storage medium
CN109522500B (en) Webpage display method, device, terminal and storage medium
CN107729014B (en) Page jump method and structure based on Android
CN112040013B (en) Method, computing device and computer storage medium for page routing
CN109618176B (en) Processing method, equipment and storage medium for live broadcast service
CN107957837B (en) Method and device for generating shortcut of webpage application program and terminal equipment
CN111475161B (en) Method, device and equipment for accessing component
JP2011107752A (en) Information-processing device, communication system and program
CN104239775A (en) Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN112905969A (en) Login method, device, electronic equipment and computer readable storage medium
CN114253441B (en) Method and device for enabling target function, storage medium and electronic device
CN111026995A (en) Method and device for information association between applications and storage medium
CN110727416A (en) Development framework generation method and related device
CN111181836B (en) Message pushing method and device
CN111026466A (en) File processing method and device, computer readable storage medium and electronic equipment
CN110309000B (en) Application update prompting method and terminal equipment
CN112433741A (en) Page processing method, device and system, electronic equipment and storage medium
CN110647331A (en) Development tool acquisition method and device, storage medium and electronic equipment
CN112346790A (en) Multi-platform content synchronization method and device, readable storage medium and terminal equipment
CN111367597A (en) Color switching method and device and electronic equipment
CN104202310A (en) Method and device for establishing connection between mobile equipment and computing equipment

Legal Events

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