[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110221872A - Method for page jump, device, electronic equipment and storage medium - Google Patents

Method for page jump, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110221872A
CN110221872A CN201910324407.2A CN201910324407A CN110221872A CN 110221872 A CN110221872 A CN 110221872A CN 201910324407 A CN201910324407 A CN 201910324407A CN 110221872 A CN110221872 A CN 110221872A
Authority
CN
China
Prior art keywords
jump
page
target pages
parameter
rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910324407.2A
Other languages
Chinese (zh)
Other versions
CN110221872B (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

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 method for page jump in fact, device, electronic equipment and storage medium, in application program launching, acquisition jumps Policy Updates parameter, it jumps rule to local according to Policy Updates parameter is jumped and is updated, rule is jumped using updated, routing jump information is parsed from the URL link that jump instruction carries, wherein, clicking operation of the jump instruction in response to user before application program launching or after starting generates, target pages data are finally obtained according to routing jump information, to jump to target pages, so as to be realized by jumping Policy Updates parameter in server-side modification to the local automatic modification for jumping rule, it is not necessary that a large amount of page jump files are locally configured in application program, and then reduce the coupling of application program internal code, and without being increased newly by the code in modification page jump file Page jump or modification jump mode, while reducing using internal code coupling, any page may be implemented, the flexible of any scene jumps.

Description

Method for page jump, device, electronic equipment and storage medium
Technical field
This application involves field of computer technology more particularly to a kind of method for page jump, device, electronic equipment and storages Medium.
Background technique
The development of mobile application development technique provides the third party application to become increasingly abundant for terminal user (Application, abbreviation APP) is almost fitted with multiple APP in the system platform of each intelligent terminal, is accessed by APP Internet has become most common network access instantly.It is more friendly in order to experience the APP of user, it is related to inside terminal system big Measure page jump scene, such as jumping inside APP, jumping between difference APP.
The page turn function of mobile application is typically based on page jump file to realize.Specifically, for each A corresponding page jump file can be locally configured in the page for allowing to jump, and file includes realizing that specific webpage jumps Particular code and page-describing information etc.;APP can then be clicked in response to user, read the page jump text being locally configured Part, and the particular code in file is executed to jump to the corresponding page.
As it can be seen that page turn function is realized based on page jump file, when the page for needing to realize turn function is more Or scene it is complex when, need to configure a large amount of page jump file in APP in advance, and a large amount of page jump file it Between may then have various associations, this makes the coupling of APP internal code serious, is not easy to new added pages and jumps or modify jump Mode, thus be difficult to realize any page, any scene flexibly jump.
Summary of the invention
The application provides a kind of method for page jump, device, electronic equipment and storage medium, to solve inside existing APP Code coupling is serious, be not easy to new added pages and jump or modify the mode of jumping, therefore is difficult to realize any page, any scene The problem of flexibly jumping.
In a first aspect, this application provides a kind of method for page jump, this method comprises:
When application program launching, acquisition jumps Policy Updates parameter;
It jumps Policy Updates parameter according to described and jumps rule to local and be updated;
Rule is jumped using updated local, parses routing jump information from the URL link that jump instruction carries, Clicking operation of the jump instruction in response to user before application program launching or after starting generates;
Target pages data are obtained according to the routing jump information, to jump to target pages.
Further, the basis jumps Policy Updates parameter and jumps rule to local and be updated, comprising:
The identical Key correspondence of rule is jumped using each Key corresponding Value value replacement local in Policy Updates parameter is jumped Value value.
Further, the method also includes:
When the application program launching, current page data are obtained, the current page data include at least one page Jump control, include URL link in the data of the page jump control, the URL link by current page server according to Comprising it is described jump Policy Updates parameter jump regular generation.
Further, after the acquisition current page data, the method also includes:
In response to user to the clicking operation of page jump control in current page, jump instruction is generated.
Further, before the application program launching, the method also includes:
Application notification message or external message are received, includes page jump control in the external message;
The click of page jump control in the application notification message or the external message is grasped in response to user Make, generates jump instruction, and start the application program.
Further, described to jump rule using updated local, it is parsed from the URL link that jump instruction carries Route jump information, comprising:
Rule is jumped using updated local, is split out from the URL link for being directed toward destination application Character string, for being directed toward the character string of target application module in destination application, for being directed toward in the target application module The character string of target pages and character string comprising target pages parameter to be loaded into.
It is further, described that target pages data are obtained according to routing jump information, comprising:
Target pages data to target pages server or the request of current page server comprising the parameter to be loaded into, Receive the target pages data that target pages server or current page server return.
Further, before the target pages data for receiving the return of target pages server, the method is also Include:
Target pages server is received according to the default default page data for intercepting policy distribution;
If the default page setup has input item, information is inputted in the input item and is submitted.
Further, described to jump to after target pages, the method also includes:
Detect the Parameters variation of target pages, parameter after being changed;
If parameter meets default passback condition after the variation, parameter after the variation is passed back into page up.
Second aspect, the application provide a kind of page skip device, which includes:
Acquiring unit, when being used for application program launching, acquisition jumps Policy Updates parameter;
Policy Updates unit jumps rule and is updated for jumping Policy Updates parameter according to local;
Resolution unit is parsed from the URL link that jump instruction carries for jumping rule using updated local Jump information is routed, clicking operation of the jump instruction in response to user before application program launching or after starting generates;
Jump-transfer unit, for obtaining target pages data according to the routing jump information, to jump to target pages.
Further, the Policy Updates unit is specifically used for:
The identical Key correspondence of rule is jumped using each Key corresponding Value value replacement local in Policy Updates parameter is jumped Value value.
Further, the acquiring unit is also used to:
When the application program launching, current page data are obtained, the current page data include at least one page Jump control, include URL link in the data of the page jump control, the URL link by current page server according to Comprising it is described jump Policy Updates parameter jump regular generation.
Further, described device further include:
Instruction generation unit is generated and is jumped for the clicking operation in response to user to page jump control in current page Turn instruction.
Further, described device further include:
Information receiving unit includes page in the external message for receiving application notification message or external message Face jumps control;
Described instruction generation unit is also used in response to user to the application notification message or the external message The clicking operation of middle page jump control generates jump instruction, and starts the application program.
Further, the resolution unit is specifically used for:
Rule is jumped using updated local, is split out from the URL link for being directed toward destination application Character string, for being directed toward the character string of target application module in destination application, for being directed toward in the target application module The character string of target pages and character string comprising target pages parameter to be loaded into.
Further, the jump-transfer unit is specifically used for:
Target pages data to target pages server or the request of current page server comprising the parameter to be loaded into, Receive the target pages data that target pages server or current page server return.
Further, the jump-transfer unit is also used to:
Target pages server is received according to the default default page data for intercepting policy distribution;
If the default page setup has input item, information is inputted in the input item and is submitted.
Further, described device further include:
Detection unit, for detecting the Parameters variation of target pages, parameter after being changed;
Back propagation unit returns parameter after the variation if meeting default passback condition for parameter after the variation Pass to page up.
The third aspect, the application provide a kind of electronic equipment, comprising:
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, to realize described in the application first aspect Method for page jump.
Fourth aspect, the application provide a kind of storage medium, are stored with computer program in the storage medium, work as the page When jumping at least one processor execution computer program of device, page skip device executes the application first aspect institute The method for page jump stated.
From the above technical scheme, the embodiment of the present application provides a kind of method for page jump, device, electronic equipment and deposits Storage media, in application program launching, acquisition jumps Policy Updates parameter, jumps rule to local according to Policy Updates parameter is jumped It is then updated, jumps rule using updated, parse routing jump information from the URL link that jump instruction carries, Wherein, clicking operation of the jump instruction in response to user before application program launching or after starting generates, finally according to routing Jump information obtains target pages data, to jump to target pages, so as to by jumping rule more in server-side modification New parameter is realized to the local automatic modification for jumping rule, it is not necessary that a large amount of page jump files are locally configured in application program, into And the coupling of application program internal code is reduced, and without jumping by the code in modification page jump file come new added pages Or modification jumps mode.Method for page jump method, apparatus, electronic equipment and storage medium provided by the present application, are answered in reduction While coupling with program internal code, any page may be implemented, the flexible of any scene jumps.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without any creative labor, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is one embodiment flow chart of the application method for page jump;
Fig. 2 is another embodiment flow chart of the application method for page jump;
Fig. 3 is one embodiment schematic diagram of the application page skip device;
Fig. 4 is another embodiment schematic diagram of the application page skip device;
Fig. 5 is the hardware structural diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
Fig. 1 is one embodiment of the application method for page jump, and this method is applied to client.As shown in Figure 1, the party Method may include:
Step 110, when application program launching, acquisition jumps Policy Updates parameter.
It has been locally stored in client and has jumped rule, provide a routing for the page jump for client application Rule.Wherein, the page jump scene in client is various, such as jumping, applying journey from one inside an application program Sequence jumps to webView, jumps to application program etc. from webView, external messaging or notification message.
It jumps Policy Updates parameter and is stored in server-side, for the local rule that jumps to be modified and updated.Using journey When sequence starts every time, client jumps Policy Updates parameter first for acquisition to the transmission of current page server and requests, currently Page server returns to the newest Policy Updates parameter that jumps to client, so as to by server-side according to the first request Modification jumps Policy Updates parameter and realizes to the local automatic modification for jumping rule, it is not necessary that a large amount of pages are locally configured in application program Face jumps file, and then reduces the coupling of application program internal code, and without passing through the code in modification page jump file Carry out new added pages and jumps or modify the mode of jumping.
Wherein, current page server, that is, apps server.Certainly, one is jumped from webView execution Scene, when webView operation, client just obtains and jumps Policy Updates parameter.
It should be noted that referring to while application program launching success or starting when above-mentioned application program launching In enough short time after success.
Step 120, it jumps Policy Updates parameter according to described and jumps rule to local and be updated.
Locally jumping rule includes several Key-Value values, these key-value pairs are mutually nested to carry out forming complicated routing Jump logic.
Jump in Policy Updates parameter includes that original local jumps at least partly Key-Value value in rule, wherein this Ground jumps the corresponding Value value of a certain Key in rule Value value corresponding with the Key in Policy Updates parameter is jumped may not Together.It jumps rule to local according to Policy Updates parameter is jumped and is updated, that is, is each in Policy Updates parameter using jumping The corresponding Value value replacement of Key is local to jump the corresponding Value value of the Key in rule.
In addition, jumping in Policy Updates parameter can also include that original local jumps the Key-Value being not present in rule Value.At this time, it may be necessary to which these new Key-Value values, which are added to local jump in rule, jumps rule more to local to realize Newly.
Step 130, rule is jumped using updated local, URL (the Uniform Resource carried from jump instruction Locator, uniform resource locator) link in parse routing jump information, the jump instruction is being applied in response to user Clicking operation before program starting or after starting generates.
In a kind of scene, provide at least one page jump control on the application user page, client end response in User generates the jump instruction for carrying target pages URL link to the clicking operation of page jump control in the page.
For example, 58 with " the full-time recruitment " of city APP homepage, " part-time ", " renting a house " or log in page other landing approaches " wechat ", " QQ " etc. are page jump control.User clicks " full-time recruitment ", and client end response user, which clicks, generates one The jump instruction for jumping to " full-time recruitment " page, belongs to inside APP and jumps, and user clicks " wechat ", client end response user It clicks and generates the jump instruction for jumping to " wechat " page, belong to jumping between APP.
In another scene, client receives application notification message or external message, in external message text It include the page jump control that can be clicked in appearance, client end response is in user to application notification message or external message text The clicking operation of page jump control in content generates the jump instruction for carrying target pages URL link, and answers described in starting Use program.
For example, client receive 58 with city APP push notification message as " Hi, someone leave a message under your publication.- Click checks-", alternatively, client receives external messaging such as " [58 same city] slow with one's hands nothing!1 yuan is only needed, high-quality second-hand good object is clapped Go home, link stabs this ", user clicks the link in notification message or external messaging, and client end response user, which clicks, generates one 58 jump instructions with city APP specified page are jumped to, and start 58 with city APP.
The URL link of target pages is carried in jump instruction, the URL link is by current page server according to comprising upper State jump Policy Updates parameter jump regular generation.
As a kind of possible implementation, client updates local after jumping rule every time, jumps rule for newest Backup to apps server.
When application program launching, client also needs other than needing to jump Policy Updates parameter to server request The second request that user obtains current page data is sent to current page server.Current page server receives second and asks It asks, a new rule is generated as URL link rule according to the rule that jumps for jumping Policy Updates parameter and being backed up, is used for URL link is generated, regeneration includes the page jump control data of URL link, will finally include page jump control data Page data returns to client.
Above-mentioned URL link rule is used to provide URL link structure composition, forms meaning representated by the character string of each section And definition is for distinguishing the identifier etc. of each section composition.The URL chain of a specific webpage is generated using URL link rule It connects, can be understood as two reversible processes with using local to jump the regular routing jump information that parses from URL link.
As a kind of possible implementation, rule is jumped using the local of update, routing is parsed from URL link and is jumped Transfering the letter breath, that is, split out the character string for being directed toward target pages address from URL link, can specifically include for being directed toward The character string of destination application, for being directed toward the character string of target application module in destination application, it is described for being directed toward The character string of target pages and the character string comprising target pages parameter to be loaded into target application module.
For example, in following URL links:
Https: //m.58.com/bj/shouji/36627248608268x.shtml? isself=1&707&utps= 1381740504000
Including five parts, be followed successively by " https: //m.58.com "/" bj "/" shouji "/ " 36627248608268x.shtml "? " isself=1&707&utps=1381740504000 ", wherein " https: // M.58.com it " is directed toward destination application, " bj " and " shouji " is directed toward the target application module in destination application, " bj " It is directed toward level-one application module, " shouji " is directed toward second level application module under level-one application module, " 36627248608268x.shtml " is directed toward the target pages in target application module, " isself=1&707&utps= 1381740504000 " include the parameters to be loaded into of target pages, identifier such as "/" between each section character string and "? " then For distinguishing and being spaced each section composition.
Step 140, target pages data are obtained according to the routing jump information, to jump to target pages.
Can determine whether destination application is to work as according to routing jump information as a kind of possible implementation Then application program belonging to the preceding page is sent if it is not, then starting destination application first to target pages server For obtaining the third request of the target pages data comprising parameter to be loaded into, target pages server is requested according to third, is returned Target pages data are returned, then destination application load target pages are completed, and jumping to target pages process terminates.If target Application program is application program belonging to current page, then client sends third request to current page server.
In this implementation, target pages service is preset with for the interception strategy that jumps, for carrying out to jumping Filtering and interception.For example, the content of the request received is matched with the default strategy that intercepts, if matching, returns to target Page data abandons the request message if mismatching, alternatively, the client user to access target page server carries out Pretreatment, so that it matches with default interception strategy.For example, in the request content that receives of judgement whether comprising User ID and Password returns to default page data if not including, and can be login page data or enrollment page data, can also be with The page is prompted for error message.It, may setting on the default page that client is shown according to the particular content of default page data There are input item, such as user name input, then the input information of user is submitted to target pages server by client.Page object Face server can judge whether it matches with default interception strategy again according to the information that client is submitted, if it does, then Return to target pages data.
In addition, the case where changing for target pages parameter after jumping successfully, in order to make user to page jump function The experience of energy is more friendly, needs target pages parameter returning to page up.Specifically, detecting page object in step 150 The Parameters variation in face, parameter after being changed;If parameter meets default passback condition after the variation, after the variation Parameter passes back to page up.
Default passback condition can be application development stage developer design for judge whether to need into The condition of row parameter passback.Such as in some shopping class application programs, control is clicked from " commodity details " page and " enters shopping Vehicle " will jump to " shopping cart " page, if user adds the merchandise classification of purchase before the modification of " shopping cart " page, can will close " commodity details " page is returned in the Parameters variation of merchandise classification, when being returned to " commodity details " page, commodity after display modification Commodity details after classification, and then promote user experience.
From the above technical scheme, method for page jump provided in this embodiment is obtained and is jumped in application program launching Turning Policy Updates parameter, root jumps Policy Updates parameter and jumps rule to local and be updated, rule is jumped using updated, Routing jump information is parsed from the URL link that jump instruction carries, wherein jump instruction is in response to user in application program Clicking operation before starting or after starting generates, and finally target pages data is obtained according to routing jump information, to jump to Target pages, so as to jump repairing automatically for rule to local by jumping the realization of Policy Updates parameter in server-side modification Change, it is not necessary that a large amount of page jump files are locally configured in application program, and then reduces the coupling of application program internal code, and nothing The mode of jumping need to be jumped or modified come new added pages by the code in modification page jump file.The page provided by the present application is jumped While reducing the coupling of application program internal code any page may be implemented, the flexible of any scene jumps in shifting method.
Fig. 2 is another embodiment schematic diagram of the application method for page jump, shows the application page jump scheme The interactive process of client and server-side.In the application, client can be the portable terminals such as mobile phone, tablet computer, can also With PC.Client is equipped with types of applications program.
As shown in Fig. 2, the application method for page jump may include:
When client terminal start-up application program, generates to be used to obtain the first request Concurrency for jumping Policy Updates parameter and give and work as Preceding page server, and, it generates and gives current page server for obtaining the second request Concurrency of current page data.When Preceding page server receives the first request and the second request, is returned to the preset Policy Updates parameter that jumps according to the first request Client, and current page data are returned to by client according to the second request.Wherein, current page data include at least one A page jump control includes URL link in the data of page jump control, and URL link is by apps server according to packet Containing it is described jump Policy Updates parameter jump regular generation.
Client jumps rule and is updated according to the Policy Updates parameter that jumps received to local, and based on the received Current page data show current page.
Client end response user in the clicking operation of current page, generate carry target pages URL link jump finger It enables;Rule is jumped using updated local and parses routing jump information from URL link, is generated for obtaining target pages The third request Concurrency of data gives target pages server.
Page server receives third request at present, judges whether third request meets to preset and intercepts strategy, if symbol It closes, then return to default page data to client or intercepts this and jump, if not meeting, return to target pages data to client End.
If client receives target pages data, shows target pages, if receiving default page data, It shows the default page, and receives user in the information of default page input item input, input information is sent to target pages clothes Business device.
Target pages server receives the input information and judges whether it meets default interception strategy, if met, It intercepts this to jump, if do not met, returns to target pages data to client.
Fig. 3 is one embodiment schematic diagram of page skip device provided by the present application.The device can be applied to the dress It sets and can be applied to the plurality of devices such as PC (PC), tablet computer, mobile phone.As shown in figure 4, the page provided in this embodiment Jumping device may include:
Acquiring unit 310, when being used for application program launching, acquisition jumps Policy Updates parameter.In further embodiments, When acquiring unit 310 is also used to the application program launching, current page data are obtained, the current page data include at least One page jump control, includes URL link in the data of the page jump control, and the URL link is taken by current page Business device according to comprising it is described jump Policy Updates parameter jump regular generation.
Policy Updates unit 320 jumps rule and is updated for jumping Policy Updates parameter according to local.Rule Then updating unit 320 jumps that the corresponding Value value replacement of each Key in Policy Updates parameter is local to jump rule especially by using The then corresponding Value value of identical Key locally jumps rule to update.
Resolution unit 330 is solved from the URL link that jump instruction carries for jumping rule using updated local Routing jump information is precipitated, clicking operation of the jump instruction in response to user before application program launching or after starting is raw At.Specifically, resolution unit 330 jumps rule using updated local, split out from the URL link for being directed toward mesh Mark application program character string, for being directed toward the character string of target application module in destination application, for being directed toward the mesh Mark the character string of target pages and the character string comprising target pages parameter to be loaded into application module.
Jump-transfer unit 340, for obtaining target pages data according to the routing jump information, to jump to page object Face.Specifically, jump-transfer unit 340 includes the parameter to be loaded into target pages server or the request of current page server Target pages data receive the target pages data that target pages server or current page server return.Another In a little embodiments, jump-transfer unit 340 is also used to receive target pages server according to the default default page for intercepting policy distribution Data;
If the default page setup has input item, information is inputted in the input item and is submitted.
Fig. 4 is another embodiment schematic diagram of page skip device provided by the present application, which can be applied to PC The plurality of devices such as (PC), tablet computer, mobile phone.As shown in figure 4, the application page skip device can also include:
Information receiving unit 410 includes in the external message for receiving application notification message or external message Page jump control.
Instruction generation unit 420 is generated for the clicking operation in response to user to page jump control in current page Jump instruction.It is also used in response to user to page jump control in the application notification message or the external message Clicking operation generates jump instruction, and starts the application program.
Detection unit 430, for detecting the Parameters variation of target pages, parameter after being changed.
Back propagation unit 440, if meeting default passback condition for parameter after the variation, by parameter after the variation Pass back to page up.
From the above technical scheme, page skip device provided by the embodiments of the present application is obtained in application program launching It takes and jumps Policy Updates parameter, jump rule to local according to Policy Updates parameter is jumped and be updated, use updated jump Turn rule, parses routing jump information from the URL link that jump instruction carries, wherein jump instruction exists in response to user Clicking operation before application program launching or after starting generates, and finally obtains target pages data according to routing jump information, To jump to target pages, so as to jump rule to local by jumping the realization of Policy Updates parameter in server-side modification Automatic modification it is not necessary that a large amount of page jump files are locally configured in application program, and then reduces the coupling of application program internal code, And without jumping or modifying the mode of jumping come new added pages by the code in modification page jump file, journey is applied reducing While sequence internal code couples, any page may be implemented, the flexible of any scene jumps.
Fig. 5 is the hardware structural diagram of electronic equipment provided by the embodiments of the present application.As shown in figure 5, the electronic equipment, It may include: memory 510, for storing program instruction;Processor 520, for calling and executing the journey in the memory Sequence instruction, to realize above-mentioned method for page jump.
In the present embodiment, processor 510 can be connected with memory 520 by bus or other modes.Processor can be General processor, such as central processing unit, digital signal processor, specific integrated circuit, or be configured to implement the present invention One or more integrated circuits of embodiment.Memory may include volatile memory, such as random access memory;Storage Device also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid state hard disk.
In the specific implementation, the present invention also provides a kind of computer storage mediums, wherein the computer storage medium can store There is calculation procedure, when at least one processor of page skip device executes the computer program, page skip device is held Step some or all of in each embodiment of row the application method for page jump.The storage medium can for magnetic disk, CD, Read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English: random Access memory, referred to as: RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the present invention or embodiment The method stated.
It should be appreciated that specification and claims and term " first " in above-mentioned attached drawing in the application, " second ", " third " etc. is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that in this way The data used are interchangeable under appropriate circumstances, for example, can according to the embodiment of the present application illustrate or describe in provide those with Outer sequence is implemented.
Term " module " used herein refers to hardware that is any known or developing later, software, firmware, artificial The combination of intelligence, fuzzy logic or hardware or/and software code, is able to carry out function relevant to the element.
Same and similar part may refer to each other between each embodiment in this specification.Especially for device, electronics For equipment and storage medium embodiment, since it is substantially similar to the method embodiment, so be described relatively simple, correlation Place is referring to the explanation in embodiment of the method.
Invention described above embodiment is not intended to limit the scope of the present invention..

Claims (20)

1. a kind of method for page jump, which is characterized in that the described method includes:
When application program launching, acquisition jumps Policy Updates parameter;
It jumps Policy Updates parameter according to described and jumps rule to local and be updated;
Rule is jumped using updated local, parses routing jump information from the URL link that jump instruction carries, it is described Clicking operation of the jump instruction in response to user before application program launching or after starting generates;
Target pages data are obtained according to the routing jump information, to jump to target pages.
2. the method according to claim 1, wherein the basis, which jumps Policy Updates parameter, jumps rule to local Then it is updated, comprising:
Replace that local to jump the identical Key of rule corresponding using the corresponding Value value of each Key in Policy Updates parameter is jumped Value value.
3. the method according to claim 1, wherein the method also includes:
When the application program launching, current page data are obtained, the current page data include at least one page jump Control, includes URL link in the data of the page jump control, the URL link by current page server according to comprising It is described jump Policy Updates parameter jump regular generation.
4. according to the method described in claim 3, it is characterized in that, the method is also wrapped after the acquisition current page data It includes:
In response to user to the clicking operation of page jump control in current page, jump instruction is generated.
5. the method according to claim 1, wherein before the application program launching, the method also includes:
Application notification message or external message are received, includes page jump control in the external message;
It is raw in response to user to the clicking operation of page jump control in the application notification message or the external message At jump instruction, and start the application program.
6. the method according to claim 1, wherein described jump rule using updated local, from jumping It instructs in the URL link carried and parses routing jump information, comprising:
Rule is jumped using updated local, the character for being directed toward destination application is split out from the URL link String, for being directed toward the character string of target application module in destination application, for being directed toward target in the target application module The character string of the page and character string comprising target pages parameter to be loaded into.
7. according to the method described in claim 6, it is characterized in that, described obtain target pages number according to routing jump information According to, comprising:
Target pages data to target pages server or the request of current page server comprising the parameter to be loaded into, receive The target pages data that target pages server or current page server return.
8. the method according to the description of claim 7 is characterized in that the target for receiving target pages server and returning Before page data, the method also includes:
Target pages server is received according to the default default page data for intercepting policy distribution;
If the default page setup has input item, information is inputted in the input item and is submitted.
9. the method is also wrapped the method according to claim 1, wherein described jump to after target pages It includes:
Detect the Parameters variation of target pages, parameter after being changed;
If parameter meets default passback condition after the variation, parameter after the variation is passed back into page up.
10. a kind of page skip device, which is characterized in that described device includes:
Acquiring unit, when being used for application program launching, acquisition jumps Policy Updates parameter;
Policy Updates unit jumps rule and is updated for jumping Policy Updates parameter according to local;
Resolution unit parses routing from the URL link that jump instruction carries for jumping rule using updated local Jump information, clicking operation of the jump instruction in response to user before application program launching or after starting generate;
Jump-transfer unit, for obtaining target pages data according to the routing jump information, to jump to target pages.
11. device according to claim 10, which is characterized in that the Policy Updates unit is specifically used for:
Replace that local to jump the identical Key of rule corresponding using the corresponding Value value of each Key in Policy Updates parameter is jumped Value value.
12. device according to claim 10, which is characterized in that the acquiring unit is also used to:
When the application program launching, current page data are obtained, the current page data include at least one page jump Control, includes URL link in the data of the page jump control, the URL link by current page server according to comprising It is described jump Policy Updates parameter jump regular generation.
13. device according to claim 12, which is characterized in that described device further include:
Instruction generation unit, for the clicking operation in response to user to page jump control in current page, generation jumps finger It enables.
14. device according to claim 10, which is characterized in that described device further include:
Information receiving unit includes that the page is jumped for receiving application notification message or external message, in the external message Turn control;
Described instruction generation unit is also used in response to user to page in the application notification message or the external message Face jumps the clicking operation of control, generates jump instruction, and start the application program.
15. device according to claim 10, which is characterized in that the resolution unit is specifically used for:
Rule is jumped using updated local, the character for being directed toward destination application is split out from the URL link String, for being directed toward the character string of target application module in destination application, for being directed toward target in the target application module The character string of the page and character string comprising target pages parameter to be loaded into.
16. device according to claim 15, which is characterized in that the jump-transfer unit is specifically used for:
Target pages data to target pages server or the request of current page server comprising the parameter to be loaded into, receive The target pages data that target pages server or current page server return.
17. device according to claim 16, which is characterized in that the jump-transfer unit is also used to:
Target pages server is received according to the default default page data for intercepting policy distribution;
If the default page setup has input item, information is inputted in the input item and is submitted.
18. device according to claim 10, which is characterized in that described device further include:
Detection unit, for detecting the Parameters variation of target pages, parameter after being changed;
Back propagation unit passes back to parameter after the variation if meeting default passback condition for parameter after the variation Page up.
19. a kind of electronic equipment characterized by comprising
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, to realize that claim 1-9 is described in any item Method for page jump.
20. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, work as page skip device At least one processor execute the computer program when, page skip device perform claim require 1-9 it is described in any item Method for page jump.
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 true CN110221872A (en) 2019-09-10
CN110221872B 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)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110716786A (en) * 2019-10-16 2020-01-21 腾讯科技(深圳)有限公司 Page display method, system and storage medium
CN110795181A (en) * 2019-09-18 2020-02-14 北京你财富计算机科技有限公司 Application program interface display method and device based on skip protocol and electronic equipment
CN111046419A (en) * 2019-12-02 2020-04-21 紫光云技术有限公司 Method and device for realizing Web page jump native app and terminal equipment
CN111125604A (en) * 2019-12-30 2020-05-08 华人运通(上海)云计算科技有限公司 Page management method and device, terminal equipment and storage medium
CN111428163A (en) * 2020-03-20 2020-07-17 吉林亿联银行股份有限公司 Page access method and device
CN111611507A (en) * 2020-05-27 2020-09-01 掌阅科技股份有限公司 Modularization-based in-application page jump method and computing device
CN111625736A (en) * 2020-05-25 2020-09-04 厦门美图之家科技有限公司 Link skip control method and related device
CN111680247A (en) * 2020-04-28 2020-09-18 平安国际智慧城市科技股份有限公司 Local calling method, device, equipment and storage medium of webpage character string
CN111723313A (en) * 2020-06-23 2020-09-29 中国平安财产保险股份有限公司 Page jump processing method, device, equipment and storage medium
CN111753229A (en) * 2020-06-10 2020-10-09 支付宝(杭州)信息技术有限公司 Page configuration method, device and equipment
CN111767071A (en) * 2020-07-02 2020-10-13 湖南快乐阳光互动娱乐传媒有限公司 Data display adjustment method and device and electronic equipment
CN112256564A (en) * 2020-09-23 2021-01-22 北京达佳互联信息技术有限公司 Application program running method and device and electronic equipment
CN112256562A (en) * 2020-09-22 2021-01-22 北京达佳互联信息技术有限公司 Page jump testing method, device, equipment and storage medium
CN112417337A (en) * 2020-11-27 2021-02-26 贝壳技术有限公司 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
CN113064583A (en) * 2021-04-14 2021-07-02 深圳市活力天汇科技股份有限公司 Multi-level page routing skip method and device, computer equipment and storage medium
CN113254753A (en) * 2021-07-06 2021-08-13 北京达佳互联信息技术有限公司 Page rollback method, device, electronic equipment and storage medium
CN113434233A (en) * 2021-06-28 2021-09-24 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN113434230A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Jump control method and device for H5 page, storage medium and electronic device
CN113608726A (en) * 2021-07-30 2021-11-05 三一专用汽车有限责任公司 Code generation method and device, electronic equipment and storage medium
CN113641940A (en) * 2021-10-13 2021-11-12 北京新氧科技有限公司 Page jump method, device, system, equipment and storage medium
CN113961859A (en) * 2021-10-22 2022-01-21 北京自如信息科技有限公司 APP webpage skipping method and device, electronic equipment and storage equipment
CN114189718A (en) * 2021-11-23 2022-03-15 贵阳朗玛视讯科技有限公司 Method and device for optimizing IPTV (Internet protocol television) starting
CN114296969A (en) * 2021-12-31 2022-04-08 北京金堤科技有限公司 Page calling method and device, electronic equipment and storage medium
CN114510666A (en) * 2022-02-23 2022-05-17 平安普惠企业管理有限公司 Page jump method, device, equipment and storage medium
CN114553477A (en) * 2022-01-12 2022-05-27 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN115065945A (en) * 2022-06-28 2022-09-16 飞鸟鱼信息科技有限公司 Short message link generation method and device, electronic equipment and storage medium
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN116149757A (en) * 2023-04-14 2023-05-23 深圳复临科技有限公司 Plug-in virtual route realization method, device, computer equipment and storage medium
CN116233217A (en) * 2023-05-08 2023-06-06 成都赛力斯科技有限公司 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
WO2017088703A1 (en) * 2015-11-27 2017-06-01 阿里巴巴集团控股有限公司 Page jumping method and apparatus
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
CN108153768A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Method for page jump, data processing method, device and page jump control system
CN108769832A (en) * 2018-03-16 2018-11-06 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set-top box
CN108829477A (en) * 2018-05-31 2018-11-16 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
WO2017088703A1 (en) * 2015-11-27 2017-06-01 阿里巴巴集团控股有限公司 Page jumping method and apparatus
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
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
CN108829477A (en) * 2018-05-31 2018-11-16 康键信息技术(深圳)有限公司 Interface jump method, device, computer equipment and storage medium
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页面跳转和参数传递", 《医疗卫生装备》 *

Cited By (43)

* 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
CN110716786A (en) * 2019-10-16 2020-01-21 腾讯科技(深圳)有限公司 Page display method, system and storage medium
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
CN111125604A (en) * 2019-12-30 2020-05-08 华人运通(上海)云计算科技有限公司 Page management method and device, terminal equipment and storage medium
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
CN111680247A (en) * 2020-04-28 2020-09-18 平安国际智慧城市科技股份有限公司 Local calling method, device, equipment and storage medium of webpage character string
CN111680247B (en) * 2020-04-28 2024-04-05 深圳赛安特技术服务有限公司 Local calling method, device and equipment of webpage character strings and storage medium
CN111625736A (en) * 2020-05-25 2020-09-04 厦门美图之家科技有限公司 Link skip control method and related device
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
CN111753229A (en) * 2020-06-10 2020-10-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
CN112256564B (en) * 2020-09-23 2024-07-30 北京达佳互联信息技术有限公司 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
CN112417337A (en) * 2020-11-27 2021-02-26 贝壳技术有限公司 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
CN113064583A (en) * 2021-04-14 2021-07-02 深圳市活力天汇科技股份有限公司 Multi-level page routing skip method and device, computer 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
CN113434233A (en) * 2021-06-28 2021-09-24 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN113434233B (en) * 2021-06-28 2023-10-24 青岛海尔科技有限公司 Interface jump method and device, storage medium and electronic device
CN113254753A (en) * 2021-07-06 2021-08-13 北京达佳互联信息技术有限公司 Page rollback method, device, electronic equipment and storage medium
CN113608726A (en) * 2021-07-30 2021-11-05 三一专用汽车有限责任公司 Code generation method and device, electronic equipment and storage medium
CN113608726B (en) * 2021-07-30 2023-08-11 三一专用汽车有限责任公司 Code generation method, device, electronic equipment and storage medium
CN113641940A (en) * 2021-10-13 2021-11-12 北京新氧科技有限公司 Page jump method, device, system, equipment and storage medium
CN113961859A (en) * 2021-10-22 2022-01-21 北京自如信息科技有限公司 APP webpage skipping method and device, electronic equipment and storage equipment
CN114189718A (en) * 2021-11-23 2022-03-15 贵阳朗玛视讯科技有限公司 Method and device for optimizing IPTV (Internet protocol television) starting
CN114296969A (en) * 2021-12-31 2022-04-08 北京金堤科技有限公司 Page calling method and device, electronic equipment and storage medium
CN114553477A (en) * 2022-01-12 2022-05-27 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN114553477B (en) * 2022-01-12 2024-03-22 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN114510666A (en) * 2022-02-23 2022-05-17 平安普惠企业管理有限公司 Page jump method, device, equipment and storage medium
CN115065945A (en) * 2022-06-28 2022-09-16 飞鸟鱼信息科技有限公司 Short message link generation method and device, electronic equipment and storage medium
CN115065945B (en) * 2022-06-28 2023-08-29 飞鸟鱼信息科技有限公司 Short message link generation method and device, electronic equipment and storage medium
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration 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
CN116149757A (en) * 2023-04-14 2023-05-23 深圳复临科技有限公司 Plug-in virtual route realization method, device, computer equipment and storage medium
CN116233217A (en) * 2023-05-08 2023-06-06 成都赛力斯科技有限公司 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

Also Published As

Publication number Publication date
CN110221872B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN110221872A (en) Method for page jump, device, electronic equipment and storage medium
CN112000348B (en) Control method, device and computer equipment for service gray level release
Subramanian et al. Hands-On RESTful API Design Patterns and Best Practices: Design, develop, and deploy highly adaptable, scalable, and secure RESTful web APIs
US7937456B2 (en) Configuration profiling for remote clients
CN102597993B (en) Managing application state information by means of uniform resource identifier (URI)
US8381181B2 (en) Updating a workflow when a user reaches an impasse in the workflow
US20130191435A1 (en) Client-Side Minimal Download and Simulated Page Navigation Features
CN108415710B (en) The method and system of API is issued, called in Intelligent dialogue development platform
CN104536981A (en) Browser safety achieving method, browser client-side and device
US11843674B2 (en) Virtual workspace experience visualization and optimization
CN110771126A (en) Matching and attribution of user equipment events
CN110858172A (en) Automatic test code generation method and device
CN104572968A (en) Page updating method and device
CN111737449B (en) Method and device for determining similar problems, storage medium and electronic device
CN105339968A (en) Social network enhanced content items responsive to search queries
CN113641591A (en) Test case generation method and device and test method and device
CN109491779A (en) A kind of batch is declared dutiable goods method and apparatus
CN106227541A (en) A kind of program updates download process method and mobile terminal
Zanon Building Serverless Web Applications
US20130111343A1 (en) Load balancing of user interface script execution
CN109816453A (en) A kind of detection method and device for promoting resource link
CN104361094A (en) Storage method and device for file in search result, and browser client
Bartlett Building Scalable PHP Web Applications Using the Cloud: A Simple Guide to Programming and Administering Cloud-Based Applications
Bojinov RESTful Web API Design with Node. js
CN111047444A (en) Data transaction method and device based on block chain network

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