A web page jump method and device for mobile terminal

By using stacks and parameter objects to process page forward and backward instructions in the web page jump method of mobile terminals, the problems of chaotic web page jump parameters and high maintenance costs in the IPTV system are solved, and the efficiency and cost reduction of web page jumps are achieved. .

CN112711727BActive Publication Date: 2024-10-25MAYWIDE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011626932.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-10-25
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

The existing IPTV system needs to maintain multiple sets of jump logic codes when jumping to web pages, resulting in a heavy workload and prone to cross-use risks. Moreover, the URL parameters are numerous and messy, and the maintenance cost is high. It is impossible to achieve the development method of separating the front and back ends.

Method used

Using the web page jump method of the mobile terminal, the page is initialized through the stack under the unique mark of the user account, the parameter object is created, and according to the page forward or backward instructions, it is judged whether to push the parameter object into the stack or cache to realize web page jump.

Benefits of technology

It effectively solves the problem of many and messy parameters, reduces maintenance costs, realizes quick repair of web page jumps and reduces page usage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112711727B_ABST
    Figure CN112711727B_ABST
Patent Text Reader

Abstract

The present invention discloses a web page jump method and device for a mobile terminal, which is applied to a mobile terminal, wherein the mobile terminal includes a stack, and the stack is uniquely marked by a user account. The method includes: when a page is opened on the mobile terminal, the settings of the current page are initialized; when a page forward instruction is received, a current parameter object is created according to the address of the current page; based on the address type of the target page address corresponding to the page forward instruction, it is determined whether to push the current parameter object into the stack, and jump to the target page corresponding to the target page address; when a page backward instruction is received, according to the storage state of the stack and the setting of the preset backward mode of the mobile terminal, jump to the target backward page. The page parameters are effectively used to realize web page jump, and the parameters can be quickly repaired when abnormalities occur, thereby reducing the cost of page use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of web page jump, and in particular to a web page jump method and device for a mobile terminal. Background Art

[0002] IPTV, or interactive network television, is a technology that uses broadband networks to integrate Internet, multimedia, and communications technologies to provide home users with a variety of interactive services, including digital television. Its system structure mainly includes subsystems such as streaming media services, program editing, storage, and authentication and billing. The main content stored and transmitted is streaming media files with MPEG-2 / 4 standards as the encoding core. Based on IP network transmission, it is usually necessary to set up content distribution service nodes, configure streaming media services and storage devices, and the user terminal can be an IP set-top box + TV or a PC. IPTV can use the infrastructure of cable TV networks, use home TVs as the main terminal devices, and provide a variety of digital media services including TV programs through Internet protocols.

[0003] Due to the inconsistency of the underlying implementation logic and system version, the TV boxes and terminals of major IPTV operators need to use different jump logic when jumping to a web page. Multiple sets of jump logic codes need to be maintained for the same requirement, which is not only labor-intensive but also prone to the risk of cross-use. At the same time, along with the web page jump, data caching, cursor positioning and other operations will be generated, which are not compatible with multiple IPTV terminals.

[0004] Existing solutions are usually based on uniform resource locator (URL) + back-end service for identification and redirection. They cannot achieve the development mode of front-end and back-end separation, and all parameters need to be brought to the URL, which easily leads to the URL being too long and having many and messy parameters. Once the parameters are abnormal, each parameter of the URL needs to be checked, which has a high maintenance cost. Summary of the invention

[0005] The present invention provides a web page jump method and device for a mobile terminal, which solves the technical problems that the web page jump mode compatible with multiple mobile terminals in the prior art involves many and complicated parameters and high maintenance cost when abnormal parameters occur.

[0006] A web page jump method for a mobile terminal provided by the present invention is applied to a mobile terminal, wherein the mobile terminal includes a stack, and the stack is uniquely marked by a user account. The method includes:

[0007] When a page is opened on the mobile terminal, initializing the settings of the current page;

[0008] When a page forward instruction is received, a current parameter object is created according to the address of the current page;

[0009] Based on the address type of the target page address corresponding to the page forward instruction, determining whether to push the current parameter object into the stack and jump to the target page corresponding to the target page address;

[0010] When a page back instruction is received, the target back page is jumped to according to the storage state of the stack and the setting of the preset back mode of the mobile terminal.

[0011] Optionally, the step of initializing the settings of the current page when opening the page on the mobile terminal includes:

[0012] When a page is opened on the mobile terminal, obtaining a current page parameter corresponding to the current page from the stack;

[0013] Determine whether the current page is the home page;

[0014] If not, the preset callback operation is executed using the current page parameters to complete the initialization of the settings of the current page;

[0015] If so, the parameter objects in the stack are cleared, and according to the home page return result determined in response to the user instruction, the return address of the home page is determined and the callback operation is executed, so that the initialization of the settings of the current page is completed.

[0016] Optionally, the step of determining the return address of the home page and executing the callback operation according to the home page return result determined in response to the user instruction includes:

[0017] Responding to a user instruction, determining whether to return to the home page;

[0018] If yes, the address of the home page is read from the preset cache as the return address of the home page, and the callback operation is performed;

[0019] If not, determine whether preset return parameters are stored;

[0020] If the preset return parameter is stored, the value of the preset return parameter is determined as the return address of the home page and written into the preset cache, and the callback operation is performed;

[0021] If the preset return parameter is not stored, the preset page address is used as the return address of the home page and the callback operation is performed.

[0022] Optionally, when a page forward instruction is received, the step of creating a current parameter object according to the address of the current page includes:

[0023] When receiving a page forward instruction, create a current parameter object;

[0024] Determine whether the current page is the home page;

[0025] If the current page is not the home page, the address of the current page is written into the current parameter object.

[0026] Optionally, it also includes:

[0027] If the current page is the home page, a preset home page identifier and the address of the current page are written into the current parameter object.

[0028] Optionally, the step of determining whether to push the current parameter object into the stack based on the address type of the target page address corresponding to the page advance instruction and jumping to the target page corresponding to the target page address includes:

[0029] Determining whether the address type of the target page address corresponding to the page forward instruction is an external address;

[0030] If so, pushing the current parameter object into the stack;

[0031] If not, writing the current parameter object into the preset cache;

[0032] Jump from the current page to the target page corresponding to the target page address.

[0033] Optionally, when a page back instruction is received, the step of jumping to a target back page according to a storage state of the stack and a setting of a preset back mode of the mobile terminal includes:

[0034] When receiving a page back instruction, detecting whether the storage state of the stack is empty;

[0035] If the storage state of the stack is not empty, determining a target parameter object from the stack according to the page back instruction;

[0036] Detecting whether the mobile terminal is set with a preset back-up mode;

[0037] If the preset back-off mode is not set, the address corresponding to the target parameter object is used as the back-off address, and the page corresponding to the back-off address is used as the target back-off page;

[0038] Jump from the current page to the target back page.

[0039] Optionally, it also includes:

[0040] If the storage state of the stack is empty, determining whether the mobile terminal is set with the preset back mode;

[0041] If the preset back mode is not set, the address of the home page is obtained as the back address, and the home page is used as the target back page;

[0042] Jump from the current page to the target back page.

[0043] Optionally, it also includes:

[0044] If the preset back mode is set, determining the preset back page corresponding to the preset back mode as the target back page;

[0045] The preset back mode is adopted to jump from the current page to the target back page.

[0046] The present invention also provides a web page jump device for a mobile terminal, which is applied to a mobile terminal. The mobile terminal includes a stack, and the stack is uniquely marked by a user account. The device includes:

[0047] An initialization module, used to initialize the settings of the current page when the page is opened on the mobile terminal;

[0048] A current parameter object creation module, used to create a current parameter object according to the address of the current page when receiving a page forward instruction;

[0049] A page forward jump module, used to determine whether to push the current parameter object into the stack based on the address type of the target page address corresponding to the page forward instruction, and jump to the target page corresponding to the target page address;

[0050] The page back module is used to jump to a target back page according to the storage state of the stack and the setting of the preset back mode of the mobile terminal when receiving a page back instruction.

[0051] It can be seen from the above technical solutions that the present invention has the following advantages:

[0052] When a user opens a page on a mobile terminal, the present invention initializes the current page of the mobile terminal, and after the initialization is completed, monitors the input page jump command in real time; if a page forward command is received, a current parameter object is created based on the address of the current page, and then according to the target page address type corresponding to the page forward command, it is determined whether to push the current parameter object into the stack and jump to the target page; and when a page backward command is received, it can jump to the target backward page according to the storage state of the stack and the setting of the preset backward mode of the mobile terminal. Thus, the technical problems of the web page jump mode compatible with multiple mobile terminals in the prior art are solved, that is, the parameters involved are numerous and messy, and the maintenance cost is high when the parameters are abnormal, and the page parameters are effectively used to realize web page jump, and the parameters can be quickly repaired when they are abnormal, thereby reducing the cost of page use. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0054] Figure 1 A flowchart of a method for redirecting a web page in a mobile terminal provided by an embodiment of the present invention;

[0055] Figure 2 A flowchart of a method for redirecting a web page in a mobile terminal provided by an optional embodiment of the present invention;

[0056] Figure 3 A schematic diagram of a web page jump method for a mobile terminal provided by an embodiment of the present invention;

[0057] Figure 4 A flowchart of page initialization steps for a mobile terminal provided by an embodiment of the present invention;

[0058] Figure 5 A flowchart of the steps of a web page forwarding process provided by an embodiment of the present invention;

[0059] Figure 6 A flowchart of the steps of a web page back process provided by an embodiment of the present invention;

[0060] Figure 7 A structural block diagram of a web page jumping device for a mobile terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0061] The embodiment of the present invention provides a web page jump method and device for a mobile terminal, which are used to solve the technical problems that the web page jump mode compatible with multiple mobile terminals in the prior art involves many and complicated parameters and high maintenance cost when abnormal parameters occur.

[0062] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] See also Figure 1 , Figure 1 A flowchart of the steps of a web page jump method for a mobile terminal provided in an embodiment of the present invention.

[0064] A web page jump method for a mobile terminal provided by the present invention is applied to a mobile terminal, wherein the mobile terminal includes a stack, and the stack is uniquely marked by a user account. The method includes:

[0065] Step 101, when a page is opened on the mobile terminal, initializing the settings of the current page;

[0066] In the embodiment of the present invention, when a user opens a page on a mobile terminal, a stack corresponding to a unique mark of the user account is used to obtain corresponding page parameters from the stack to perform an initialization operation on the current page.

[0067] The stack is a specific storage area or register, one end of which is fixed and the other end is floating. The data stored in this storage area is a special data structure. All data can only be stored or retrieved at the floating end (called the top of the stack), and access is strictly based on the "first in, last out" principle. The elements in the middle must be removed one by one after the elements at the top of the stack (the last elements pushed into the stack) are removed. An area in the internal memory (random access memory) is called a software stack; a stack composed of registers is called a hardware stack.

[0068] It is worth mentioning that the mobile terminal may be a set-top box, a TV box, an IPTV terminal, an OTT terminal or a broadcasting set-top box, etc., and the embodiment of the present invention does not limit this.

[0069] Step 102, when a page forward instruction is received, a current parameter object is created according to the address of the current page;

[0070] When the page initialization is completed, if a page forward instruction is received, a current parameter object can be created based on the address of the current page, so that when the subsequent page is backed, the current parameter object corresponding to the address of the current page can be used as the backing target.

[0071] Step 103, based on the address type of the target page address corresponding to the page forward instruction, determine whether to push the current parameter object into the stack and jump to the target page corresponding to the target page address;

[0072] While creating the current parameter object according to the address of the current page, since the target page address corresponding to the page forward instruction may be an external link or not, it can be determined whether to push the current parameter object into the stack based on the address type of the target page address corresponding to the page forward instruction, and then jump from the current page to the corresponding target page.

[0073] Step 104: when a page back instruction is received, jump to a target back page according to the storage state of the stack and the setting of the preset back mode of the mobile terminal.

[0074] In a specific implementation, a mobile terminal usually has an independent homepage. Before leaving the factory, a preset back mode can be set so that the mobile terminal can return to the corresponding independent homepage according to the preset back mode when receiving a page back instruction.

[0075] In one example of the present invention, when a page back instruction is received, the actual page back method and back page can be determined through the storage status of the stack and the setting of the preset back method of the mobile terminal, so as to jump to the target back page in response to the page back instruction.

[0076] In an embodiment of the present invention, when a user opens a page on a mobile terminal, the current page of the mobile terminal is initialized, and after the initialization is completed, the input page jump instruction is monitored in real time; if a page forward instruction is received, a current parameter object is created based on the address of the current page, and then according to the target page address type corresponding to the page forward instruction, it is determined whether to push the current parameter object into the stack and jump to the target page; and when a page backward instruction is received, it can jump to the target backward page according to the storage state of the stack and the setting of the preset backward mode of the mobile terminal. Thereby solving the technical problems of the existing web page jump method compatible with multiple mobile terminals involving many and messy parameters and high maintenance cost when the parameters are abnormal, effectively using page parameters to realize web page jump, and being able to quickly repair when the parameters are abnormal, thereby reducing the cost of page use.

[0077] See also Figure 2 , Figure 2A flowchart of the steps of a web page jump method for a mobile terminal provided in an embodiment of the present invention.

[0078] A web page jump method for a mobile terminal provided by the present invention is applied to a mobile terminal, wherein the mobile terminal includes a stack, and the stack is uniquely marked by a user account. The method includes:

[0079] Step 201: when a page is opened on the mobile terminal, a current page parameter corresponding to the current page is obtained from the stack;

[0080] In the embodiment of the present invention, when a user opens a page on a mobile terminal, the mobile terminal loads a stack uniquely marked by the user account, and obtains the current page parameters corresponding to the current page from the stack.

[0081] Step 202: determine whether the current page is the home page;

[0082] After obtaining the current page parameters, since the mobile terminal may not have exited from the home page after the last use, before performing page callback, it is also necessary to determine whether the current page is the home page, so as to implement subsequent page callback operations.

[0083] Step 203: If not, the preset callback operation is executed using the current page parameters to complete the initialization of the settings of the current page;

[0084] If the current page is not the home page, the preset callback operation is directly executed using the current page parameters to complete the initialization of the current page.

[0085] The callback operation refers to the operation that takes the current page parameters as the basis and returns to the current page corresponding to the current page parameters at the end of the page jump.

[0086] It is worth mentioning that the home page mentioned here is the home page set by the mobile terminal.

[0087] Step 204: If yes, clear the parameter objects in the stack, determine the return address of the home page according to the home page return result determined in response to the user instruction, and execute the callback operation, so that the initialization of the settings of the current page is completed.

[0088] In the specific implementation, if the current page is the home page, the parameter object in the current stack is cleared, and then according to further user instructions, it is determined whether to return to the home page return structure of the home page to determine the return address of the home page, and the callback operation is executed to complete the initialization of the current page.

[0089] In an example of the present invention, "determining the return address of the home page and executing the callback operation according to the home page return result determined in response to the user instruction" in step 204 may include the following sub-steps:

[0090] Responding to a user instruction, determining whether to return to the home page;

[0091] If yes, the address of the home page is read from the preset cache as the return address of the home page, and the callback operation is performed;

[0092] If not, determine whether preset return parameters are stored;

[0093] If the preset return parameter is stored, the value of the preset return parameter is determined as the return address of the home page and written into the preset cache, and the callback operation is performed;

[0094] If the preset return parameter is not stored, the preset page address is used as the return address of the home page and the callback operation is performed.

[0095] In the embodiment of the present invention, by responding to the input user instruction, it is determined whether to return to the home page; if it is determined to return to the home page, the return address of the home page is read and recorded from the preset cache in preparation for executing the return operation from the home page.

[0096] If it is determined that the device is not returning to the home page, determine whether the mobile terminal stores a preset return parameter. If so, set the value of the return parameter to the home page return address and write it to the preset cache. After writing to the preset cache, record the home page return address in the current preset cache and execute the callback operation. If the mobile terminal does not store a preset return parameter, use the preset page address as the return address of the home page and execute the callback operation.

[0097] Optionally, the preset page address may be an address corresponding to a parameter of a page before the current page parameter in the stack.

[0098] Step 205, when a page forward instruction is received, a current parameter object is created according to the address of the current page;

[0099] Optionally, step 205 may include the following sub-steps:

[0100] When receiving a page forward instruction, create a current parameter object;

[0101] Determine whether the current page is the home page;

[0102] If the current page is not the home page, the address of the current page is written into the current parameter object.

[0103] In an optional embodiment of the present invention, when an input page forward instruction is received, a current parameter object is created, and then a determination is made as to whether the current page is the home page. If it is not the home page, the address of the current page is written into the current parameter object as the return address for the next page.

[0104] In a specific implementation, after creating the current parameter object, in order to facilitate subsequent return to the page, custom parameters can be created using the page parameters of the current page and written into another created parameter object.

[0105] Furthermore, step 205 may also include the following sub-steps:

[0106] If the current page is the home page, a preset home page identifier and the address of the current page are written into the current parameter object.

[0107] In an optional embodiment of the present invention, if the current page is the home page, in order to improve the efficiency of subsequent jumps back to the home page, the home page identifier corresponding to the home page can be written into the current parameter object together with the address of the current page.

[0108] Step 206, based on the address type of the target page address corresponding to the page advance instruction, determine whether to push the current parameter object into the stack and jump to the target page corresponding to the target page address;

[0109] After obtaining the current parameter object that records the address of the current page, we can further determine the address type corresponding to the target page address corresponding to the page forward instruction. Based on the address type, we determine whether to push the current parameter object into the stack. After pushing the current parameter object into the stack, we adjust it to the target page corresponding to the target page address.

[0110] In another example of the present invention, step 206 may include the following sub-steps:

[0111] Determining whether the address type of the target page address corresponding to the page forward instruction is an external address;

[0112] If so, pushing the current parameter object into the stack;

[0113] If not, writing the current parameter object into the preset cache;

[0114] Jump from the current page to the target page corresponding to the target page address.

[0115] In this embodiment, the mobile terminal determines whether the address type of the target page corresponding to the page forward instruction is an external address. If it is an external address, the current parameter object is written into the preset cache so that the return address can be directly read from the cache later; if it is not an external address, the current parameter object is pushed into the stack so that the stack can be used to implement page jump. After the current parameter object is processed, the current page is jumped to the target page corresponding to the target page address.

[0116] Step 207: when a page back instruction is received, jump to a target back page according to the storage state of the stack and the setting of the preset back mode of the mobile terminal.

[0117] In an optional embodiment of the present invention, step 207 may include the following sub-steps:

[0118] When receiving a page back instruction, detecting whether the storage state of the stack is empty;

[0119] If the storage state of the stack is not empty, determining a target parameter object from the stack according to the page back instruction;

[0120] Detecting whether the mobile terminal is set with a preset back-up mode;

[0121] If the preset back-off mode is not set, the address corresponding to the target parameter object is used as the back-off address, and the page corresponding to the back-off address is used as the target back-off page;

[0122] Jump from the current page to the target back page.

[0123] In a specific implementation, when a page back instruction is received, it is determined whether the storage state of the stack is empty. If it is not empty, it means that there are pages in the stack that can be backed. At this time, the target parameter object can be determined from the stack according to the page back instruction. For example: if the page back instruction indicates that it is necessary to back to the previous page, the parameter object at the top of the stack is selected as the target parameter object. Then it is determined whether the mobile terminal has a preset back mode. If no preset back mode is set, the address corresponding to the target parameter object can be used as the back address, and the page corresponding to the back address can be used as the target back page, and the current page can be jumped to the target back page.

[0124] Furthermore, step 207 may also include the following sub-steps:

[0125] If the storage state of the stack is empty, detecting whether the mobile terminal is set with a preset back-up mode;

[0126] If the preset back mode is not set, the address of the home page is obtained as the back address, and the home page is used as the target back page;

[0127] Jump from the current page to the target back page.

[0128] In an embodiment of the present invention, if the storage status of the stack is empty, it means that the page may be located at the home page at this time. At this time, it can be determined whether the mobile terminal has a preset back mode. If not, the address of the home page is obtained as the back address, and the home page is used as the target back page, and the current page is jumped to the target back page.

[0129] In an example of the present invention, step 207 may further include the following sub-steps:

[0130] If the preset back mode is set, determining the preset back page corresponding to the preset back mode as the target back page;

[0131] The preset back mode is adopted to jump from the current page to the target back page.

[0132] In a specific implementation, if a preset back mode is set in the mobile terminal, it means that the mobile terminal has a specific setting for page back, such as using a specific mode to trigger back to return to a specified page of the mobile terminal, back to a setting page, etc. At this time, the preset back page corresponding to the preset back mode can be used as the target back page. Use the preset back mode to jump from the current page to the target back page.

[0133] In an embodiment of the present invention, when a user opens a page on a mobile terminal, the current page of the mobile terminal is initialized, and after the initialization is completed, the input page jump instruction is monitored in real time; if a page forward instruction is received, a current parameter object is created based on the address of the current page, and then according to the target page address type corresponding to the page forward instruction, it is determined whether to push the current parameter object into the stack and jump to the target page; and when a page backward instruction is received, it can jump to the target backward page according to the storage state of the stack and the setting of the preset backward mode of the mobile terminal. Thereby solving the technical problems of the existing web page jump method compatible with multiple mobile terminals involving many and messy parameters and high maintenance cost when the parameters are abnormal, effectively using page parameters to realize web page jump, and being able to quickly repair when the parameters are abnormal, thereby reducing the cost of page use.

[0134] See also Figure 3 , Figure 3 A schematic diagram of a web page jump method for a mobile terminal provided in an embodiment of the present invention includes a page forward stack demonstration process, a page backward stack demonstration process and a page change process.

[0135] Page forward stack demonstration process: when the stack is empty, open the home page, and the parameter object corresponding to the home page is pushed into the stack; when jumping from the home page to the first page, the parameter object corresponding to the first page is pushed into the stack; when jumping from the first page to the second page, the parameter object corresponding to the second page is pushed into the stack, and so on. The parameter object of the previous page is recorded while advancing.

[0136] Page back stack demonstration process: When the current page is the third page, back is executed, the parameter object corresponding to the third page is popped out of the stack and the parameter object of the second page is obtained; when the second page is backed out, the parameter object corresponding to the second page is popped out of the stack and the parameter object of the first page is obtained until the stack is empty.

[0137] See also Figure 4 , Figure 4 A flow chart showing the steps of page initialization of a mobile terminal in an embodiment of the present invention is shown.

[0138] Initially, when the user enters the page, the user account is obtained to mark the unique stack, and the current page parameters are obtained from the stack to determine whether the current page is the home page;

[0139] If yes, clear the stack and determine whether to return to the home page; if returning to the home page, read the return address of the home page from the cache and record it in case of returning from the home page, and use the current page parameters to perform the callback operation;

[0140] If it is not returning to the home page, further determine whether there is a return parameter. If so, set the value of the obtained return parameter to the home page return address and write it to the cache. Otherwise, obtain the address of the previous page and set it as the home page return address and write it to the cache; use the current page parameters to perform the callback operation and end the initialization process.

[0141] See also Figure 5 , Figure 5 A flowchart of the steps of a web page forwarding process provided by an embodiment of the present invention.

[0142] At the beginning, when the user enters the page, the page settings are initialized, a parameter object is created and custom parameters are written to determine whether the current page is the home page;

[0143] If so, write the home page mark into the parameter object, get the address of the current page and write it into the parameter object, determine whether the target address is an external address, if so, write the parameter object into the cache and jump to the target address, ending the web page forwarding process; otherwise, push the parameter object into the stack and jump to the target address, ending the web page forwarding process.

[0144] If not, get the address of the current page and write it into the parameter object to determine whether the target address is an external address. If so, write the parameter object into the cache and jump to the target address, ending the web page forwarding process; if not, push the parameter object into the stack and jump to the target address, ending the web page forwarding process.

[0145] See also Figure 6 , Figure 6 A flowchart of the steps of a web page back process provided by an embodiment of the present invention.

[0146] At the beginning, when the user enters the page, the page settings are initialized to determine whether the stack is empty;

[0147] If so, further determine whether there is a built-in object; if so, use the built-in object's back method to trigger back; if not, obtain the homepage return address as the back address and jump to the back address.

[0148] If not, take out the target parameter object from the stack, clear the cache and write the target parameter object to determine whether there is a built-in object; if so, use the built-in object's back method to trigger back; if not, get the address of the previous page from the target parameter object as the back address and jump to the back address.

[0149] See also Figure 7 , Figure 7 A structural block diagram of a web page jumping device for a mobile terminal provided in an embodiment of the present invention.

[0150] The present invention provides a web page jump device for a mobile terminal, which is applied to a mobile terminal. The mobile terminal includes a stack, and the stack is uniquely marked by a user account. The device includes:

[0151] Initialization module 701, used for initializing the settings of the current page when opening the page on the mobile terminal;

[0152] The current parameter object creation module 702 is used to create a current parameter object according to the address of the current page when receiving a page forward instruction;

[0153] A page forward jump module 703 is used to determine whether to push the current parameter object into the stack and jump to the target page corresponding to the target page address based on the address type of the target page address corresponding to the page forward instruction;

[0154] The page back module 704 is used to jump to a target back page according to the storage state of the stack and the setting of the preset back mode of the mobile terminal when receiving a page back instruction.

[0155] Optionally, the initialization module 701 includes:

[0156] A current page parameter acquisition submodule, used for acquiring the current page parameters corresponding to the current page from the stack when a page is opened on the mobile terminal;

[0157] A first homepage judgment submodule is used to judge whether the current page is the homepage;

[0158] A first callback operation execution submodule is used for, if not, executing a preset callback operation using the current page parameters to complete the initialization of the settings of the current page;

[0159] The second callback operation execution submodule is used to clear the parameter objects in the stack, determine the return address of the home page and execute the callback operation according to the home page return result determined in response to the user instruction, so that the initialization of the settings of the current page is completed.

[0160] Optionally, the second callback operation execution submodule includes:

[0161] A home page return determination unit, used to respond to a user instruction and determine whether to return to the home page;

[0162] A first callback operation execution unit, configured to, if yes, read the address of the home page from a preset cache as the return address of the home page and execute the callback operation;

[0163] a return parameter determination unit, for determining whether a preset return parameter is stored if no;

[0164] a second callback operation execution unit, configured to determine the value of the preset return parameter as the return address of the home page and write the value into the preset cache to execute the callback operation if the preset return parameter is stored;

[0165] The third callback operation execution unit is used to use the preset page address as the return address of the home page to execute the callback operation if the preset return parameter is not stored.

[0166] Optionally, the current parameter object creation module 702 includes:

[0167] The current parameter object creates a submodule, which is used to create the current parameter object when receiving a page forward instruction;

[0168] A second homepage judgment submodule is used to judge whether the current page is the homepage;

[0169] The first address writing submodule is used to write the address of the current page into the current parameter object if the current page is not the home page.

[0170] Optionally, the current parameter object creation module 702 further includes:

[0171] The second address writing submodule is used to write a preset home page identifier and the address of the current page into the current parameter object if the current page is the home page.

[0172] Optionally, the page forward jump module 703 includes:

[0173] An external address determination submodule, used to determine whether the address type of the target page address corresponding to the page forward instruction is an external address;

[0174] A stack push submodule, for pushing the current parameter object into the stack if yes;

[0175] a cache writing submodule, for, if not, writing the current parameter object into the preset cache;

[0176] The page forward jump submodule is used to jump from the current page to the target page corresponding to the target page address.

[0177] Optionally, the page back module 704 includes:

[0178] A storage status detection submodule, used for detecting whether the storage status of the stack is empty when receiving a page back instruction;

[0179] a target parameter object determination submodule, configured to determine a target parameter object from the stack according to the page back instruction if the storage state of the stack is not empty;

[0180] A first back-up mode detection submodule, used to detect whether the mobile terminal is set with a preset back-up mode;

[0181] A first target back page determination submodule, for, if the preset back mode is not set, using the address corresponding to the target parameter object as the back address, and using the page corresponding to the back address as the target back page;

[0182] The first page back submodule is used to jump from the current page to the target back page.

[0183] Optionally, the page back module 704 further includes:

[0184] a second back-off mode detection submodule, configured to determine whether the mobile terminal is set with the preset back-off mode if the storage state of the stack is empty;

[0185] A second target back page determination submodule, for obtaining the address of the home page as the back address and using the home page as the target back page if the preset back mode is not set;

[0186] The second page back submodule is used to jump from the current page to the target back page.

[0187] Optionally, the page back module 704 further includes:

[0188] A third target back page determination submodule, configured to determine a preset back page corresponding to the preset back mode as a target back page if the preset back mode is set;

[0189] The third page back submodule is used to jump from the current page to the target back page by using the preset back mode.

[0190] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0191] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0192] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0193] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0194] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A web page jump method for a mobile terminal, characterized in that: Applied to a mobile terminal, the mobile terminal includes a stack, the stack is uniquely marked by a user account, the mobile terminal is a set-top box, a TV box, an IPTV terminal, an OTT terminal or a broadcasting TV set-top box, and the method includes: When a page is opened on the mobile terminal, initializing the settings of the current page; When a page forward instruction is received, a current parameter object is created according to the address of the current page; Based on the address type of the target page address corresponding to the page forward instruction, determining whether to push the current parameter object into the stack and jump to the target page corresponding to the target page address; When a page back instruction is received, jumping to a target back page according to the storage state of the stack and the setting of the preset back mode of the mobile terminal; The step of initializing the settings of the current page when opening the page on the mobile terminal comprises: When a page is opened on the mobile terminal, obtaining a current page parameter corresponding to the current page from the stack; Determine whether the current page is the home page; If not, the preset callback operation is executed using the current page parameters to complete the initialization of the settings of the current page; the callback operation refers to an operation that takes the current page parameters as a basis and returns to the current page corresponding to the current page parameters at the end of executing the page jump; If so, clear the parameter objects in the stack, determine the return address of the home page according to the home page return result determined in response to the user instruction, and execute the callback operation, so that the initialization of the settings of the current page is completed; The step of determining the return address of the home page and executing the callback operation according to the home page return result determined in response to the user instruction includes: Responding to a user instruction, determining whether to return to the home page; If yes, the address of the home page is read from the preset cache as the return address of the home page, and the callback operation is performed; If not, determine whether preset return parameters are stored; If the preset return parameter is stored, the value of the preset return parameter is determined as the return address of the home page and written into the preset cache, and the callback operation is performed; If the preset return parameter is not stored, the preset page address is used as the return address of the home page and the callback operation is performed.

2. The web page jump method of a mobile terminal according to claim 1, characterized in that: The step of creating a current parameter object according to the address of the current page when a page forward instruction is received includes: When receiving a page forward instruction, create a current parameter object; Determine whether the current page is the home page; If the current page is not the home page, the address of the current page is written into the current parameter object.

3. The web page jump method of the mobile terminal according to claim 2, characterized in that: Also includes: If the current page is the home page, a preset home page identifier and the address of the current page are written into the current parameter object.

4. The web page jump method of a mobile terminal according to claim 2 or 3, characterized in that: The step of judging whether to push the current parameter object into the stack based on the address type of the target page address corresponding to the page advance instruction and jumping to the target page corresponding to the target page address includes: Determining whether the address type of the target page address corresponding to the page forward instruction is an external address; If so, pushing the current parameter object into the stack; If not, writing the current parameter object into the preset cache; Jump from the current page to the target page corresponding to the target page address.

5. The web page jump method of a mobile terminal according to claim 1, characterized in that: The step of jumping to a target back page according to the storage state of the stack and the setting of the preset back mode of the mobile terminal when a page back instruction is received comprises: When receiving a page back instruction, detecting whether the storage state of the stack is empty; If the storage state of the stack is not empty, determining a target parameter object from the stack according to the page back instruction; Detecting whether the mobile terminal is set with a preset back-up mode; If the preset back-off mode is not set, the address corresponding to the target parameter object is used as the back-off address, and the page corresponding to the back-off address is used as the target back-off page; Jump from the current page to the target back page.

6. The web page jump method of a mobile terminal according to claim 5, characterized in that: Also includes: If the storage state of the stack is empty, determining whether the mobile terminal is set with the preset back mode; If the preset back mode is not set, the address of the home page is obtained as the back address, and the home page is used as the target back page; Jump from the current page to the target back page.

7. The web page jump method of a mobile terminal according to claim 5 or 6, characterized in that: Also includes: If the preset back mode is set, determining the preset back page corresponding to the preset back mode as the target back page; The preset back mode is adopted to jump from the current page to the target back page.

8. A web page jump device for a mobile terminal, characterized in that: Applied to a mobile terminal, the mobile terminal includes a stack, the stack is uniquely marked by a user account, the mobile terminal is a set-top box, a TV box, an IPTV terminal, an OTT terminal or a broadcasting set-top box, and the device includes: An initialization module, used to initialize the settings of the current page when the page is opened on the mobile terminal; A current parameter object creation module, used to create a current parameter object according to the address of the current page when receiving a page forward instruction; A page forward jump module, used to determine whether to push the current parameter object into the stack based on the address type of the target page address corresponding to the page forward instruction, and jump to the target page corresponding to the target page address; A page back module, configured to jump to a target back page according to a storage state of the stack and a setting of a preset back mode of the mobile terminal when a page back instruction is received; The initialization module includes: A current page parameter acquisition submodule, used for acquiring the current page parameters corresponding to the current page from the stack when a page is opened on the mobile terminal; A first homepage judgment submodule is used to judge whether the current page is the homepage; A first callback operation execution submodule is used for, if not, executing a preset callback operation using the current page parameters to complete the initialization of the settings of the current page; A second callback operation execution submodule is used for clearing the parameter objects in the stack, determining the return address of the home page and executing the callback operation according to the home page return result determined in response to the user instruction, so that the initialization of the settings of the current page is completed; The second callback operation execution submodule includes: A home page return determination unit, used to respond to a user instruction and determine whether to return to the home page; A first callback operation execution unit, configured to, if yes, read the address of the home page from a preset cache as the return address of the home page and execute the callback operation; a return parameter determination unit, for determining whether a preset return parameter is stored if no; a second callback operation execution unit, configured to determine the value of the preset return parameter as the return address of the home page and write the value into the preset cache to execute the callback operation if the preset return parameter is stored; The third callback operation execution unit is used to use the preset page address as the return address of the home page to execute the callback operation if the preset return parameter is not stored.