Content of the invention
In view of this, it is necessary to provide a kind of automated management system of equipment connecting relation and method, which can reduce
The probability of cable maloperation when safeguarding.
A kind of automated management system of equipment connecting relation, including:High in the clouds and it is connected with the cloud network respectively
Annexation write terminal and annexation inquiry terminal;
The high in the clouds includes:
Device management module, for storage simultaneously maintained equipment list, and the port information of equipment;
Annexation management module, for storage annexation simultaneously between maintained equipment port;
Annexation writing module, for the ID of the annexation is sent to the annexation write terminal, with
The annexation write terminal is made by the ID write scannable labels of the annexation;And
Annexation enquiry module, for receiving the inquiry request that the annexation inquiry terminal sends, according to described
The ID of the annexation included in inquiry request inquires about corresponding equipment and port information, and Query Result is returned to the connection
Relational query terminal;
The annexation inquiry terminal obtains the ID of the annexation included in the scannable label, according to the company
The ID for connecing relation generates the inquiry request.
A kind of automated management method of equipment connecting relation, is applied to the automated management system of an equipment connecting relation
In system, the system includes:High in the clouds and the annexation being connected with the cloud network respectively are write terminal and are connected
Relational query terminal;
Methods described includes:
Annexation between high in the clouds storage maintained equipment list, and the port information of equipment, device port;
The ID of the annexation is sent to the annexation write terminal;
The ID of the annexation is write scannable label by the annexation write terminal;
The annexation inquiry terminal obtains the ID of the annexation included in the scannable label, according to the company
The ID for connecing relation generates the inquiry request, and inquiry request is sent to the high in the clouds;
The high in the clouds receives the inquiry request, corresponding according to the ID of the annexation included in inquiry request inquiries
Equipment and port information, Query Result is returned to annexation inquiry terminal.
According to above-mentioned technical proposal, the cable for connecting equipment is identified using a scannable label, by sweeping
Retouch this scannable label and can obtain well the information such as its corresponding equipment, port, it is possible to determine whether whether the cable belongs to
The target of maintenance, the very big probability for reducing maloperation when safeguarding.
It is that the above and other objects, features and advantages of the present invention can be become apparent, preferred embodiment cited below particularly,
And coordinate institute's accompanying drawings, it is described in detail below.
Specific embodiment
For further illustrating the present invention for realizing technological means and effect that predetermined goal of the invention taken, below in conjunction with
Accompanying drawing and preferred embodiment, to the specific embodiment according to the present invention, structure, feature and its effect, describe in detail as after.
The embodiment of the present invention provides a kind of management system of equipment connecting relation, and equipment herein is referred to arbitrarily by cable
The equipment being connected with each other, including but not limited to:Switch, server, router, printer, sensor etc..
In the present embodiment, using illustrating as a example by the annexation of switch-to-server.Refer to Fig. 1, switch
10 have multiple RJ45 cable interfaces 11.And multiple blade servers 21 are installed in frame 20.Each server is by mark
Pseudo-crystalline lattice is connected to a cable interface on switch 10.
Specifically, say that switch 10 has 24 cable interfaces 11, P1, P2 ... P24 can be designated as respectively.Server 20
There is a cable interface, P1 can be designated as.Assume the interface P1 of switch 10 and the port of a certain server in server 20
P1 is connected, and this annexation can have a unique mark.
Fig. 2 is referred to, equipment connecting relation management system 100 includes that high in the clouds 30, annexation write terminal 40 and connection are closed
System's inquiry terminal 50.
Fig. 3 is referred to, is write including device management module 31, annexation management module 32 and annexation in high in the clouds 30
Enter module 33 and annexation enquiry module 34.
Device management module 31 is used for the information such as the list for storing and safeguarding all devices, the port information of each equipment.
Device management module 31 can increase, change or sweep equipment, and these operations are hereafter referred to collectively as the renewal operation of equipment.Example
Such as, device management module 31 can provide the interface that user carries out renewal of the equipment operation, in this interface, user can increase,
Modification or sweep equipment.In general, after the type of equipment determines, its port information is determined that, therefore, equipment
Port information can adopt the model of equipment directly to inquire about from preset port data.
Annexation management module 32 is used for safeguarding, that is to say, that increase, the port between modification or sweep equipment connects
Connect relation.Annexation management module 32 can provide user and carry out the interface that device port annexation updates operation, here
In interface, user can increase, change or sweep equipment port between annexation.According to the company between device port
Relation is connect, and which port of which equipment can be connected to certain port of query facility A.
Annexation management module 32 can give every a pair of annexations, i.e. connection between the two of two equipment port
One unique identifier of relation allocation.
Annexation writing module 33 is used for the annexation ID (annexation that i.e. annexation management module 32 is generated
Unique identifier) and the information of other needs writes be sent to annexation write terminal 40 or annexation inquiry eventually
End 50, writes terminal 40 by annexation or annexation inquiry terminal 50 identifies annexation and other need write
Information is write in a scannable label.
Annexation enquiry module 34 is for according to the inquiry of annexation inquiry request and certain annexation for receiving
Whether the corresponding equipment of ID, port and the annexation need to take the attended operation under line and return Query Result
Give client.Under line herein, attended operation for example refers to plug or the change port of cable.
As shown in figure 3, annexation write terminal 40 is, for example, desk computer, which passes through the Internet with 30 phase of high in the clouds
Even, annexation write terminal 40 is further connected with a printer 41.Annexation write terminal 40 can show annexation pipe
The annexation that reason module 32 is provided updates the interface of operation, so that user is newly-increased, between modification or sweep equipment port
Annexation.When user connects the port of two equipment using cable, newly-increased annexation can be selected in the interface.Such as
Upper described, equipment connecting relation management module 32 can give newly-increased annexation distribution annexation ID.Annexation writes mould
Block 33 by annexation ID and he need write information be sent to annexation write terminal 40.Annexation writes terminal
40 are converted into Quick Response Code after the information for receiving annexation ID and other needs writes, and pass through printer 41 dozens
Print off and.Now user can be fixed on the Quick Response Code for printing on corresponding cable.Thus, just completing equipment connection
The newly-increased operation of relation.
Annexation inquiry terminal 50 can for example be a mobile electronic terminal, and in which, installation and operation has two-dimensional code scanning
Program, its can scan the Quick Response Code on cable, to obtain annexation ID, generate annexation inquiry according to annexation ID
Request, sends the requests to high in the clouds 30.Correspondingly, the annexation enquiry module 34 in high in the clouds 30 returns inquiry according to inquiry request
As a result.Thus, user inquires about the company for inquiring about 30 memory storages beyond the clouds by terminal 50 scans Quick Response Code by annexation
Relation is connect, and then judges whether which is matched with actual annexation and whether the cable is the cable for needing to be plugged.
The probability of maloperation when cable is plugged when this mode can greatly avoid number of devices big.
In example discussed above, the scannable label of generation is a Quick Response Code.However, the embodiment of the present invention is not
In this scheme.For example, it is also possible to adopt radio-frequency (RF) tag (RF-ID).Fig. 4 is referred to, annexation write terminal 60 can be propped up
The electric terminal such as smart mobile phone of NFC function is held, RFID can be written and read.
Correspondingly, annexation write terminal 60 can show that the annexation that annexation management module 32 is provided updates
The interface of operation, for the newly-increased annexation between modification or sweep equipment port of user.When user is connected using cable
During the port of two equipment, newly-increased annexation can be selected in the interface.As described above, equipment connecting relation management module
32 can give newly-increased annexation distribution annexation ID.Annexation ID and his needs are write by annexation writing module 33
The information for entering is sent to annexation write terminal 6.Annexation writes terminal 6 and is receiving annexation ID and other need
RFID62 is written into by predetermined form after information to be write.Then, RFID62 can be fixed on corresponding line by user
On cable.Thus, just completing the newly-increased operation of equipment connecting relation.
Annexation inquiry terminal 70 can also read annexation ID being stored in RFID52, root by NFC function
Annexation inquiry request is generated according to annexation ID, high in the clouds 30 is sent the requests to.Correspondingly, the annexation in high in the clouds 30 is looked into
Ask module 34 and Query Result is returned according to inquiry request.Thus, user inquires about terminal 70 by annexation scanning
RFID52 can inquiry 30 memory storages beyond the clouds annexation, and then judge its whether match with actual annexation and
Whether the cable is the cable for needing to be plugged.Cable plug mistiming when this mode can greatly avoid number of devices big
The probability of operation.
Further, refering to Fig. 5, RFID52 is not limited to be read out by annexation inquiry terminal 70, can also adopt
Equipment 80 is read with special radio frequency.Radio frequency read include in equipment 80 process chip, radio-frequency signal transceiver, communication module,
And battery module.Radio-frequency signal transceiver and communication module are connected with process chip signal, and battery module is used for process
Chip, radio-frequency signal transceiver and communication module are powered.The radiofrequency signal of radio-frequency signal transceiver transmitting-receiving transfers to microprocessor
Carry out parsing, process, communication module is used for being connected with annexation inquiry terminal 70, with exchange data.Specifically, communication module
It can be bluetooth module.When radio frequency read equipment 80 near RFID52 when, its read RFID52 memory storages annexation ID and
Other information, is then sent to annexation by bluetooth module and inquires about terminal 70.Annexation inquires about terminal 70 according to reception
Annexation ID for arriving generates annexation inquiry request, sends the requests to high in the clouds 30.
Adopt in this way, need not inquire about terminal 70 using annexation carries out the reading of RFID, and radio frequency reads equipment
80 due to single function and do not need display screen, and its volume can be made to very little, are particularly suited for cable more not square than comparatively dense
Just RFID is read using the larger mobile terminal of mobile phone equal-volume, using upper enhanced convenience.
Further, radio frequency to read and can also arrange Tip element 81 on equipment 80, inquires about terminal 70 when annexation and connects
During the Query Result that the high in the clouds 30 for receiving returns, annexation inquiry terminal 70 can read equipment 80 to radio frequency and send and inquiry
As a result corresponding prompting drive signal.Correspondingly, radio frequency reads the driving Tip element 81 of equipment 80 and sends now corresponding prompting letter
Number.Cue herein may include acoustical signal, light signal and combinations thereof.
Adopt in this way, equipment 80 is read using radio frequency and scans RFID, you can know whether current cable needs
Plug, improve convenience when safeguarding.
In above example, a cable is identified only with a scannable label.This mode can only distinguish between
Different cable, it is impossible to be pin-pointed to two ports of cable.In order to solve this problem, can distinguish at the two ends of cable
One scannable label is set, and each will scan label and there is a unique ID, in this way, can be by the two of cable
Get up with the port mapping of equipment respectively port.Thus, by the content for reading scannable label, it is possible to judge connecing for cable
Whether mouth is correctly mated with the port of equipment.Even if cable has specific directivity, adopting in this way also can be effective
The direction for distinguishing cable.
Further, same cable can adopt three scannable labels, two of which to be respectively used to labelling cable
Two ends, another be used for labelling cable itself.The efficiency that inquiry data processing can be lifted by here mode.
According to the system of above-described embodiment, the cable for connecting equipment is identified using a scannable label, led to
Over-scan this scannable label and can obtain well the information such as its corresponding equipment, port, it is possible to whether determine whether the cable
Belong to the target of maintenance, the very big probability for reducing maloperation when safeguarding.
Fig. 6 is referred to, which is the flow chart of the automated management method of equipment connecting relation provided in an embodiment of the present invention.Such as
Shown in Fig. 5, the method includes:
Between the port information of step S101, the high in the clouds storage simultaneously maintained equipment list, and equipment, device port
Annexation;The ID of the annexation is sent to the annexation write terminal;
The ID of the annexation is write scannable label by step S102, the annexation write terminal;
Step S103, the annexation inquiry terminal obtain the ID of the annexation included in the scannable label,
The inquiry request is generated according to the ID of the annexation, and inquiry request is sent to the high in the clouds;
Step S104, the high in the clouds receive the inquiry request, according to the annexation included in the inquiry request
ID inquires about corresponding equipment and port information, and Query Result is returned to the annexation inquiry terminal.
According to above-mentioned method, the cable for connecting equipment is identified using a scannable label, by scanning
This scannable label can obtain well the information such as its corresponding equipment, port, it is possible to determine whether whether the cable belongs to dimension
The target of shield, the very big probability for reducing maloperation when safeguarding.
Additionally, the embodiment of the present invention also provides a kind of computer-readable recording medium, it is stored with computer and can perform
Instruction, above-mentioned computer-readable recording medium are, for example, nonvolatile memory such as CD, hard disk or flash memory.Above-mentioned
Computer executable instructions be used for allow computer or similar arithmetic unit to complete the method in above-described embodiment.
The above, is only presently preferred embodiments of the present invention, not makees any pro forma restriction to the present invention, though
So the present invention is disclosed as above with preferred embodiment, but is not limited to the present invention, and any those skilled in the art, not
Depart from the range of technical solution of the present invention, make a little change or be modified to equivalent when the technology contents using the disclosure above and becoming
The Equivalent embodiments of change, as long as be that the technical spirit according to the present invention is to above enforcement without departing from technical solution of the present invention content
Any brief introduction modification, equivalent variations and modification that example is made, still fall within the range of technical solution of the present invention.