CN107094089B - Network management method, related equipment and system - Google Patents

Network management method, related equipment and system Download PDF

Info

Publication number
CN107094089B
CN107094089B CN201611184629.1A CN201611184629A CN107094089B CN 107094089 B CN107094089 B CN 107094089B CN 201611184629 A CN201611184629 A CN 201611184629A CN 107094089 B CN107094089 B CN 107094089B
Authority
CN
China
Prior art keywords
router
managed
equipment
network
script
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
CN201611184629.1A
Other languages
Chinese (zh)
Other versions
CN107094089A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611184629.1A priority Critical patent/CN107094089B/en
Publication of CN107094089A publication Critical patent/CN107094089A/en
Application granted granted Critical
Publication of CN107094089B publication Critical patent/CN107094089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a network management method, related equipment and a system. Wherein, the method comprises the following steps: when the client side needs to manage the router in a network mode, the client side can download the corresponding JS script for managing the router to the server, and therefore the router interface of the JS script for managing the router is called to achieve network management of the router, such as network setback prevention. By the embodiment of the invention, when a new type of router needs to be managed, software does not need to be upgraded, and meanwhile, the embodiment of the invention not only can realize network management on the router in an android platform, but also can realize network management on the router in an ios platform, thereby improving the flexibility of network management and reducing the cost of network management.

Description

Network management method, related equipment and system
Technical Field
The invention relates to the technical field of information security, in particular to a network management method, related equipment and a system.
Background
With the continuous development of communication technology, people are more and more accustomed to using wireless networks to perform various activities, such as watching videos, shopping and chatting. Wireless network equipment with a Wireless Fidelity (Wi-Fi) function, such as a notebook computer and a smart phone, can be connected with a router after a correct password is input, and is connected with a network through the Wireless function of the router.
In order to ensure the safety of a wireless network and prevent strange devices from surfing the internet, network management software on the market can specify whether the devices are allowed to surf the internet or not by adding a black list or a white list so as to realize the function of preventing the strange devices from surfing the internet. However, the number of routers successfully adapted by the existing network management software is limited, so that the routers which cannot be successfully adapted cannot realize the network setoff prevention function, if a certain router needs to be adapted, the network management software needs to be updated, and the network management mode for adapting to a new router by means of updating the version is not flexible enough, and the network management cost is high.
Disclosure of Invention
The embodiment of the invention discloses a network management method, related equipment and a system, which can improve the flexibility of network management and reduce the cost of network management.
In a first aspect, an embodiment of the present invention discloses a network management method, which may include:
the method comprises the steps that a client side obtains an equipment identifier of a router to be managed and uploads the equipment identifier to a server;
the client receives a router management JS script which is sent by the server and corresponds to the equipment identification;
the client side injects the JS script for managing the router and calls the JS script for managing the router to log in the router to be managed;
and if the login is successful, the client performs network management on the router to be managed.
In a second aspect, an embodiment of the present invention discloses another network management method, where the method may include:
the server receives the equipment identification of the router to be managed uploaded by the client;
the server judges whether a router management JS script corresponding to the equipment identification exists or not;
if the JS script is managed by the router, the server sends the JS script to the client so that the client can call the JS script to manage the router to be managed for network management.
In a third aspect, an embodiment of the present invention discloses a network management device, which is applied to a client, and the network management device may include:
the acquisition module is used for acquiring the equipment identifier of the router to be managed;
the communication module is used for uploading the equipment identifier to a server;
the communication module is further configured to receive a router management JS script corresponding to the device identifier and sent by the server;
the login module is used for injecting the JS script for managing the router and calling the JS script for managing the router to login the router to be managed;
and the management module is used for carrying out network management on the router to be managed under the condition that the login of the login module is successful.
In a fourth aspect, an embodiment of the present invention discloses another network management apparatus, which is applied to a server, and the apparatus may include:
the communication module is used for receiving the equipment identifier of the router to be managed uploaded by the client;
the judging module is used for judging whether a router management JS script corresponding to the equipment identifier exists or not;
the communication module is further used for sending the JS script for router management to the client under the condition that the judging module judges that the JS script for router management corresponding to the equipment identifier exists, so that the JS script for router management is called by the client to carry out network management on the router to be managed.
In a fifth aspect, an embodiment of the present invention discloses a network management system, which includes a server and at least one client, where the client includes the network management apparatus disclosed in the third aspect, and the server includes the network management apparatus disclosed in the fourth aspect.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the client needs to perform network management on the router, the client can download the corresponding JS script for managing the router to the server, so that the router interface of the corresponding JS script for managing the router is called to realize the network management on the router, such as network setback prevention. By the embodiment of the invention, when a new type of router needs to be managed, software does not need to be upgraded, and meanwhile, the embodiment of the invention not only can realize network management on the router in an android platform, but also can realize network management on the router in an ios platform, thereby improving the flexibility of network management and reducing the cost of network management.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of a network management system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a network management method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a network management interface according to an embodiment of the disclosure;
fig. 4 is a schematic structural diagram of a client according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network management device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another network management device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a network management method, related equipment and a system, which can improve the flexibility of network management and reduce the cost of network management. The following are detailed below.
The embodiment of the invention discloses a network management system which can manage a wireless network of a router. Please refer to fig. 1, which is a schematic diagram of a network management system according to an embodiment of the present invention, the system architecture at least includes: a server and at least one client.
The client may be a terminal device such as a notebook computer, a desktop computer, a mobile phone, a tablet computer, a vehicle-mounted terminal, an intelligent wearable device, or may be a wireless network management application installed on the terminal device, such as a Wi-Fi manager, and the embodiment of the present invention is not limited. When the client accesses the wireless network of the router, the user can log in the router through the client, so that the wireless network of the router is managed. The server may be an independent service device in the network management system, or may be a cluster service device formed by multiple independent service devices in the network management system, and the server may be configured to provide a router management javascript (js) script for the client when performing network management on the router.
Based on the system architecture shown in fig. 1, the embodiment of the invention discloses a network management method. Referring to fig. 2, fig. 2 is a flowchart illustrating a network management method according to an embodiment of the present invention. The method described in the embodiment of the invention can comprise the following steps:
201. the client acquires the equipment identifier of the router to be managed.
In the embodiment of the present invention, the device identifier refers to identification information for distinguishing different routers, and specifically may be device manufacturer information, a device name, a device model, a Media Access Control (MAC) address, and the like. Here, the ethernet is addressed using a MAC address, which is also called a hardware address, in a 48-bit (6-byte) hexadecimal format, and is accessed into each ethernet card. The 48-bit MAC address includes two parts: the 24-bit Organization Unique Identifier (OUI) and the 24-bit factory-assigned code. The device type of the router, such as device manufacturer information and device model number, can be identified by the first three bytes of the MAC address, i.e. the organization unique identifier. After the client is connected to the wireless network of the router to be managed, the client can further acquire the device identifier of the router to be managed.
202. The client uploads the device identification to the server.
In the embodiment of the invention, after acquiring the device identifier of the router to be managed, the client can specifically upload the device identifier to the server through the wireless network.
It should be noted that, after the client downloads the corresponding router management JS script from the server for the first time to realize network management on the router, the client can cache the router management JS script, so that when network management needs to be performed on the router to be managed next time, the corresponding router management JS script is obtained from the cache, the time for obtaining the router management JS script from the server is reduced, and the adaptation efficiency to the router is improved.
Furthermore, the client can set the cache time of the JS script managed by the router, and if the JS script managed by the router is not called again within the cache time to perform network management on the router to be managed, the client can automatically clear the JS script managed by the cached router so as to prevent an illegal user from modifying network information (such as a wireless network password, a blacklist, a whitelist and the like) of the router to be managed by calling the JS script managed by the cached router, thereby improving the security of network management on the router.
203. And the server receives the equipment identifier and judges whether the router management JS script corresponding to the equipment identifier exists or not.
In the embodiment of the invention, the server stores the JS script for managing the router in advance, wherein the JS script is used for communicating with the router so as to realize the functions of login, network management and the like on the router. The JS is a scripting language, the cross-platform JS is realized, the network view can realize the mutual calling between the network view and the JS by injecting the JS script, and therefore the interaction between the two is realized. The web view is a view control of the android, is used for loading and displaying a webpage, and is similar to a browser and uses a WebKit rendering engine to load and display the webpage. Wherein, the engines of the web views are all WebKit, which supports the Fifth generation hypertext markup Language (HTML 5).
Specifically, the specific way in which the server stores the JS script for managing by the router may be that the router of the same manufacturer corresponds to one JS script for managing by the router, or that different device models (such as basic model, upgrade model, honor model, and the like) correspond to one JS script for managing by the router in the router of the same manufacturer.
Therefore, after the server receives the device identifier of the router to be managed, which is reported by the client, it can be determined whether the router management JS script corresponding to the device identifier exists in the pre-stored router management JS script, and if so, the router management JS script is sent to the client, and if not, the device identifier is recorded.
Further, after receiving the device identifier of the router to be managed reported by the client, the server may perform identity authentication on the user on the client side, for example, perform identity authentication through a password or authorization information, and send the router management JS script corresponding to the device identifier to the client only if the identity authentication passes, so as to prevent an illegal user from changing network information of the router to be managed, such as a wireless network password, a blacklist, a whitelist, and the like, after obtaining the router management JS script, thereby improving security of network management of the router.
In some possible embodiments, the router management JS script stored in the server in advance is generally written by a developer and then uploaded to the server. Specifically, the method comprises the following steps:
and the server receives the uploaded JS script managed by the router and the equipment identifier corresponding to the router, and stores the corresponding relation between the JS script and the equipment identifier.
In the specific implementation, when a developer needs a client to implement network management on a certain brand of router, the implementation principles of login, acquisition of connected wireless network devices, setup of network setup prevention and hiding of wireless network signals of the router can be mastered by looking up source codes of the router, so that the functions are implemented through JS scripts, for example, a login function is implemented by using an account and a password as parameters in an http manner, an anti-network-stealing function is implemented by using device identifiers corresponding to the connected wireless network devices, such as MAC addresses, as parameters, and the like, and the embodiment of the present invention is not limited. After the developer writes the router management JS script corresponding to the router of the brand, the router management JS script is uploaded to the server through the network interface of the server, and meanwhile, the device identifier (such as the brand name, the manufacturer name, and the like) of the router is also uploaded to the server. Therefore, after receiving the router management JS script developed and uploaded and the device identifier of the corresponding router, the server stores the corresponding relationship between the device identifier of the router and the router management JS script, so that when the device identifier is uploaded by a subsequent client, the server can search for the corresponding router management JS script based on the device identifier.
204. And if the router management JS script corresponding to the equipment identification exists, the server sends the router management JS script to the client.
In the embodiment of the invention, if the server finds the JS script for managing the router corresponding to the equipment identifier, the server can send the JS script for managing the router to the client, so that the client can call the JS script for managing the router to be managed to carry out network management.
205. And if the router management JS script corresponding to the equipment identification does not exist, the server records the equipment identification.
In the embodiment of the invention, if the server does not find the router management JS script corresponding to the equipment identifier, which indicates that the router to be managed is not adapted, the server records the equipment identifier, so that a developer can determine whether the router to be managed needs to be adapted according to the times of recording the equipment identifier.
Therefore, each time the server does not find the corresponding router management JS script, the server may record the device identifier of the corresponding router, and if the number of times that a certain device identifier is recorded exceeds a certain threshold, for example, exceeds 30 times, the server may output a notification message to notify the developer to adapt to the router corresponding to the device identifier.
In the embodiment of the invention, when a new router needs to be adapted, developers only need to upload the corresponding router management JS script to the server, and the client side obtains the corresponding router management JS script from the server every time the router is adapted without software upgrading, so that the cost of software upgrading can be reduced, and the cost of router network management can be reduced.
206. And the client receives the JS script for managing the router sent by the server, injects the JS script for managing the router and calls the JS script for managing the router to log in the router to be managed.
In the embodiment of the invention, after receiving the JS script managed by the router sent by the server, the client can specifically inject the JS script managed by the router through the network view, so that a router login interface for managing the JS script by the router is called to log in the router to be managed.
207. And if the login is successful, the client performs network management on the router to be managed.
In the embodiment of the invention, if the client calls the router login interface of the JS script managed by the router to successfully log in the router to be managed, the client can carry out network management on the router to be managed by calling other functional interfaces of the JS script managed by the router.
In some possible embodiments, the specific way for the client to perform network management on the router to be managed may be:
the client acquires the equipment information of the wireless network equipment connected with the router to be managed, and determines the network-rubbing equipment according to the equipment information, so that the network-rubbing prevention setting interface for managing the JS script by calling the router is used for prohibiting the network-rubbing equipment from being connected with the router to be managed.
Specifically, the Wireless network device may be a terminal device with a Wireless Fidelity (Wi-Fi) function, such as a notebook computer, a smart phone, and an intelligent wearable device, and may surf the internet through a Wireless network connected to a router. The device information may specifically be a MAC address, a device name, a device type, a serial number, and the like of the wireless network device, and the embodiment of the present invention is not limited thereto.
Therefore, after the client successfully logs in the router to be managed, the client can acquire the device information of the wireless network devices connected to the router to be managed, and determine whether the network-rubbing device exists in the wireless network devices connected to the router to be managed according to the device information, so that the anti-network-rubbing setting interface of the router management JS script is called to prohibit the network-rubbing device from connecting with the router to be managed.
Specifically, the specific way that the client calls the anti-network-gramming setting interface of the router management JS script to prohibit the network gramming device from connecting with the router to be managed may be that the blacklist setting interface of the router management JS script is called to pull the network gramming device into the blacklist of the router to be managed, so that the connection of the network gramming device is refused, or the network connection interface of the router management JS script is called to pull the network gramming device off the line, so that the network gramming device cannot access the network, which is not limited in the embodiment of the present invention.
It should be noted that the specific ways in which the client determines the network-surfing device according to the device information include the following two ways:
the method comprises the steps of comparing equipment information stored in a router to be managed with equipment information of wireless network equipment connected with the router to be managed, and if target equipment information exists in the equipment information of the wireless network equipment connected with the router to be managed, determining the wireless network equipment corresponding to the target equipment information as network-setoff equipment, wherein the target equipment information is the equipment information which does not exist in the equipment information stored in the router to be managed.
And secondly, receiving the network-rubbing prevention setting operation input by the user aiming at the target wireless network device according to the device information, and determining the target wireless network device as the network-rubbing device according to the network-rubbing prevention setting operation, wherein the target wireless network device is at least one wireless network device in the wireless network devices connected with the router to be managed.
That is to say, the client determines whether a network setup device exists in the wireless network device connected to the router to be managed according to the device information specifically by the operation of the user or by automatic identification, which is not limited in the embodiment of the present invention.
For the first mode, after acquiring the device information of the wireless network device connected to the router to be managed, the client may further acquire a white list stored by the router to be managed, where the white list includes the device information of the wireless network device allowed to be connected to the router to be managed, then compare the device information of the wireless network device sequentially and currently connected to the router to be managed with the device information in the white list, and if the device information does not exist in the white list, the client automatically determines the wireless network device corresponding to the device information as the network-off device.
In the second mode, after the client acquires the device information of the wireless network device connected with the router to be managed, the client can display the device information on the interface, as shown in fig. 3, the user determines whether the device is a network-rubbing device, when the user needs to prohibit the wireless network device 4 from being connected with the router to be managed, the user can click the "disable" button corresponding to the wireless network device 4 on the interface, and the client can receive the network-rubbing prevention setting operation input by the wireless network device 4, so that the client can be determined as the network-rubbing device.
It is worth noting that the JS script can be applied to an android platform and an ios platform, so that the embodiment of the invention can be applied to the android platform and the ios platform as well, thereby realizing network management on the router, avoiding different software from being developed for each platform, reducing development cost, and improving flexibility of network management on the router.
208. And if the login fails, the client feeds back a message of the login failure of the router to be managed to the server.
In the embodiment of the invention, if the client calls the router management JS script and fails to successfully log in the router to be managed, the client feeds back a message of failed login of the router to be managed to the server.
209. And the server receives the message of the login failure of the router to be managed and records the equipment identification.
In the embodiment of the invention, if the server receives the message of the login failure of the router to be managed fed back by the client, the server records the equipment identifier of the equipment to be managed so as to facilitate developers to search the reason of the login failure, thereby optimizing the JS script for managing the router and improving the success rate of router adaptation.
It can be seen that, in the method described in fig. 2, when the client needs to perform network management on the router, the server may provide the corresponding router management JS script for the client, and the client may thus call the router interface of the corresponding router management JS script to implement network management on the router, such as anti-walkthrough. By the embodiment of the invention, when a new type of router needs to be managed, software does not need to be upgraded, and meanwhile, the embodiment of the invention not only can realize network management on the router in an android platform, but also can realize network management on the router in an ios platform, thereby improving the flexibility of network management and reducing the cost of network management.
Based on the network management system and the network management method shown in the above embodiments, the embodiment of the present invention further discloses a client, which may be at least one of the clients shown in fig. 1 and may be configured to execute corresponding steps of the method flow shown in fig. 2. Referring to fig. 4, fig. 4 is a schematic structural diagram of a client according to an embodiment of the present invention. The clients described in the embodiments of the present invention may include, but are not limited to: a processor, a network interface, and a memory. The processor, the network interface and the memory in the client may be connected by a bus or other means, and the connection by the bus is taken as an example in fig. 3 in the embodiment of the present invention.
The processor (or CPU) is a computing core and a control core of the client. The network interface may optionally include a standard wired interface, a wireless interface (e.g., Wi-Fi, mobile communication interface, etc.). The Memory (Memory) is a Memory device in the client for storing programs and data. It is understood that the memory herein may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, at least one memory device located remotely from the processor. The memory provides storage space that stores the operating system of the client, which may include, but is not limited to: windows system (an operating system), Luix system, etc., which are not limited in this regard. The storage space of the memory also stores the network management device.
In the embodiment of the present invention, the client executes the corresponding steps of the method flow shown in fig. 2 by running the network management device in the memory. Referring to fig. 5, after accessing the wireless network of the router to be managed, the apparatus operates the following modules:
an obtaining module 501, configured to obtain a device identifier of a router to be managed.
A communication module 502, configured to upload the device identifier obtained by the obtaining module 501 to a server.
The communication module 502 is further configured to receive the router management JS script corresponding to the device identifier and sent by the server.
And the login module 503 is configured to inject the router management JS script, and call the router management JS script to login the router to be managed.
The management module 504 is configured to perform network management on the router to be managed when the login module 503 successfully logs in.
Specifically, the login module 503 is specifically configured to inject the router management JS script through the web view, and call a router login interface of the router management JS script to login the router to be managed.
In some possible implementations, the management module 504 may include an obtaining unit 5041, a determining unit 5042, and a processing unit 5043, wherein:
an obtaining unit 5041, configured to obtain device information of a wireless network device connected to the router to be managed;
a determining unit 5042, configured to determine a network gramming device according to the device information;
and the processing unit 5043 is used for calling the anti-network-gramming setting interface for managing the JS script by the router to prohibit the network-gramming device from being connected with the router to be managed.
Specifically, the specific manner of determining the network rubbing device by the determining unit 5042 according to the device information may be:
comparing the equipment information stored by the router to be managed with the equipment information of the wireless network equipment connected with the router to be managed;
and if target equipment information exists in the equipment information of the wireless network equipment connected with the router to be managed, determining the wireless network equipment corresponding to the target equipment information as the network-stealing equipment, wherein the target equipment information is equipment information which does not exist in the equipment information stored in the router to be managed.
Specifically, the specific manner of determining the network rubbing device by the determining unit 5042 according to the device information may also be:
receiving a setup operation of preventing network from being stolen aiming at target wireless network equipment, wherein the target wireless network equipment is at least one of the wireless network equipment connected with the router to be managed;
and determining the target wireless network equipment as the network-rubbing equipment according to the network-rubbing prevention setting operation.
In some possible embodiments, the specific way for the management module 504 to perform network management on the router to be managed may also be: the router interface of the corresponding router management JS script is called to hide the wireless network signal of the router to be managed, the name of the wireless network signal is changed, the network speed of the wireless network device connected with the router to be managed is limited, and the like.
In some possible embodiments, the communication module 502 is further configured to, in the case that the login fails through the login module 503, feed back a login failure message of the router to be managed to the server.
Therefore, in the embodiment of the invention, when the client needs to perform network management on the router, the client can download the corresponding JS script for managing the router to the server, so as to call the router interface of the corresponding JS script for managing the router, thereby implementing network management on the router, such as network setback prevention. By the embodiment of the invention, when a new type of router needs to be managed, software does not need to be upgraded, and meanwhile, the embodiment of the invention not only can realize network management on the router in an android platform, but also can realize network management on the router in an ios platform, thereby improving the flexibility of network management and reducing the cost of network management.
Based on the network management system and the network management method shown in the above embodiments, the embodiment of the present invention further discloses a server, which may be the server shown in fig. 1 and may be used to execute corresponding steps of the method flow shown in fig. 2. Referring to fig. 6, fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention. The server described in the embodiments of the present invention may include, but is not limited to: a processor, a network interface, and a memory. The processor, the network interface and the memory in the server may be connected by a bus or other means, and fig. 6 shows an example of the connection by a bus in the embodiment of the present invention.
The processor (or CPU) is a computing core and a control core of the server. The network interface may optionally include a standard wired interface, a wireless interface (e.g., Wi-Fi, mobile communication interface, etc.). The Memory (Memory) is a Memory device in the server for storing programs and data. It is understood that the memory herein may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, at least one memory device located remotely from the processor. The memory provides storage space that stores the operating system of the server, which may include, but is not limited to: windows system (an operating system), Luix system, etc., which are not limited in this regard. The storage space of the memory also stores the network management device.
In the embodiment of the present invention, the server executes the corresponding steps of the method flow shown in fig. 2 by operating the network management device in the memory. Referring to fig. 7, after the client accesses the wireless network of the router to be managed, the apparatus operates the following modules:
the communication module 701 is configured to receive the device identifier of the router to be managed, which is uploaded by the client.
A determining module 702, configured to determine whether a router management JS script corresponding to the device identifier exists.
The communication module 701 is further configured to, when the determining module 702 determines that the router management JS script corresponding to the device identifier exists, send the router management JS script to the client, so that the client performs network management on the router to be managed according to the router management JS script.
In some possible embodiments, the apparatus may further include a recording module 703, wherein:
a recording module 703, configured to record the device identifier when the determining module 702 determines that the router management JS script corresponding to the device identifier does not exist.
In some possible embodiments, the communication module 701 is further configured to receive a message of login failure of the router to be managed, which is fed back by the client.
The recording module 703 is further configured to record the device identifier of the router to be managed according to the message.
In some possible embodiments, the apparatus may further include a storage module 704, wherein:
the communication module 701 is further configured to receive the uploaded JS script for managing the router and the device identifier of the corresponding router.
And the storage module 704 is configured to store a corresponding relationship between the JS script managed by the router and the device identifier.
Therefore, in the embodiment of the invention, when the client needs to perform network management on the router, the server can provide the corresponding router management JS script for the client, and the client can call the router interface of the corresponding router management JS script to realize the network management on the router, such as anti-setback. By the embodiment of the invention, when a new type of router needs to be managed, software does not need to be upgraded, and meanwhile, the embodiment of the invention not only can realize network management on the router in an android platform, but also can realize network management on the router in an ios platform, thereby improving the flexibility of network management and reducing the cost of network management.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (23)

1. A method for network management, the method comprising:
the method comprises the steps that a client side obtains an equipment identifier of a router to be managed and uploads the equipment identifier to a server;
the client receives a router management JS script which is sent by the server after the user identity authentication of the client passes and corresponds to the equipment identifier, wherein the router management JS script is used for communicating with the router to be managed and is used for logging in and network management on the router to be managed;
the client side injects the JS script for managing the router and calls the JS script for managing the router to log in the router to be managed;
and if the login is successful, the client performs network management on the router to be managed, wherein the network management comprises the step of utilizing the router management JS script to forbid the network-swiping equipment from connecting the router to be managed.
2. The method of claim 1, wherein the client injecting the router management JS script and invoking the router management JS script to log in to-be-managed router comprises:
and the client side injects the JS script into the router through the network view, and calls a router login interface of the JS script managed by the router to log in the router to be managed.
3. The method according to claim 1 or 2, wherein the client performs network management on the router to be managed, and the method comprises:
the client acquires the equipment information of the wireless network equipment connected with the router to be managed;
the client determines the network-rubbing equipment according to the equipment information, and calls the network-rubbing prevention setting interface for managing the JS script by the router to forbid the network-rubbing equipment to connect the router to be managed.
4. The method of claim 3, wherein the client determines the network-surfing device according to the device information, and comprises:
the client compares the equipment information stored by the router to be managed with the equipment information of the wireless network equipment connected with the router to be managed;
if target equipment information exists in the equipment information of the wireless network equipment connected with the router to be managed, the client determines the wireless network equipment corresponding to the target equipment information as network-rubbing equipment, and the target equipment information is equipment information which does not exist in the equipment information stored by the router to be managed.
5. The method of claim 3, wherein the client determines the network-surfing device according to the device information, and comprises:
the client receives a network-rubbing prevention setting operation input by a user aiming at target wireless network equipment according to the equipment information, wherein the target wireless network equipment is at least one of the wireless network equipment connected with the router to be managed;
and the client determines the target wireless network equipment as the network-rubbing equipment according to the network-rubbing prevention setting operation.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
and if the login fails, the client feeds back the login failure message of the router to be managed to the server.
7. A method for network management, the method comprising:
the server receives the equipment identification of the router to be managed uploaded by the client;
the server judges whether a router management JS script corresponding to the equipment identification exists or not;
if the router to be managed exists, the server sends the router management JS script to the client after the user identity authentication of the client is passed, so that the client calls the router management JS script to carry out network management on the router to be managed;
wherein, router management JS script be used for with wait to manage the router and communicate, and be used for login and network management on waiting to manage the router, network management is including utilizing router management JS script forbids to rub the net equipment connection wait to manage the router.
8. The method of claim 7, further comprising:
and if the router management JS script corresponding to the equipment identification does not exist, the server records the equipment identification.
9. The method according to claim 7 or 8, wherein after the server sends the router management JS script to the client, the method further comprises:
the server receives the message of the login failure of the router to be managed fed back by the client;
and the server records the equipment identification of the router to be managed according to the message.
10. The method according to claim 7 or 8, wherein before the server receives the device identifier of the router to be managed uploaded by the client, the method further comprises:
the server receives the uploaded JS script managed by the router and the equipment identification of the corresponding router, and stores the corresponding relation between the JS script managed by the uploaded router and the equipment identification of the corresponding router.
11. A network management apparatus applied to a client, the apparatus comprising:
the acquisition module is used for acquiring the equipment identifier of the router to be managed;
the communication module is used for uploading the equipment identifier to a server;
the communication module is further configured to receive a router management JS script corresponding to the device identifier, which is sent by the server after the user identity authentication of the client passes, where the router management JS script is used for communicating with the router to be managed and for logging in and network management on the router to be managed;
the login module is used for injecting the JS script for managing the router and calling the JS script for managing the router to login the router to be managed;
the management module is used for logging in the login module, logging in the router to be managed, and managing the network, wherein the network management comprises utilizing the router to manage the JS script to prohibit the connection of the network rubbing equipment, and the router to be managed is connected with the JS script to be managed.
12. The apparatus according to claim 11, wherein the login module is specifically configured to inject the router management JS script through the web view, and to call a router login interface of the router management JS script to log in the router to be managed.
13. The apparatus according to claim 11 or 12, wherein the management module comprises an obtaining unit, a determining unit and a processing unit, wherein:
the acquiring unit is used for acquiring the equipment information of the wireless network equipment connected with the router to be managed;
the determining unit is used for determining the network rubbing equipment according to the equipment information;
the processing unit is used for calling the anti-network-rubbing setting interface for managing the JS script by the router to forbid the network rubbing equipment to connect the router to be managed.
14. The apparatus according to claim 13, wherein the specific manner of determining the network-twitching device according to the device information by the determining unit is as follows:
comparing the equipment information stored by the router to be managed with the equipment information of the wireless network equipment connected with the router to be managed;
and if target equipment information exists in the equipment information of the wireless network equipment connected with the router to be managed, determining the wireless network equipment corresponding to the target equipment information as network-rubbing equipment, wherein the target equipment information is equipment information which does not exist in the equipment information stored by the router to be managed.
15. The apparatus according to claim 13, wherein the specific manner of determining the network-twitching device according to the device information by the determining unit is as follows:
receiving network-rubbing prevention setting operation input by a user aiming at target wireless network equipment according to the equipment information, wherein the target wireless network equipment is at least one of the wireless network equipment connected with the router to be managed;
and determining the target wireless network equipment as the network-rubbing equipment according to the network-rubbing prevention setting operation.
16. The apparatus according to claim 11 or 12, wherein the communication module is further configured to, in a case that the login module fails to log in, feed back a message of login failure of the router to be managed to the server.
17. A network management apparatus applied to a server, the apparatus comprising:
the communication module is used for receiving the equipment identifier of the router to be managed uploaded by the client;
the judging module is used for judging whether a router management JS script corresponding to the equipment identifier exists or not;
the communication module is further configured to send the router management JS script to the client after the judgment module judges that the router management JS script corresponding to the device identifier exists and the user identity authentication of the client is passed, so that the client calls the router management JS script to perform network management on the router to be managed;
wherein, router management JS script be used for with wait to manage the router and communicate, and be used for login and network management on waiting to manage the router, network management is including utilizing router management JS script forbids to rub the net equipment connection wait to manage the router.
18. The apparatus of claim 17, further comprising:
and the first recording module is used for recording the equipment identifier under the condition that the judging module judges that the JS script managed by the router corresponding to the equipment identifier does not exist.
19. The apparatus of claim 17 or 18, further comprising a second recording module, wherein:
the communication module is further configured to receive a message of login failure of the router to be managed, where the message is fed back by the client;
and the second recording module is used for recording the equipment identifier of the router to be managed according to the message.
20. The apparatus of claim 17 or 18, further comprising a storage module, wherein:
the communication module is further used for receiving the uploaded JS script managed by the router and the equipment identifier of the corresponding router;
and the storage module is used for storing the corresponding relation between the uploaded router management JS script and the equipment identifier of the corresponding router.
21. A network management system, characterized in that the system comprises a server and at least one client, wherein the client comprises the network management device according to any one of claims 11 to 16, and the server comprises the network management device according to any one of claims 17 to 20.
22. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the network management method according to any one of claims 1 to 6.
23. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the network management method according to any one of claims 7 to 10.
CN201611184629.1A 2016-12-20 2016-12-20 Network management method, related equipment and system Active CN107094089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611184629.1A CN107094089B (en) 2016-12-20 2016-12-20 Network management method, related equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611184629.1A CN107094089B (en) 2016-12-20 2016-12-20 Network management method, related equipment and system

Publications (2)

Publication Number Publication Date
CN107094089A CN107094089A (en) 2017-08-25
CN107094089B true CN107094089B (en) 2020-06-16

Family

ID=59648687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611184629.1A Active CN107094089B (en) 2016-12-20 2016-12-20 Network management method, related equipment and system

Country Status (1)

Country Link
CN (1) CN107094089B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112600686B (en) * 2020-11-16 2023-05-02 华润赛美科微电子(深圳)有限公司 Terminal control method, device, computer equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316457A (en) * 2011-09-21 2012-01-11 中国联合网络通信集团有限公司 Method for monitoring illegal access device and apparatus thereof
CN102595407A (en) * 2012-03-13 2012-07-18 宇龄信息科技(无锡)有限公司 System and method both enabling mobile equipment to log in automatically and access into wireless network
CN103248525A (en) * 2013-05-23 2013-08-14 北京奇虎科技有限公司 Method and device of configuring network resources
CN103532751A (en) * 2013-10-09 2014-01-22 北京奇虎科技有限公司 Management method and device for network access equipment
CN104301139A (en) * 2014-09-28 2015-01-21 北京奇虎科技有限公司 Router adaptation method and device and terminal device
CN105227561A (en) * 2015-10-14 2016-01-06 上海斐讯数据通信技术有限公司 A kind of network access authentication is anti-rubs network method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100646387B1 (en) * 2005-06-24 2006-11-14 에스케이 텔레콤주식회사 Method and system for authenticating between radio access station and access control router in portable internet environment
US20100180206A1 (en) * 2009-01-15 2010-07-15 NexAira, Inc. Systems and methods for iconic graphical user interface and embedded device manager
CN102149162A (en) * 2011-05-03 2011-08-10 中国联合网络通信集团有限公司 Wireless router and access method thereof
CN104243213A (en) * 2014-09-28 2014-12-24 北京奇虎科技有限公司 Method, device and system for acquiring configuration information of routers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316457A (en) * 2011-09-21 2012-01-11 中国联合网络通信集团有限公司 Method for monitoring illegal access device and apparatus thereof
CN102595407A (en) * 2012-03-13 2012-07-18 宇龄信息科技(无锡)有限公司 System and method both enabling mobile equipment to log in automatically and access into wireless network
CN103248525A (en) * 2013-05-23 2013-08-14 北京奇虎科技有限公司 Method and device of configuring network resources
CN103532751A (en) * 2013-10-09 2014-01-22 北京奇虎科技有限公司 Management method and device for network access equipment
CN104301139A (en) * 2014-09-28 2015-01-21 北京奇虎科技有限公司 Router adaptation method and device and terminal device
CN105227561A (en) * 2015-10-14 2016-01-06 上海斐讯数据通信技术有限公司 A kind of network access authentication is anti-rubs network method and device

Also Published As

Publication number Publication date
CN107094089A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN108536461B (en) Resource updating method, device, terminal and storage medium
US9953161B2 (en) Method, device and system for processing notification bar message
US9954855B2 (en) Login method and apparatus, and open platform system
CN106445583B (en) Page display method, equipment and system
US10069832B2 (en) Ephemeral applications
CN106682028B (en) Method, device and system for acquiring webpage application
US20160294806A1 (en) Account information management method and apparatus in smart tv
CN107528858B (en) Login method, device and equipment based on webpage and storage medium
US20160087855A1 (en) Remote management of application settings
WO2020253366A1 (en) Webpage mailbox data crawling method and apparatus, terminal, and storage medium
CN108351923B (en) Thresholds associated with scripts executable by a unified extensible firmware interface system
CN105207775A (en) Reading method and device for verification information
CN110213113B (en) WEB configuration management method of base station and base station
US9680814B2 (en) Method, device, and system for registering terminal application
CN104767614A (en) Information authentication method and device
CN107094089B (en) Network management method, related equipment and system
CN104516743B (en) The upgrade method and system of embedded device firmware based on ActiveX
CN106919812B (en) Application process authority management method and device
CN116560691A (en) Data processing method, device, computer equipment and readable storage medium
CN111475763B (en) Webpage running method and device, storage medium and equipment
CN114265642A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
US10044728B1 (en) Endpoint segregation to prevent scripting attacks
CN109088854B (en) Access method and device of shared application and readable storage medium
CN113434234A (en) Page jump method, device, computer readable storage medium and processor
CN108134683B (en) Terminal and bus architecture implementation method

Legal Events

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