Disclosure of Invention
According to an embodiment of the application, a POP resource management scheme is provided.
In a first aspect of the present application, a POP resource management method is provided. The method comprises the following steps:
receiving a dragging instruction of a user;
the system comprises a drag instruction, a pull-down instruction and a display instruction, wherein the drag instruction is used for adjusting the state of the POP and drawing the adjusted state of the POP and the association relation of the POP in a constructed three-dimensional space diagram; the incidence relation of the POP comprises the incidence relation with an IP Group, an Access Group and/or a Region POP;
and analyzing the three-dimensional space diagram to complete the management of the POP resources.
Further, the adjusting the state of the POP according to the dragging instruction includes:
if the dragging instruction is maintenance, forwarding the subsequently acquired flow to a POP in a non-maintenance state based on a near principle, and setting the current POP to be in a maintenance state;
if the dragging instruction is stop, immediately terminating the forwarding of all the flow on the current POP and setting the state of the current POP to be stop;
and if the dragging instruction is replacement, removing the association relation between the current POP and the IP Group, the Access Group and/or the Region POP, and replacing the association relation to the specified POP.
Further, the three-dimensional space map can be constructed by the following method:
acquiring a multi-dimensional POP;
and constructing a three-dimensional space map by a three-dimensional and two-dimensional layering technology based on the multi-dimensional POP.
Further, still include:
and monitoring the load condition of the POP flow, and if the load condition of the POP flow reaches a preset threshold value, sending alarm information and identifying in the three-dimensional space diagram.
In a second aspect of the present application, a POP resource management apparatus is provided. The device includes:
the receiving module is used for receiving a dragging instruction of a user;
the drawing module is used for adjusting the state of the POP according to the dragging instruction and drawing the adjusted state of the POP and the association relation of the POP into the constructed three-dimensional space diagram; the incidence relation of the POP comprises the incidence relation with IP Group, access Group and/or Region POP;
and the management module is used for analyzing the three-dimensional space map to complete the management of the POP resources.
In a third aspect of the present application, an electronic device is provided. The electronic device includes: a memory having a computer program stored thereon and a processor implementing the method as described above when executing the program.
In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method as according to the first aspect of the present application.
According to the POP resource management method provided by the embodiment of the application, a dragging instruction of a user is received;
the system comprises a drag instruction, a pull-down instruction and a display instruction, wherein the drag instruction is used for adjusting the state of the POP and drawing the adjusted state of the POP and the association relation of the POP in a constructed three-dimensional space diagram; the incidence relation of the POP comprises the incidence relation with IP Group, access Group and/or Region POP; the three-dimensional space map is used for analyzing the three-dimensional space map, managing the POP resources, realizing interactive three-dimensional display POP resource management and visually expressing space levels.
It should be understood that what is described in this summary section is not intended to limit key or critical features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will become apparent from the following description.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 shows a flowchart of a POP resource management method according to an embodiment of the present disclosure. The method comprises the following steps:
and S110, receiving a dragging instruction of a user.
Receiving a sent dragging instruction; the drag instruction includes POP maintenance, POP stop, and/or POP replacement.
And S120, adjusting the state of the POP according to the dragging instruction, and drawing the adjusted state of the POP and the association relation of the POP in the constructed three-dimensional space diagram.
And the association relationship of the POP comprises the association relationship with an IP Group, an Access Group and/or a Region POP.
In some embodiments, if the drag instruction is maintenance, based on the principle of proximity, forwarding the subsequently acquired traffic to a POP in a non-maintenance state, that is, forwarding the subsequently acquired traffic to an adjacent POP (medium or low load POP) whose load does not reach the upper limit, setting the current POP in a maintenance state, allowing the old traffic (the acquired traffic) to continue to operate normally on the current POP, and sending a prompt of successful stop after the traffic is successfully set in the maintenance state to be displayed on a corresponding page;
if the dragging instruction is stop, immediately terminating the forwarding of all traffic on the current POP, setting the state of the current POP to be stop, and sending a prompt of successful stop to be displayed on a corresponding page;
if the dragging instruction is replaced, removing the association relation between the current POP and the IP Group, the Access Group and/or the Region POP, and replacing the association relation to the specified POP; the designated POP is preset by the user according to the actual application scene.
In some embodiments, the three-dimensional space map may be constructed by:
acquiring a multi-dimensional POP; the multi-dimensional POP comprises POP basic information, client access total bandwidth ranking and/or operation history records and the like;
and constructing a three-dimensional space map on the top map space level by a three-dimensional and two-dimensional layering technology based on the multi-dimensional POP.
In the three-dimensional space diagram, POPs and the association relation of the POPs are constructed by adopting different colors, sizes and dynamic effects; for example, when the current POP load state is high load, red is adopted for marking; when the load is medium, yellow is adopted for marking; and when the load is low, green is adopted for marking.
And drawing (updating) the POP after the state adjustment and the association relation of the POP into the three-dimensional space diagram.
In some embodiments, when the POP in the three-dimensional space graph is clicked, basic information of the POP, a ranking of client access total bandwidth and/or an operation history are displayed. When the user clicks the client bandwidth real-time ranking, the IP Group, the Access Group and/or the Region POP and the connection lines associated with the current client are distinguished in the three-dimensional space diagram by using special marks (such as highlighting).
Further, still include:
and monitoring the load condition of the POP flow, and if the load condition of the POP flow reaches a preset threshold value, sending alarm information and identifying in the three-dimensional space diagram. The method comprises the steps that a monitoring layer is used for monitoring the load condition of the POP flow in the operation process of the POP, when the fact that the flow occupied by certain IP Group, access Group and/or Region POPs reaches a preset threshold value is found, an alarm device is automatically triggered to alarm, and meanwhile connecting lines on a three-dimensional space diagram are changed into red thick lines from grey.
In some embodiments, when a user clicks on an IP Group to which a POP joins, the name of the IP Group and which public and white-list POP are currently used, and the creation/change history of the current IP Group are displayed. And meanwhile, highlighting a connecting line between the C2P link and Policy accessed by the Customer in the current IP Group.
S130, analyzing the three-dimensional space diagram to complete management of POP resources
In some embodiments, the three-dimensional space diagram is analyzed to determine the change record information of total distribution of POP resources, POP load conditions, quantity distribution of access resources, resource replacement, resource stop and the like, so as to complete management of POP resources.
According to the embodiment of the disclosure, the following technical effects are achieved:
through the constructed three-dimensional space diagram, the relation between the POP and the combination is presented, the change record information of the total distribution of the POP resources, the POP load condition, the quantity distribution of the access resources, resource replacement, stopping and the like is judged, the user experience is improved, and the interactive three-dimensional presentation of the POP resources is realized.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
The above is a description of method embodiments, and the embodiments of the present application are further described below by way of apparatus embodiments.
Fig. 2 shows a block diagram of a POP resource management device 200 according to an embodiment of the present application as shown in fig. 2, the device 200 includes:
a receiving module 210, configured to receive a drag instruction of a user;
the drawing module 220 is used for adjusting the state of the POP according to the dragging instruction and drawing the adjusted state of the POP and the association relation of the POP in the constructed three-dimensional space diagram; the incidence relation of the POP comprises the incidence relation with IP Group, access Group and/or Region POP;
and the management module 230 is configured to analyze the three-dimensional space map to complete management of the POP resources.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 3 shows a schematic structural diagram of a terminal device or a server suitable for implementing the embodiments of the present application.
As shown in fig. 3, the terminal device or server 300 includes a Central Processing Unit (CPU) 301 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the system 300 are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 308 including a hard disk and the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. A drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 310 as necessary, so that a computer program read out therefrom is mounted into the storage section 308 as necessary.
In particular, the above method flow steps may be implemented as a computer software program according to embodiments of the present application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 309, and/or installed from the removable medium 311. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 301.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may be separate and not incorporated into the electronic device. The computer readable storage medium stores one or more programs that, when executed by one or more processors, perform the methods described herein.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments in which the above-mentioned features are combined in particular, and also encompasses other embodiments in which the above-mentioned features or their equivalents are combined arbitrarily without departing from the concept of the application. For example, the above features may be replaced with (but not limited to) features having similar functions as those described in this application.