CN108958855B - Page jump method, device and system - Google Patents

Page jump method, device and system Download PDF

Info

Publication number
CN108958855B
CN108958855B CN201710386175.4A CN201710386175A CN108958855B CN 108958855 B CN108958855 B CN 108958855B CN 201710386175 A CN201710386175 A CN 201710386175A CN 108958855 B CN108958855 B CN 108958855B
Authority
CN
China
Prior art keywords
control
jump
page
information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710386175.4A
Other languages
Chinese (zh)
Other versions
CN108958855A (en
Inventor
徐亚鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710386175.4A priority Critical patent/CN108958855B/en
Publication of CN108958855A publication Critical patent/CN108958855A/en
Application granted granted Critical
Publication of CN108958855B publication Critical patent/CN108958855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a page jumping method, device and system, relates to the technical field of internet, and can effectively and comprehensively solve the online problem of a client. The method mainly comprises the following steps: displaying a jump control when a target control is displayed, so that the jump control displays the target control in an overlaying manner, wherein the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page; receiving an operation for the jump control; and jumping to the jumping page according to the jumping information so as to display the jumping page. The method and the system are mainly suitable for a scene of repairing the online problem generated on the client.

Description

Page jump method, device and system
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device and a system for page jump.
Background
With the development of internet technology, various application software is gradually integrated into the life of people. Such as shopping software, video software, and information search software. In practical application, although the developed application software will be subjected to internal testing and will be subjected to on-line operation after the testing is correct, the internal testing can only test the problems generated under the outgoing line, but cannot test the problems generated on the outgoing line.
When a problem occurs on line, in order to repair the problem on line, the existing methods mainly include: (1) a new version is developed aiming at the problems generated on line, and a user can update the version, so that the problems generated by the old version are avoided; (2) aiming at the problem generated on line, performing urgent pushing package on the application software on line so as to solve the problem by enabling the application software to execute the data package of urgent pushing; (3) before the application software is on-line, a page which possibly causes a problem is predicted according to actual experience, and then the page of a link containing the predicted page is subjected to skip standby processing, so that after the application software is on-line, if the predicted page has a problem, flow is guided to a standby page according to the set skip standby control logic to avoid the problem.
However, none of the existing methods can effectively and fully solve the on-line problems generated by various application software. For example, with the first method, since a new version of application software takes a lot of time from development to online, the method cannot effectively solve the online problem caused by the existing version. For another example, with the second method, since the online problem repair can be realized by using the emergency push packet only when the underlying framework of the application software supports the plug-in and dynamic push packet mechanisms, and the arrival rate of the emergency push packet is not 100%, the method cannot comprehensively solve the online problems generated by various application software. For another example, with the third method, since the problem generated on-line is random, the page predicted by the developer before the application software is on-line and possibly generating the problem does not necessarily include the page actually generating the problem after the application software is on-line, and thus the method cannot completely solve the on-line problem generated by the application software. Therefore, it is desirable to provide an effective and comprehensive method for repairing the ground fault.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, and a system for page jump, which can effectively and comprehensively solve the online problem of the client.
In a first aspect, the present invention provides a method for page jump, where the method includes:
displaying a jump control when a target control is displayed, so that the jump control displays the target control in a covering manner, wherein the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
receiving an operation for the jump control;
and jumping to the jumping page according to the jumping information so as to display the jumping page.
In a second aspect, the present invention provides a method for page jump, where the method includes:
acquiring skip information, wherein the skip information is used for skipping to a skip page corresponding to a target page, and the target page is a page obtained by skipping and displaying a client through a target control;
and directly issuing the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client, so that the client displays the skip page instead of the target page according to the skip information.
In a third aspect, the present invention provides an apparatus for page jump, where the apparatus includes:
the display unit is used for displaying a jump control when a target control is displayed, so that the jump control displays the target control in a covering manner, the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
a receiving unit, configured to receive an operation for the jump control;
and the jumping unit is used for jumping to the jumping page according to the jumping information so as to display the jumping page.
In a fourth aspect, the present invention provides an apparatus for page jump, where the apparatus includes:
the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring jump information, the jump information is used for jumping to a jump page corresponding to a target page, and the target page is a page obtained by enabling a client to jump and display through a target control;
and the sending unit is used for directly sending the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client, so that the client displays the skip page instead of the target page according to the skip information.
In a fifth aspect, the present invention provides a storage medium storing a plurality of instructions adapted to be loaded and executed by a processor to:
displaying a jump control when a target control is displayed, so that the jump control displays the target control in a covering manner, wherein the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
receiving an operation for the jump control;
and jumping to the jumping page according to the jumping information so as to display the jumping page.
In a sixth aspect, the present invention provides a storage medium storing a plurality of instructions adapted to be loaded and executed by a processor to:
the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring jump information, the jump information is used for jumping to a jump page corresponding to a target page, and the target page is a page obtained by enabling a client to jump and display through a target control;
and the sending unit is used for directly sending the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client, so that the client displays the skip page instead of the target page according to the skip information.
In a seventh aspect, the present invention provides a terminal, including:
display means for displaying information;
the storage medium is used for storing instructions executed by the processor and data required by the processor in the process of executing the instructions;
the processor is configured to execute the following instructions:
enabling the display device to display a jump control when displaying a target control, and enabling the jump control to display the target control in an overlaying manner, wherein the target control is a control used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
after receiving the operation aiming at the jump control, jumping to the jump page according to the jump information so that the display device displays the jump page;
a transceiver to receive an operation for the jump control.
In an eighth aspect, the present invention provides a server, including:
a processor to load and execute the following instructions:
acquiring skip information, wherein the skip information is used for skipping to a skip page corresponding to a target page, and the target page is a page obtained by skipping and displaying a client through a target control;
Enabling the transceiver to directly transmit the jump information to each client, or after receiving a jump configuration information acquisition request transmitted by the client, transmitting the jump information to the client, so that the client displays the jump page instead of the target page according to the jump information;
the transceiver is used for sending the skip information to a client; receiving a skip configuration information acquisition request sent by a client;
a storage medium to store instructions for the processor.
In a ninth aspect, the present invention provides a system for page jump, including: a client and a server; wherein the content of the first and second substances,
the server is used for acquiring jump information, the jump information is used for jumping to a jump page corresponding to a target page, and the target page is a page obtained by enabling the client to jump and display through a target control; directly sending the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client;
the client is used for receiving the skip information sent by the server based on the skip configuration information acquisition request after sending the skip configuration information acquisition request to the server, or directly receiving the skip information sent by the server; displaying a jump control when the target control is displayed, so that the jump control displays the target control in an overlaying manner; receiving an operation for the jump control; and jumping to the jumping page according to the jumping information associated with the jumping control so as to display the jumping page.
In a tenth aspect, the present invention provides a method for page jump, where the method includes:
displaying a target control;
displaying a jump control, so that the jump control displays the target control in an overlaying manner;
the target control is used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page.
In an eleventh aspect, the present invention provides a terminal, comprising:
display means for displaying information;
the storage medium is used for storing instructions executed by the processor and data required by the processor in the process of executing the instructions;
the processor is configured to execute the following instructions:
causing the display device to display a target control; and
causing the display device to display a jump control so that the jump control overlays and displays the target control;
the target control is used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page.
By the technical scheme, the page jump method, the device and the system can ensure that after a problem occurs on a client line, the server may configure, according to the online problem, jump information for jumping to a jump page corresponding to a target page (i.e., a page that can be displayed by the client through a target control for jumping), and transmit the jump information to the client, so that when the client displays the target control, the jump control can be displayed, and the jump control is caused to display the target control in an overlaying manner, further, when the user clicks the position of the target control, the user can click the jump control covered on the target control and jump to the jump page by the jump control according to the jump information, the original target page can not be jumped to, so that the function of changing the page jump path is realized, and the online problem is further repaired. Compared with the prior art, when the client has problems on line, the method can generate the jump control for covering the original control at any position of any page only by setting the configuration information for repairing the problems on line by the server, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so the method can effectively and comprehensively solve the problems on line of the client. In addition, when the service requirement changes and the page needs to be updated, the page jump path can be changed in a mode that the new control covers and displays the original control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a diagram illustrating an example of page jumping according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating another example of page jumping provided by an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for page jump according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another method for page jumping according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another method for page jumping according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating interaction between a client and a server in a page jump process according to an embodiment of the present invention;
FIG. 7 is a block diagram illustrating an apparatus for page jump according to an embodiment of the present invention;
FIG. 8 is a block diagram illustrating another apparatus for page jump according to an embodiment of the present invention;
FIG. 9 is a block diagram illustrating another apparatus for page jump according to an embodiment of the present invention;
FIG. 10 is a block diagram illustrating an apparatus for page jumping according to another embodiment of the present invention;
fig. 11 is a flowchart illustrating another page jump method according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
After an application software is finally online for use by a large number of users through the processes of development, testing and the like, some online problems often occur, for example, a certain page cannot be normally displayed, and the page is often required to be updated due to business requirements and the like, for example, the name of a control needs to be changed from 'bieleven discount' to 'bitwelve discount', and a website linked with the original control needs to be changed from website 1 to website 2. In order to quickly repair an online problem and quickly update a page, an embodiment of the present invention provides a page jump method.
Taking a repair on-line problem as an example, as shown in fig. 1, when a user wants to book a hotel, the user first enters a home page of a certain travel application, and then clicks a control named "hotel room" in the home page to perform hotel query, but the page displayed after clicking the control is a blank page. In order to solve the online problem as soon as possible, the server can configure a piece of skip information for the control, and then sends the skip information to the travel application client; when a user accesses the travel application client, the travel application client can acquire and display the home page data, when a control named as 'hotel inn' is displayed, a standby control with the same display content as the control of the control can be generated and displayed, the standby control covers and displays the original control, namely, the display effect is not different from that of the original control, when the user clicks the position of the original control, the standby control covers and displays the original control, so that clicking of the standby control can be directly triggered, the user can jump to the standby page according to the jump information sent by the server and display the content of the standby page, the user can not jump to the page corresponding to the original control, and the problem of online blank is avoided. In a popular way, as shown in fig. 2, the website of the page linked to the original control is known as website 1, and the website of the page linked to the standby control is known as website 2, when the original control is displayed, the standby control is displayed at the client, and the standby control is enabled to display the original control in a covering manner, that is, the standby control and the original control are on the same vertical plane, and the display hierarchy of the standby control is higher than that of the original control, so that a user can only click the standby control when clicking the control, and the page corresponding to the displayed website 1 can be used to replace and display the page corresponding to the website 1.
It should be noted that the present invention may be applicable to any application software having a control, and the device supported by the application software includes, but is not limited to, a notebook, a desktop, a tablet computer, a mobile phone, etc., and the operating system supported by the application software includes, but is not limited to, an Android system, a Windows system, an iOS system, etc.
The above inventive concept is explained in detail below:
the embodiment of the invention provides a page jump method, which is mainly applied to a client, and as shown in fig. 3, the method mainly comprises the following steps:
101. and displaying a jump control when the target control is displayed, so that the jump control displays the target control in an overlaying manner.
When a user accesses a certain page by inputting a website or clicking a certain control (or link), the client side firstly obtains page data of the page to be accessed from the server side or the local side, and then renders contents such as each control, each text and the like in the page data so as to display a rendering result to the user for browsing. However, there may be some controls in the page to be displayed or being displayed, in which the linked page is a problem page, there may also be controls that need to be updated, and there may also be controls in which the linked page needs to be replaced. In this case, in order to quickly solve the above problem, the above control may be used as a target control (i.e., the original control mentioned in fig. 1 and 2) to be displayed by being overlaid by a jump control (i.e., the backup control mentioned in fig. 1 and 2), so that the target control is replaced by the jump control and is triggered by a user, so that a page corresponding to the jump control is displayed and a page corresponding to the target control is replaced by the page corresponding to the display target control.
That is to say, the target control mentioned in this step is a control selected by the server side and needing to be displayed in an overlaid manner in the current page of the client, and is used for jumping to a target page, where the target page is a page where an online problem occurs (for example, the page cannot be normally displayed) or a page needing to be replaced, and the like; the jump control is a control which is generated according to the target control and needs to cover the target control, and the jump control is associated with jump information, so that after the subsequent jump control is clicked, the client can jump to a jump page corresponding to the target page according to the jump information associated with the jump control. The jumping information mainly comprises jumping addresses and jumping parameters, the jumping addresses are addresses of the jumping pages, and the jumping parameters comprise service contents required by loading the jumping pages. It should be noted that, how the client determines the target control from the page and the specific generation process of the jump control, details of the embodiment shown in fig. 4 may be shown.
It should be noted that the display effect of the jump control covering and displaying the target control is as follows: the user can only see the jump control on the page and cannot see the target control.
102. Receiving an operation for the jump control.
When a user wants to access a page linked with the jump control, the user can click or slide the jump control, so that the client can acquire information such as a website corresponding to the jump control after receiving the operation aiming at the jump control and jump to the page corresponding to the website. For example, when the event registered for the jump control is a click event, if it is detected that the jump control is clicked, the client can intercept the click event, and then execute step 103.
103. And jumping to the jumping page according to the jumping information so as to display the jumping page.
When the client receives the operation aiming at the jump control, the jump information relevant to the jump control can be obtained, then the jump address and the jump parameter are obtained from the jump information, and the jump page is jumped according to the jump address and the jump parameter instead of the target page, so that the function of changing the page jump path on line is realized.
It should be noted that, in practical applications, various requirements need to change the page jump path on the basis of an online, such as page problem repair, page content update, and the like. When the method and the device are applied to a scene of page problem repair, the target page is a problem page, the jump page is a standby page, and the jump control is a standby control, namely, the method and the device can be specifically detailed as follows: displaying a standby control when a target control is displayed, so that the standby control displays the target control in a covering manner, wherein the target control is a control for jumping to a problem page, the standby control is associated with jumping information, and the jumping information is used for jumping to a standby page corresponding to the problem page; receiving an operation for the standby control; and jumping to the standby page according to the jumping information so as to display the standby page.
According to the page jumping method provided by the embodiment of the invention, after a problem occurs on a client line, the server can configure jumping information for jumping to a jumping page corresponding to a target page (namely, a page obtained by jumping and displaying the client through a target control) according to the problem on the line, and send the jumping information to the client, so that the jumping control can be displayed when the client displays the target control, and the jumping control covers and displays the target control, further, when a user clicks the position of the target control, the user can click the jumping control covered on the target control, and the jumping control jumps to the jumping page according to the jumping information without jumping to the original target page, thereby realizing the function of changing a page jumping path, and further repairing the problem on the line. Compared with the prior art, when the client has problems on line, the method can generate the jump control for covering the original control at any position of any page only by setting the configuration information for repairing the problems on line by the server, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so the method can effectively and comprehensively solve the problems on line of the client. In addition, when the service requirement changes and the page needs to be updated, the page jump path can be changed in a mode that the new control covers and displays the original control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
Further, according to the method shown in fig. 3, another embodiment of the present invention further provides a method for page jump, as shown in fig. 4, the method mainly includes:
201. and finding the target control in the current page according to the basic information of the target control.
In the step 101, the target control is a control that is selected by the server side and needs to be displayed in the current page of the client in an overlaid manner, and is used to jump to the target page, so that the client needs to obtain the basic information of the target control from the server side if it wants to know which controls in which page are the target controls, and then can find the target control from the page according to the basic information. The basic information of the target control mainly comprises: and the page identification of the page containing the target control and the control identification of the target control. In practical application, the page identifier may be a page name or a URL of the page; the control identification may be a unique name set for the control.
Therefore, the specific implementation manner of the client searching for the target control based on the basic information of the target control can be as follows: before displaying a current page, a client firstly judges whether a page identifier of the current page is in the basic information, if the page identifier of the current page is in the basic information, a control identifier corresponding to the page identifier is firstly searched from the basic information, and then a target control corresponding to the control identifier is searched from the current page.
It should be added that there may be only one target control corresponding to each page, or there may be multiple target controls corresponding to each page. And when the number of the target controls is multiple, the client-side respectively displays each target control in an overlaying manner by using the corresponding jump control.
It should be noted that the basic information and the skip information of the target control sent by the server to the client have a mapping relationship, that is, the basic information of one target control corresponds to one skip information, and the client can search the skip information from the basic information or search the basic information from the skip information according to the mapping relationship between the basic information and the skip information. In practical application, more than one target page is needed to configure the jump page, so that in order to facilitate a client to search jump configuration information (including basic information and jump information) about different target controls, the basic information of a plurality of target controls and the jump information corresponding to the basic information can be stored in one configuration file. In addition, in order to enable the client to quickly find each piece of basic information and the skip information corresponding to each piece of basic information, the configuration file may be specifically a configuration table (or may be in other presentation forms), that is, the mapping relationship between each piece of basic information and each piece of skip information is recorded in a table form. In addition, when the information in the configuration file sent by the server to the client is not in a table form, the client may also generate the configuration table according to the configuration information in the configuration file.
In addition, when developing the necessary jump configuration information, the developer may use json (javascript Object notification) data format, or may use other data formats.
Illustratively, when the JSON data format is adopted, the jump configuration information developed by the developer may be:
{"jumpNative":false,
"jumpParms":null,
"jumpUrl":"http://www.xxxx.com/xxx.htm",
"pageName":"home_page",
"viewId":"jump_bussiness_xxx_tv"}
wherein "jumpNative" represents: whether to jump to a local page or not; "jumpParms" represents the jump parameter; "jumpUrl" indicates a jump address; "pageName" represents a page name; "viewId" represents the control ID of the target control.
In addition, in practical application, the jump configuration information may be actively acquired by the client to the server, or may be passively received by the client from the server. Therefore, the specific implementation manner of the client obtaining the skip configuration information may be the following two types:
(1) when the client is started, sending a skip configuration information acquisition request to the server, and receiving basic information of a target control sent by the server based on the skip configuration information acquisition request and skip information corresponding to the basic information.
(2) When the client is started, the basic information of the target control cached in advance locally and the jump information corresponding to the basic information are directly obtained.
The basic information and the skip information which are cached in advance locally are actively issued to the client after the server generates the information.
It should be added that the skip configuration information in the embodiment of the present invention belongs to a global configuration.
202. And when the target control is displayed, acquiring the position information of the target control on a screen, and displaying a jump control at the position information so that the jump control covers the target control.
The jump control also needs to be generated before the jump control is displayed. The specific implementation manner of generating the jump control may be: acquiring control display content required by the jump control; generating a jump control comprising the control display content; registering an event for the jump control, such as a register click event, for triggering access to the jump page.
Specifically, in practical applications, the display content of the control required by the jump control may be the same as the display content of the control of the target empty control, or may be different from the display content of the control of the target control. For example, in a scenario of repairing a page problem, the content to be modified often only has a page jump path, that is, the website linked by the control changes, and the control display content of the control does not need to be modified; when the page is updated, the content to be modified is not only a page jump path but also the display content of the control is modified.
Therefore, the client needs to know the control display content required by the jump control besides the basic information and the jump information of the target control. Specific implementation modes for acquiring the display content of the control are explained below for different situations respectively:
(1) the server defaults not to modify the control display content of the target control, namely the control display content required by the default jump control is the same as the control display content of the target control.
In this case, the client first obtains the basic information of the target control, and then obtains the display content of the control according to the basic information.
Specifically, after the client searches for the control identifier corresponding to the page identifier of the current page from the basic information and searches for the target control corresponding to the control identifier from the current page, the control display content of the target control is first acquired, and then the acquired control display content is directly determined as the control display content required by the jump control.
(2) When the server issues the basic information and the skip information of the target control to the client, the server also issues control display content required by the skip control associated with the skip information to the client, and after the client receives the information, the client can directly determine the control display content required by the skip control to be generated according to the mapping relation of the three. The control display content sent by the server may be the same as or different from the control display content of the target control.
After the jump control is generated, when the target control is displayed, the position information of the target control on the screen can be firstly acquired, then the jump control is displayed at the position of the position information, and the jump control is enabled to display the target control in a covering manner.
In practical application, as the position of the target control on the screen changes along with the sliding of the page by the user, in order to enable the jump control to cover the target control in real time, the client needs to detect the position information of the target control on the screen of the terminal to which the client belongs in real time, and display the jump control at the position of the position information detected in real time, so that the jump control covers the target control in real time.
The specific implementation manner of step 201 and step 202 is described below by taking the client as an Android system as an example: before displaying the current page, if the page identifier of the current page is in the basic information, the client may first find an Int value (i.e., a control ID) corresponding to r.id.xxx in the application through a view ID in the basic information, then obtain a view object (i.e., a target control) in the current page through findViewById, finally generate an image (i.e., a jump control) having the same display content as the view object, and display the view object in an overlaid manner according to the position of the view object.
203. Receiving an operation for the jump control.
The specific implementation manner of this step is the same as that of step 102 described above, and is not described herein again.
204. And jumping to the jumping page according to the jumping information associated with the jumping control so as to display the jumping page.
In practical applications, the jump page set by the developer may be a client local page or a network page (i.e., a server-side stored page). When a developer configures a jump address for a target page, a configuration error is likely to occur, for example, the jump address of a local page is configured as the jump address of a network page, so that in order to avoid a phenomenon that a client side generates a jump error when performing page jump according to jump information, the client side can acquire page attribute verification information from the jump information before jumping to the jump page according to the jump address and the jump parameter; then judging whether the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information; if the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information, jumping to the jump page according to the jump address and the jump parameter; and if the page attribute of the jump address is different from the page attribute represented by the page attribute verification information, stopping the jump operation, then displaying the jump error, and sending prompt information of the jump address error to a server so that a developer can change the jump address according to the prompt information.
The page attribute verification information is used for verifying the page attribute of the page attribute, wherein the page can be mainly divided into a local page and a network page, so the page attribute represented by the page attribute verification information can be the local page or the network page. In addition, the specific content of the page attribute verification information may be: "page attribute: local page/web page ", may also be: "jump to local page: yes/no ", may also be: "whether to jump to a web page: yes/no ".
Further, according to the method described in fig. 3 or 4, another embodiment of the present invention further provides a method for page jump, where the method is mainly applied to a server, as shown in fig. 5, the method mainly includes:
301. and acquiring the jump information.
The target page is a page obtained by enabling the client to perform jump display through a target control, and the target control is a control which is selected by the server side and needs to be displayed in the current page of the client in an overlaying manner. The server can configure related jump information for each target control according to the requirement, and issue the jump information to the client, so that the client changes the page jump path according to the jump information (i.e. step 302 is executed). The skip information comprises a skip address and a skip parameter, and the skip parameter comprises service content required by loading the skip page.
302. And directly issuing the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client, so that the client displays the skip page instead of the target page according to the skip information.
Since there is not only one target control that needs to jump information on one page, in order to enable the client to distinguish which jump information corresponds to which target control, when the jump information is sent to the client, the basic information of the target control corresponding to the jump information also needs to be sent to the client. Wherein the basic information of the target control comprises: and determining the page identification of the page and the control identification of the target control. In practical application, the page identifier may be a page name or a URL of the page; the control identification may be a unique name set for the control.
Before sending the basic information and the skip information of the target control to the client, the server needs to determine a page including the target control, analyze the determined page, and obtain a page identifier and a control identifier of the target control from the determined page, so as to obtain the basic information of the target control; then, a jump page corresponding to the current target page is found, and the address, the service content and the like of the jump page are determined, so that jump information is obtained.
When the server determines the page including the target control, the determination can be performed according to specific requirements. For example, in a scenario of repairing a page problem, if a user encounters an online problem while using a client, the problem may be fed back to an enterprise of the client through a problem feedback page in the client or through an official telephone of the client, and after the enterprise obtains the problems, the enterprise may determine a page including a target control for jumping to a target page (i.e., a problem page) by using a server.
In step 202, it is mentioned that the display content of the control required by the jump control associated with the jump information may be the same as the display content of the control of the target control, or may be different from the display content of the control of the target control, and in order to let the client know what the display content of the control required by the jump control is, two ways may be adopted:
(1) and not sending the control display content to the client, so that the control display content required by the client default jump control is the same as the control display content of the target control.
(2) Determining control display content required by a jump control associated with the jump information, and then sending the control display content to a client when sending the basic information and the jump information to the client, so that the client takes the control display content sent by a server as the control display content required by the jump control.
In order to facilitate the client to find the jump configuration information about different target controls, the basic information of a plurality of target controls and the jump information (which may also include control display content) corresponding to the basic information may be stored in one configuration file. The specific representation form of the configuration file may be detailed in the above step 201.
In addition, in the client-side embodiment, it is mentioned that when configuring the jump address corresponding to the jump page for the target page, it is likely that the address of the local page is configured as the address of the network page, or the address of the local page is configured as the address of the local page. Therefore, in order to verify the correctness of the jump address configured in the jump configuration information, page attribute verification information for verifying whether the jump address recorded in the jump information is correct or not may be further added to the jump information, and the page attribute represented by the page attribute verification information is a local page or a network page.
Similar to the client-side approach, the server-side embodiment may be applicable in a number of scenarios. For example, a scenario of page problem fixes, a scenario of page updates, and so forth.
According to the page jumping method provided by the embodiment of the invention, after a problem occurs on a client line, the server can configure jumping information for jumping to a jumping page corresponding to a target page (namely, a page obtained by jumping and displaying the client through a target control) according to the problem on the line, and send the jumping information to the client, so that the jumping control can be displayed when the client displays the target control, and the jumping control covers and displays the target control, further, when a user clicks the position of the target control, the user can click the jumping control covered on the target control, and the jumping control jumps to the jumping page according to the jumping information without jumping to the original target page, thereby realizing the function of changing a page jumping path, and further repairing the problem on the line. Compared with the prior art, when the client has problems on line, the method can generate the jump control for covering the original control at any position of any page only by setting the configuration information for repairing the problems on line by the server, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so the method can effectively and comprehensively solve the problems on line of the client. In addition, when the service requirement changes and the page needs to be updated, the page jump path can be changed in a mode that the new control covers and displays the original control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
It can be known from the above embodiments that, taking the example that the server passively issues the basic information and the jump information (does not issue the control display content), and stores these information in a configuration file, in the page jump process, the interaction situation between the client and the server may be as shown in fig. 6:
401. the server determines a page comprising a target control;
402. the server acquires the basic information of the target control according to the determined page and acquires the jump information corresponding to the basic information;
403. the server configures a configuration file comprising the basic information of the target control and the jump information for the determined page;
404. when a client is started, sending a skip configuration information acquisition request to a server;
405. the server receives a skip configuration information acquisition request sent by a client;
406. the server sends the configuration file to the client;
407. a client receives a configuration file sent by a server;
408. before displaying a current page, a client judges whether a page identifier of the current page is in the configuration file; if the configuration file is in the configuration file, executing step 409; if not, go to step 410;
409. If the page identifier of the current page is in the configuration file, searching a control identifier corresponding to the page identifier from the configuration file, and continuing to execute step 411;
410. the client directly displays the current page and continues to step 408;
411. the client searches a target control corresponding to the control identification from the current page, generates a jump control with the same control display content as the target control, and registers a click event for the jump control;
412. when the target control is displayed, the client acquires the position information of the target control on a screen, and displays the jump control at the position information so that the jump control covers the target control;
413. the client detects the position information of the target control on the screen in real time; displaying the jump control at the position information detected in real time so that the jump control covers the target control in real time;
414. after a client receives a click event aiming at the jump control, searching a jump address, jump parameters and page attribute verification information corresponding to the basic information of the target control from the configuration file;
415. The client judges whether the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information;
416. and if the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information, the client jumps to the jump page according to the jump address and the jump parameter.
417. If the page attribute of the jump address is different from the page attribute represented by the page attribute verification information, the client stops page jump;
418. the client sends prompt information of a jump address error to the server;
419. and the client receives and displays prompt information of the jump address error.
Taking the client as an android client and the application scene as a page problem repairing scene as an example, the following describes the schemes of the server and the client in detail:
as shown in fig. 1, when the server determines that a page corresponding to a control "hotel guest stack" in a home page of the client has a problem, the server may obtain basic information of a target control "hotel guest stack" and skip information for skipping to a standby page (i.e., a skip page) corresponding to the problem page according to the home page, and send the basic information and the skip information to the client when receiving a skip configuration information obtaining request sent by the client. The basic information of the target control 'hotel guest stack' comprises a page identification of a home page and a control identification of the target control; the jump information of the standby page comprises a jump address, jump parameters and page attribute verification information. And the data format adopted by the basic information and the skip information may be the JSON data format mentioned in the detailed description of step 201:
Figure BDA0001306409850000181
After the client is started, the first page is entered, and before the first page is displayed, the client judges whether the page identifier of the first page is in the basic information acquired from the server side; if the judgment result is yes, the client firstly searches an Int value (namely, a control ID) corresponding to R.id.xxx through the ViewId in the basic information including the home page identifier, then acquires a view object (namely, a target control hotel guest stack) in the home page through the findViewById, finally generates an image (namely, a standby control) with the same display content as the view object, registers a click event for the generated standby control, and enables the standby control to cover the target control according to the position of the target control. In addition, the client detects the position of the target control on the screen in real time and displays the standby control at the detected position, so that the standby control covers the target control in real time. After a click event aiming at the standby control is received, jump information corresponding to basic information of a target control 'hotel guest stack' acquired from a server side can be acquired; then the client judges whether the page attribute of the jump address in the jump information is the same as the page attribute represented by the page attribute verification information in the jump information; and if the judgment result is ' not to jump to the local ', the client can jump to the standby page according to the jump address ' http:// www.xxxx.com/xxx. The jump parameter required by the jump is null, namely null, so that the page jump operation can be directly carried out according to the jump address.
Further, according to the method shown in fig. 3, another embodiment of the present invention further provides a device for page jump, where the device is applied to a client, as shown in fig. 7, the device mainly includes:
the display unit 51 is configured to display a jump control when a target control is displayed, so that the jump control displays the target control in an overlaid manner, where the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
a receiving unit 52, configured to receive an operation for the jump control;
and the jumping unit 53 is used for jumping to the jumping page according to the jumping information so as to display the jumping page.
Optionally, as shown in fig. 8, the apparatus further includes:
an obtaining unit 54, configured to obtain, before displaying the jump control, control display content required by the jump control;
a generating unit 55, configured to generate a jump control including the control display content;
and a registering unit 56, configured to register, for the jump control, an event for triggering access to the jump page.
Optionally, as shown in fig. 8, the obtaining unit 54 includes:
A first obtaining module 541, configured to obtain basic information of the target control, and obtain display content of the control according to the basic information;
a second obtaining module 542, configured to obtain the control display content sent by the server.
Optionally, the first obtaining module 541 is configured to search, from the basic information, a control identifier corresponding to a page identifier of a current page; searching a target control corresponding to the control identification from the current page; and acquiring the control display content of the target control, and determining the acquired control display content as the control display content required by the jump control.
Optionally, the control display content sent by the server and acquired by the second acquiring module 542 is the same as or different from the control display content of the target control.
Optionally, the receiving unit 52 is further configured to, before displaying the target control, after sending a skip configuration information acquisition request to the server, receive basic information of the target control sent by the server based on the skip configuration information acquisition request and skip information corresponding to the basic information; or directly receiving the basic information of the target control sent by the server and the jump information corresponding to the basic information.
Optionally, the receiving unit 52 is further configured to receive control display content required by a jump control sent by the server and associated with the jump information when the basic information sent by the server and the jump information corresponding to the basic information are received.
Alternatively, as shown in fig. 8, the display unit 51 includes:
a third obtaining module 511, configured to obtain position information of the target control on a screen when the target control is displayed after the target control is found in a current page according to the basic information of the target control;
a display module 512, configured to display the jump control at the location information, so that the jump control covers the target control.
Optionally, as shown in fig. 8, the display unit 51 further includes:
a detection module 513, configured to detect, in real time, position information of the target control on the screen;
the display module 512 is further configured to display the jump control at the position information detected in real time, so that the jump control covers the target control in real time.
Optionally, as shown in fig. 8, the jumping unit 53 includes:
a fourth obtaining module 531, configured to obtain a jump address and a jump parameter from the jump information, where the jump parameter includes a service content required for loading the jump page;
A jump module 532, configured to jump to the jump page according to the jump address and the jump parameter.
Optionally, the fourth obtaining module 531 is further configured to obtain page attribute verification information from the jump information before the jump module 532 jumps to the jump page according to the jump address and the jump parameter;
as shown in fig. 8, the jumping unit 53 further includes:
a determining module 533, configured to determine whether a page attribute of the jump address is the same as a page attribute represented by the page attribute verification information found by the second searching module;
the jump module 532 is configured to jump to the jump page according to the jump address and the jump parameter when the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information.
Optionally, the page attribute represented by the page attribute verification information is a local page or a network page.
The page jumping device provided by the embodiment of the invention can configure the jumping information for jumping to the jumping page corresponding to the target page (namely, the page obtained by the client through the target control to jump and display) according to the on-line problem of the client after the on-line problem occurs, and send the jumping information to the client, so that the client can display the jumping control when displaying the target control, and the jumping control covers and displays the target control, so that a user can click the jumping control covered on the target control when clicking the position of the target control, and jump to the jumping page according to the jumping information by the jumping control without jumping to the original target page, thereby realizing the function of changing the page jumping path and further repairing the on-line problem. Compared with the prior art, when the client has problems on line, the method can generate the jump control for covering the original control at any position of any page only by setting the configuration information for repairing the problems on line by the server, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so the method can effectively and comprehensively solve the problems on line of the client. In addition, when the service requirement changes and the page needs to be updated, the page jump path can be changed in a mode that the new control covers and displays the original control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
Further, according to the method shown in fig. 5, another embodiment of the present invention further provides a page jump apparatus, where the apparatus is applied to a server, and as shown in fig. 9, the apparatus mainly includes:
an obtaining unit 61, configured to obtain skip information, where the skip information is used to skip to a skip page corresponding to a target page, and the target page is a page obtained by causing a client to skip and display through a target control;
a sending unit 62, configured to directly send the skip information to each client, or send the skip information to the client after receiving a skip configuration information acquisition request sent by the client, so that the client displays the skip page instead of the target page according to the skip information.
Optionally, as shown in fig. 10, the apparatus further includes:
a determining unit 63, configured to determine a page including the target control;
the obtaining unit 61 is further configured to obtain basic information of the target control according to the determined page;
the sending unit 62 is further configured to send basic information corresponding to the skip information to the client when sending the skip information to the client.
Optionally, the determining unit 63 is further configured to determine control display content required by a jump control associated with the jump information;
the sending unit 62 is further configured to send the control display content to the client when the basic information and the skip information are sent to the client.
Optionally, the basic information of the target control includes: the page identification of the determined page and the control identification of the target control are determined;
and/or the jump information comprises a jump address and jump parameters, and the jump parameters comprise service contents required by loading the jump page.
Optionally, the jump information further includes page attribute verification information used for verifying whether the jump address is correct, and a page attribute represented by the page attribute verification information is a local page or a network page.
The page jumping device provided by the embodiment of the invention can configure the jumping information for jumping to the jumping page corresponding to the target page (namely, the page obtained by the client through the target control to jump and display) according to the on-line problem of the client after the on-line problem occurs, and send the jumping information to the client, so that the client can display the jumping control when displaying the target control, and the jumping control covers and displays the target control, so that a user can click the jumping control covered on the target control when clicking the position of the target control, and jump to the jumping page according to the jumping information by the jumping control without jumping to the original target page, thereby realizing the function of changing the page jumping path and further repairing the on-line problem. Compared with the prior art, when the client has problems on line, the method can generate the jump control for covering the original control at any position of any page only by setting the configuration information for repairing the problems on line by the server, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so the method can effectively and comprehensively solve the problems on line of the client. In addition, when the service requirement changes and the page needs to be updated, the page jump path can be changed in a mode that the new control covers and displays the original control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
Further, according to the above method embodiment, another embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded and executed by a processor to:
displaying a jump control when a target control is displayed, so that the jump control displays the target control in a covering manner, wherein the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
receiving an operation for the jump control;
and jumping to the jumping page according to the jumping information so as to display the jumping page.
Optionally, the instructions stored in the storage medium are further adapted to be loaded and executed by the processor:
before displaying a jump control, acquiring control display content required by the jump control;
generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
Optionally, the instructions stored in the storage medium are further adapted to be loaded and executed by the processor:
After the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed;
displaying the jump control at the location information such that the jump control overlays the target control.
It should be noted that other instructions stored in the storage medium may refer to the method executed by the client side mentioned in the embodiment corresponding to fig. 3 and fig. 4, and are not described herein again.
Further, according to the above method embodiment, another embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded and executed by a processor to:
acquiring skip information, wherein the skip information is used for skipping to a skip page corresponding to a target page, and the target page is a page obtained by skipping and displaying a client through a target control;
and directly issuing the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client, so that the client displays the skip page instead of the target page according to the skip information.
Optionally, the instructions stored in the storage medium are further adapted to be loaded and executed by the processor:
determining a page comprising a target control;
acquiring basic information of the target control according to the determined page;
and when the skip information is sent to a client, sending basic information corresponding to the skip information to the client.
It should be noted that other instructions stored in the storage medium may refer to the method executed by the server side mentioned in the embodiment corresponding to fig. 5, and are not described herein again.
Further, according to the foregoing method embodiment, another embodiment of the present invention further provides a terminal, where the terminal includes:
display means for displaying information;
the storage medium is used for storing instructions executed by the processor and data required by the processor in the process of executing the instructions;
the processor is configured to execute the following instructions:
enabling the display device to display a jump control when displaying a target control, and enabling the jump control to display the target control in an overlaying manner, wherein the target control is a control used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
After receiving the operation aiming at the jump control, jumping to the jump page according to the jump information so that the display device displays the jump page;
a transceiver to receive an operation for the jump control.
Optionally, the processor is further configured to:
acquiring control display content required by a jump control before the display device displays the jump control;
generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
Optionally, the processor is further configured to:
after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the display device is controlled to display the target control;
causing the display device to display the jump control at the location information such that the jump control overlays the target control.
It should be noted that, for other instructions that need to be executed by the processor, reference may be made to the method executed by the client side in the embodiment illustrated in fig. 3 and fig. 4, and details are not described herein again.
Further, according to the foregoing method embodiment, another embodiment of the present invention further provides a server, where the server includes:
a processor to load and execute the following instructions:
acquiring skip information, wherein the skip information is used for skipping to a skip page corresponding to a target page, and the target page is a page obtained by skipping and displaying a client through a target control;
enabling the transceiver to directly transmit the jump information to each client, or after receiving a jump configuration information acquisition request transmitted by the client, transmitting the jump information to the client, so that the client displays the jump page instead of the target page according to the jump information;
the transceiver is used for sending the skip information to a client; receiving a skip configuration information acquisition request sent by a client;
a storage medium to store instructions for the processor.
Optionally, the processor is further configured to:
determining a page comprising a target control;
acquiring basic information of the target control according to the determined page;
and when the skip information is sent to a client, sending basic information corresponding to the skip information to the client.
It should be noted that, for other instructions that the processor needs instructions, reference may be made to the method executed by the server side in the embodiment shown in fig. 5, and details are not described here again.
Further, according to the above device embodiment, another embodiment of the present invention further provides a system for page jump, where the system includes: a client and a server; wherein the content of the first and second substances,
the server is used for acquiring jump information, the jump information is used for jumping to a jump page corresponding to a target page, and the target page is a page obtained by enabling the client to jump and display through a target control; directly sending the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client;
the client is used for receiving the skip information sent by the server based on the skip configuration information acquisition request after sending the skip configuration information acquisition request to the server, or directly receiving the skip information sent by the server; displaying a jump control when the target control is displayed, so that the jump control displays the target control in an overlaying manner; receiving an operation for the jump control; and jumping to the jumping page according to the jumping information associated with the jumping control so as to display the jumping page.
Optionally, the server is further configured to determine a page including the target control; acquiring basic information of the target control according to the determined page; when the skip information is sent to a client, sending basic information corresponding to the skip information to the client;
the client is also used for receiving basic information corresponding to the skip information; before displaying a jump control, acquiring control display content required by the jump control; generating a jump control comprising the control display content; registering an event for the jump control for triggering access to the jump page.
Optionally, the client is further configured to obtain basic information of the target control, and obtain the control display content according to the basic information.
Optionally, the client is further configured to search, from the basic information, a control identifier corresponding to a page identifier of a current page; searching a target control corresponding to the control identification from the current page; and acquiring the control display content of the target control, and determining the acquired control display content as the control display content required by the jump control.
Optionally, the server is further configured to determine control display content required by a jump control associated with the jump information; when the basic information and the skip information are sent to a client, the control display content is sent to the client;
And the client is also used for receiving the control display content and determining the received control display content as the control display content required by the jump control.
Optionally, the control display content sent by the server to the client is the same as or different from the control display content of the target control.
Optionally, the client is further configured to obtain position information of the target control on the screen when the target control is displayed after the target control is found in the current page according to the basic information of the target control; displaying the jump control at the location information such that the jump control overlays the target control.
Optionally, the client is further configured to detect, in real time, location information of the target control on the screen; displaying the jump control at the position information detected in real time so that the jump control covers the target control in real time.
Optionally, the client is further configured to obtain a jump address and a jump parameter from the jump information, where the jump parameter includes a service content required for loading the jump page; and jumping to the jump page according to the jump address and the jump parameter.
Optionally, the client is further configured to obtain page attribute verification information from the jump information before jumping to the jump page according to the jump address and the jump parameter; judging whether the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information; and if the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information, jumping to the jump page according to the jump address and the jump parameter.
Optionally, the page attribute represented by the page attribute verification information is a local page or a network page.
According to the page jumping system provided by the embodiment of the invention, after a problem occurs on a client line, the server can configure jumping information for jumping to a jumping page corresponding to a target page (namely, a page obtained by jumping and displaying the client through a target control) according to the problem on the line, and sends the jumping information to the client, so that the jumping control can be displayed when the client displays the target control, the target control is displayed in a covering manner through the jumping control, a user can click the jumping control covered on the target control when clicking the position of the target control, and the jumping control jumps to the jumping page according to the jumping information without jumping to the original target page, thereby realizing the function of changing a page jumping path and further repairing the problem on the line. Compared with the prior art, when the client has problems on line, the method can generate the jump control for covering the original control at any position of any page only by setting the configuration information for repairing the problems on line by the server, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so the method can effectively and comprehensively solve the problems on line of the client. In addition, when the service requirement changes and the page needs to be updated, the page jump path can be changed in a mode that the new control covers and displays the original control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
Further, another embodiment of the present invention further provides a method for page jump, where the method is mainly applied to a client side, as shown in fig. 11, and the method includes:
701. displaying a target control;
702. displaying a jump control, so that the jump control displays the target control in an overlaying manner;
the target control is used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page.
It should be noted that the timing for displaying the jump control includes, but is not limited to, the following ways: (1) when the target control is displayed, displaying a jump control; (2) and after the target control is displayed, displaying the jump control.
Optionally, the jump control needs to be generated before the jump control is displayed. Specifically, the client needs to acquire control display content required by the jump control first, and then generates the jump control including the control display content; and finally registering an event for triggering the access of the jump page for the jump control.
The specific implementation manner of obtaining the control display content required by the jump control may be:
Acquiring basic information of the target control, and acquiring display content of the control according to the basic information; or acquiring the control display content sent by the server. For a detailed explanation of these two ways, reference may be made to the embodiment corresponding to fig. 4.
Optionally, the displaying the jump control, so that a specific implementation manner of displaying the target control by the jump control in an overlaying manner, may be: acquiring position information of the target control on a screen; displaying the jump control at the location information such that the jump control overlays the target control.
The client can detect the position information of the target control on the screen in real time and display the jump control at the position of the position information detected in real time so that the jump control covers the target control in real time.
The page jump method provided by the embodiment of the invention can enable the jump control (newly generated control) to display the target control (original control on the page) in a covering manner, so that when a user clicks the position of the target control, the jump control covered on the target control can be clicked, the jump control jumps to the jump page according to the jump information without jumping to the original target page, and the function of changing the page jump path is realized. Therefore, when the page jump method generated by the control display method is applied to a scene of problem page repair, compared with the prior art, after a problem occurs on a client line, the embodiment of the invention can generate the jump control for covering the original control at any position of any page only by setting the related information of the jump control and the jump page, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so that the embodiment of the invention can effectively and comprehensively solve the problem on the client line. When the page jump method generated by the control display method is applied to a scene of page updating, the page jump path can be changed in a mode that the original control is displayed in a covering mode through the new control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
Further, according to the method shown in fig. 11, another embodiment of the present invention further provides a terminal, where the terminal includes:
display means for displaying information;
the storage medium is used for storing instructions executed by the processor and data required by the processor in the process of executing the instructions;
the processor is configured to execute the following instructions:
causing the display device to display a target control; and
causing the display device to display a jump control so that the jump control overlays and displays the target control;
the target control is used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page.
Optionally, the processor is further configured to:
acquiring control display content required by a jump control before the display device displays the jump control;
generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
Optionally, the processor is further configured to:
acquiring basic information of the target control, and acquiring display content of the control according to the basic information;
Or acquiring the control display content sent by the server.
Optionally, the processor is further configured to:
acquiring position information of the target control on a screen;
causing the display device to display the jump control at the location information such that the jump control overlays the target control.
Optionally, the processor is further configured to:
detecting the position information of the target control on the screen in real time;
and enabling the display device to display the jump control at the position information detected in real time so that the jump control covers the target control in real time.
The page-skipping terminal provided by the embodiment of the invention can enable the skipping control (the newly generated control) to display the target control (the original control on the page) in a covering manner, so that when a user clicks the position of the target control, the skipping control covered on the target control can be clicked, and the skipping control skips to the skipping page according to the skipping information without skipping to the original target page, thereby realizing the function of changing the page skipping path. Therefore, when the page jump method generated by the control display method is applied to a scene of problem page repair, compared with the prior art, after a problem occurs on a client line, the embodiment of the invention can generate the jump control for covering the original control at any position of any page only by setting the related information of the jump control and the jump page, and jump according to the jump information corresponding to the jump control to complete the problem repair without waiting for the development of a new version, and has no special requirement on a bottom layer frame of the client, so that the embodiment of the invention can effectively and comprehensively solve the problem on the client line. When the page jump method generated by the control display method is applied to a scene of page updating, the page jump path can be changed in a mode that the original control is displayed in a covering mode through the new control, so that the function of updating the page is realized, a large amount of time is not needed to be spent for modifying the page code and re-issuing the new page, and the efficiency of updating the page is improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method, apparatus and system described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the method, apparatus and system for page hopping according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (34)

1. A method of page hopping, the method comprising:
displaying a jump control while displaying a target control, such that the jump control overlays the display of the target control comprising: after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed; displaying the jump control at the location information such that the jump control overlays the target control; the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
Receiving an operation for the jump control;
and jumping to the jumping page according to the jumping information so as to display the jumping page.
2. The method of claim 1, wherein prior to displaying the jump control, the method further comprises:
acquiring control display content required by the jump control;
generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
3. The method of claim 2, wherein obtaining control display content required by the jump control comprises:
acquiring basic information of the target control, and acquiring display content of the control according to the basic information;
or acquiring the control display content sent by the server.
4. The method of claim 3, wherein obtaining the control display content according to the basic information comprises:
searching a control identification corresponding to the page identification of the current page from the basic information;
searching a target control corresponding to the control identification from the current page;
and acquiring the control display content of the target control, and determining the acquired control display content as the control display content required by the jump control.
5. The method of claim 3, wherein the control display content sent by the server is the same as or different from the control display content of the target control.
6. The method of claim 3, wherein prior to displaying the target control, the method further comprises:
after a skip configuration information acquisition request is sent to a server, receiving basic information of a target control sent by the server based on the skip configuration information acquisition request and skip information corresponding to the basic information;
or directly receiving the basic information of the target control sent by the server and the jump information corresponding to the basic information.
7. The method according to claim 6, characterized in that when the basic information sent by the server and the jump information corresponding to the basic information are received, the control display content required by the jump control associated with the jump information sent by the server is received.
8. The method of claim 1, wherein causing the jump control to display the target control over-lapping further comprises:
detecting the position information of the target control on the screen in real time;
Displaying the jump control at the position information detected in real time so that the jump control covers the target control in real time.
9. The method according to any one of claims 1 to 8, wherein said jumping to the jumped page according to the jumped information comprises:
acquiring a jump address and jump parameters from the jump information, wherein the jump parameters comprise service contents required by loading the jump page;
and jumping to the jump page according to the jump address and the jump parameter.
10. The method of claim 9, wherein before jumping to the jumped page according to the jumped address and the jumped parameter, the method further comprises:
acquiring page attribute verification information from the skip information;
judging whether the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information;
the jumping to the jump page according to the jump address and the jump parameter includes:
and if the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information, jumping to the jump page according to the jump address and the jump parameter.
11. The method according to claim 10, wherein the page attribute characterized by the page attribute verification information is a local page or a web page.
12. An apparatus for page jump, the apparatus comprising:
the display unit is used for displaying a jump control when a target control is displayed, so that the jump control displays the target control in a covering manner, the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
a receiving unit, configured to receive an operation for the jump control;
the jumping unit is used for jumping to the jumping page according to the jumping information so as to display the jumping page;
the display unit includes:
the third obtaining module is used for obtaining the position information of the target control on the screen when the target control is displayed after the target control is found in the current page according to the basic information of the target control;
and the display module is used for displaying the jump control at the position information so that the jump control covers the target control.
13. The apparatus of claim 12, further comprising:
the acquiring unit is used for acquiring control display contents required by the jump control before the jump control is displayed;
the generating unit is used for generating a jump control comprising the control display content;
and the registration unit is used for registering an event for triggering the access of the jump page for the jump control.
14. A storage medium storing a plurality of instructions adapted to be loaded and executed by a processor to:
displaying a jump control while displaying a target control, such that the jump control overlays the display of the target control comprising: after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed; displaying the jump control at the location information such that the jump control overlays the target control; the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
Receiving an operation for the jump control;
and jumping to the jumping page according to the jumping information so as to display the jumping page.
15. The storage medium of claim 14, wherein the instructions stored in the storage medium are further adapted to be loaded and executed by the processor to:
before displaying a jump control, acquiring control display content required by the jump control;
generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
16. A terminal, characterized in that the terminal comprises:
display means for displaying information;
the storage medium is used for storing instructions executed by the processor and data required by the processor in the process of executing the instructions;
the processor is configured to execute the following instructions:
enabling the display device to display a jump control when displaying a target control, and enabling the jump control to display the target control in an overlaying manner comprises the following steps: after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed; displaying the jump control at the location information such that the jump control overlays the target control; the target control is a control for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page;
After receiving the operation aiming at the jump control, jumping to the jump page according to the jump information so that the display device displays the jump page;
a transceiver to receive an operation for the jump control.
17. The terminal of claim 16, wherein the processor is further configured to:
acquiring control display content required by a jump control before the display device displays the jump control;
generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
18. A system for page hopping, the system comprising: a client and a server; wherein the content of the first and second substances,
the server is used for acquiring jump information, the jump information is used for jumping to a jump page corresponding to a target page, and the target page is a page obtained by enabling the client to jump and display through a target control; directly sending the skip information to each client, or sending the skip information to the client after receiving a skip configuration information acquisition request sent by the client;
The client is used for receiving the skip information sent by the server based on the skip configuration information acquisition request after sending the skip configuration information acquisition request to the server, or directly receiving the skip information sent by the server; displaying a jump control when the target control is displayed, so that the jump control displays the target control in an overlaying manner, specifically comprising: after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed; displaying the jump control at the location information such that the jump control overlays the target control; receiving an operation for the jump control; and jumping to the jumping page according to the jumping information associated with the jumping control so as to display the jumping page.
19. The system of claim 18, wherein the server is further configured to determine a page that includes a target control; acquiring basic information of the target control according to the determined page; when the skip information is sent to a client, sending basic information corresponding to the skip information to the client;
The client is also used for receiving basic information corresponding to the skip information; before displaying a jump control, acquiring control display content required by the jump control; generating a jump control comprising the control display content; registering an event for the jump control for triggering access to the jump page.
20. The system of claim 19, wherein the client is further configured to obtain basic information of the target control, and obtain the display content of the control according to the basic information.
21. The system according to claim 20, wherein the client is further configured to search the basic information for a control identifier corresponding to the page identifier of the current page; searching a target control corresponding to the control identification from the current page; and acquiring the control display content of the target control, and determining the acquired control display content as the control display content required by the jump control.
22. The system of claim 19, wherein the server is further configured to determine control display content required for a jump control associated with the jump information; when the basic information and the skip information are sent to a client, the control display content is sent to the client;
And the client is also used for receiving the control display content and determining the received control display content as the control display content required by the jump control.
23. The system according to claim 22, wherein the control display content sent by the server to the client is the same as or different from the control display content of the target control.
24. The system of claim 18, wherein the client is further configured to detect position information of the target control on the screen in real time; displaying the jump control at the position information detected in real time so that the jump control covers the target control in real time.
25. The system according to any one of claims 18 to 24, wherein the client is further configured to obtain a jump address and jump parameters from the jump information, and the jump parameters include service contents required for loading the jump page; and jumping to the jump page according to the jump address and the jump parameter.
26. The system according to claim 25, wherein said client is further configured to obtain page attribute verification information from said jump information before jumping to said jump page according to said jump address and said jump parameter; judging whether the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information; and if the page attribute of the jump address is the same as the page attribute represented by the page attribute verification information, jumping to the jump page according to the jump address and the jump parameter.
27. The system according to claim 26, wherein the page attribute characterized by the page attribute verification information is a local page or a web page.
28. A method of page hopping, the method comprising:
displaying a target control;
displaying a jump control to enable the jump control to display the target control in an overlaying manner, specifically comprising: after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed; displaying the jump control at the location information such that the jump control overlays the target control;
the target control is used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page.
29. The method of claim 28, wherein prior to displaying the jump control, the method further comprises:
acquiring control display content required by the jump control;
generating a jump control comprising the control display content;
Registering an event for the jump control for triggering access to the jump page.
30. The method of claim 29, wherein obtaining control display content required by the jump control comprises:
acquiring basic information of the target control, and acquiring display content of the control according to the basic information;
or acquiring the control display content sent by the server.
31. The method of any of claims 28-30, wherein the displaying the jump control such that the jump control overlays the target control comprises:
acquiring position information of the target control on a screen;
displaying the jump control at the location information such that the jump control overlays the target control.
32. The method of claim 31, wherein causing the jump control to display the target control over-lapping further comprises:
detecting the position information of the target control on the screen in real time;
displaying the jump control at the position information detected in real time so that the jump control covers the target control in real time.
33. A terminal, characterized in that the terminal comprises:
Display means for displaying information;
the storage medium is used for storing instructions executed by the processor and data required by the processor in the process of executing the instructions;
the processor is configured to execute the following instructions:
causing the display device to display a target control; and
enabling the display device to display a jump control so that the jump control displays the target control in an overlaying manner, specifically including: after the target control is found in the current page according to the basic information of the target control, acquiring the position information of the target control on a screen when the target control is displayed; displaying the jump control at the location information such that the jump control overlays the target control;
the target control is used for jumping to a target page, the jump control is associated with jump information, and the jump information is used for jumping to a jump page corresponding to the target page.
34. The terminal of claim 33, wherein the processor is further configured to:
acquiring control display content required by a jump control before the display device displays the jump control;
Generating a jump control comprising the control display content;
registering an event for the jump control for triggering access to the jump page.
CN201710386175.4A 2017-05-26 2017-05-26 Page jump method, device and system Active CN108958855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710386175.4A CN108958855B (en) 2017-05-26 2017-05-26 Page jump method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710386175.4A CN108958855B (en) 2017-05-26 2017-05-26 Page jump method, device and system

Publications (2)

Publication Number Publication Date
CN108958855A CN108958855A (en) 2018-12-07
CN108958855B true CN108958855B (en) 2021-12-21

Family

ID=64494766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710386175.4A Active CN108958855B (en) 2017-05-26 2017-05-26 Page jump method, device and system

Country Status (1)

Country Link
CN (1) CN108958855B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413306B (en) * 2019-06-25 2021-09-10 北京三快在线科技有限公司 Node project publishing method and device, electronic equipment and readable storage medium
CN112528198B (en) * 2020-11-26 2022-08-16 福州智象信息技术有限公司 Front-end-based detail authority control method, system, equipment and medium
CN113805968A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Application program function execution method and device, computer equipment and storage medium
CN117130692B (en) * 2023-10-23 2024-01-23 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6865593B1 (en) * 2000-04-12 2005-03-08 Webcollege, Inc. Dynamic integration of web sites
JP4459250B2 (en) * 2007-04-20 2010-04-28 富士通株式会社 Transmission method, image transmission system, transmission device, and program
US20120060110A1 (en) * 2010-09-08 2012-03-08 Microsoft Corporation Notification bar user interface control
US9244698B2 (en) * 2010-09-14 2016-01-26 Microsoft Technology Licensing, Llc Download bar user interface control
US20130145265A1 (en) * 2011-12-02 2013-06-06 Nicole Cunningham Bookmark with Audio Playback
CN103135930B (en) * 2013-02-05 2017-04-05 深圳市金立通信设备有限公司 A kind of touch screen control method and equipment
CA2923435A1 (en) * 2013-09-05 2015-03-12 Mosaiqq, Inc. System and method for decoupling windows from the desktop it was created on in a multiple desktop environment
CN106033372A (en) * 2015-03-19 2016-10-19 阿里巴巴集团控股有限公司 Page switching method and apparatus
CN106294372B (en) * 2015-05-15 2019-06-25 阿里巴巴集团控股有限公司 Application program page quick access method and the mobile terminal for applying it
CN106095797B (en) * 2016-05-31 2019-11-05 北京京东尚科信息技术有限公司 Data display method, display system and the client of handheld terminal
CN106484862B (en) * 2016-10-10 2020-01-31 聚好看科技股份有限公司 Page control method and device

Also Published As

Publication number Publication date
CN108958855A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US9846699B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
US9742661B2 (en) Uniform resource locator mapping and routing system and method
US10182324B2 (en) Contextual deep linking of applications
CN108958855B (en) Page jump method, device and system
US8533173B2 (en) Generating search query suggestions
US9865008B2 (en) Determining a configuration of a content item display environment
US8966446B1 (en) Systems and methods of live experimentation on content provided by a web site
US10664537B2 (en) User interface element for surfacing related results
US11314473B2 (en) Method and apparatus for displaying digital object identifier
CN105335423B (en) Method and device for collecting and processing user feedback of webpage
US20160173953A1 (en) Method, Device, Server, and Client Device for Video Processing
CN106254325A (en) The display packing of website authentication information and browser
US20180132012A1 (en) Method and apparatus for playing video in application program
US9292613B2 (en) Generation of generic universal resource indicators
US20140165212A1 (en) System and methods thereof for tracking and preventing execution of restricted applications
CN106157109A (en) price comparing method, device and terminal
US10002113B2 (en) Accessing related application states from a current application state
US9369544B1 (en) Testing compatibility with web services
US20150032657A1 (en) Computerized system for the distribution of a multi-platform digital publishing product and relative method
US8775924B1 (en) Processing web pages based on content quality
US20150163268A1 (en) System and Methods for Dynamically Loading a Compatible Media Player Based on a User's Environment
CN111562868B (en) Search guidance processing method and device
WO2014062209A1 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN111459580A (en) Page display method and device
US20150339751A1 (en) Dynamic pricing model

Legal Events

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