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

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

Info

Publication number
CN111143723A
CN111143723A CN201911366857.4A CN201911366857A CN111143723A CN 111143723 A CN111143723 A CN 111143723A CN 201911366857 A CN201911366857 A CN 201911366857A CN 111143723 A CN111143723 A CN 111143723A
Authority
CN
China
Prior art keywords
app
service
page
target
mapping relation
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
CN201911366857.4A
Other languages
Chinese (zh)
Inventor
邓竹立
彭飞
刘松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201911366857.4A priority Critical patent/CN111143723A/en
Publication of CN111143723A publication Critical patent/CN111143723A/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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page jump method, a page jump device, electronic equipment and a storage medium, which can be used for configuring a mapping relation table in a server in advance, acquiring the mapping relation table corresponding to an APP from the server after the APP runs, then acquiring a target URL of a service line from the mapping relation table according to a service mark of a current service line in the APP, wherein the target URL is used for representing a target page jump address of the service line, and finally jumping a currently displayed page in the APP to a target page corresponding to the target URL according to the target URL to finish a page jump process. In the technical scheme of the invention, complete service line jump logic does not need to be executed through routing, and when a service line in the APP has a problem and cannot be subjected to page jump, only a target URL or a service identifier corresponding to the service line in a mapping relation table needs to be correspondingly modified, so that the problem of low page jump maintenance efficiency caused by modifying the jump logic corresponding to the service line in the routing is solved.

Description

Page jump method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of software development, in particular to a page jump method, a page jump device, electronic equipment and a storage medium.
Background
App (application) is an application installed on an intelligent terminal, and provides users with rich and colorful content. Generally, a user may continuously click on new content as needed while using the APP, and in many cases, different content may be displayed on different pages. In order to ensure the jump among different pages in the APP, a technician designs different service lines when designing codes for the APP, each service line stores a set of jump logic, and finally jumps to a target page, wherein the target page displays new content required by a user. For example, a plurality of recruitment information is provided on a home page in an APP, each piece of recruitment information enters a new recruitment page when being clicked, post introduction, recruitment requirements and the like are specifically displayed on the recruitment page, a chat entrance is also provided on each recruitment page, and a user enters a page chatting with an enterprise personal manager after clicking an icon of the entrance and can communicate with the other party through the page. Wherein, the jump from the APP home page to the last chat page through the jump logic can be regarded as a service line.
At present, the jump between different pages in the APP is realized through a route, that is, the route stores the jump logic of the service line corresponding to the target page, but when the APP needs to jump to the next page from the current page, the service line corresponding to the next page can be called through the route, and then the jump logic of the service line is executed to jump to the next page. Therefore, the routing can realize that the current page is directly jumped to the next required page without introducing the original page to which the current page belongs.
However, because the routing maintains the jump logic of each service line, when a certain service line in the APP fails to perform page jump, the jump logic in the routing needs to be modified, the more services that have problems, the more times the logic is modified, the longer the time, and the lower the maintenance efficiency of the page jump problem in the APP.
Disclosure of Invention
The invention provides a page jump method, a page jump device, electronic equipment and a storage medium, which aim to solve the problem of low efficiency of APP page maintenance at present.
In a first aspect, the present invention provides a page jump method, including:
acquiring a mapping relation table of an APP (application) from a server, wherein the mapping relation table is used for storing mapping relations between service marks of various service lines in the APP and target URLs (uniform resource locators), the target URLs are used for representing target page jump addresses of the service lines, and the service marks are used for marking the service lines;
acquiring a target URL of the service line from the mapping relation table by using the service mark of the current service line in the APP;
and skipping the current page displayed by the APP to a target page corresponding to the target URL.
With reference to the first aspect, in an implementation manner of the first aspect, before the obtaining the mapping relationship table of the APP from the server, the method further includes:
acquiring all service lines in the APP and target URLs corresponding to all the service lines;
marking all the service lines to enable the service lines to have different service marks;
establishing a mapping relation between the service mark and a target URL of a corresponding service line;
and forming a mapping relation table in the server by using the mapping relation.
With reference to the first aspect, in an implementation manner of the first aspect, the step of obtaining the mapping relationship table of the APP from the server includes:
detecting whether the APP is turned on;
if the APP is opened, sending a network request to the server, wherein the network request is used for requesting a mapping relation table corresponding to the APP from the server;
and storing the mapping relation table sent back by the server in a memory of the terminal where the APP is located.
With reference to the first aspect, in an implementation manner of the first aspect, the step of obtaining, by using a service identifier of a current service line in the APP, a target URL of the service line from the mapping relationship table includes:
judging whether the business mark exists in the mapping relation table or not;
if the preset URL does not exist, acquiring a preset URL, wherein the preset URL is used for representing a preset page jump address;
and skipping the current displayed page of the APP to a preset page corresponding to the preset URL by using the preset URL.
With reference to the first aspect, in an implementation manner of the first aspect, after the forming a mapping relationship table in the server by using the mapping relationship, the method further includes:
and if a service line with a changed target page exists in the APP, modifying a target URL (uniform resource locator) with a mapping relation with a service mark of the service line in the mapping relation table, wherein the modified target URL is a jump address corresponding to a new target page after the target page is changed.
In a second aspect, the present invention provides a page jump apparatus, including:
the mapping relation table obtaining module is used for obtaining a mapping relation table of an APP from a server, the mapping relation table is used for storing mapping relations between service marks of all service lines in the APP and target URLs, the target URLs are used for representing target page jump addresses of the service lines, and the service marks are used for marking the service lines;
a target URL obtaining module, configured to obtain a target URL of the service line from the mapping relationship table by using a service identifier of a current service line in the APP;
and the skipping module is used for skipping the currently displayed page of the APP to the target page corresponding to the target URL.
With reference to the second aspect, in an implementation manner of the second aspect, the apparatus further includes:
the data acquisition module is used for acquiring all service lines in the APP and target URLs corresponding to all the service lines;
the marking module is used for marking all the service lines to enable the service lines to have different service marks;
the relation establishing module is used for establishing a mapping relation between the service mark and a target URL of a corresponding service line;
and the relation table composition module is used for forming a mapping relation table in the server by using the mapping relation.
With reference to the second aspect, in an implementation manner of the second aspect, the mapping relationship table obtaining module includes:
a detection unit for detecting whether the APP is turned on; when the APP is opened, sending a network request to the server, wherein the network request is used for requesting a mapping relation table corresponding to the APP from the server;
and the relation table storage unit is used for storing the mapping relation table sent back by the server in a memory of the terminal where the APP is located.
With reference to the second aspect, in an implementation manner of the second aspect, the target URL obtaining module includes:
a judging unit, configured to judge whether the service identifier exists in the mapping relationship table; if not, acquiring a preset URL, wherein the preset URL is used for representing a preset page jump address;
and the skipping unit is used for skipping the current page displayed by the APP to the preset page corresponding to the preset URL by using the preset URL.
With reference to the second aspect, in an implementation manner of the second aspect, the apparatus further includes:
and the modification module is used for modifying a target URL (uniform resource locator) with a mapping relation with the service mark of the service line in the mapping relation table when the service line with the changed target page exists in the APP, and the modified target URL is a jump address corresponding to a new target page after the target page is changed.
In a third aspect, the present invention provides an electronic device, comprising: a memory for storing program instructions; and the processor is used for calling and executing the program instructions in the memory so as to realize the page jump method of the first aspect.
In a fourth aspect, the present invention provides a storage medium, in which a computer program is stored, and when at least one processor of a page jump apparatus executes the computer program, the page jump apparatus executes the page jump method according to the first aspect.
According to the technical scheme, the page jump method, the page jump device, the electronic equipment and the storage medium provided by the invention can be used for configuring the mapping relation table in the server in advance, acquiring the mapping relation table corresponding to the APP from the server after the APP runs, then acquiring the target URL of the service line from the mapping relation table according to the service mark of the current service line in the APP, wherein the target URL is used for representing the target page jump address of the service line, and finally jumping the currently displayed page in the APP to the target page corresponding to the target URL according to the target URL to finish the page jump process. In the technical scheme of the invention, complete service line jump logic does not need to be executed through routing, and when a service line in the APP has a problem and cannot be subjected to page jump, only a target URL or a service identifier corresponding to the service line in a mapping relation table needs to be correspondingly modified, so that the problem of low page jump maintenance efficiency caused by modifying the jump logic corresponding to the service line in the routing is solved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any inventive exercise.
Fig. 1 is a flowchart of a page jump method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for forming a mapping table according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for obtaining a mapping relation table according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for obtaining a target URL according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a service line skipping logic according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another service line skipping logic provided in the embodiment of the present invention;
fig. 7 is a block diagram of a structure of a page jump apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
At present, the jump between different pages in the APP is realized through a route, that is, the route stores the jump logic of the service line corresponding to the target page, but when the APP needs to jump to the next page from the current page, the service line corresponding to the next page can be called through the route, and then the jump logic of the service line is executed to jump to the next page. Therefore, the routing can realize that the current page is directly jumped to the next required page without introducing the original page to which the current page belongs. However, because the routing maintains the jump logic of each service line, when a certain service line in the APP fails to perform page jump, the jump logic in the routing needs to be modified, the more services that have problems, the more times the logic is modified, the longer the time, and the lower the maintenance efficiency of the page jump problem in the APP. Therefore, the invention provides a page jump method, which does not need to execute complete service line jump logic through routing, and only needs to correspondingly modify the target URL or the service identifier corresponding to the service line in the mapping relation table when the service line in the APP has problems and cannot carry out page jump, thereby improving the maintenance efficiency of the APP page jump problem.
Fig. 1 is a flowchart of a page jump method according to an embodiment of the present invention. As shown in fig. 1, a page jump method provided in the embodiment of the present invention includes:
s101, obtaining a mapping relation table of an APP from a server, wherein the mapping relation table is used for storing mapping relations between service marks of all service lines in the APP and target URLs, the target URLs are used for representing target page jump addresses of the service lines, and the service marks are used for marking the service lines.
In the embodiment of the invention, different mapping relation tables are established in the server aiming at different APPs, wherein the mapping relation tables can be named by utilizing the names of the corresponding APPs, and when the APP is opened on the terminal, the mapping relation table corresponding to the APP is obtained from the server according to the names of the APPs. Moreover, because each APP can have a plurality of functions and contents, a plurality of service lines can execute different logics in one APP, and different pages are displayed finally, so that a plurality of mapping relationships can exist in a mapping relationship table of one APP.
In the embodiment of the invention, in order to distinguish the service lines, a mark is configured for each service line, and each mark is different from each other. When the mapping relation is established, a target page to be displayed finally by the service line is found according to the jump logic of the service line; and each target page has a target URL for representing the jump address of the target page, namely, the target page can be obtained by jumping to the target URL.
And S102, acquiring a target URL of the service line from the mapping relation table by using the service mark of the current service line in the APP.
In the embodiment of the invention, the jump logic of the current service line in the APP can be executed from any page in the APP, when the page displayed by the APP is the initial page of a certain service line, the operation of the current service line is triggered, or a user clicks certain information on the page to trigger the operation of the service line, then the APP can acquire the service mark of the current service line, then the mapping relation table is traversed to find out whether the service mark same as the service mark of the current service line exists, and if so, the target URL corresponding to the service mark in the mapping relation table is acquired.
S103, jumping the current page displayed by the APP to a target page corresponding to the target URL.
As described above, the currently displayed page in the APP may be any page of the APP, for example, a home information, a recruitment information, and the like are displayed in a home page of one APP, and a service line of the home details page is triggered by clicking a mark of "home information", so that a target URL of a target page displaying the home information can be obtained through the service mark of the service line, and then the APP jumps to the target URL, so that the target page is displayed on the APP.
In addition, in the embodiment of the present invention, a situation that the service identifier of the current service line does not exist in the mapping relationship table is not excluded, and at this time, in order to avoid the problem of APP display abnormality caused by that the target page cannot be acquired, a uniform preset page is usually provided for the service line to be displayed by the APP, and then, a technician may add the mapping relationship about the service line in the mapping relationship table of the APP for subsequent use.
Furthermore, if a service line with a changed target page exists in the APP, for example, the house source information corresponding to a house source detail page changes, a target URL corresponding to a service mark of the service line needs to be modified in the mapping relation table, and the modified target URL is a jump address corresponding to a new target page with a changed target page, that is, the APP can jump to the new target page with the changed house source information according to the new target URL.
It can be seen that the page jump method provided in the embodiment of the present invention can configure a mapping relationship table in a server in advance, obtain the mapping relationship table corresponding to an APP from the server after the APP runs, then obtain a target URL of a current service line in the APP from the mapping relationship table according to a service mark of the service line, where the target URL is used to indicate a target page jump address of the service line, and finally jump a currently displayed page in the APP to a target page corresponding to the target URL according to the target URL, thereby completing a page jump process. In the technical scheme of the invention, complete service line jump logic does not need to be executed through routing, and when a service line in the APP has a problem and cannot be subjected to page jump, only a target URL or a service identifier corresponding to the service line in a mapping relation table needs to be correspondingly modified, so that the problem of low page jump maintenance efficiency caused by modifying the jump logic corresponding to the service line in the routing is solved.
Fig. 2 is a flowchart of a method for composing a mapping relationship table according to an embodiment of the present invention. As shown in fig. 2, in the embodiment of the present invention, before obtaining the mapping relationship table of the APP from the server, the method further includes:
s201, all service lines in the APP and target URLs corresponding to all the service lines are obtained.
In the embodiment of the invention, the jump logic of the service line can start from a certain page in the APP, and because the types of the contents provided in the APP are numerous, the contents of different types can be further more specifically classified, so that a plurality of pages which can be provided in one APP and show different contents can be provided, and a plurality of corresponding service lines can be provided, for example, the jump logic of one service line realizes the jump from a certain recruitment information page to a recruitment chat page, or the jump logic of one service line realizes the jump from a certain house source information page to a house property page, and the like. In order to ensure that various target pages in the APP can jump accurately, before the mapping relation table is established, target URLs of all service lines in the APP and target pages corresponding to the service lines are collected as much as possible.
S202, marking all the service lines to enable the service lines to have different service marks.
For example, if the jump logic of one service line realizes the jump from the recruitment information to the recruitment chat page, the service sign of the service line can be named as "recruitment 1", and the service sign of the recruitment service line of another different company can be named as "recruitment 2", etc.
S203, establishing a mapping relation between the service mark and the target URL of the corresponding service line.
In the embodiment of the present invention, the purpose of establishing the mapping relationship is to correspond the service identifier to the target URL, and all manners that can implement the mapping relationship can be implemented, for example, if the service identifier is used as a key and the corresponding target URL is used as a value, the established mapping relationship is a key-value pair form. The specific manner of establishing the mapping relationship in the embodiment of the present invention is not particularly limited.
And S204, forming a mapping relation table in the server by using the mapping relation.
The established mapping relation table can be correspondingly stored in a file corresponding to the APP in the server, and the mapping relation table can be obtained from the file corresponding to the APP in the server after the APP is opened.
It can be seen that, in the embodiment of the present invention, a mapping relation table is established for different service lines in an APP, when a certain service line in the APP is performed, a target URL corresponding to the service line may be directly called from the mapping relation table to perform a jump, and when a final target page is also changed due to a change in a jump logic of the service line, only the target URL of the target page corresponding to the service line needs to be correspondingly modified, so as to avoid a problem of low page jump maintenance efficiency due to a modification of the jump logic corresponding to the service line in a route.
Fig. 3 is a flowchart of a method for obtaining a mapping relation table according to an embodiment of the present invention. As shown in fig. 3, in the embodiment of the present invention, the step of obtaining the mapping relationship table of the APP from the server includes:
s301, whether the APP is opened or not is detected.
S302, if the APP is opened, a network request is sent to the server, and the network request is used for requesting the mapping relation table corresponding to the APP from the server.
In the embodiment of the present invention, the detection of whether the APP is opened is real-time, and in another words, it may also be detected whether the APP is in an active state, because the APP is in an active state once opened in a normal situation. In the embodiment of the invention, once the APP is opened, the mapping relation table of the APP is acquired from the server to be used as preparation, so that if a user triggers the jump logic of a certain service line when using the APP to perform the next operation, the target URL can be quickly searched in the acquired mapping relation table.
Meanwhile, the network request contains information related to the APP, such as the name, version number and the like of the APP, and when the server receives the network request, files for storing some configurations of the APP can be found according to the information such as the name, version number and the like of the APP, and then the mapping relation table is obtained from the files.
And S303, storing the mapping relation table sent back by the server in a memory of the terminal where the APP is located.
The terminal where the APP is located in the embodiment of the invention can be a smart phone or a tablet computer and other devices. In addition, the terminal adopts a cache form for the mapping relation table, because sometimes version update of the APP can cause the service line to change or update, and then the corresponding mapping relation table can also be updated, in order to ensure that the mapping relation table used for opening the APP each time is up-to-date, the APP each time is opened needs to obtain the corresponding mapping relation table again, and caching the mapping relation table this time only provides the mapping relation for the process used after the APP is opened currently.
Fig. 4 is a flowchart of a method for obtaining a target URL according to an embodiment of the present invention. As shown in fig. 4, in the embodiment of the present invention, the step of obtaining the target URL of the service line from the mapping relationship table by using the service identifier of the current service line in the APP includes:
s401, judging whether the mapping relation table has the service mark.
In the embodiment of the present invention, there may be a problem that the mapping relationship table does not have a service mark of the current service line in the APP, and at this time, in order to avoid the problem that the APP display fails because the service line cannot jump to the target page, a fixed jump page is usually set for the service line under this condition, so that the service line without the target URL uniformly jumps to one page.
S402, if the address does not exist, acquiring a preset URL, wherein the preset URL is used for representing a preset page jump address.
In the embodiment of the invention, the preset page is set by integrating functions of the APPs and specific contents provided by the APPs, for example, a mapping relation of service lines is established for a chat function corresponding to recruitment information in one APP, so that each piece of recruitment information can correspond to one service line, and then a target page corresponding to each service line is a chat page corresponding to each piece of recruitment information. The user can make the APP jump to an enterprise chat page for publishing the information correspondingly by clicking one piece of recruitment information, and the user can communicate with the recruitment unit through the chat page. However, if there is no target URL corresponding to the service line in the mapping relationship table, that is, the user cannot jump to the corresponding chat page by clicking the recruitment information, at this time, the user can jump to the chat page provided by the APP in a unified manner according to the preset URL for communication.
And S403, jumping the currently displayed page of the APP to a preset page corresponding to the preset URL by using the preset URL.
The contents of the above embodiments may also be described as a complete example in the embodiments of the present invention. Fig. 5 is a schematic diagram of a service line hopping logic provided in an embodiment of the present invention, and fig. 6 is a schematic diagram of another service line hopping logic provided in an embodiment of the present invention. In the first picture of fig. 5, the content of a home page of an APP is shown, where the home page includes recruitment information, property information, used car information, other information, and the like, when a user opens the APP, the APP may obtain a corresponding mapping relationship table from a server for storage, then the user may trigger the operation of the property line by clicking a property icon, and after obtaining a target URL corresponding to the property line, the user jumps to a page displayed in the second picture of fig. 5, where the page still contains more specific information about the property, and if the user clicks an icon of a personal property, the user jumps to a page displayed in the first picture of fig. 6, and the first picture of fig. 6 displays the abbreviated information of each property in a row. In addition, if the user wants to know more detailed house source information, the user needs to click a part of the house source short message in the first picture in fig. 6 to enter a house detail page, at this time, the user may trigger the operation of a house information service line when clicking a certain house source short message, and after obtaining a target URL corresponding to the service line, the user jumps to a target page displayed in the second picture in fig. 6.
According to the technical scheme, the page jump method provided in the embodiment of the invention can be realized by configuring the mapping relation table in the server in advance, acquiring the mapping relation table corresponding to the APP from the server after the APP runs, then acquiring the target URL of the service line from the mapping relation table according to the service mark of the current service line in the APP, wherein the target URL is used for representing the target page jump address of the service line, and finally jumping the currently displayed page in the APP to the target page corresponding to the target URL according to the target URL to complete the page jump process. In the technical scheme of the invention, complete service line jump logic does not need to be executed through routing, and when a service line in the APP has a problem and cannot be subjected to page jump, only a target URL or a service identifier corresponding to the service line in a mapping relation table needs to be correspondingly modified, so that the problem of low page jump maintenance efficiency caused by modifying the jump logic corresponding to the service line in the routing is solved.
Fig. 7 is a block diagram of a structure of a page jump apparatus according to an embodiment of the present invention. As shown in fig. 7, the page jump apparatus provided in the embodiment of the present invention includes: a mapping relation table obtaining module 71, configured to obtain a mapping relation table of an APP from a server, where the mapping relation table is used to store mapping relations between service flags of each service line in the APP and a target URL, the target URL is used to indicate a target page jump address of the service line, and the service flag is used to mark the service line; a target URL obtaining module 72, configured to obtain a target URL of the service line from the mapping relationship table by using the service identifier of the current service line in the APP; and the skipping module 73 is used for skipping the currently displayed page of the APP to the target page corresponding to the target URL.
Wherein, the page jump device further comprises: the data acquisition module is used for acquiring all service lines in the APP and target URLs corresponding to all the service lines; the marking module is used for marking all the service lines to enable the service lines to have different service marks; the relation establishing module is used for establishing a mapping relation between the service mark and a target URL of a corresponding service line; and the relation table composition module is used for forming a mapping relation table in the server by using the mapping relation.
The mapping relation table obtaining module comprises: a detection unit for detecting whether the APP is turned on; when the APP is opened, sending a network request to the server, wherein the network request is used for requesting a mapping relation table corresponding to the APP from the server; and the relation table storage unit is used for storing the mapping relation table sent back by the server in a memory of the terminal where the APP is located.
The target URL obtaining module comprises: a judging unit, configured to judge whether the service identifier exists in the mapping relationship table; if not, acquiring a preset URL, wherein the preset URL is used for representing a preset page jump address; and the skipping unit is used for skipping the current page displayed by the APP to the preset page corresponding to the preset URL by using the preset URL.
In addition, the page jump apparatus further includes: and the modification module is used for modifying a target URL (uniform resource locator) with a mapping relation with the service mark of the service line in the mapping relation table when the service line with the changed target page exists in the APP, and the modified target URL is a jump address corresponding to a new target page after the target page is changed.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. As shown in fig. 8, an electronic device provided in an embodiment of the present invention includes: a memory 81 for storing program instructions; and the processor 82 is used for calling and executing the program instructions in the memory so as to implement the page jump method in the above embodiment.
In an embodiment of the present invention, the processor 82 and the memory 81 may be connected by a bus or other means. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk.
The present invention further provides a storage medium, in which a computer program is stored, and when at least one processor of the page jump apparatus executes the computer program, the page jump apparatus executes the page jump method described in the above embodiments.
The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiments of the service construction apparatus and the service loading apparatus, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the description in the embodiments of the method.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (12)

1. A page jump method is characterized by comprising the following steps:
acquiring a mapping relation table of an APP (application) from a server, wherein the mapping relation table is used for storing mapping relations between service marks of various service lines in the APP and target URLs (uniform resource locators), the target URLs are used for representing target page jump addresses of the service lines, and the service marks are used for marking the service lines;
acquiring a target URL of the service line from the mapping relation table by using the service mark of the current service line in the APP;
and skipping the current page displayed by the APP to a target page corresponding to the target URL.
2. The method of claim 1, wherein before obtaining the mapping relationship table of the APP from the server, the method further comprises:
acquiring all service lines in the APP and target URLs corresponding to all the service lines;
marking all the service lines to enable the service lines to have different service marks;
establishing a mapping relation between the service mark and a target URL of a corresponding service line;
and forming a mapping relation table in the server by using the mapping relation.
3. The method of claim 1, wherein the step of obtaining the mapping relationship table of the APP from the server comprises:
detecting whether the APP is turned on;
if the APP is opened, sending a network request to the server, wherein the network request is used for requesting a mapping relation table corresponding to the APP from the server;
and storing the mapping relation table sent back by the server in a memory of the terminal where the APP is located.
4. The method according to claim 1, wherein said step of obtaining the target URL of the service line from the mapping relation table by using the service identifier of the current service line in the APP comprises:
judging whether the business mark exists in the mapping relation table or not;
if the preset URL does not exist, acquiring a preset URL, wherein the preset URL is used for representing a preset page jump address;
and skipping the current displayed page of the APP to a preset page corresponding to the preset URL by using the preset URL.
5. The method of claim 2, wherein the mapping relationship is utilized to compose a mapping relationship table in the server, and further comprising:
and if a service line with a changed target page exists in the APP, modifying a target URL (uniform resource locator) with a mapping relation with a service mark of the service line in the mapping relation table, wherein the modified target URL is a jump address corresponding to a new target page after the target page is changed.
6. A page jump apparatus, comprising:
the mapping relation table obtaining module is used for obtaining a mapping relation table of an APP from a server, the mapping relation table is used for storing mapping relations between service marks of all service lines in the APP and target URLs, the target URLs are used for representing target page jump addresses of the service lines, and the service marks are used for marking the service lines;
a target URL obtaining module, configured to obtain a target URL of the service line from the mapping relationship table by using a service identifier of a current service line in the APP;
and the skipping module is used for skipping the currently displayed page of the APP to the target page corresponding to the target URL.
7. The apparatus of claim 6, further comprising:
the data acquisition module is used for acquiring all service lines in the APP and target URLs corresponding to all the service lines;
the marking module is used for marking all the service lines to enable the service lines to have different service marks;
the relation establishing module is used for establishing a mapping relation between the service mark and a target URL of a corresponding service line;
and the relation table composition module is used for forming a mapping relation table in the server by using the mapping relation.
8. The apparatus of claim 6, wherein the mapping table obtaining module comprises:
a detection unit for detecting whether the APP is turned on; when the APP is opened, sending a network request to the server, wherein the network request is used for requesting a mapping relation table corresponding to the APP from the server;
and the relation table storage unit is used for storing the mapping relation table sent back by the server in a memory of the terminal where the APP is located.
9. The apparatus of claim 6, wherein the target URL obtaining module comprises:
a judging unit, configured to judge whether the service identifier exists in the mapping relationship table; if not, acquiring a preset URL, wherein the preset URL is used for representing a preset page jump address;
and the skipping unit is used for skipping the current page displayed by the APP to the preset page corresponding to the preset URL by using the preset URL.
10. The apparatus of claim 7, further comprising:
and the modification module is used for modifying a target URL (uniform resource locator) with a mapping relation with the service mark of the service line in the mapping relation table when the service line with the changed target page exists in the APP, and the modified target URL is a jump address corresponding to a new target page after the target page is changed.
11. An electronic device, comprising: a memory for storing program instructions;
a processor for calling and executing program instructions in said memory to implement the page jump method of any of claims 1-5.
12. A storage medium having stored therein a computer program which, when executed by at least one processor of a page jump apparatus, causes the page jump apparatus to perform the page jump method of any one of claims 1-5.
CN201911366857.4A 2019-12-26 2019-12-26 Page jump method and device, electronic equipment and storage medium Pending CN111143723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911366857.4A CN111143723A (en) 2019-12-26 2019-12-26 Page jump method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911366857.4A CN111143723A (en) 2019-12-26 2019-12-26 Page jump method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111143723A true CN111143723A (en) 2020-05-12

Family

ID=70520629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911366857.4A Pending CN111143723A (en) 2019-12-26 2019-12-26 Page jump method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111143723A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632424A (en) * 2021-03-10 2021-04-09 深圳市智信新信息技术有限公司 Page opening method and electronic equipment
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN112764846A (en) * 2020-12-31 2021-05-07 北京达佳互联信息技术有限公司 Interface display method and device, electronic equipment and storage medium
CN112799765A (en) * 2021-01-30 2021-05-14 交通银行股份有限公司 Intelligent skip method and equipment based on page coding and storage medium
CN113434230A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Jump control method and device for H5 page, storage medium and electronic device
CN113452613A (en) * 2020-06-30 2021-09-28 北京新氧科技有限公司 Method and device for acquiring page routing address, electronic equipment and storage medium
CN113918797A (en) * 2021-09-15 2022-01-11 深圳触海科技有限公司 Method for marking and tracking network address jump behavior
CN114979073A (en) * 2021-08-30 2022-08-30 中移互联网有限公司 Address information acquisition system, method, electronic device, and storage medium
CN116233217A (en) * 2023-05-08 2023-06-06 成都赛力斯科技有限公司 Page jump method and device based on route, electronic equipment and storage medium
CN117130692A (en) * 2023-10-23 2023-11-28 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium

Citations (6)

* 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
US20160294771A1 (en) * 2014-01-22 2016-10-06 Tencent Technology (Shenzhen) Company Limited Apparatus, Method, And Client For Synchronizing Jump Context
CN109412930A (en) * 2018-09-18 2019-03-01 五八有限公司 A kind of jump method, device, storage medium and the terminal of IM landing page
CN109657165A (en) * 2018-12-28 2019-04-19 广州酷狗计算机科技有限公司 Method for page jump and device
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN109918118A (en) * 2019-03-25 2019-06-21 北京城市网邻信息技术有限公司 A kind of register method and relevant device of service line

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160294771A1 (en) * 2014-01-22 2016-10-06 Tencent Technology (Shenzhen) Company Limited Apparatus, Method, And Client For Synchronizing Jump Context
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
CN109412930A (en) * 2018-09-18 2019-03-01 五八有限公司 A kind of jump method, device, storage medium and the terminal of IM landing page
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN109657165A (en) * 2018-12-28 2019-04-19 广州酷狗计算机科技有限公司 Method for page jump and device
CN109918118A (en) * 2019-03-25 2019-06-21 北京城市网邻信息技术有限公司 A kind of register method and relevant device of service line

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452613A (en) * 2020-06-30 2021-09-28 北京新氧科技有限公司 Method and device for acquiring page routing address, electronic equipment and storage medium
CN113452613B (en) * 2020-06-30 2023-06-06 北京新氧科技有限公司 Method, device, electronic equipment and storage medium for acquiring page routing address
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN112764846A (en) * 2020-12-31 2021-05-07 北京达佳互联信息技术有限公司 Interface display method and device, electronic equipment and storage medium
CN112799765A (en) * 2021-01-30 2021-05-14 交通银行股份有限公司 Intelligent skip method and equipment based on page coding and storage medium
CN112799765B (en) * 2021-01-30 2022-10-11 交通银行股份有限公司 Intelligent skip method and equipment based on page coding and storage medium
CN112632424B (en) * 2021-03-10 2021-06-04 深圳市智信新信息技术有限公司 Page opening method and electronic equipment
CN112632424A (en) * 2021-03-10 2021-04-09 深圳市智信新信息技术有限公司 Page opening method and electronic equipment
CN113434230A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Jump control method and device for H5 page, storage medium and electronic device
CN114979073A (en) * 2021-08-30 2022-08-30 中移互联网有限公司 Address information acquisition system, method, electronic device, and storage medium
CN114979073B (en) * 2021-08-30 2023-09-05 中移互联网有限公司 Address information acquisition system, method, electronic device and storage medium
CN113918797A (en) * 2021-09-15 2022-01-11 深圳触海科技有限公司 Method for marking and tracking network address jump behavior
CN116233217A (en) * 2023-05-08 2023-06-06 成都赛力斯科技有限公司 Page jump method and device based on route, electronic equipment and storage medium
CN117130692A (en) * 2023-10-23 2023-11-28 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium
CN117130692B (en) * 2023-10-23 2024-01-23 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111143723A (en) Page jump method and device, electronic equipment and storage medium
WO2013085867A1 (en) Contextual and location awareness for device interaction
CN111651703B (en) Page jump method and device, electronic equipment and readable storage medium
CN111163072B (en) Method and device for determining characteristic value in machine learning model and electronic equipment
CN109618176B (en) Processing method, equipment and storage medium for live broadcast service
CN108366058A (en) Method, apparatus, equipment and the storage medium for preventing advertisement operators flow from kidnapping
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
JP6779307B2 (en) Method and device for page display
CN102831179B (en) web page processing method and device
CN112115103B (en) File address display method and device, electronic equipment and readable storage medium
CN111367606A (en) Application page display method, device, terminal and medium
CN109391537B (en) Information processing method and device and computer storage medium
CN109032723A (en) A kind of interface jump method, device and equipment
CN112597423B (en) Webpage content display method, terminal and server
CN111131497B (en) File transmission method and device, electronic equipment and storage medium
CN112540820A (en) User interface updating method and device and electronic equipment
CN114185804A (en) Interface testing method and device and terminal equipment
US20210144048A1 (en) Method and apparatus for outputting information
CN109274808B (en) Address book information management method and system, electronic equipment and storage medium
CN111181836B (en) Message pushing method and device
CN114443781A (en) Method and device for generating enterprise guarantee map
CN110377654B (en) Data request processing method and device, electronic equipment and computer-readable storage medium
CN111143583A (en) Method and device for monitoring data change of media database
CN106844396B (en) Information processing method and electronic equipment
CN111026466A (en) File processing method and device, computer readable 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: 20200512