CN107204864B - Application method, management method, terminal and server of network port - Google Patents

Application method, management method, terminal and server of network port Download PDF

Info

Publication number
CN107204864B
CN107204864B CN201610151603.0A CN201610151603A CN107204864B CN 107204864 B CN107204864 B CN 107204864B CN 201610151603 A CN201610151603 A CN 201610151603A CN 107204864 B CN107204864 B CN 107204864B
Authority
CN
China
Prior art keywords
network port
switch
terminal
server
information
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
CN201610151603.0A
Other languages
Chinese (zh)
Other versions
CN107204864A (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.)
FOUNDER BROADBAND NETWORK SERVICE CO LTD
New Founder Holdings Development Co ltd
Original Assignee
FOUNDER BROADBAND NETWORK SERVICE CO LTD
Peking University Founder Group 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 FOUNDER BROADBAND NETWORK SERVICE CO LTD, Peking University Founder Group Co Ltd filed Critical FOUNDER BROADBAND NETWORK SERVICE CO LTD
Priority to CN201610151603.0A priority Critical patent/CN107204864B/en
Publication of CN107204864A publication Critical patent/CN107204864A/en
Application granted granted Critical
Publication of CN107204864B publication Critical patent/CN107204864B/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
    • 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/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/254Centralised controller, i.e. arbitration or scheduling
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Abstract

The invention provides an application method, a management method, a terminal and a server of a network port, wherein the application method of the network port comprises the following steps: acquiring identification information of a switch and the use condition of a network port of the switch; sending the identification information of the switch, the use condition of the network port and an application request of the network port to a server; and receiving the information of the network port allocated by the server according to the identification information of the switch, the use condition of the network port and the application request. The technical scheme of the invention realizes the comprehensive management of the network port, improves the application and management efficiency of the network port and solves the problem of misuse or abuse of the network port.

Description

Application method, management method, terminal and server of network port
Technical Field
The invention relates to the technical field of internet, in particular to a network port application method, a terminal, a network port management method and a server.
Background
At present, when network constructors and equipment maintainers open a user network and/or build a line in a machine room, the service conditions of network port resources of a switch are not clear, if a new network port needs to be applied, the unused network port information can be obtained only in an internet access inquiry mode, and the operation can be performed after relevant superior levels need to be reported to examine and approve the process, so that the process is complicated.
Meanwhile, because the network ports of the switch are not uniformly managed, network constructors and equipment maintainers can randomly use the network ports of the switch, so that the ports are difficult to arrange and maintain, and the ports which are most suitable to use cannot be judged by individuals, so that resource waste is easily caused, meanwhile, the network use of existing users is influenced by misoperation of other personnel in a shared machine room (for example, other personnel mistakenly use the used network ports as the unused network ports for reconfiguration operation, and the like), network paralysis can be caused in serious cases, and the safety coefficient is lower.
Therefore, a new management scheme for network ports is urgently needed, which can manage the application and allocation of the network ports to improve the application efficiency of the network ports and solve the problem of misuse or abuse of the network ports.
Disclosure of Invention
Based on at least one of the above technical problems, the present invention provides a new application and management scheme for a network port, which realizes the comprehensive management of the network port, improves the application and management efficiency of the network port, and solves the problem of misuse or abuse of the network port.
In view of the above, according to a first aspect of the present invention, a method for applying a network port is provided, including: acquiring identification information of a switch and the use condition of a network port of the switch; sending the identification information of the switch, the use condition of the network port and an application request of the network port to a server; and receiving the information of the network port allocated by the server according to the identification information of the switch, the use condition of the network port and the application request.
In the technical scheme, the server is used for managing the distribution of the network ports of at least one switch, so that the terminal sends the identification information of the switch, the use condition of the network ports of the switch and the application request of the network ports to the server, so that the server can determine the switch to which the application request sent by the terminal is directed according to the identification information of the switch and distribute the available network ports according to the use condition of the network ports of the switch and the application request sent by the terminal, when a network constructor and an equipment maintainer need to apply for the use of a new network port, only the terminal needs to send the application request to the server, and the server is waited to distribute the proper network port, the operation is simple, the use condition of all the network ports is avoided being obtained by an internet inquiry mode, and then the unused network port is selected, and then, the complicated operation of process approval of related superior levels is reported, so that the workload of network constructors and equipment maintainers is reduced, and the efficiency of applying for the network port is improved. Meanwhile, the condition that network constructors and equipment maintainers use the network ports randomly is avoided, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use conditions (such as use records, service data analysis and the like) of the network ports, and the problem of misuse or abuse of the network ports is solved.
In the above technical solution, preferably, the use case includes: information of network ports available in the switch, and/or information of network ports unavailable in the switch.
In any of the above technical solutions, preferably, the barcode corresponding to the identification information of the switch and the use condition of the network port of the switch is scanned to obtain the identification information of the switch and the use condition of the network port of the switch.
In the technical scheme, the identification information of the switch and the service condition of the network port of the switch are acquired in a bar code scanning mode, so that the operation of network constructors and equipment maintainers is simpler and more convenient, and the application efficiency of the network port is improved. The barcode may be a barcode, a two-dimensional code, or the like. Of course, the identification information of the switch and the use condition of the network port of the switch may also be obtained in other manners, such as shaking the terminal when the terminal is in the designated state, or touching a designated key on the terminal.
In any of the above technical solutions, preferably, after sending the application request to the server and before receiving information of the network port allocated by the server, the method further includes: receiving authentication information sent by the server; and responding the identity authentication information, and returning a response result to the identity authentication information to the server.
In the technical scheme, the safety of the management of the network port is improved by verifying the identity information, and the problem of misuse and abuse of the network port caused by that anyone can send the application request of the network port through the terminal is avoided. The identity authentication information comprises information such as a password bound with the terminal sending the application request, a random generation code sent by the terminal and the like.
In any of the above technical solutions, preferably, the method further includes: when a confirmation instruction of the information of the network port distributed by the server by the user is received, the confirmation instruction is sent to the server so that the server can start the network port distributed by the server according to the confirmation instruction.
In the technical scheme, the information of the network port allocated by the server is confirmed, so that the server can start and configure the information of the network port in time after confirming that the network constructor and the equipment maintainer check the information of the allocated network port.
According to the second aspect of the present invention, there is also provided a terminal, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring identification information of a switch and the use condition of a network port of the switch; a sending unit, configured to send the identification information of the switch, the use condition of the network port, and an application request to the network port to a server; and the receiving unit is used for receiving the information of the network port allocated by the server according to the identification information of the switch, the use condition of the network port and the application request.
In the technical scheme, the server is used for managing the distribution of the network ports of at least one switch, so that the terminal sends the identification information of the switch, the use condition of the network ports of the switch and the application request of the network ports to the server, so that the server can determine the switch to which the application request sent by the terminal is directed according to the identification information of the switch and distribute the available network ports according to the use condition of the network ports of the switch and the application request sent by the terminal, when a network constructor and an equipment maintainer need to apply for the use of a new network port, only the terminal needs to send the application request to the server, and the server is waited to distribute the proper network port, the operation is simple, the use condition of all the network ports is avoided being obtained by an internet inquiry mode, and then the unused network port is selected, and then, the complicated operation of process approval of related superior levels is reported, so that the workload of network constructors and equipment maintainers is reduced, and the efficiency of applying for the network port is improved. Meanwhile, the condition that network constructors and equipment maintainers use the network ports randomly is avoided, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use conditions (such as use records, service data analysis and the like) of the network ports, and the problem of misuse or abuse of the network ports is solved.
In the foregoing technical solution, preferably, the use condition acquired by the acquiring unit includes: information of network ports available in the switch, and/or information of network ports unavailable in the switch.
In any one of the above technical solutions, preferably, the obtaining unit is specifically configured to: scanning the bar codes corresponding to the identification information of the switch and the use condition of the network port of the switch to acquire the identification information of the switch and the use condition of the network port of the switch.
In the technical scheme, the identification information of the switch and the service condition of the network port of the switch are acquired in a bar code scanning mode, so that the operation of network constructors and equipment maintainers is simpler and more convenient, and the application efficiency of the network port is improved. The barcode may be a barcode, a two-dimensional code, or the like. Of course, the identification information of the switch and the use condition of the network port of the switch may also be obtained in other manners, such as shaking the terminal when the terminal is in the designated state, or touching a designated key on the terminal.
In any one of the foregoing technical solutions, preferably, the receiving unit is further configured to receive, after the sending unit sends the application request and before receiving information of a network port allocated by the server, authentication information sent by the server; the terminal further comprises: the response unit is used for responding the identity authentication information; the sending unit is further configured to return a response result of the response unit to the authentication information to the server.
In the technical scheme, the safety of the management of the network port is improved by verifying the identity information, and the problem of misuse and abuse of the network port caused by that anyone can send the application request of the network port through the terminal is avoided. The identity authentication information comprises information such as a password bound with the terminal sending the application request, a random generation code sent by the terminal and the like.
In any one of the foregoing technical solutions, preferably, the receiving unit is further configured to receive a confirmation instruction of the user for the information of the network port allocated by the server; the sending unit is further configured to return the confirmation instruction to the server, so that the server enables the network port allocated by the server according to the confirmation instruction.
In the technical scheme, the information of the network port allocated by the server is confirmed, so that the server can start and configure the information of the network port in time after confirming that the network constructor and the equipment maintainer check the information of the allocated network port.
According to the third aspect of the present invention, a method for managing a network port is further provided, including: receiving identification information of a switch, service conditions of a network port of the switch and an application request of the network port, wherein the identification information of the switch is sent by a terminal; distributing network ports to the terminals according to the identification information of the switch, the service condition of the network ports and the application request; and sending the information of the network port distributed to the terminal.
In the technical scheme, the server allocates the network ports to the terminal according to the identification information of the switch, the use condition of the network ports and the application request, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use condition (such as use records, service data analysis and the like) of each network port, and the problem of misuse or abuse of the network ports is solved. And the information of the distributed network ports is sent to the terminal, so that the user of the terminal can confirm the distribution result of the network ports, and the distributed network ports are started and configured in time after the user of the terminal confirms.
In the foregoing technical solution, preferably, after receiving the application request and before allocating a network port to the terminal, the method further includes: sending authentication information to the terminal; receiving a response result to the identity authentication information sent by the terminal; and if the identity authentication of the terminal is determined to be passed according to the response result, executing a step of allocating a network port to the terminal.
In the technical scheme, the identity information of the terminal is verified, so that the safety of network port management is improved, and the problem of misuse and abuse of the network port caused by the fact that anyone can send an application request of the network port through the terminal is solved. The identity authentication information comprises a password bound with the terminal, a random generation code sent by the server and other information.
In any one of the above technical solutions, preferably, after sending the information of the network port allocated to the terminal, the method further includes: and if receiving a confirmation instruction of the allocated network port sent by the terminal, starting the allocated network port.
In the technical scheme, when a confirmation instruction sent by a terminal to the network port allocated to the server is received, the network port allocated to the server is started, so that the server can start and configure the information of the network port in time after confirming that network constructors and equipment maintenance personnel check the information of the allocated network port.
In any of the above technical solutions, preferably, after enabling the allocated network port, the method further includes: and sending the information of the distributed network port to the switch according to the identification information of the switch so as to enable the switch to update the service condition of the network port of the switch.
In the technical scheme, the server sends the information of the network ports allocated to the terminal to the switch, so that the switch can update the service conditions of the network ports in time, the latest service conditions of the network ports can be acquired when the terminal acquires the information again, and the server can be further ensured to be allocated to the proper network ports.
According to a fourth aspect of the present invention, there is also provided a server, comprising: the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving identification information of an exchanger, service conditions of a network port of the exchanger and an application request of the network port, which are sent by a terminal; the distribution unit is used for distributing the network ports to the terminal according to the identification information of the switch, the use condition of the network ports and the application request; and the sending unit is used for sending the information of the network port distributed to the terminal by the distribution unit to the terminal.
In the technical scheme, the server allocates the network ports to the terminal according to the identification information of the switch, the use condition of the network ports and the application request, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use condition (such as use records, service data analysis and the like) of each network port, and the problem of misuse or abuse of the network ports is solved. And the information of the distributed network ports is sent to the terminal, so that the user of the terminal can confirm the distribution result of the network ports, and the distributed network ports are started and configured in time after the user of the terminal confirms.
In the foregoing technical solution, preferably, the sending unit is further configured to send authentication information to the terminal after the receiving unit receives the application request and before the allocating unit allocates a network port to the terminal; the receiving unit is further configured to receive a response result to the authentication information sent by the terminal; the allocating unit is specifically configured to allocate a network port to the terminal if it is determined that the authentication of the terminal passes according to the response result.
In the technical scheme, the identity information of the terminal is verified, so that the safety of network port management is improved, and the problem of misuse and abuse of the network port caused by the fact that anyone can send an application request of the network port through the terminal is solved. The identity authentication information comprises a password bound with the terminal, a random generation code sent by the server and other information.
In any of the above technical solutions, preferably, the method further includes: and the processing unit is used for starting the allocated network port if receiving a confirmation instruction of the allocated network port sent by the terminal after the sending unit sends the information of the network port allocated to the terminal.
In the technical scheme, when a confirmation instruction sent by a terminal to the network port allocated to the server is received, the network port allocated to the server is started, so that the server can start and configure the information of the network port in time after confirming that network constructors and equipment maintenance personnel check the information of the allocated network port.
In any of the above technical solutions, preferably, the sending unit is further configured to: after the processing unit enables the distributed network ports, the information of the distributed network ports is sent to the switch according to the identification information of the switch, so that the switch updates the use condition of the network ports of the switch.
In the technical scheme, the server sends the information of the network ports allocated to the terminal to the switch, so that the switch can update the service conditions of the network ports in time, the latest service conditions of the network ports can be acquired when the terminal acquires the information again, and the server can be further ensured to be allocated to the proper network ports.
By the technical scheme, the comprehensive management of the network ports is realized, the application and management efficiency of the network ports is improved, and the problem of misuse or abuse of the network ports is solved.
Drawings
FIG. 1 shows a schematic flow chart of an application method for a network port according to an embodiment of the invention;
fig. 2 shows a schematic block diagram of a terminal according to an embodiment of the invention;
FIG. 3 shows a schematic flow chart diagram of a method of management of a network port according to an embodiment of the invention;
FIG. 4 shows a schematic block diagram of a server according to an embodiment of the invention;
fig. 5 shows a process flow diagram of a management system of network ports according to one embodiment of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a schematic flow diagram of a method of application of a network port according to an embodiment of the invention.
As shown in fig. 1, the method for applying for a network port according to an embodiment of the present invention includes:
102, acquiring identification information of a switch and the service condition of a network port of the switch;
104, sending the identification information of the switch, the use condition of the network port and an application request of the network port to a server;
and 106, receiving the information of the network port allocated by the server according to the identification information of the switch, the use condition of the network port and the application request.
In the technical scheme, the server is used for managing the distribution of the network ports of at least one switch, so that the terminal sends the identification information of the switch, the use condition of the network ports of the switch and the application request of the network ports to the server, so that the server can determine the switch to which the application request sent by the terminal is directed according to the identification information of the switch and distribute the available network ports according to the use condition of the network ports of the switch and the application request sent by the terminal, when a network constructor and an equipment maintainer need to apply for the use of a new network port, only the terminal needs to send the application request to the server, and the server is waited to distribute the proper network port, the operation is simple, the use condition of all the network ports is avoided being obtained by an internet inquiry mode, and then the unused network port is selected, and then, the complicated operation of process approval of related superior levels is reported, so that the workload of network constructors and equipment maintainers is reduced, and the efficiency of applying for the network port is improved. Meanwhile, the condition that network constructors and equipment maintainers use the network ports randomly is avoided, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use conditions (such as use records, service data analysis and the like) of the network ports, and the problem of misuse or abuse of the network ports is solved.
In the above technical solution, preferably, the use case includes: information of network ports available in the switch, and/or information of network ports unavailable in the switch.
In any of the above technical solutions, preferably, the barcode corresponding to the identification information of the switch and the use condition of the network port of the switch is scanned to obtain the identification information of the switch and the use condition of the network port of the switch.
In the technical scheme, the identification information of the switch and the service condition of the network port of the switch are acquired in a bar code scanning mode, so that the operation of network constructors and equipment maintainers is simpler and more convenient, and the application efficiency of the network port is improved. The barcode may be a barcode, a two-dimensional code, or the like. Of course, the identification information of the switch and the use condition of the network port of the switch may also be obtained in other manners, such as shaking the terminal when the terminal is in the designated state, or touching a designated key on the terminal.
In any of the above technical solutions, preferably, after sending the application request to the server and before receiving information of the network port allocated by the server, the method further includes: receiving authentication information sent by the server; and responding the identity authentication information, and returning a response result to the identity authentication information to the server.
In the technical scheme, the safety of the management of the network port is improved by verifying the identity information, and the problem of misuse and abuse of the network port caused by that anyone can send the application request of the network port through the terminal is avoided. The identity authentication information comprises information such as a password bound with the terminal sending the application request, a random generation code sent by the terminal and the like.
In any of the above technical solutions, preferably, the method further includes: when a confirmation instruction of the information of the network port distributed by the server by the user is received, the confirmation instruction is sent to the server so that the server can start the network port distributed by the server according to the confirmation instruction.
In the technical scheme, the information of the network port allocated by the server is confirmed, so that the server can start and configure the information of the network port in time after confirming that the network constructor and the equipment maintainer check the information of the allocated network port.
Fig. 2 shows a schematic block diagram of a terminal according to an embodiment of the invention.
As shown in fig. 2, a terminal 200 according to an embodiment of the present invention includes: an acquisition unit 202, a transmission unit 204, and a reception unit 206.
The acquiring unit 202 acquires identification information of a switch and a use condition of a network port of the switch; a sending unit 204, configured to send the identification information of the switch, the use condition of the network port, and an application request to the network port to a server; a receiving unit 206, configured to receive information of the network port allocated by the server according to the identifier information of the switch, the use condition of the network port, and the application request.
In the technical scheme, the server is used for managing the distribution of the network ports of at least one switch, so that the terminal sends the identification information of the switch, the use condition of the network ports of the switch and the application request of the network ports to the server, so that the server can determine the switch to which the application request sent by the terminal is directed according to the identification information of the switch and distribute the available network ports according to the use condition of the network ports of the switch and the application request sent by the terminal, when a network constructor and an equipment maintainer need to apply for the use of a new network port, only the terminal needs to send the application request to the server, and the server is waited to distribute the proper network port, the operation is simple, the use condition of all the network ports is avoided being obtained by an internet inquiry mode, and then the unused network port is selected, and then, the complicated operation of process approval of related superior levels is reported, so that the workload of network constructors and equipment maintainers is reduced, and the efficiency of applying for the network port is improved. Meanwhile, the condition that network constructors and equipment maintainers use the network ports randomly is avoided, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use conditions (such as use records, service data analysis and the like) of the network ports, and the problem of misuse or abuse of the network ports is solved.
In the foregoing technical solution, preferably, the use condition acquired by the acquiring unit 202 includes: information of network ports available in the switch, and/or information of network ports unavailable in the switch.
In any one of the above technical solutions, preferably, the obtaining unit 202 is specifically configured to: scanning the bar codes corresponding to the identification information of the switch and the use condition of the network port of the switch to acquire the identification information of the switch and the use condition of the network port of the switch.
In the technical scheme, the identification information of the switch and the service condition of the network port of the switch are acquired in a bar code scanning mode, so that the operation of network constructors and equipment maintainers is simpler and more convenient, and the application efficiency of the network port is improved. The barcode may be a barcode, a two-dimensional code, or the like. Of course, the identification information of the switch and the use condition of the network port of the switch may also be obtained in other manners, such as shaking the terminal when the terminal is in the designated state, or touching a designated key on the terminal.
In any of the above technical solutions, preferably, the receiving unit 206 is further configured to receive, after the sending unit 204 sends the application request and before receiving the information of the network port allocated by the server, the authentication information sent by the server; the terminal 200 further includes: a response unit 208, configured to respond to the authentication information; the sending unit 204 is further configured to return a response result of the responding unit 208 to the authentication information to the server.
In the technical scheme, the safety of the management of the network port is improved by verifying the identity information, and the problem of misuse and abuse of the network port caused by that anyone can send the application request of the network port through the terminal is avoided. The identity authentication information comprises information such as a password bound with the terminal sending the application request, a random generation code sent by the terminal and the like.
In any of the above technical solutions, preferably, the receiving unit 206 is further configured to receive a confirmation instruction of the user for the information of the network port allocated by the server; the sending unit 204 is further configured to return the confirmation instruction to the server, so that the server enables the network port allocated by the server according to the confirmation instruction.
In the technical scheme, the information of the network port allocated by the server is confirmed, so that the server can start and configure the information of the network port in time after confirming that the network constructor and the equipment maintainer check the information of the allocated network port.
Fig. 3 shows a schematic flow chart of a method of management of a network port according to an embodiment of the invention.
As shown in fig. 3, a method for managing a network port according to an embodiment of the present invention includes:
step 302, receiving identification information of a switch, a use condition of a network port of the switch and an application request of the network port, which are sent by a terminal;
step 304, allocating a network port to the terminal according to the identification information of the switch, the use condition of the network port and the application request;
step 306, sending the information of the network port allocated to the terminal.
In the technical scheme, the server allocates the network ports to the terminal according to the identification information of the switch, the use condition of the network ports and the application request, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use condition (such as use records, service data analysis and the like) of each network port, and the problem of misuse or abuse of the network ports is solved. And the information of the distributed network ports is sent to the terminal, so that the user of the terminal can confirm the distribution result of the network ports, and the distributed network ports are started and configured in time after the user of the terminal confirms.
In the foregoing technical solution, preferably, after receiving the application request and before allocating a network port to the terminal, the method further includes: sending authentication information to the terminal; receiving a response result to the identity authentication information sent by the terminal; and if the identity authentication of the terminal is determined to be passed according to the response result, executing a step of allocating a network port to the terminal.
In the technical scheme, the identity information of the terminal is verified, so that the safety of network port management is improved, and the problem of misuse and abuse of the network port caused by the fact that anyone can send an application request of the network port through the terminal is solved. The identity authentication information comprises a password bound with the terminal, a random generation code sent by the server and other information.
In any one of the above technical solutions, preferably, after sending the information of the network port allocated to the terminal, the method further includes: and if receiving a confirmation instruction of the allocated network port sent by the terminal, starting the allocated network port.
In the technical scheme, when a confirmation instruction sent by a terminal to the network port allocated to the server is received, the network port allocated to the server is started, so that the server can start and configure the information of the network port in time after confirming that network constructors and equipment maintenance personnel check the information of the allocated network port.
In any of the above technical solutions, preferably, after enabling the allocated network port, the method further includes: and sending the information of the distributed network port to the switch according to the identification information of the switch so as to enable the switch to update the service condition of the network port of the switch.
In the technical scheme, the server sends the information of the network ports allocated to the terminal to the switch, so that the switch can update the service conditions of the network ports in time, the latest service conditions of the network ports can be acquired when the terminal acquires the information again, and the server can be further ensured to be allocated to the proper network ports.
Fig. 4 shows a schematic block diagram of a server according to an embodiment of the invention.
As shown in fig. 4, a server 400 according to an embodiment of the present invention includes: a receiving unit 402, an assigning unit 404 and a transmitting unit 406.
The receiving unit 402 is configured to receive identifier information of a switch, a use condition of a network port of the switch, and an application request to the network port, where the identifier information of the switch is sent by a terminal; an allocating unit 404, configured to allocate a network port to the terminal according to the identification information of the switch, the use condition of the network port, and the application request; a sending unit 406, configured to send information of the network port allocated to the terminal by the allocating unit 404 to the terminal.
In the technical scheme, the server allocates the network ports to the terminal according to the identification information of the switch, the use condition of the network ports and the application request, so that the network port resources of the switch can be reasonably and uniformly managed, namely, the server allocates proper network ports according to the use condition (such as use records, service data analysis and the like) of each network port, and the problem of misuse or abuse of the network ports is solved. And the information of the distributed network ports is sent to the terminal, so that the user of the terminal can confirm the distribution result of the network ports, and the distributed network ports are started and configured in time after the user of the terminal confirms.
In the foregoing technical solution, preferably, the sending unit 406 is further configured to send authentication information to the terminal after the receiving unit 402 receives the application request and before the allocating unit 404 allocates a network port to the terminal; the receiving unit 402 is further configured to receive a response result sent by the terminal to the authentication information; the allocating unit 404 is specifically configured to allocate a network port to the terminal if it is determined that the authentication of the terminal passes according to the response result.
In the technical scheme, the identity information of the terminal is verified, so that the safety of network port management is improved, and the problem of misuse and abuse of the network port caused by the fact that anyone can send an application request of the network port through the terminal is solved. The identity authentication information comprises a password bound with the terminal, a random generation code sent by the server and other information.
In any of the above technical solutions, preferably, the method further includes: a processing unit 408, configured to, after the sending unit 406 sends the information of the network port allocated to the terminal, enable the allocated network port if a confirmation instruction sent by the terminal for the allocated network port is received.
In the technical scheme, when a confirmation instruction sent by a terminal to the network port allocated to the server is received, the network port allocated to the server is started, so that the server can start and configure the information of the network port in time after confirming that network constructors and equipment maintenance personnel check the information of the allocated network port.
In any of the above technical solutions, preferably, the sending unit 406 is further configured to: after the processing unit 408 enables the allocated network port, the information of the allocated network port is sent to the switch according to the identification information of the switch, so that the switch updates the usage of the network port of the switch.
In the technical scheme, the server sends the information of the network ports allocated to the terminal to the switch, so that the switch can update the service conditions of the network ports in time, the latest service conditions of the network ports can be acquired when the terminal acquires the information again, and the server can be further ensured to be allocated to the proper network ports.
The following describes in detail a processing flow of the management system of network ports according to an embodiment of the present invention with reference to fig. 5, wherein a manner in which an application device of a network port triggers sending of an application request of a network port to a cloud server (i.e., an allocation device of a network port) by scanning a two-dimensional code is also within the scope of the present application.
Fig. 5 shows a process flow diagram of a management system of network ports according to one embodiment of the invention.
As shown in fig. 5, a process flow of the management system of network ports according to an embodiment of the present invention includes:
step 502, generating a two-dimensional code of a switch port resource, where the processing procedure may be a processing procedure of a cloud server or a processing procedure of other devices in a management system of a network port.
In step 504, the terminal scans the two-dimensional code, wherein the terminal may be a portable electronic device, such as a mobile phone.
Step 506, after the terminal scans the two-dimensional code, an application request for the network port is generated and sent to the cloud server.
And step 508, the cloud server receives the application request sent by the terminal and sends verification information to the terminal so as to verify the identity of the terminal.
And step 510, after receiving the verification information, the terminal responds to the verification information and feeds back the verification information to the cloud server.
And step 512, the cloud server verifies the information fed back by the terminal, and allocates a network port to the terminal when the verification is passed, wherein the network port can be allocated according to the use condition of the network port resource of the switch and the application request sent by the terminal when the network port is allocated.
In step 514, the cloud server sends the information of the allocated network port to the terminal to be confirmed by the user of the terminal.
In step 516, the terminal confirms the information of the network port sent by the cloud server.
In step 518, the cloud server starts the port allocated to the terminal and updates the configuration information of the port when receiving the confirmation information returned by the terminal.
The technical scheme of the invention is described in detail by combining the attached drawings, and the invention provides a new application and management scheme of the network port, thereby realizing the comprehensive management of the network port, improving the application and management efficiency of the network port and simultaneously solving the problem of misuse or abuse of the network port.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method for applying for a network port, comprising:
acquiring identification information of a switch and the use condition of a network port of the switch;
sending the identification information of the switch, the use condition of the network port and an application request of the network port to a server;
receiving the identification information of the switch, the use condition of the network port and the information of the network port which is requested to be allocated by the application by the server;
when a confirmation instruction of the information of the network port distributed by the server by the user is received, the confirmation instruction is sent to the server so that the server can start the network port distributed by the server according to the confirmation instruction.
2. The method for applying for a network port according to claim 1, wherein the usage situation includes:
information of network ports available in the switch, and/or information of network ports unavailable in the switch.
3. The method for applying for the network port according to claim 1, wherein bar codes corresponding to the identification information of the switch and the usage of the network port of the switch are scanned to obtain the identification information of the switch and the usage of the network port of the switch.
4. The method for applying for the network port according to claim 1, further comprising, after sending the application request to the server and before receiving the information of the network port allocated by the server:
receiving authentication information sent by the server;
and responding the identity authentication information, and returning a response result to the identity authentication information to the server.
5. A terminal, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring identification information of a switch and the use condition of a network port of the switch;
a sending unit, configured to send the identification information of the switch, the use condition of the network port, and an application request to the network port to a server;
a receiving unit, configured to receive information of a network port allocated by the server according to the identifier information of the switch, the use condition of the network port, and the application request;
the receiving unit is further configured to receive a confirmation instruction of the user for the information of the network port allocated by the server;
the sending unit is further configured to return the confirmation instruction to the server, so that the server enables the network port allocated by the server according to the confirmation instruction.
6. The terminal according to claim 5, wherein the usage situation acquired by the acquiring unit includes:
information of network ports available in the switch, and/or information of network ports unavailable in the switch.
7. The terminal according to claim 5, wherein the obtaining unit is specifically configured to:
scanning the bar codes corresponding to the identification information of the switch and the use condition of the network port of the switch to acquire the identification information of the switch and the use condition of the network port of the switch.
8. The terminal according to claim 5, wherein the receiving unit is further configured to receive authentication information sent by the server after the sending unit sends the application request and before receiving information of the network port allocated by the server;
the terminal further comprises: the response unit is used for responding the identity authentication information;
the sending unit is further configured to return a response result of the response unit to the authentication information to the server.
9. A method for managing network ports, comprising:
receiving identification information of a switch, service conditions of a network port of the switch and an application request of the network port, wherein the identification information of the switch is sent by a terminal;
distributing network ports to the terminals according to the identification information of the switch, the service condition of the network ports and the application request;
sending information of the network port allocated to the terminal;
after the information of the network port allocated to the terminal is sent to the terminal, the method further includes:
and if receiving a confirmation instruction of the allocated network port sent by the terminal, starting the allocated network port.
10. The method for managing network ports according to claim 9, further comprising, after receiving the application request and before allocating network ports to the terminals:
sending authentication information to the terminal;
receiving a response result to the identity authentication information sent by the terminal; and
and if the identity authentication of the terminal is determined to be passed according to the response result, executing a step of allocating a network port to the terminal.
11. The method for managing network ports according to claim 9, further comprising, after enabling the allocated network port:
and sending the information of the distributed network port to the switch according to the identification information of the switch so as to enable the switch to update the service condition of the network port of the switch.
12. A server, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving identification information of an exchanger, service conditions of a network port of the exchanger and an application request of the network port, which are sent by a terminal;
the distribution unit is used for distributing the network ports to the terminal according to the identification information of the switch, the use condition of the network ports and the application request;
a sending unit, configured to send information of the network port allocated to the terminal by the allocating unit to the terminal;
and the processing unit is used for starting the allocated network port if receiving a confirmation instruction of the allocated network port sent by the terminal after the sending unit sends the information of the network port allocated to the terminal.
13. The server of claim 12, wherein:
the sending unit is further configured to send authentication information to the terminal after the receiving unit receives the application request and before the allocating unit allocates a network port to the terminal;
the receiving unit is further configured to receive a response result to the authentication information sent by the terminal;
the allocating unit is specifically configured to allocate a network port to the terminal if it is determined that the authentication of the terminal passes according to the response result.
14. The server according to claim 12, wherein the sending unit is further configured to:
after the processing unit enables the distributed network ports, the information of the distributed network ports is sent to the switch according to the identification information of the switch, so that the switch updates the use condition of the network ports of the switch.
CN201610151603.0A 2016-03-16 2016-03-16 Application method, management method, terminal and server of network port Active CN107204864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610151603.0A CN107204864B (en) 2016-03-16 2016-03-16 Application method, management method, terminal and server of network port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610151603.0A CN107204864B (en) 2016-03-16 2016-03-16 Application method, management method, terminal and server of network port

Publications (2)

Publication Number Publication Date
CN107204864A CN107204864A (en) 2017-09-26
CN107204864B true CN107204864B (en) 2020-09-04

Family

ID=59903900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610151603.0A Active CN107204864B (en) 2016-03-16 2016-03-16 Application method, management method, terminal and server of network port

Country Status (1)

Country Link
CN (1) CN107204864B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859187A (en) * 2005-12-14 2006-11-08 华为技术有限公司 Method and system for centrally configurating terminal equipment
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Method and apparatus for terminal port allocating
CN102905292A (en) * 2012-09-21 2013-01-30 中兴通讯股份有限公司 Mobile terminal network port management method and device
CN104253770A (en) * 2013-06-27 2014-12-31 杭州华三通信技术有限公司 Method and equipment for realizing distributed virtual switch system
CN105429884A (en) * 2015-10-30 2016-03-23 上海斐讯数据通信技术有限公司 Method and system of managing routers in different networks through terminal
CN105656665A (en) * 2015-12-24 2016-06-08 浪潮集团有限公司 Switch port configuring method and switch
CN105959241A (en) * 2016-04-27 2016-09-21 西安空间无线电技术研究所 Unified scheduling method for space-borne photovoltaic hybrid exchange system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004015934A1 (en) * 2002-08-09 2004-02-19 British Telecommunications Public Limited Company Packet switching system
CN1180595C (en) * 2002-10-25 2004-12-15 华为技术有限公司 Method for port wholesale
CN102136937B (en) * 2010-11-30 2013-04-17 华为技术有限公司 Method, device and system for resource management of access network port

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859187A (en) * 2005-12-14 2006-11-08 华为技术有限公司 Method and system for centrally configurating terminal equipment
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Method and apparatus for terminal port allocating
CN102905292A (en) * 2012-09-21 2013-01-30 中兴通讯股份有限公司 Mobile terminal network port management method and device
CN104253770A (en) * 2013-06-27 2014-12-31 杭州华三通信技术有限公司 Method and equipment for realizing distributed virtual switch system
CN105429884A (en) * 2015-10-30 2016-03-23 上海斐讯数据通信技术有限公司 Method and system of managing routers in different networks through terminal
CN105656665A (en) * 2015-12-24 2016-06-08 浪潮集团有限公司 Switch port configuring method and switch
CN105959241A (en) * 2016-04-27 2016-09-21 西安空间无线电技术研究所 Unified scheduling method for space-borne photovoltaic hybrid exchange system

Also Published As

Publication number Publication date
CN107204864A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN105812488B (en) Cloud computing Distributed Services group system and its method
JP2019511763A (en) Door lock network control method, device, server and PMS
CN108737585B (en) IP address allocation method and device
CN105519028A (en) Wireless system access control method and apparatus
CN106464667B (en) Certificate management method, equipment and system
CN114553592B (en) Method, equipment and storage medium for equipment identity verification
CN103973665A (en) Authentication And Authorization Method And System
CN107071733B (en) Virtual SIM card service support method and server, communication method and SIM card server and mobile equipment
CN114205139A (en) Computing resource management method, node, system and storage medium
CN110472377B (en) Automatic software activation verification method, server, user terminal and system
CN105681258A (en) Session method and session device based on third-party server
CN110535665A (en) A kind of method, apparatus and system for signing and issuing same root certificate online
CN108712440A (en) User information management method, device, server and storage medium
CN105162774A (en) Virtual machine login method and device used for terminal
CN112232810A (en) Resource processing method, server, device, equipment, system and medium
CN104580063A (en) A network management security authentication method and device, and network management security authentication system
CN107204864B (en) Application method, management method, terminal and server of network port
EP4087206A1 (en) Internet-of-things device registration method and apparatus, device and storage medium
CN110636473A (en) Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium
KR20090014625A (en) Authentication system and method in network having private network
CN114338132A (en) Secret-free login method, client application, operator server and electronic equipment
CN111107105B (en) Identity authentication system and identity authentication method thereof
CN112733101A (en) Cloud server management method, device, storage medium and server terminal
CN108055259B (en) Account management method and device
CN1771711B (en) Secure distributed system for management of local community representation within network devices

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220908

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: FOUNDER BROADBAND NETWORK SERVICE Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: FOUNDER BROADBAND NETWORK SERVICE Co.,Ltd.