CN106411945B - A kind of access method and device of Web - Google Patents

A kind of access method and device of Web Download PDF

Info

Publication number
CN106411945B
CN106411945B CN201611057935.9A CN201611057935A CN106411945B CN 106411945 B CN106411945 B CN 106411945B CN 201611057935 A CN201611057935 A CN 201611057935A CN 106411945 B CN106411945 B CN 106411945B
Authority
CN
China
Prior art keywords
administrator
configuration page
log
message
last
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
CN201611057935.9A
Other languages
Chinese (zh)
Other versions
CN106411945A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201611057935.9A priority Critical patent/CN106411945B/en
Publication of CN106411945A publication Critical patent/CN106411945A/en
Application granted granted Critical
Publication of CN106411945B publication Critical patent/CN106411945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides the access method and device of a kind of Web, is applied to the network equipment, which comprises when the network equipment receives the access request for any level configuration page of target virtual devices, the last access information of more new record;Wherein, the last access information includes the address URL of the configuration page accessed administrator's the last time and the log-on message of administrator;After the configuration page exception exits, administrator is received for the logging request again of the configuration page of the target virtual devices;By searching for the corresponding the last access information of the log-on message that whether has recorded in the network equipment with carried in the logging request;If having recorded the last access information corresponding with the log-on message carried in the logging request in the network equipment; the address URL then based on the configuration page recorded in the last time access information; the configuration page is jumped to, to execute abnormal restoring to the configuration page.

Description

A kind of access method and device of Web
Technical field
This application involves network communication technology field, in particular to the access method and device of a kind of Web.
Background technique
As network gradually grows and the increasingly developed maturation of the network equipment, past are only supported through order line management Nowadays the network equipment is gradually embedded the network agent end of Web form to facilitate the control and management of administrator.
Administrator control and manage by Web mode the network equipment can encounter computer end power-off, computer is restarted, browser collapses The emergency cases such as routed cause to connect abnormal disconnection originally, or long-time leads to login-timeout without operation device page (DPAGE).These Situation, which all will lead to administrator, can not continue to configure, and be restored to the original configuration page.In these multi-level trees When the Web page of shape menu is configured, the reasons such as usual browser crash cause to connect abnormal disconnection or login-timeout, lead to Cross (Universal Resource Locator, the uniform resource locator) address URL or device address of browser reservation The configuration page at administrator original place can not be directly returned to when access equipment again, is all that can only jump to equipment log in page Face or equipment homepage.Administrator, which needs to jump to original place step by step according to tree menu distribution again, configures the page.
Network equipment function of today is become stronger day by day, and the supported URL level in the end Web is also increasingly complicated.Administrator jumps step by step The original configuration page is gone to, needs to jump repeatedly more difficultly, and jumps waiting for server response is needed also to compare expense every time When.
Summary of the invention
In view of this, the application provides the access method and device of a kind of Web, it is applied to the network equipment, improves administrator Log on the access efficiency of Web.
Specifically, the application is achieved by the following technical solution:
A kind of access method of Web is applied to the network equipment, wherein the network equipment, which is divided into, several virtually to be set Standby, independent administrator's account has been respectively configured in each virtual unit, and the configuration page of each virtual unit is with multistage tree-shaped knot Group is woven in the main configuration page corresponding with the network equipment structure respectively, comprising:
When receiving the access request for any level configuration page of target virtual devices, nearest the one of more new record Secondary access information;Wherein, the last access information includes the unified money of the configuration page accessed administrator's the last time The log-on message of source Locator URL address and administrator;
After the configuration page exception exits, administrator is received for the weight of the configuration page of the target virtual devices New login request;
Search whether the corresponding the last access information of the log-on message for having recorded with carrying in the logging request;
If having recorded the last access information corresponding with the log-on message carried in the logging request, it is based on The address URL of the configuration page recorded in the last time access information jumps to the configuration page, to match to described It sets the page and executes abnormal restoring.
A kind of access mechanism of Web is applied to the network equipment, wherein the network equipment, which is divided into, several virtually to be set Standby, independent administrator's account has been respectively configured in each virtual unit, and the configuration page of each virtual unit is with multistage tree-shaped knot Group is woven in the main configuration page corresponding with the network equipment structure respectively, comprising:
Updating unit, for when receive for target virtual devices any level configuration the page access request when, more The last access information of new record;Wherein, the last access information includes matching of accessing administrator's the last time Set uniform resource position mark URL address and the log-on message of administrator of the page;
Receiving unit is used for, and after the configuration page exception exits, is received administrator and is directed to the target virtual devices Configuration the page logging request again;
Searching unit, the log-on message corresponding nearest one for searching whether to have recorded with carry in the logging request Secondary access information;
Recovery unit the last is visited if log-on message for having recorded with carrying in the logging request is corresponding Ask information, then the address URL based on the configuration page recorded in the last time access information jumps to the configuration page Face, to execute abnormal restoring to the configuration page.
Since administrator is during Configuration network equipment, access information each time is stored in the network equipment, And as jumping for the page of configuration is updated the access information of record;If thus configuration page exception exits, administrator Again after login system, the network equipment can be in the last access information by log-on message and record in logging request The log-on message of preservation is matched, and the login saved in the log-on message in logging request and the last access information When information matches, configuration page when administrator exits extremely is jumped directly to, it is continuous in configuration page relaying convenient for administrator It is configured, and no longer needs to reenter the configuration interface from equipment homepage to complete to configure.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram that equipment is configured by Web mode shown in an exemplary embodiment in the related technology;
Fig. 2 configures the schematic diagram of equipment for the another kind in the related technology shown in an exemplary embodiment by Web mode;
Fig. 3 configures the schematic diagram of equipment for the another kind in the related technology shown in an exemplary embodiment by Web mode;
Fig. 4 configures the schematic diagram of equipment for the another kind in the related technology shown in an exemplary embodiment by Web mode;
Fig. 5 configures the schematic diagram of equipment for the another kind in the related technology shown in an exemplary embodiment by Web mode;
Fig. 6 is the access method flow chart of Web shown in one exemplary embodiment of the application a kind of;
Fig. 7 is a kind of schematic diagram that the network equipment is divided into virtual unit shown in one exemplary embodiment of the application;
Fig. 8 is a kind of hardware structure diagram of the network equipment where the access mechanism of Web of the application a kind of;
Fig. 9 is the access mechanism of Web shown in one exemplary embodiment of the application a kind of.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Virtual management system is a kind of one-to-many virtualization technology, by the way that a physical equipment is divided into more void Propose it is standby, and for every virtual unit, independent administrator is set, (such as interface, CPU and memory use amount to hardware resource Deng) and software resource, it can run independently of each other between each virtual unit, there is relatively independent configuration management interface, and Configuration interface in each virtual unit is organized into multistage tree according to business demand;Wherein, in the multistage tree Every level-one may include several configuration subpage frames, these configuration subpage frames can be stored in the main configuration page of each virtual unit In face.
Administrator can access the configuration page of each virtual unit by way of Web, control each virtual unit And management;However, if administrator is accessing any level configuration subpage frame of above-mentioned multistage tree distribution to current void When proposing standby configured, encounter emergency case (for example computer end power-off, computer are restarted, browser crash etc.) cause it is original Connection status disconnects, alternatively, login-timeout leads to original connection status if administrator is for a long time without operation device page (DPAGE) It disconnects.In these cases, administrator can not usually be restored to the original configuration page and continue to configure.Administrator needs Again the original configuration page is jumped to step by step according to tree menu distribution.
The relevant technologies are described below by way of a specific operating process, by taking the page of configuration address pond as an example.
1), referring to Figure 1, Fig. 1 is matched by Web mode for one kind in the related technology shown in an exemplary embodiment and is installed Standby schematic diagram.
When administrator's first time logging device Web page, Web page defaults the homepage that can jump to equipment, equipment Homepage is as shown in Figure 1, equipment homepage belongs to the subpage frame under further menu master control borad.Wherein, content shown in Fig. 1 is in order to just Partial content is only shown under description, each menu.
2) Fig. 2, is referred to, Fig. 2 is that the another kind in the related technology shown in an exemplary embodiment is configured by Web mode The schematic diagram of equipment.
Firewall in pointing device homepage is switched to the head of further menu firewall from the homepage of further menu master control borad Page, during this switching, the operation pages needs of equipment jump primary.
3) Fig. 3, is referred to, Fig. 3 is that the another kind in the related technology shown in an exemplary embodiment is configured by Web mode The schematic diagram of equipment.
The firewall in further menu firewall homepage is clicked, the secondary menu option below firewall is unfolded, then point NAT in second-level menu to be hit to configure, the operation pages of equipment could switch to the operation pages of the configuration of the NAT in second-level menu, During this switching, the operation pages needs of equipment jump primary.
4) Fig. 4, is referred to, Fig. 4 is that the another kind in the related technology shown in an exemplary embodiment is configured by Web mode The schematic diagram of equipment.
Secondary menu NAT configuration further includes three-stage menu, including source NAT, purpose NAT, static NAT, port block NAT, point The source NAT option in three-stage menu is hit, the operation pages of equipment will be switched to the operation pages of source NAT, switch at this Cheng Zhong, the operation pages needs of equipment jump primary.
5) Fig. 5, is referred to, Fig. 5 is that the another kind in the related technology shown in an exemplary embodiment is configured by Web mode The schematic diagram of equipment.
In the operation pages of three-stage menu source NAT, address pool option icons are clicked, the operation pages of equipment will switch To the address pool operation pages of level Four menu, during this switching, the operation pages needs of equipment jump primary.
From above-mentioned five processes as can be seen that when configuring the address pool of equipment, from equipment homepage to configuration address pond During operation pages, the operation pages of equipment need to jump 4 times, if the network equipment is divided into several virtual units, So from equipment homepage to during the configuration page of the respective virtual equipment in configuration address pond, equipment needs the number jumped It is also more.
If administrator at configuration address pond, encounter emergency case (such as computer end power-off, computer restart, browser Collapse etc.), then equipment will be switched off connecting, management can not continue to configure, and only wait until logging device again, and administrator just can be with Configuration;However, administrator can not continue to configure in the operation pages configured originally after administrator's logging device again, That is when administrator's operation pages configuration shown in Fig. 5, equipment disconnects suddenly, sets when administrator logs in again After standby, need to carry out from the beginning from operation pages shown in FIG. 1.When administrator does not appoint in operation pages for a long time Where reason, then will lead to equipment login-timeout, equipment can disconnect automatically, and in this case, administrator is also required to weight The new configuration process for carrying out equipment.
Therefore, from the related technology as can be seen that surpassing when administrator is by Web control and management equipment when encountering to log in When or abnormal the case where disconnecting after log on equipment, operating system can default jump to automatically equipment login page or Person's equipment homepage causes administrator to need to jump to original place step by step by device menus structure and configures the page.
In order to solve the problems in the relevant technologies, this application provides the access methods of Web a kind of, set applied to network It is standby, wherein the network equipment is divided into several virtual units, and independent administrator's account has been respectively configured in each virtual unit Number, and the configuration page of each virtual unit is organized to be the corresponding main configuration of the network equipment with multistage tree respectively In the page, when the network equipment receives the access request for any level configuration page of target virtual devices, more new record The last access information;Wherein, the last access information includes the configuration page accessed administrator's the last time The address URL and administrator log-on message;After the configuration page exception exits, receives administrator and be directed to the target The logging request again of the configuration page of virtual unit;By searching for whether had recorded in the network equipment in the logging request The corresponding the last access information of the log-on message of carrying;It is carried if had recorded in the network equipment with the logging request The corresponding the last access information of log-on message, then based on the configuration page recorded in the last time access information The address URL, jump to the configuration page, with to the configuration page execute abnormal restoring.
Since administrator is during Configuration network equipment, access information each time is stored in the network equipment, And as jumping for the page of configuration is updated the access information of record;If thus configuration page exception exits, administrator Again after login system, the network equipment can be in the last access information by log-on message and record in logging request The log-on message of preservation is matched, and the login saved in the log-on message in logging request and the last access information When information matches, configuration page when administrator exits extremely is jumped directly to, it is continuous in configuration page relaying convenient for administrator It is configured, and no longer needs to reenter the configuration interface from equipment homepage to complete to configure.
Fig. 6 is referred to, Fig. 6 is the access method flow chart of Web shown in one exemplary embodiment of the application a kind of, application In the network equipment, following steps are specifically executed:
Step 601: when receiving the access request for any level configuration page of target virtual devices, more new record The last access information;Wherein, the access information of described the last time includes the configuration page accessed administrator's the last time The log-on message of face uniform resource position mark URL address and administrator;
It in this application, still can be using a kind of one-to-many virtualization technology, by dividing a physical equipment Cheng Duotai virtual unit, and for the independent administrator of every virtual unit setting, (such as interface, CPU and memory make hardware resource With amount etc.) and software resource, it can run independently of each other between each virtual unit, there is relatively independent configuration management circle Face, and the configuration interface in each virtual unit is organized into multistage tree according to business demand;Wherein, the multistage is tree-shaped Every level-one in structure may include several configuration subpage frames, these configuration subpage frames can be stored in each virtual unit In the main configuration page.
For example, refer to Fig. 7, Fig. 7 is that the network equipment is divided into void by a kind of shown in one exemplary embodiment of the application Propose standby schematic diagram.
In Fig. 7, a network equipment is divided into the void such as master control borad, firewall, UAG, IPS, ADX, routing plate, BRAS Propose it is standby, wherein independent operating between each virtual unit.Each virtual unit possesses independent configuration interface, wherein each virtual Configuration interface in equipment is organized into multistage tree according to business demand, wherein every level-one includes several configuration pages Then the multistage tree is stored in the main configuration page of each virtual unit by face.
It, can be with when administrator needs to carry out parameter configuration to some virtual unit in a kind of embodiment shown Click to enter the configuration homepage of the product.It include several virtual units ID in the configuration homepage of display, click is each virtually to be set Standby ID, device page (DPAGE) can jump to the login authentication page of each virtual unit, in the page, can input corresponding account, Login authentication is carried out, after being proved to be successful, it can enter the main configuration page for corresponding to the virtual unit of the account.
In the main configuration page, each page that configures is completed according to multistage tree tissue, and administrator can be based on Multistage tree is configured in each configuration page respectively according to the sequencing between at different levels.
In a kind of embodiment shown, when administrator configures in any configuration page at different levels, when in office It completes to match in any configuration page of level-one to postpone, when jumping to next configuration page, under equipment can be sent to server The access request of one configuration page wherein includes corresponding to next configuration page in the access information of the access request The log-on message of the address URL and administrator.Wherein, the log-on message includes that the account title of administrator, administrator step on Record address, the virtual unit ID that administrator logs in.
The virtual unit ID that the account title of above-mentioned administrator and administrator log in is to correspond to virtual unit for logging in The main configuration page of ID.Log in whether the administrator of virtual unit is the same administrator to distinguish, it is therefore desirable to administrator Entry address.
It, can be by server when the access request of the configuration page any in any level that server receives equipment transmission The last access information of middle preservation is deleted, and is then saved the access information newly received, is realized access information It updates.
Step 602: after the configuration page exception exits, receiving the configuration that administrator is directed to the target virtual devices The logging request again of the page;
When administrator carries out corresponding parameter configuration, the configuration page can be because emergency case, such as computer end be disconnected Electricity, browser crash etc. cause configuration page exception to exit.In addition to this, administrator completes that click can be passed through after configuration It logs off and normally to exit the configuration page.Both behaviors for exiting the configuration page are caused by different reasons, for clothes It is engaged in for device, needing to distinguish the configuration page is normally to exit or exit extremely.
When administrator, which clicks, to log off, after server receives the request of equipment transmission logged off, can will take The last access information saved in business device is deleted, and the request of logging off of equipment is then responding to.When administrator is matching When setting the page and being configured, for the configuration page because when emergency case is logged off, server can be to save in reservation server The last access information.Whether server is by searching for the last access information is had recorded in server, if server In have recorded the last access information, then show administrator when configuring the page and configuring, the configuration page is abnormal exits; If showing that administrator completes configuration, the configuration page is normally to move back without recording the last access information in server Out.
In a kind of embodiment shown, if administrator when any configuration page face configures, due to happen suddenly feelings Condition, such as computer end power-off, browser crash etc. cause configuration page exception to exit.In this case, administrator wants When continuing to complete the parameter configuration to product, can logging device again, send logging request to server.
Step 603: searching whether that the log-on message for having recorded with carrying in the logging request is corresponding and the last visit Ask information;
When server receives logging request, it can search whether to have recorded in server and carried with the logging request The corresponding the last access information of log-on message.If the login for having recorded in server and being carried in the logging request The corresponding the last access information of information, when illustrating that administrator configures the last time in virtual unit, configuration page Face is exited extremely.If there is no record the last visit corresponding with the log-on message carried in the logging request in server Ask information, when illustrating that administrator configures the last time in virtual unit, the configuration page is normally exited.
Step 604: if having recorded the last access letter corresponding with the log-on message carried in the logging request Breath, the then address URL based on the configuration page recorded in the last time access information jump to the configuration page, To execute abnormal restoring to the configuration page.
When server finds the last access information corresponding with the log-on message carried in the logging request, The entry address that administrator is extracted from the last time access information, will be in the entry address and logging request of the administrator The IP address of carrying is compared, if the two addresses are identical, is shown to be the logging request that the same administrator initiates.? Under such circumstances, it can continue to judge that account title and virtual unit ID and the last time access in the logging request are believed Whether the virtual unit ID that administrator's account title and administrator in breath log in is identical respectively.
If the account title in the logging request is identical as administrator's account in the last time access information, and Virtual unit ID in the logging request is identical as the virtual unit ID in the last time access information, then can be by this Account title and virtual unit ID in logging request, jump directly to the master of virtual unit corresponding with virtual unit ID Configure the page.
Then, server can extract the address URL from the last time access information.After obtaining the address URL, clothes Business device can be based on the address URL, wherein the corresponding configuration page in the address URL is administrator when configuring, abnormal Configuration page when exiting.Then, server can extract the configuration page corresponding with the address URL, then by the configuration page Face is shown in the operation pages of administrator, thus, it realizes after configuration page exception exits, restores abnormal matching when exiting The page is set, enables an administrator to continue to configure, and no longer needs to configure from the beginning again.
If any of account title and virtual unit ID in logging request parameter and the last time access are believed The virtual unit ID that corresponding administrator's account and administrator log in breath is not identical, then can return to login failure to equipment Message, and to administrator show login failure prompt.
It is the login of the administrator in the IP address and the last time access information carried in the logging request above The operation executed in the identical situation in address.
When the administrator in the IP address that is carried in the logging request and the last time access information entry address not Identical, then equipment homepage or login homepage can be shown the operation pages in administrator by server.
It is the operation executed in the case where having recorded the last access information in the server above.
In a kind of embodiment shown, if there is no the login carried in record and the logging request in server The corresponding last time access information of information then shows that the last exiting for the page of configuration is normally to exit.In such feelings Under condition, the operation pages of administrator can be switched to network equipment homepage by server.
By the above technical solution provided by the present application as it can be seen that the network equipment is divided into several virtual units, each void It proposes back-up and is not configured with independent administrator's account, and the configuration page of each virtual unit is with multistage tree group respectively It is woven in the corresponding main configuration page of the network equipment, when the network equipment receives any level for target virtual devices When configuring the access request of the page, the last access information of more new record;Wherein, the last access information includes The address URL for the configuration page that administrator's the last time accesses and the log-on message of administrator;When the configuration page exception After exiting, administrator is received for the logging request again of the configuration page of the target virtual devices;It is set by searching for network Whether with the log-on message that in the logging request carries corresponding the last access information is had recorded in standby;If network is set The last access information corresponding with the log-on message carried in the logging request is had recorded in standby, then based on this nearest one The address URL of the configuration page recorded in secondary access information jumps to the configuration page, to hold to the configuration page Row abnormal restoring.
Since administrator is during Configuration network equipment, access information each time is stored in the network equipment, And as jumping for the page of configuration is updated the access information of record;If thus configuration page exception exits, administrator Again after login system, the network equipment can be in the last access information by log-on message and record in logging request The log-on message of preservation is matched, and the login saved in the log-on message in logging request and the last access information When information matches, configuration page when administrator exits extremely is jumped directly to, it is continuous in configuration page relaying convenient for administrator It is configured, and no longer needs to reenter the configuration interface from equipment homepage to complete to configure.
Corresponding with a kind of aforementioned embodiment of the access method of Web, present invention also provides the access mechanisms of Web a kind of Embodiment.
A kind of embodiment of the access mechanism of Web of the application can be using on network devices.Installation practice can lead to Software realization is crossed, can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as a logic Device in meaning is to be referred to computer program corresponding in nonvolatile memory by the processor of the network equipment where it It enables and is read into memory what operation was formed.For hardware view, as shown in figure 8, for the access mechanism institute of Web of the application a kind of In a kind of hardware structure diagram of the network equipment, in addition to processor shown in Fig. 8, memory, network interface and non-volatile memories Except device, the network equipment in embodiment where device can also include generally according to the actual functional capability of the access mechanism of the Web Other hardware repeat no more this.
Referring to FIG. 9, Fig. 9 is the access mechanism of Web shown in one exemplary embodiment of the application a kind of, it is applied to network Equipment, wherein the network equipment is divided into several virtual units, and independent administrator's account has been respectively configured in each virtual unit Number, and with multistage tree, group is woven in main configuration corresponding with the network equipment to the configuration page of each virtual unit respectively In the page, described device includes: updating unit 910, receiving unit 920, searching unit 930, recovery unit 940.
Wherein, updating unit 910, the access that the page is configured for that ought receive any level for target virtual devices are asked When asking, the last access information of more new record;Wherein, the last access information includes visiting administrator's the last time The uniform resource position mark URL address for the configuration page asked and the log-on message of administrator;
Receiving unit 920, is used for, and after the configuration page exception exits, receives administrator and is directed to the destination virtual The logging request again of the configuration page of equipment;
Searching unit 930, the log-on message for searching whether to have recorded with carry in the logging request are corresponding most A nearly access information;
Recovery unit 940, if the log-on message corresponding nearest one for having recorded with being carried in the logging request Secondary access information, the then address URL based on the configuration page recorded in the last time access information jump to described match The page is set, to execute abnormal restoring to the configuration page.
In the present embodiment, the updating unit 910, is specifically used for:
When receiving the access request for any level configuration page of target virtual devices, search whether exist and institute The matched the last access request of the log-on message of the URL and administrator that state the configuration page carried in access request;
It is matched if there is with the URL of the configuration page and the log-on message of administrator carried in the access request The last access request, then the last access information of more new record;
If there is no the log-on message with the URL for configuring the page and administrator that are carried in the access request The last access request matched, then record the access request.
The searching unit 930, is specifically used for:
Obtain the void that the account title, the entry address of administrator, administrator of the administrator carried in logging request log in Quasi- device id;
It searches whether to have recorded the void logged in the account title, the entry address of administrator, administrator of the administrator Quasi- device id the last access information all the same.
In another embodiment, the searching unit 930, is further used for:
If not recording last time access information corresponding with the log-on message carried in the logging request, cut Change to network equipment homepage.
In this application, described device further include:
Unit is deleted, if deleting nearest one saved in server for receiving the message normally logged off Secondary access information.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of access method of Web is applied to the network equipment, wherein the network equipment is divided into several virtual units, Independent administrator's account has been respectively configured in each virtual unit, and the configuration page of each virtual unit is with multistage tree point Other group is woven in the main configuration page corresponding with the network equipment characterized by comprising
When receiving the access request for any level configuration page of target virtual devices, the last of more new record is visited Ask information;Wherein, the last access information includes that the unified resource of the configuration page accessed administrator's the last time is fixed The log-on message of the position symbol address URL and administrator;
After the configuration page exception exits, reception administrator is directed to stepping on again for the configuration page of the target virtual devices Record request;
Search whether the corresponding the last access information of the log-on message for having recorded with carrying in the logging request;
If having recorded the last access information corresponding with the log-on message carried in the logging request, most based on this The address URL of the configuration page recorded in a nearly access information, jumps to the configuration page, to the configuration page Face executes abnormal restoring.
2. the method according to claim 1, wherein described work as any level received for target virtual devices When configuring the access request of the page, the last access information of more new record, comprising:
When receiving the access request for any level configuration page of target virtual devices, search whether exist and the visit The matched the last access request of the log-on message of the URL and administrator that ask the configuration page carried in request;
If there is matched most with the log-on message of the URL for configuring the page and administrator that are carried in the access request A nearly access request, the then the last access information of more new record;
If there is no matched with the log-on message of the URL for configuring the page and administrator that are carried in the access request The last access request then records the access request.
3. the method according to claim 1, wherein the method also includes:
If not recording last time access information corresponding with the log-on message carried in the logging request, it is switched to Network equipment homepage.
4. the method according to claim 1, wherein the log-on message of the administrator includes the account of administrator The virtual unit ID that title, the entry address of administrator, administrator log in;
The corresponding the last access information of the log-on message that searches whether to have recorded with carry in the logging request, packet It includes:
Obtain virtually setting for account title, the entry address of administrator, the administrator login of the administrator carried in logging request Standby ID;
It searches whether to have recorded and virtually be set with what the account title, the entry address of administrator, administrator of the administrator logged in Standby the last access information ID all the same.
5. the method according to claim 1, wherein the method also includes:
If receiving the message normally logged off, the last access information saved in server is deleted.
6. a kind of access mechanism of Web is applied to the network equipment, wherein the network equipment is divided into several virtual units, Independent administrator's account has been respectively configured in each virtual unit, and the configuration page of each virtual unit is with multistage tree point Other group is woven in the main configuration page corresponding with the network equipment characterized by comprising
Updating unit, for updating note when receiving the access request for any level configuration page of target virtual devices The last access information of record;Wherein, the last access information includes the configuration page accessed administrator's the last time The uniform resource position mark URL address in face and the log-on message of administrator;
Receiving unit is used for, and after the configuration page exception exits, receives administrator's matching for the target virtual devices Set the logging request again of the page;
Searching unit, log-on message for searching whether to have recorded with carry in the logging request is corresponding the last to visit Ask information;
Recovery unit, if the corresponding the last access letter of log-on message for having recorded with being carried in the logging request Breath, the then address URL based on the configuration page recorded in the last time access information jump to the configuration page, To execute abnormal restoring to the configuration page.
7. device according to claim 6 characterized by comprising
The updating unit, is specifically used for:
When receiving the access request for any level configuration page of target virtual devices, search whether exist and the visit The matched the last access request of the log-on message of the URL and administrator that ask the configuration page carried in request;
If there is matched most with the log-on message of the URL for configuring the page and administrator that are carried in the access request A nearly access request, the then the last access information of more new record;
If there is no matched with the log-on message of the URL for configuring the page and administrator that are carried in the access request The last access request then records the access request.
8. device according to claim 6 characterized by comprising
The searching unit, is further used for:
If not recording last time access information corresponding with the log-on message carried in the logging request, it is switched to Network equipment homepage.
9. device according to claim 6, which is characterized in that the log-on message of the administrator includes the account of administrator The virtual unit ID that title, the entry address of administrator, administrator log in;
The searching unit, is specifically used for:
Obtain virtually setting for account title, the entry address of administrator, the administrator login of the administrator carried in logging request Standby ID;
It searches whether to have recorded and virtually be set with what the account title, the entry address of administrator, administrator of the administrator logged in Standby the last access information ID all the same.
10. device according to claim 6, which is characterized in that described device further include:
Unit is deleted, if deleting the last visit saved in server for receiving the message normally logged off Ask information.
CN201611057935.9A 2016-11-25 2016-11-25 A kind of access method and device of Web Active CN106411945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611057935.9A CN106411945B (en) 2016-11-25 2016-11-25 A kind of access method and device of Web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611057935.9A CN106411945B (en) 2016-11-25 2016-11-25 A kind of access method and device of Web

Publications (2)

Publication Number Publication Date
CN106411945A CN106411945A (en) 2017-02-15
CN106411945B true CN106411945B (en) 2019-08-06

Family

ID=58083226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611057935.9A Active CN106411945B (en) 2016-11-25 2016-11-25 A kind of access method and device of Web

Country Status (1)

Country Link
CN (1) CN106411945B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881025B (en) * 2018-06-01 2021-04-09 国电南瑞科技股份有限公司 Multi-power-grid regulation and control system image unified browsing integration method based on cloud terminal mode
CN110166563A (en) * 2019-05-27 2019-08-23 杭州迪普科技股份有限公司 A kind of page login-timeout method for updating time and device
CN111177616B (en) * 2019-12-11 2023-04-07 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN112464116B (en) * 2020-11-18 2024-03-01 金蝶云科技有限公司 Page display method, page display device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783903A (en) * 2009-12-25 2010-07-21 北京惠信博思技术有限公司 Method for returning page of digital television
CN102236587A (en) * 2010-04-28 2011-11-09 上海中标软件有限公司 Recovery method for abnormal firefox browser
CN102299945A (en) * 2010-06-28 2011-12-28 中国联合网络通信集团有限公司 Gateway configuration page registration method, system thereof and portal certificate server
CN102460376A (en) * 2009-06-26 2012-05-16 英特尔公司 Optimizations for an unbounded transactional memory (utm) system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634337B (en) * 2012-08-22 2018-09-18 腾讯科技(深圳)有限公司 Page recovery, device and mobile terminal
CN103024036B (en) * 2012-12-12 2016-08-03 北京奇虎科技有限公司 Web browser method and device
CN103024038B (en) * 2012-12-12 2016-09-21 北京奇虎科技有限公司 For browsing the method and device of webpage
CN103577229B (en) * 2013-10-28 2016-11-23 北京奇虎科技有限公司 The loading method of a kind of web game and web browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460376A (en) * 2009-06-26 2012-05-16 英特尔公司 Optimizations for an unbounded transactional memory (utm) system
CN101783903A (en) * 2009-12-25 2010-07-21 北京惠信博思技术有限公司 Method for returning page of digital television
CN102236587A (en) * 2010-04-28 2011-11-09 上海中标软件有限公司 Recovery method for abnormal firefox browser
CN102299945A (en) * 2010-06-28 2011-12-28 中国联合网络通信集团有限公司 Gateway configuration page registration method, system thereof and portal certificate server

Also Published As

Publication number Publication date
CN106411945A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN112118565B (en) Multi-tenant service gray level publishing method, device, computer equipment and storage medium
CN106411945B (en) A kind of access method and device of Web
CN112491606B (en) Method for automatically deploying high-availability cluster of service system based on infrastructure
US7941552B1 (en) System and method for providing services for offline servers using the same network address
JP4961411B2 (en) Computer system and configuration management method thereof
EP0974900A2 (en) Method for communicating between frames within a web browser window
US8533316B2 (en) Management computer for setting configuration information of node
US6651093B1 (en) Dynamic virtual local area network connection process
US8224941B2 (en) Method, apparatus, and computer product for managing operation
US8387013B2 (en) Method, apparatus, and computer product for managing operation
JP4510064B2 (en) Virtual computer system and virtual machine restoration method in the same system
US6499115B1 (en) Burn rack dynamic virtual local area network
CN101300779B (en) Method and system for providing service to subscribers
US8909800B1 (en) Server cluster-based system and method for management and recovery of virtual servers
CN108881066B (en) Routing request method, access server and storage device
CN107666493B (en) Database configuration method and equipment thereof
US20070237162A1 (en) Method, apparatus, and computer product for processing resource change
CN105450759A (en) System mirror image management method and device
CN110673941A (en) Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium
CN100563253C (en) A kind of data processing method in client
CN112235373A (en) Cloud desktop scheduling system based on application AI and scheduling method thereof
JP5112138B2 (en) Session management method, storage device, and computer system
JP2006113754A (en) Software update device and method
CN110502238A (en) A kind of method and device of front and back end joint debugging
CN116016209A (en) Network automation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant before: Hangzhou Dipu Technology Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant