CN111723313A - Page jump processing method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN111723313A
CN111723313A CN202010581271.6A CN202010581271A CN111723313A CN 111723313 A CN111723313 A CN 111723313A CN 202010581271 A CN202010581271 A CN 202010581271A CN 111723313 A CN111723313 A CN 111723313A
Authority
CN
China
Prior art keywords
entry
page jump
application program
identity information
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010581271.6A
Other languages
Chinese (zh)
Inventor
胡纪云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010581271.6A priority Critical patent/CN111723313A/en
Publication of CN111723313A publication Critical patent/CN111723313A/en
Pending legal-status Critical Current

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of transaction process optimization, and discloses a processing method, a device, equipment and a storage medium for page jump, which are used for solving the problems of complex operation and low development efficiency caused by the need of modifying codes of a functional module and re-publishing application when an access entry of the functional module integrated by an APP is changed in the prior art. The method comprises the following steps: receiving a page jump request sent by an application program, wherein the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program; acquiring an entry link carried in a page jump request, and reading a preset entry identifier from the entry link; reading user identity information of a current login application program; inquiring a preset dictionary table to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information; the URL address is returned to the application.

Description

Page jump processing method, device, equipment and storage medium
Technical Field
The present invention relates to the technical field of transaction process optimization, and in particular, to a method, an apparatus, a device, and a storage medium for processing a page jump.
Background
In current APP development, some function modules needed by the APP are generally integrated into the APP in a Software Development Kit (SDK) form, so that the time cost of developers can be greatly saved, and the development efficiency is improved.
The SDK is integrated to need the water conservancy diversion after the APP, and the water conservancy diversion mode is for adding a plurality of entries (like characters, icons that show on the page etc.) in the APP page to for the entry link that every entry configuration corresponds, through the entry link, the APP can jump to corresponding function module page. Because the background generally needs to record the entry from which the user enters, the entry link of each entry is different and more complex, each entry corresponds to a different page of the function module, and even if the user enters from the same entry, the page seen by each user is different according to the authority of different users.
Because all parties need to release the new version, the operation is complex, and great risks are caused, such as insufficient test, failure in version release and deployment, unavailable service and the like, once the risk condition occurs, the version needs to be released again for rollback, and the development efficiency is greatly reduced.
Disclosure of Invention
The invention mainly aims to provide a page jump processing method, a page jump processing device, page jump equipment and a page jump storage medium, and aims to solve the problems of complex operation and low development efficiency caused by the need of modifying codes of a functional module and re-versioning application when an access entry of the functional module integrated by an APP is changed in the prior art.
The first aspect of the present invention provides a method for processing page jump, where the method for processing page jump includes:
receiving a page jump request sent by an application program, wherein the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program;
acquiring an entry link carried in the page jump request, and reading a preset entry identifier from the entry link, wherein the entry identifier is used for identifying only one page jump entry;
reading the identity information of the user currently logging in the application program;
inquiring a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information;
and returning the URL address to the application program so that the application program jumps to a corresponding page of the preset functional module according to the URL address.
Optionally, in a first implementation manner of the first aspect of the present invention, before the step of receiving a page jump request sent by an application program, where the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset function module integrated in the application program, the method further includes:
when the fact that a user logs in the application program is detected, an authentication token is obtained from a cache of the application program, wherein the token is used for indicating that the current user passes identity authentication;
sending a user identity information acquisition request to the application program, wherein the token is carried in the user identity information acquisition request;
and receiving user identity information returned by the application program, and storing the received user identity information, wherein the user identity information corresponds to the token.
Optionally, in a second implementation manner of the first aspect of the present invention, when it is detected that a user logs in the application program, obtaining an authentication token from a cache of the application program, where the token is used to indicate that the current user has passed the identity authentication step, the method further includes:
receiving a setting instruction, and setting an entrance identifier, a member level identifier and a corresponding URL (uniform resource locator) address according to the setting instruction, wherein the member level identifier corresponds to the user identity information and is used for representing the member level of the user;
generating a dictionary table according to the set entrance identifier, the member level identifier and the URL address;
and storing the generated dictionary table.
Optionally, in a third implementation manner of the first aspect of the present invention, the step of generating a dictionary table according to the set entry identifier, the member level identifier, and the URL address includes:
generating jump address data according to the set member level identification and the URL address, wherein the jump address data comprises at least one first key value pair, a key in the first key value pair is the member level identification, and a key value in the first key value pair is the URL address corresponding to the member level identification;
and generating a dictionary table according to the jump address data and the set entry identifier, wherein the dictionary table comprises at least one second key-value pair, the key of the second key-value pair is the entry identifier, and the key of the second key-value pair is the jump address data.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the step of querying a preset dictionary table according to the entry identifier and the user identity information to obtain a URL address corresponding to the entry identifier and the user identity information includes:
inquiring a preset dictionary table according to the entry identifier to obtain jump address data corresponding to the entry identifier;
acquiring a member level identifier corresponding to the user identity information;
and inquiring the jump address data according to the member level identification to obtain a target key value pair containing the member level identification, and taking a key value of the target key value pair as a URL (uniform resource locator) address corresponding to the entrance identification and the user identity information.
Optionally, in a fifth implementation manner of the first aspect of the present invention, after the step of returning the URL address to the application program so that the application program jumps to a corresponding page of the preset function module according to the URL address, the method further includes:
maintaining a page through a preset dictionary table, and receiving a modification instruction based on the dictionary table;
and modifying at least one of the entry identifier, the user identity information and the URL address stored in the dictionary table according to the modification instruction.
The second aspect of the present invention provides a page jump processing apparatus, where the page jump processing apparatus includes:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a page jump request sent by an application program, the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program;
a first obtaining module, configured to obtain an entry link carried in the page jump request, and read a preset entry identifier from the entry link, where the entry identifier is used to identify only one page jump entry;
the reading module is used for reading the identity information of the user currently logging in the application program;
the query module is used for querying a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information;
and the return module is used for returning the URL address to the application program so that the application program jumps to a corresponding page of the preset function module according to the URL address.
Optionally, in a first implementation manner of the second aspect of the present invention, the processing apparatus for page jump further includes:
the second obtaining module is used for obtaining an authentication token from a cache of the application program when the fact that the user logs in the application program is detected, wherein the token is used for indicating that the current user passes identity authentication;
the request module is used for sending a user identity information acquisition request to the application program, wherein the token is carried in the user identity information acquisition request;
and the first storage module is used for receiving the user identity information returned by the application program and storing the received user identity information, wherein the user identity information corresponds to the token.
Optionally, in a second implementation manner of the second aspect of the present invention, the page jump processing apparatus further includes:
the setting module is used for receiving a setting instruction, and setting an entrance identifier, a member level identifier and a corresponding URL (uniform resource locator) address according to the setting instruction, wherein the member level identifier corresponds to the user identity information and is used for representing the member level of the user;
the generating module is used for generating a dictionary table according to the set entrance identifier, the member level identifier and the URL address;
and the second storage module is used for storing the generated dictionary table.
Optionally, in a third implementation manner of the second aspect of the present invention, the generating module is further configured to:
generating jump address data according to the set member level identification and the URL address, wherein the jump address data comprises at least one first key value pair, a key in the first key value pair is the member level identification, and a key value in the first key value pair is the URL address corresponding to the member level identification;
and generating a dictionary table according to the jump address data and the set entry identifier, wherein the dictionary table comprises at least one second key-value pair, the key of the second key-value pair is the entry identifier, and the key of the second key-value pair is the jump address data.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the query module is further configured to:
inquiring a preset dictionary table according to the entry identifier to obtain jump address data corresponding to the entry identifier;
acquiring a member level identifier corresponding to the user identity information;
and inquiring the jump address data according to the member level identification to obtain a target key value pair containing the member level identification, and taking a key value of the target key value pair as a URL (uniform resource locator) address corresponding to the entrance identification and the user identity information.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the page jump processing apparatus further includes:
the second receiving module is used for maintaining a page through a preset dictionary table and receiving a modification instruction based on the dictionary table;
and the modification module is used for modifying at least one of the entry identifier, the user identity information and the URL address stored in the dictionary table according to the modification instruction.
A third aspect of the present invention provides a page jump processing device, where the page jump processing device includes: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor calls the instruction in the memory to enable the page jump processing device to execute the page jump processing method.
A fourth aspect of the present invention provides a storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned page jump processing method.
The method comprises the steps of receiving a page jump request sent by an application program, wherein the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program; acquiring an entry link carried in the page jump request, and reading a preset entry identifier from the entry link, wherein the entry identifier is used for identifying only one page jump entry; reading the identity information of the user currently logging in the application program; inquiring a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information; and returning the URL address to the application program so that the application program jumps to a corresponding page of the preset functional module according to the URL address. In the method, the corresponding relation among the entry identification, the user identity information and the URL address is stored by setting a dictionary table in the background of the preset functional module, when the access entry of the APP integrated functional module is changed, only the corresponding configuration in the dictionary table and the entry link of the application program end need to be modified, the preset functional module and the application program do not need to release a new version, and the operation convenience and the development efficiency are greatly improved.
Drawings
FIG. 1 is a flowchart illustrating a page jump processing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a page jump processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a processing device for page jump according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a processing method, a processing device, processing equipment and a storage medium for page jump, and solves the problems of complex operation and low development efficiency caused by the need of modifying codes of a functional module and re-publishing application when an access entry of the APP integrated functional module is changed in the prior art.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of an embodiment of the page jump processing method of the present invention is described below.
Referring to fig. 1, fig. 1 is a schematic flowchart of an embodiment of a page jump processing method according to the present invention, where the method includes:
step 101, receiving a page jump request sent by an application program, wherein the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program;
it is understood that the execution subject of the present invention may be a processing device for page jump, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
In this embodiment, the server specifically refers to a background server with a preset function module, and the preset function module specifically refers to a module with some specific software functions, such as a push module, a mobile payment module, an image recognition module, a voice recognition module, and the like. Under the large trend of internet opening, the function module can be made into a software development kit SDK, and the application program integrates the SDK, i.e. the software function corresponding to the function module can be used. After the application program integrates the preset function module, flow guiding is needed, that is, flow is imported, therefore, a plurality of page jump entries are generally set in the application program according to business requirements, and a user can access a corresponding page of the preset function module through the set page jump entries.
During specific implementation, firstly, a preset function module is integrated in an application program, and a page jump entry based on the preset function module is launched, wherein the page jump entry can be a line of characters, an icon, a banner advertisement (banner) image and the like, and can be flexibly set during specific implementation; and clicking a page jump inlet by a user to trigger a page jump request, sending the page jump request to the background server of the preset functional module by the application program, and receiving the page jump request sent by the application program by the background server of the preset functional module.
102, acquiring an entry link carried in a page jump request, and reading a preset entry identifier from the entry link, wherein the entry identifier is used for identifying only one page jump entry;
in the step, a background server of a preset function module acquires an entry link carried in a page jump request, and reads a preset entry identifier from the entry link, wherein the entry identifier is used for identifying only one page jump entry.
Specifically, for convenience of management, the entry links of different page jump entries may be set to a uniform fixed form, for example: native:// xxxxyyyy? source AA, where source is the portal identification, each portal uses links in this format, except that the source value for each portal is different.
Step 103, reading the user identity information of the current login application program;
in this step, the background server of the preset function module reads the user identity information of the current login application program, where the user identity information is used to uniquely identify the user identity, such as a user name and a user number.
Further, before the step 101, the method may further include: when the user is detected to log in the application program, acquiring an authentication token from a cache of the application program, wherein the token is used for indicating that the current user passes identity authentication; sending a user identity information acquisition request to an application program, wherein the token is carried in the user identity information acquisition request; and receiving user identity information returned by the application program, and storing the received user identity information, wherein the user identity information corresponds to the token.
In this embodiment, the background server of the preset function module may obtain and store the identity information of the user when the user logs in the application program. Specifically, when a background server of a preset function module detects that a user logs in an application program, an authentication token can be obtained from a cache of the application program, and the token is issued by a server of the application program and used for indicating that the current user passes identity authentication; then, a background server of the preset function module sends a user identity information acquisition request to an application program, the user identity information acquisition request carries a token, after receiving the user identity information acquisition request, the application program firstly verifies whether the token is valid, if the token is valid, the current user logs in, and at the moment, the user identity information corresponding to the token is returned to the background server of the preset function module; and the background server of the preset function module receives the user identity information returned by the application program and stores the received user identity information. By acquiring and storing the user identity information when the user logs in the application program, a precondition guarantee is provided for subsequently inquiring the dictionary table according to the user identity information.
Step 104, inquiring a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information;
in the step, a dictionary table is preset in a background server of the preset function module. After the background server of the preset function module obtains the entry identifier and the user identity information, a preset dictionary table is queried according to the entry identifier and the user identity information, and then a Uniform Resource Locator (URL) address corresponding to the entry identifier and the user identity information can be obtained.
And 105, returning the URL address to the application program, so that the application program jumps to a corresponding page of the preset function module according to the URL address.
In the step, the background server of the preset function module returns the queried URL address to the application program, and the application program can jump to the corresponding page of the preset function module according to the URL address.
In this embodiment, a server receives a page jump request sent by an application program, where the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program; acquiring an entry link carried in a page jump request, and reading a preset entry identifier from the entry link, wherein the entry identifier is used for identifying only one page jump entry; reading user identity information of a current login application program; inquiring a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information; and returning the URL address to the application program so that the application program jumps to a corresponding page of the preset function module according to the URL address. This kind of mode is through setting up a dictionary table in the backstage of presetting the function module and keeping the entry identification, the corresponding relation between user identity information and the URL address, when the visit entry of APP integrated function module changes, only need to modify corresponding configuration in this dictionary table and the entry of application end and link, and need not this function module of presetting and application release new version, the simple operation nature and the development efficiency improve greatly, thereby this embodiment has solved when the visit entry of APP integrated function module changes, need to modify this function module code and the problem that complicated operation, development efficiency are low that the renewed version application leads to.
Further, based on the first embodiment of the processing method of page jump in the present invention, a second embodiment of the processing method of page jump in the present invention is proposed.
In this embodiment, before the step of obtaining the authentication token from the cache of the application program when the user is detected to log in the application program, where the token is used to indicate that the current user has passed the identity authentication, the method may further include: receiving a setting instruction, and setting an entrance identifier, a member level identifier and a corresponding URL (uniform resource locator) address according to the setting instruction, wherein the member level identifier corresponds to the user identity information and is used for representing the member level of the user; generating a dictionary table according to the set entrance identifier, the member level identifier and the URL address; and saving the generated dictionary table.
In this embodiment, the background server of the preset function module may first receive a setting instruction triggered by a developer, and then set an entry identifier, a member level identifier, and a corresponding URL address according to the setting instruction, where the member level identifier corresponds to user identity information and is used to represent a member level of a user, such as a gold brand member, a silver brand member, a bronze brand member, a non-member, and the like; and then, the server generates a dictionary table according to the set entrance identifier, the member level identifier and the URL address, and stores the generated dictionary table.
It should be noted that, in the actual service, the membership grade is different, and the pages to which the corresponding function modules jump are generally different, so it is necessary to set the corresponding relationship between the membership grade identifier and the URL address, thereby satisfying the service requirement. Because the dictionary table records the corresponding relation among the entrance identifier, the member level identifier and the URL address, and the member level identifier corresponds to the user identity information, the subsequent server can obtain the corresponding jump URL address by inquiring the dictionary table after acquiring the entrance identifier and the user identity information.
Further, the step of generating a dictionary table according to the set entry identifier, member level identifier and URL address may include: generating jump address data according to the set member level identification and the URL address, wherein the jump address data comprises at least one first key value pair, a key in the first key value pair is the member level identification, and a key value in the first key value pair is the URL address corresponding to the member level identification; and generating a dictionary table according to the jump address data and the set entry identifier, wherein the dictionary table comprises at least one second key-value pair, the key of the second key-value pair is the entry identifier, and the key value of the second key-value pair is the jump address data.
In this embodiment, the server may generate the dictionary table in the form of key-value pairs. Specifically, the server first generates jump address data according to the set member level identifier and the URL address, where the jump address data includes at least one first key value pair, a key in the first key value pair is the member level identifier, and a key value in the first key value pair is the URL address corresponding to the member level identifier, and further, the jump address data may be in a json format, for example:
Figure BDA0002553277000000101
the jump address data in the json format comprises 3 key value pairs, wherein the key values are 'level _ gold', 'level _ silver' and 'level _ hopper', which respectively represent gold plate members, silver plate members and bronze plate members, and the key values are 'https:// AAAA', 'https:// BBBB' and 'https:// CCCCCCCCC', which respectively represent different URL addresses.
And then, the background server of the preset function module generates a dictionary table according to the jump address data and the set entry identifier, wherein the dictionary table comprises at least one second key-value pair, the key of the second key-value pair is the entry identifier, and the key value of the second key-value pair is the jump address data.
The jumping address data is set in the form of key value pairs, and the entry identifier and the jumping address data generate the dictionary table in the form of key value pairs, so that not only are developers convenient to read and write the dictionary table, but also the server is convenient to analyze the set dictionary table.
Further, the step 104 may specifically include: inquiring a preset dictionary table according to the entry identifier to obtain jump address data corresponding to the entry identifier; acquiring a member level identifier corresponding to the user identity information; and inquiring the jump address data according to the member level identification to obtain a target key value pair containing the member level identification, and taking the key value of the target key value pair as a URL address corresponding to the entrance identification and the user identity information.
In this embodiment, after obtaining the entry identifier and the user identity information, the background server of the preset function module may first query the dictionary table in the form of the key value pair according to the entry identifier, thereby obtaining jump address data corresponding to the entry identifier, then query the preset database according to the user identity information, obtain a member level identifier corresponding to the user identity information, then query the jump address data according to the member level identifier, obtain a target key value pair including the member level identifier, and then use the key value of the target key value pair as a URL address corresponding to the entry identifier and the user identity information.
Taking the jump address data in the json format as an example, when the member level identifier is "level _ gold", a target key value pair "level _ gold": https:// AAAAAA "is queried, and at this time, a background server of the preset function module takes the key value of the target key value pair, namely https:// aaaa" as a URL address corresponding to the entry identifier and the user identity information.
The method comprises the steps of firstly inquiring a dictionary table according to the entrance identifier to obtain jump address data, and then inquiring the jump address data according to the member level identifier corresponding to the user identity information to obtain the URL address, so that the URL address can be efficiently inquired.
Further, a third embodiment of the page jump processing method of the present invention is proposed based on the first and second embodiments of the page jump processing method of the present invention.
In this embodiment, after the step 105, the method may further include: maintaining a page through a preset dictionary table, and receiving a modification instruction based on the dictionary table; and according to the modification instruction, modifying at least one of the entry identifier, the user identity information and the URL address stored in the dictionary table.
In this embodiment, a developer may trigger a modification instruction based on a preset dictionary table maintenance page, and a background server of the preset function module receives the modification instruction based on the dictionary table through the preset dictionary table maintenance page, and then modifies at least one of an entry identifier, user identity information, and a URL address stored in the dictionary table according to the modification instruction. It should be noted that, after the entry identifier in the dictionary table is modified, the application program also needs to configure the corresponding entry identifier, for example, if an entry identifier is added to the dictionary table, the application program also needs to newly configure a page jump entry and set a corresponding entry link for the page jump entry, where the entry link needs to include the newly added entry identifier.
Through the mode, developers only need to modify the relevant configuration in the dictionary table, the page jump entry of the preset functional module can be modified, the operation is simple and convenient, the APP side and the release of the new version of the preset functional module are not needed, labor and time cost are saved, the abnormal condition can be timely modified or rolled back, and risks caused by service change are greatly reduced.
The embodiment of the invention also provides a processing device for page jump.
Referring to fig. 2, fig. 2 is a block diagram illustrating a page jump processing apparatus according to an embodiment of the present invention. In this embodiment, the page jump processing apparatus includes:
a first receiving module 201, configured to receive a page jump request sent by an application program, where the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset function module integrated in the application program;
a first obtaining module 202, configured to obtain an entry link carried in the page jump request, and read a preset entry identifier from the entry link, where the entry identifier is used to identify only one page jump entry;
the reading module 203 is configured to read user identity information currently logged in the application program;
the query module 204 is configured to query a preset dictionary table according to the entry identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entry identifier and the user identity information;
a returning module 205, configured to return the URL address to the application program, so that the application program jumps to a corresponding page of the preset function module according to the URL address.
Optionally, the processing apparatus for page jump further includes:
a second obtaining module 206, configured to, when it is detected that the user logs in the application program, obtain an authentication token from a cache of the application program, where the token is used to indicate that the current user has passed identity authentication;
a request module 207, configured to send a user identity information obtaining request to the application program, where the token is carried in the user identity information obtaining request;
the first saving module 208 is configured to receive user identity information returned by the application program, and save the received user identity information, where the user identity information corresponds to the token.
Optionally, the processing apparatus for page jump further includes:
a setting module 209, configured to receive a setting instruction, and set an entry identifier, a member level identifier, and a corresponding URL address according to the setting instruction, where the member level identifier corresponds to the user identity information and is used to indicate a member level of a user;
a generating module 210, configured to generate a dictionary table according to the set entry identifier, the member level identifier, and the URL address;
and a second saving module 211, configured to save the generated dictionary table.
Optionally, the generating module 210 is further configured to:
generating jump address data according to the set member level identification and the URL address, wherein the jump address data comprises at least one first key value pair, a key in the first key value pair is the member level identification, and a key value in the first key value pair is the URL address corresponding to the member level identification;
and generating a dictionary table according to the jump address data and the set entry identifier, wherein the dictionary table comprises at least one second key-value pair, the key of the second key-value pair is the entry identifier, and the key of the second key-value pair is the jump address data.
Optionally, the query module 204 is further configured to:
inquiring a preset dictionary table according to the entry identifier to obtain jump address data corresponding to the entry identifier;
acquiring a member level identifier corresponding to the user identity information;
and inquiring the jump address data according to the member level identification to obtain a target key value pair containing the member level identification, and taking a key value of the target key value pair as a URL (uniform resource locator) address corresponding to the entrance identification and the user identity information.
Optionally, the processing apparatus for page jump further includes:
a second receiving module 212, configured to receive, through a preset dictionary table maintenance page, a modification instruction based on the dictionary table;
and a modifying module 213, configured to modify at least one of the entry identifier, the user identity information, and the URL address stored in the dictionary table according to the modifying instruction.
The function implementation and beneficial effects of each module in the processing apparatus for page jump correspond to each step in the processing method embodiment for page jump, and are not described herein again.
The above describes in detail a processing apparatus for page jump in the embodiment of the present invention from the perspective of a modular functional entity, and the following describes in detail a processing apparatus for page jump in the embodiment of the present invention from the perspective of hardware processing.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a processing device for page jump according to an embodiment of the present invention. The page jump processing device 300 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 310 (e.g., one or more processors) and a memory 320, one or more storage media 330 (e.g., one or more mass storage devices) storing applications 333 or data 332. Memory 320 and storage media 330 may be, among other things, transient or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the processing device 300 for page jumping. Still further, the processor 310 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the page jump processing device 300.
The page jump processing device 300 may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input-output interfaces 360, and/or one or more operating systems 331, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the page jump based processing device configuration shown in FIG. 3 does not constitute a limitation of page jump based processing devices, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The present invention also provides a storage medium, which may be a non-volatile storage medium or a volatile storage medium, wherein the storage medium stores a page jump processing program, and the page jump processing program implements the steps of the page jump processing method when executed by a processor.
The method and the beneficial effects of the page jump processing program executed on the processor can refer to the embodiments of the page jump processing method of the present invention, and are not described herein again.
It will be appreciated by those skilled in the art that the above-described integrated modules or units, if implemented as software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A processing method of page jump is characterized in that the processing method of page jump comprises the following steps:
receiving a page jump request sent by an application program, wherein the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program;
acquiring an entry link carried in the page jump request, and reading a preset entry identifier from the entry link, wherein the entry identifier is used for identifying only one page jump entry;
reading the identity information of the user currently logging in the application program;
inquiring a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information;
and returning the URL address to the application program so that the application program jumps to a corresponding page of the preset functional module according to the URL address.
2. The method for processing page jump as claimed in claim 1, wherein said receiving a page jump request sent by an application program, said page jump request being triggered based on a preset page jump entry, said preset page jump entry being a page jump entry of a preset functional module integrated in said application program, further comprises, before the step of:
when the fact that a user logs in the application program is detected, an authentication token is obtained from a cache of the application program, wherein the token is used for indicating that the current user passes identity authentication;
sending a user identity information acquisition request to the application program, wherein the token is carried in the user identity information acquisition request;
and receiving user identity information returned by the application program, and storing the received user identity information, wherein the user identity information corresponds to the token.
3. The method for processing page jump as claimed in claim 2, wherein said obtaining an authentication token from the cache of the application program when detecting that the user logs in the application program, said token being used before the step of indicating that the current user has been authenticated, further comprises:
receiving a setting instruction, and setting an entrance identifier, a member level identifier and a corresponding URL (uniform resource locator) address according to the setting instruction, wherein the member level identifier corresponds to the user identity information and is used for representing the member level of the user;
generating a dictionary table according to the set entrance identifier, the member level identifier and the URL address;
and storing the generated dictionary table.
4. The page jump processing method of claim 3, wherein said step of generating a dictionary table based on said entry identifier, said membership grade identifier and said URL address set comprises:
generating jump address data according to the set member level identification and the URL address, wherein the jump address data comprises at least one first key value pair, a key in the first key value pair is the member level identification, and a key value in the first key value pair is the URL address corresponding to the member level identification;
and generating a dictionary table according to the jump address data and the set entry identifier, wherein the dictionary table comprises at least one second key-value pair, the key of the second key-value pair is the entry identifier, and the key of the second key-value pair is the jump address data.
5. The page jump processing method according to claim 4, wherein said step of querying a preset dictionary table according to the entry identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entry identifier and the user identity information comprises:
inquiring a preset dictionary table according to the entry identifier to obtain jump address data corresponding to the entry identifier;
acquiring a member level identifier corresponding to the user identity information;
and inquiring the jump address data according to the member level identification to obtain a target key value pair containing the member level identification, and taking a key value of the target key value pair as a URL (uniform resource locator) address corresponding to the entrance identification and the user identity information.
6. The method for processing page jump according to any one of claims 1-5, wherein after the step of returning the URL address to the application program to make the application program jump to the corresponding page of the preset function module according to the URL address, the method further comprises:
maintaining a page through a preset dictionary table, and receiving a modification instruction based on the dictionary table;
and modifying at least one of the entry identifier, the user identity information and the URL address stored in the dictionary table according to the modification instruction.
7. A page jump processing device, characterized in that the page jump processing device comprises:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a page jump request sent by an application program, the page jump request is triggered based on a preset page jump entry, and the preset page jump entry is a page jump entry of a preset functional module integrated in the application program;
a first obtaining module, configured to obtain an entry link carried in the page jump request, and read a preset entry identifier from the entry link, where the entry identifier is used to identify only one page jump entry;
the reading module is used for reading the identity information of the user currently logging in the application program;
the query module is used for querying a preset dictionary table according to the entrance identifier and the user identity information to obtain a Uniform Resource Locator (URL) address corresponding to the entrance identifier and the user identity information;
and the return module is used for returning the URL address to the application program so that the application program jumps to a corresponding page of the preset function module according to the URL address.
8. The page jump processing apparatus of claim 6, wherein said page jump processing apparatus further comprises:
the second obtaining module is used for obtaining an authentication token from a cache of the application program when the fact that the user logs in the application program is detected, wherein the token is used for indicating that the current user passes identity authentication;
the request module is used for sending a user identity information acquisition request to the application program, wherein the token is carried in the user identity information acquisition request;
and the first storage module is used for receiving the user identity information returned by the application program and storing the received user identity information, wherein the user identity information corresponds to the token.
9. A processing device of page jump, characterized in that the processing device of page jump comprises: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor calls the instruction in the memory to cause the page jump processing device to perform the page jump processing method of any one of claims 1-6.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of processing page jumps according to any of claims 1-6.
CN202010581271.6A 2020-06-23 2020-06-23 Page jump processing method, device, equipment and storage medium Pending CN111723313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010581271.6A CN111723313A (en) 2020-06-23 2020-06-23 Page jump processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010581271.6A CN111723313A (en) 2020-06-23 2020-06-23 Page jump processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111723313A true CN111723313A (en) 2020-09-29

Family

ID=72568412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010581271.6A Pending CN111723313A (en) 2020-06-23 2020-06-23 Page jump processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111723313A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307374A (en) * 2020-10-30 2021-02-02 康键信息技术(深圳)有限公司 Jumping method, device and equipment based on backlog and storage medium
CN112559928A (en) * 2020-12-24 2021-03-26 成都新希望金融信息有限公司 Page processing method and device based on hybrid development, electronic equipment and storage medium
CN112579933A (en) * 2020-12-24 2021-03-30 中国农业银行股份有限公司 Information processing method and device
CN112596845A (en) * 2020-12-29 2021-04-02 百果园技术(新加坡)有限公司 Page switching method, device, server and storage medium
CN112764846A (en) * 2020-12-31 2021-05-07 北京达佳互联信息技术有限公司 Interface display method and device, electronic equipment and storage medium
CN112883361A (en) * 2021-01-29 2021-06-01 平安科技(深圳)有限公司 Function jump method and device of application program, computer equipment and storage medium
CN113312042A (en) * 2021-04-22 2021-08-27 北京搜狗智能科技有限公司 Data processing method and device and electronic equipment
CN113434234A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Page jump method, device, computer readable storage medium and processor
CN113805968A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Application program function execution method and device, computer equipment and storage medium
CN114553477A (en) * 2022-01-12 2022-05-27 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN115190174A (en) * 2022-07-07 2022-10-14 深圳证券通信有限公司 Data processing method and device, computer equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938096A (en) * 2012-07-30 2013-02-20 中国电力科学研究院 Achieving method of power plant registration information application system dynamically configured
CN105447122A (en) * 2015-11-16 2016-03-30 中国人民解放军理工大学 Implementation method for autonomously creating file system based on multi-table association
CN107465718A (en) * 2017-06-20 2017-12-12 晶赞广告(上海)有限公司 Across the ID recognition methods of application and device, storage medium, terminal
CN107872323A (en) * 2017-11-06 2018-04-03 中国科学院信息工程研究所 A kind of password security appraisal procedure and system based on user profile detection
CN108153768A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Method for page jump, data processing method, device and page jump control system
CN108536705A (en) * 2017-03-02 2018-09-14 华为技术有限公司 The coding of object and operation method and database server in Database Systems
CN109409043A (en) * 2018-09-03 2019-03-01 中国平安人寿保险股份有限公司 Login method, terminal device and the medium of application system
CN110221872A (en) * 2019-04-22 2019-09-10 五八有限公司 Method for page jump, device, electronic equipment and storage medium
CN110297672A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 Page dynamic creation method, device, computer equipment and storage medium
US20200067907A1 (en) * 2018-08-21 2020-02-27 HYPR Corp. Federated identity management with decentralized computing platforms
CN110929183A (en) * 2018-08-31 2020-03-27 阿里巴巴集团控股有限公司 Data processing method, device and machine readable medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938096A (en) * 2012-07-30 2013-02-20 中国电力科学研究院 Achieving method of power plant registration information application system dynamically configured
CN105447122A (en) * 2015-11-16 2016-03-30 中国人民解放军理工大学 Implementation method for autonomously creating file system based on multi-table association
CN108153768A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Method for page jump, data processing method, device and page jump control system
CN108536705A (en) * 2017-03-02 2018-09-14 华为技术有限公司 The coding of object and operation method and database server in Database Systems
US20190391978A1 (en) * 2017-03-02 2019-12-26 Huawei Technologies Co., Ltd. Object Encoding and Computation Method in Database System and Database Server
CN107465718A (en) * 2017-06-20 2017-12-12 晶赞广告(上海)有限公司 Across the ID recognition methods of application and device, storage medium, terminal
CN107872323A (en) * 2017-11-06 2018-04-03 中国科学院信息工程研究所 A kind of password security appraisal procedure and system based on user profile detection
US20200067907A1 (en) * 2018-08-21 2020-02-27 HYPR Corp. Federated identity management with decentralized computing platforms
CN110929183A (en) * 2018-08-31 2020-03-27 阿里巴巴集团控股有限公司 Data processing method, device and machine readable medium
CN109409043A (en) * 2018-09-03 2019-03-01 中国平安人寿保险股份有限公司 Login method, terminal device and the medium of application system
CN110221872A (en) * 2019-04-22 2019-09-10 五八有限公司 Method for page jump, device, electronic equipment and storage medium
CN110297672A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 Page dynamic creation method, device, computer equipment and storage medium

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307374A (en) * 2020-10-30 2021-02-02 康键信息技术(深圳)有限公司 Jumping method, device and equipment based on backlog and storage medium
CN112307374B (en) * 2020-10-30 2023-10-20 康键信息技术(深圳)有限公司 To-do-based jump method, device, equipment and storage medium
CN112559928B (en) * 2020-12-24 2023-09-26 成都新希望金融信息有限公司 Page processing method and device based on hybrid development, electronic equipment and storage medium
CN112559928A (en) * 2020-12-24 2021-03-26 成都新希望金融信息有限公司 Page processing method and device based on hybrid development, electronic equipment and storage medium
CN112579933A (en) * 2020-12-24 2021-03-30 中国农业银行股份有限公司 Information processing method and device
CN112579933B (en) * 2020-12-24 2023-12-08 中国农业银行股份有限公司 Information processing method and device
CN112596845A (en) * 2020-12-29 2021-04-02 百果园技术(新加坡)有限公司 Page switching method, device, server and storage medium
CN112764846A (en) * 2020-12-31 2021-05-07 北京达佳互联信息技术有限公司 Interface display method and device, electronic equipment and storage medium
CN112883361B (en) * 2021-01-29 2023-10-27 平安科技(深圳)有限公司 Function jump method and device of application program, computer equipment and storage medium
CN112883361A (en) * 2021-01-29 2021-06-01 平安科技(深圳)有限公司 Function jump method and device of application program, computer equipment and storage medium
CN113312042A (en) * 2021-04-22 2021-08-27 北京搜狗智能科技有限公司 Data processing method and device and electronic equipment
CN113434234B (en) * 2021-06-29 2023-06-09 青岛海尔科技有限公司 Page jump method, device, computer readable storage medium and processor
CN113434234A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Page jump method, device, computer readable storage medium and processor
CN113805968A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Application program function execution method and device, computer 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
CN115190174A (en) * 2022-07-07 2022-10-14 深圳证券通信有限公司 Data processing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111723313A (en) Page jump processing method, device, equipment and storage medium
CN111177005B (en) Service application testing method, device, server and storage medium
US9020949B2 (en) Method and system for centralized issue tracking
CN110780870B (en) Service execution method, device, equipment and storage medium
CN106844730B (en) Method and device for displaying file content
CN110704521A (en) Interface data access method and system
US11086618B2 (en) Populating a software catalogue with related product information
CN109902073B (en) Log processing method and device, computer equipment and computer readable storage medium
CN112882699B (en) Service processing method, device, equipment and medium based on flow configuration engine
CN111611207B (en) State data processing method and device and computer equipment
CN110795697A (en) Logic expression obtaining method and device, storage medium and electronic device
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN111831682B (en) Method, apparatus, device and computer readable medium for processing accumulation fund service
CN110941530A (en) Method and device for acquiring monitoring data, computer equipment and storage medium
CN111367531B (en) Code processing method and device
CN111221711A (en) User behavior data processing method, server and storage medium
CN111045983B (en) Nuclear power station electronic file management method, device, terminal equipment and medium
CN116993523A (en) Configurable account checking method, device, equipment and storage medium
CN116360931A (en) Link tracking method, device, system and storage medium
CN115098157A (en) Method and device for processing public service data
CN115098738A (en) Service data extraction method and device, storage medium and electronic equipment
CN114691768A (en) Data processing method, accounting system and related equipment
CN106354620B (en) Resource monitoring method and system
CN110704483A (en) User routing process positioning method, device, storage medium and device
CN113141366B (en) Message submitting method and device, storage medium and electronic 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929