CN106850246A - The recognition methods of facility information and device - Google Patents
The recognition methods of facility information and device Download PDFInfo
- Publication number
- CN106850246A CN106850246A CN201510894598.8A CN201510894598A CN106850246A CN 106850246 A CN106850246 A CN 106850246A CN 201510894598 A CN201510894598 A CN 201510894598A CN 106850246 A CN106850246 A CN 106850246A
- Authority
- CN
- China
- Prior art keywords
- identified
- equipment
- address
- module
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
Recognition methods and device the invention provides a kind of facility information.Wherein, the method includes:The identification request that receiving terminal sends, the wherein identification is asked for recognizing the equipment to be identified being connected with currently processed module, and identification request includes the mark of facility information to be identified, according to the mark, the corresponding target device information of the facility information to be identified is obtained, the target device information that will be got is sent to the terminal.By the present invention, solve the problems, such as in correlation technique by passive mode the equipment of data center is identified caused by facility information recognition efficiency it is low, and then reach the effect for improving facility information recognition efficiency.
Description
Technical field
The present invention relates to the communications field, recognition methods and device in particular to a kind of facility information.
Background technology
In cloud era, substantial amounts of calculating, network, storage device can be gathered in each data center.High-volume change or
During increase equipment, it is necessary to which the equipment to data center is identified, so as to further operation.
The method for discovering equipment proposed in correlation technique, depends primarily on Simple Network Management Protocol (Simple Network
Management Protocol, referred to as SNMP) alarm, wherein, above-mentioned snmp protocol is commonly used to predetermined logical
Letter scene, range of application is very limited.Thus, when that cannot apply above-mentioned snmp protocol, or equipment fails to accuse
When alert, because equipment conventional at present finds that mode is passive, manager cannot actively go identification equipment, so as to will lead
Cause cannot discovering device in time, and then will be so that cannot realize carrying out effective management to equipment.
In for correlation technique, caused facility information is identified to the equipment of data center by passive mode and is known
The low problem of other efficiency, not yet proposes effective solution.
The content of the invention
Recognition methods and device the invention provides a kind of facility information, at least to solve to pass through passive in correlation technique
Mode is identified the low problem of caused facility information recognition efficiency to the equipment of data center.
According to an aspect of the invention, there is provided a kind of recognition methods of facility information, including:What receiving terminal sent
Identification request, wherein, the identification request is for recognizing the equipment to be identified being connected with currently processed module, and the knowledge
The mark asked and include facility information to be identified is not invited;According to the mark, the facility information to be identified is obtained corresponding
Target device information;The target device information that will be got is sent to the terminal.
Alternatively, described according to the mark, obtaining the corresponding target device information of the facility information to be identified includes:
By the currently processed module and the communication interface of the equipment to be identified, the facility information to be identified is obtained corresponding
Facility information;The facility information is packaged with the mailing address of the currently processed module, the target is generated
Facility information.
Alternatively, being sent to before the terminal in the target device information that will be got also includes:The end
End receives the address realm of equipment to be identified, and includes the address of the equipment to be identified included by the address realm, according to
Secondary execution following steps, until the address of the equipment to be identified included by the address realm is traveled through, wherein, it is described to wait to know
The address realm one of the address realm of other equipment and one or more the currently processed modules being connected with the equipment to be identified
One correspondence:An address is selected from the address realm as the address of current equipment to be identified, and according to preset rules
The stand-by period of the reception target device information is set and the identification request is sent to the currently processed module
Number of times;Judge whether the target device information is received within the stand-by period;If being received within the stand-by period
To the target device information, then the address of the equipment next to be identified in the address realm is currently treated as described
The address of identification equipment;If not receiving the target device information within the stand-by period, judge the terminal to
Whether the number of times that the currently processed module sends the identification request exceedes predetermined threshold value, if the terminal is to described current
The number of times that processing module sends the identification request exceedes the predetermined threshold value, it is determined that the currently processed module does not exist
Equipment corresponding with the address of the current equipment to be identified, using the address of the next equipment in the address realm as
The address of the current equipment to be identified;If the terminal sends the number of times of the identification request to the currently processed module
Not less than the predetermined threshold value, then the identification request is sent again to the currently processed module.
Alternatively, the device type of the equipment to be identified is at least included in the facility information.
Alternatively, sent to the terminal in the target device information that will be got, also included:Receive
The operation requests that terminal sends, wherein, carried in the operation requests predetermined for indicating the equipment to be identified to perform
The configured information of operation;The equipment to be identified is indicated to perform the scheduled operation according to the configured information;Receive described
Scheduled operation performs the operating result for completing;The operating result is sent to the terminal.
Alternatively, the equipment described to be identified of distinct device type corresponds to the different scheduled operations respectively.
According to another aspect of the present invention, there is provided a kind of identifying device of facility information, including:First receiver module,
For the identification request that receiving terminal sends, wherein, the identification request is for recognizing and treating that currently processed module is connected
Identification equipment, and the identification request includes the mark of facility information to be identified;Acquisition module, for according to the mark
Know, obtain the corresponding target device information of the facility information to be identified;First sending module, for the institute that will be got
Target device information is stated to send to the terminal.
Alternatively, the acquisition module includes:Acquiring unit, for be identified with described by the currently processed module
The communication interface of equipment, obtains the corresponding facility information of the facility information to be identified;Processing unit, for by described in
Facility information is packaged with the mailing address of the currently processed module, generates the target device information.
Alternatively, described device also includes:Processing module, in the target device information hair that will be got
Before delivering to the terminal, the terminal receives the address realm of equipment to be identified, and includes the address realm and wrapped
The address of the equipment to be identified for including, performs following steps successively, until travel through included by the address realm to be identified sets
Standby address, wherein, the address realm of the equipment to be identified and be connected with the equipment to be identified one or more work as
The address realm of pre-processing module is corresponded:An address is selected from the address realm as current equipment to be identified
Address, and set according to preset rules and receive the stand-by period of the target device information and to the currently processed mould
Block sends the number of times of the identification request;Judge whether the target device information is received within the stand-by period;If
The target device information is received within the stand-by period, then by the equipment next to be identified in the address realm
Address as the current equipment to be identified address;If not receiving the target device letter within the stand-by period
Breath, then judge whether the terminal exceedes predetermined threshold value to the number of times that the currently processed module sends the identification request,
If the terminal exceedes the predetermined threshold value to the number of times that the currently processed module sends the identification request, it is determined that institute
Currently processed module is stated in the absence of equipment corresponding with the address of the current equipment to be identified, by the address realm
The address of next equipment as the current equipment to be identified address;If the terminal is sent out to the currently processed module
Send the number of times of the identification request not less than the predetermined threshold value, then send the identification again to the currently processed module
Request.
Alternatively, the device type of the equipment to be identified is at least included in the facility information.
Alternatively, described device also includes:Second receiver module, in the target device letter that will be got
Breath is sent to after the terminal, the operation requests that receiving terminal sends, wherein, carried in the operation requests for
The equipment to be identified is indicated to perform the configured information of scheduled operation;Indicating module, for being indicated according to the configured information
The equipment to be identified performs the scheduled operation;3rd receiver module, performs what is completed for receiving the scheduled operation
Operating result;Second sending module, for the operating result to be sent to the terminal.
Alternatively, the equipment described to be identified of distinct device type corresponds to the different scheduled operations respectively.
By the present invention, the identification sent using receiving terminal is asked, wherein the identification ask for recognize with it is currently processed
The equipment to be identified of module connection, and identification request includes the mark of facility information to be identified, according to the mark, obtains
The corresponding target device information of the facility information to be identified is taken, the target device information that will be got is sent to the terminal.
That is, the present invention to the currently processed module being connected with equipment to be identified by actively sending identification request, and receive
Deserve respective objects facility information of the pre-processing module according to apparatus information acquiring to be identified in identification request, knowledge is treated in realization
The identification of other facility information, rather than passively waiting equipment to be identified to alert passive annunciator information by SNMP, solves
Caused facility information is identified to the equipment of data center by passive mode in correlation technique of having determined and recognizes effect
The low problem of rate, and then reach the effect for improving facility information recognition efficiency.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention
Schematic description and description be used for explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the identification process figure of facility information according to embodiments of the present invention;
Fig. 2 is the recognition methods framework connection diagram of facility information according to embodiments of the present invention;
Fig. 3 is the identification process figure () of facility information according to embodiments of the present invention;
Fig. 4 is the interaction figure that terminal-pair equipment according to embodiments of the present invention is managed;
Fig. 5 is the structured flowchart of the identifying device of facility information according to embodiments of the present invention;
Fig. 6 is the structured flowchart () of the identifying device of facility information according to embodiments of the present invention;
Fig. 7 is the structured flowchart (two) of the identifying device of facility information according to embodiments of the present invention;
Fig. 8 is the structured flowchart (three) of the identifying device of facility information according to embodiments of the present invention.
Specific embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings not conflicted
Under condition, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing
Etc. being for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
A kind of recognition methods of facility information is provided in the present embodiment, and Fig. 1 is equipment letter according to embodiments of the present invention
The identification process figure of breath, as shown in figure 1, the flow comprises the following steps:
Step S102, the identification request that receiving terminal sends, wherein, identification request is for recognizing and currently processed module
The equipment to be identified of connection, and identification request includes the mark of facility information to be identified;
Step S104, according to the mark, obtains the corresponding target device information of the facility information to be identified;
Step S106, target device information that will be got is sent to the terminal.
Alternatively, in the present embodiment, the application scenarios of the recognition methods of the said equipment information are included but is not limited to:Respectively
Substantial amounts of computing device, the network equipment in individual data center, the identification of storage device, or non-communicating Protocol IP network
The identification of middle equipment.
Below under above-mentioned application scenarios, the framework of the recognition methods of the said equipment information is illustrated.
In the present embodiment, the recognition methods of the said equipment information can apply to framework as shown in Figure 2.Wherein, eventually
By taking management end as an example, currently processed module is by taking node module as an example at end.Specifically, management end 21 and node module 22
The communication mode that connection is supported depending on communication unit 221 in node module 22;Node module 22 and equipment 23
Connection depending on hardware vendor design (include but is not limited to be solidificated in device interior, can the mode such as plug component).
Further, in the present embodiment, above-mentioned node module includes communication unit 221, processing unit 222 and sets
Standby adaptation unit 223.Wherein, communication unit 221 is used to be attached with outside, completes hardware connection and communication protocol
Treatment, can be provided such as IP, one or more in the communication interface such as serial ports.Processing unit 222 is used to process outside asking
Ask, adaptation unit operation equipment is passed through according to these requests.Different hardware can externally provide the operate interface of differentiation,
Equipment adapting unit 223 is used to complete adaptation of these operate interfaces to processing unit.
Under the framework of the said equipment information identification, the identification request that receiving terminal sends, wherein identification is asked for knowing
The equipment to be identified not being connected with currently processed module, and identification request includes the mark of facility information to be identified, root
According to the mark, the corresponding target device information of the facility information to be identified is obtained, the target device information hair that will be got
Deliver to the terminal.That is, the present embodiment is known by actively being sent to the currently processed module being connected with equipment to be identified
Do not invite and ask, and receive the respective objects facility information for deserving pre-processing module according to content obtaining to be identified in identification request,
The identification of identification equipment information is treated in realization, is set rather than passively waiting equipment to be identified to alert passive informing by SNMP
Standby information, solve in correlation technique by passive mode the equipment of data center is identified caused by equipment believe
The low problem of breath recognition efficiency, and then reach the effect for improving facility information recognition efficiency.
It should be noted that in the present embodiment, above-mentioned identification request is included but is not limited to:Knowledge based on IP messages
Do not invite ask, the identification of non-IP messages is asked.
For example, in the present embodiment, when identification request is that the identification based on IP messages is asked, can be by various identifications
Request is transmitted in being encapsulated in IP messages;When identification request is that the identification based on non-IP messages is asked, can be by other
Communication mode carry identification request, wherein, above-mentioned communication mode can include but is not limited to:The short haul connection of bluetooth,
Radio etc., does not do any restriction herein.
Alternatively, in the present embodiment, the identification request that the terminal for receiving sends is included but is not limited to:It is to be identified to set
Mark, the mailing address of terminal of standby information.Wherein, the corresponding target device letter of facility information to be identified that will be got
Breath is sent to the terminal according to the mailing address of terminal.
Alternatively, in the present embodiment, it is corresponding with the content to be identified that the mark is identified in the equipment to be identified of acquisition
Target device information include but is not limited to:The unique mark of device type is (for example, it may be general unique identifier
Binary string, the SYSOID of snmp protocol of (Universally Unique Identifier, referred to as UUID)).
In one alternatively implementation method, according to mark, the corresponding target device information bag of facility information to be identified is obtained
Include following steps:
Step S11, by currently processed module and the communication interface of equipment to be identified, obtains facility information to be identified relative
The facility information answered;
Step S12, the facility information is packaged with the mailing address for deserving pre-processing module, generates the target device
Information.
By above-mentioned steps, by the communication interface of currently processed module and equipment to be identified, obtain in equipment to be identified with
The corresponding facility information of facility information to be identified that the mark is identified, and facility information is logical with currently processed module
Letter address is packaged generation target device information, is further transmitted to terminal so that terminal can be believed according to target device
The initiative recognition of identification equipment is treated in breath, realization, is further solved and solve in correlation technique in correlation technique by quilt
Dynamic mode the equipment of data center is identified caused by the low problem of facility information recognition efficiency, and then reach and carry
The effect of facility information recognition efficiency high.
In one alternatively implementation method, sent to before terminal in the target device information that will be got and also include following
Step:
Step S21, terminal receives the address realm of equipment to be identified, and to be identified setting of including included by address realm
Standby address, performs following steps successively, until the address of the equipment to be identified included by traversal address realm, wherein,
The address model of the address realm of the equipment to be identified and one or more the currently processed modules being connected with the equipment to be identified
Enclose one-to-one corresponding:
Step S22, selects an address as the address of current equipment to be identified from the address realm, and according to default
Rule setting receives the stand-by period of the target device information and sends the secondary of identification request to pre-processing module is deserved
Number;
Step S23, judges whether the target device information is received within waiting time;
Step S24, if receiving the target device information within waiting time, will be next in the address realm
The address of equipment to be identified as the current equipment to be identified address;
Step S25, if not receiving the target device information within waiting time, judges that terminal is currently processed to this
Whether the number of times that module sends identification request exceedes predetermined threshold value, if the terminal sends the identification to pre-processing module is deserved
The number of times of request exceedes the predetermined threshold value, it is determined that deserve pre-processing module in the absence of the address with the current equipment to be identified
Corresponding equipment, using the address of the next equipment in the address realm as the address of the current equipment to be identified;If should
Terminal sends the number of times of identification request not less than the predetermined threshold value to pre-processing module is deserved, then to deserving pre-processing module
Identification request is sent again.
Alternatively, in the present embodiment, realize treating the batch identification of identification equipment by way of above-mentioned poll, significantly
The O&M efficiency of degree lifting data center.
With reference to specific example, above-mentioned steps S21 to step S25 is illustrated.
A kind of facility information recognition methods is provided in the present embodiment, and Fig. 3 is facility information according to embodiments of the present invention
Identification process figure ().Wherein, by taking management end as an example, currently processed module is by taking node as an example for terminal.
Illustrated so that communication unit in current node module is ethernet ip communication mode as an example:
Step S301:User's request management end is identified to the equipment in one IP sections, and management end exhaustion goes out this
All IP, then start discovery procedure in address field;
Step S302:Management end selects an IP, sets a response stand-by period and number of attempt;
Step S303:Management end sends request device type unique mark and asks to selected IP;
Step S304:Judge whether receive response message within the response stand-by period, if it is, completing the node
Identification, turns to step S305;If not receiving response in the stipulated time, step S306 is turned to;
Step S305:Judge whether to complete to recognize whole IP sections equipment, S307 is transferred to if completing;Otherwise turn
Enter the identification that S302 starts next IP;
Step S306:Judge whether number of attempt exceedes setting value, if reaching number of attempt setting, then it is assumed that the section
Point is transferred to step S305 without equipment;If being not reaching to number of attempt setting, step S303 is gone to, again please attempted
Ask once;
Step S307:Terminate.
After the above step is finished, management end will can recognize that the type of all devices in above-mentioned IP network section, there is these
Information and then the management that just can complete to equipment.
In one alternatively implementation method, the device type of equipment to be identified is at least included in facility information.
Alternatively, in the present embodiment, facility information can also be including but not limited to:Equipment to be identified it is currently used
The type of operating system, the currently used software version number of equipment to be identified, the currently used of equipment to be identified should
With.
In one alternatively implementation method, after the target device information that will be got is sent to the terminal, also wrap
Include following steps:
Step S31, the operation requests that receiving terminal sends, wherein, carried in the operation requests for indicating this to wait to know
Other equipment performs the configured information of scheduled operation;
Step S32, indicates equipment to be identified to perform scheduled operation according to configured information;
Step S33, receives scheduled operation and performs the operating result for completing;
Step S34, the operating result is sent to the terminal.
Alternatively, in the present embodiment, the terminal for receiving to deserve pre-processing module be connected equipment to be identified transmission
Operation requests can also include:Necessary additional information, such as communication mode, user name, password etc., do not do herein
Any restriction.
By above-mentioned steps, after facility information is identified, according to facility information to the current place being connected with equipment to be identified
Reason module sends different operation requests, deserves pre-processing module equipment is operated by equipment adapting unit, enters one
Step realizes the management to equipment.
With reference to specific example, above-mentioned steps S31 to step S34 is illustrated.
Fig. 4 is the interaction figure that terminal-pair equipment according to embodiments of the present invention is managed, as shown in figure 4, wherein,
By taking management end as an example, currently processed module is comprised the following steps terminal by taking node module as an example:
Step S401:Management end 21 sends to corresponding device node module 22 according to the device type for identifying and operates
Request message;
Step S402:Node module 22 is operated by equipment adapting unit 223 to equipment 23;
Step S403:The operating result of equipment return to step S402 is to node module 22;
Step S404:Operating result is returned to management end 21 by node module 22.
In one alternatively implementation method, the equipment to be identified of distinct device type corresponds to different scheduled operations respectively.
Alternatively, in the present embodiment, the equipment to be identified that can be directed to distinct device type carries out corresponding difference respectively
Scheduled operation.For example, it is assumed that equipment to be identified is computing device, the version that current computing device is used can be entered
Row edition upgrading, further realizes treating the efficient management of identification equipment.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment
Method can add the mode of required general hardware platform by software to realize, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably implementation method.Based on such understanding, technical scheme is substantially in other words to existing
The part for having technology to contribute can be embodied in the form of software product, and the computer software product is stored at one
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can
Being mobile phone, computer, server, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiment 2
Additionally provide a kind of identifying device of facility information in the present embodiment, the device is used to realizing above-described embodiment and excellent
Implementation method is selected, repeating no more for explanation had been carried out.As used below, term " module " can be realized pre-
Determine the combination of the software and/or hardware of function.Although the device described by following examples is preferably realized with software,
But hardware, or the realization of the combination of software and hardware is also that may and be contemplated.
Fig. 5 is the structured flowchart of the identifying device of facility information according to embodiments of the present invention, as shown in figure 5, the device
Including:
1) the first receiver module 52, for the identification request that receiving terminal sends, wherein, the identification is asked for recognizing
The equipment to be identified being connected with currently processed module, and identification request includes the mark of facility information to be identified;
2) acquisition module 54, for according to the mark, obtaining the corresponding target device information of the facility information to be identified;
3) the first sending module 56, target device information for that will get is sent to the terminal.
Alternatively, in the present embodiment, the application scenarios of the recognition methods of the said equipment information are included but is not limited to:Respectively
Substantial amounts of computing device, the network equipment in individual data center, the identification of storage device, or non-communicating Protocol IP network
The identification of middle equipment.
Below under above-mentioned application scenarios, the framework of the recognition methods of the said equipment information is illustrated.
In the present embodiment, the recognition methods of the said equipment information can apply to framework as shown in Figure 2.Wherein, eventually
By taking management end as an example, currently processed module is by taking node module as an example at end.Specifically, management end 21 and node module 22
The communication mode that connection is supported depending on communication unit 221 in node module 22;Node module 22 and equipment 23
Connection depending on hardware vendor design (include but is not limited to be solidificated in device interior, can the mode such as plug component).
Further, in the present embodiment, above-mentioned node module includes communication unit 221, processing unit 222 and sets
Standby adaptation unit 223.Wherein, communication unit 221 is used to be attached with outside, completes hardware connection and communication protocol
Treatment, can be provided such as IP, one or more in the communication interface such as serial ports.Processing unit 222 is used to process outside asking
Ask, adaptation unit operation equipment is passed through according to these requests.Different hardware can externally provide the operate interface of differentiation,
Equipment adapting unit 223 is used to complete adaptation of these operate interfaces to processing unit.
Under the framework of the said equipment information identification, the identification request that receiving terminal sends, wherein identification is asked for knowing
The equipment to be identified not being connected with currently processed module, and identification request includes the mark of facility information to be identified, root
According to the mark, the corresponding target device information of the facility information to be identified is obtained, the target device information hair that will be got
Deliver to the terminal.That is, the present embodiment is known by actively being sent to the currently processed module being connected with equipment to be identified
Do not invite and ask, and receive the respective objects facility information for deserving pre-processing module according to content obtaining to be identified in identification request,
The identification of identification equipment information is treated in realization, is set rather than passively waiting equipment to be identified to alert passive informing by SNMP
Standby information, solve in correlation technique by passive mode the equipment of data center is identified caused by equipment believe
The low problem of breath recognition efficiency, and then reach the effect for improving facility information recognition efficiency.
It should be noted that in the present embodiment, above-mentioned identification request is included but is not limited to:Knowledge based on IP messages
Do not invite ask, the identification of non-IP messages is asked.
For example, in the present embodiment, when identification request is that the identification based on IP messages is asked, can be by various identifications
Request is transmitted in being encapsulated in IP messages;When identification request is that the identification based on non-IP messages is asked, can be by other
Communication mode carry identification request, wherein, above-mentioned communication mode can include but is not limited to:The short haul connection of bluetooth,
Radio etc., does not do any restriction herein.
Alternatively, in the present embodiment, the identification request that the terminal for receiving sends is included but is not limited to:It is to be identified to set
Mark, the mailing address of terminal of standby information.Wherein, the corresponding target device letter of facility information to be identified that will be got
Breath is sent to the terminal according to the mailing address of terminal.
Alternatively, in the present embodiment, it is corresponding with the content to be identified that the mark is identified in the equipment to be identified of acquisition
Target device information include but is not limited to:The unique mark of device type is (for example, it may be general unique identifier
Binary string, the SYSOID of snmp protocol of (Universally Unique Identifier, referred to as UUID)).
In one alternatively implementation method, Fig. 6 is the structure of the identifying device of facility information according to embodiments of the present invention
Block diagram (one), as shown in fig. 6, acquisition module 54 includes:
1) acquiring unit 62, for by currently processed module and the communication interface of equipment to be identified, obtaining to be identified setting
The corresponding facility information of standby information;
2) processing unit 64, for facility information to be packaged with the mailing address for deserving pre-processing module, generation should
Target device information.
The communication interface that said apparatus pass through currently processed module and equipment to be identified, obtain in equipment to be identified with the mark
The corresponding facility information of the facility information to be identified that is identified, and by the mailing address of facility information and currently processed module
Generation target device information is packaged, terminal is further transmitted to so that terminal can be real according to target device information
The initiative recognition of identification equipment is now treated, is further solved and solve in correlation technique in correlation technique by passive side
Formula is identified the low problem of caused facility information recognition efficiency to the equipment of data center, and then reaches raising equipment
The effect of information recognition efficiency.
In one alternatively implementation method, Fig. 7 is the structure of the identifying device of facility information according to embodiments of the present invention
Block diagram (two), as shown in fig. 7, the device also includes in addition to including all modules shown in Fig. 5:
1) processing module 72, for before the target device information that will be got is sent to the terminal, the terminal
The address realm of equipment to be identified is received, and includes the address of the equipment to be identified included by the address realm, held successively
Row following steps, until the address of the equipment to be identified included by the address realm is traveled through, wherein, the equipment to be identified
The address realm of address realm and one or more the currently processed modules being connected with the equipment to be identified is corresponded:From this
An address is selected in address realm as the address of current equipment to be identified, and the target is received according to preset rules setting
The stand-by period of facility information and to deserve pre-processing module send the identification request number of times;Judge in waiting time
Inside whether receive the target device information;If receiving the target device information within waiting time, by the address
The address of the equipment next to be identified in scope as the current equipment to be identified address;If within waiting time not
Receive the target device information, then judge the terminal to deserve pre-processing module send the identification request number of times whether surpass
Cross predetermined threshold value, if the terminal to deserve pre-processing module send the identification request number of times exceed the predetermined threshold value, really
Surely pre-processing module is deserved in the absence of equipment corresponding with the address of the current equipment to be identified, under in the address realm
One address of equipment as the current equipment to be identified address;If the terminal sends the identification to pre-processing module is deserved
The number of times of request is asked not less than the predetermined threshold value, then to deserving pre-processing module and send the identification again.
By way of the poll that said apparatus are used, the batch identification of identification equipment is treated in realization, is substantially improved in data
The O&M efficiency of the heart.
In one alternatively implementation method, the device type of equipment to be identified is at least included in facility information.
Alternatively, in the present embodiment, facility information can also be including but not limited to:Equipment to be identified it is currently used
The type of operating system, the currently used software version number of equipment to be identified, the currently used of equipment to be identified should
With.
In one alternatively implementation method, Fig. 8 is the structure of the identifying device of facility information according to embodiments of the present invention
Block diagram (three), as shown in figure 8, the device also includes in addition to including all modules shown in Fig. 5:
1) the second receiver module 82, for being sent to terminal in the target device information that will be got, receiving terminal
The operation requests of transmission, wherein, the finger for indicating the equipment to be identified to perform scheduled operation is carried in the operation requests
Show information;
2) indicating module 84, for indicating the equipment to be identified to perform the scheduled operation according to the configured information;
3) the 3rd receiver module 86, the operating result for completing is performed for receiving the scheduled operation;
4) the second sending module 88, for the operating result to be sent to the terminal.
Alternatively, in the present embodiment, the terminal for receiving to deserve pre-processing module be connected equipment to be identified transmission
Operation requests can also include:Necessary additional information, such as communication mode, user name, password etc., do not do herein
Any restriction.
By said apparatus, after facility information is identified, according to facility information to the current place being connected with equipment to be identified
Reason module sends different operation requests, deserves pre-processing module equipment is operated by equipment adapting unit, enters one
Step realizes the management to equipment.
In one alternatively implementation method, aforesaid operations include at least one of:The to be identified of distinct device type sets
Back-up does not correspond to the different scheduled operations.
Alternatively, in the present embodiment, the equipment to be identified that can be directed to distinct device type carries out corresponding difference respectively
Scheduled operation.For example, it is assumed that equipment to be identified is computing device, the version that current computing device is used can be entered
Row edition upgrading, further realizes treating the efficient management of identification equipment.
With reference to specific example, the present embodiment is illustrated.
It should be noted that terminal is illustrated by taking management end as an example in following example, currently processed module is with node mould
As a example by block.
A kind of device found for equipment, including node module are the embodiment of the invention provides, the device is located at each
In the equipment that needs are found (including but not limited to traditional calculating, network, storage device), come from for processing
The request message of requestor and response;Management end, according to the discovery request message that user sets, completes the hair to equipment
Now and management.
Node module include can be communicated with the external world communication unit (mode of communication include but is not limited to it is common with
Too net IP communications).
Node module includes processing unit, the message or generation response message of communication unit is come from for processing and by logical
Letter unit sends.
Node module includes equipment adapting unit, for (including but not limited to reading hardware with different hardware device interactions
Facility information, sets hardware device parameter etc.).
Request message is divided into Types Below:Inquiry class message and operation class message.Inquiry class message is divided into for asking to set again
The message of standby unique mark, the message for asking equipment other information.Message for asking equipment unique mark is applicable
In all node modules.And other request messages can be according to the different different of equipment.
Above-mentioned request message includes at least following information:The mailing address of requestor, the mark for illustrating this messages use
Know.
Above-mentioned response message includes at least following information:The mailing address of node module, with the corresponding additional information of request.
The message that all node modules are used for the request of answering equipment unique mark is applied to all of requestor.
The discovery request message that management end is received generally includes the necessary information communicated with node module (including but not limited to
The address realm of communication, communication mode, user name, password etc.).
By the embodiment of the present invention, as long as various equipment have node module, and the communication unit and management end for passing through the module
Connection just can complete equipment and recognize and management by Message Opcode, can greatly reduce the complexity of equipment control, change
Enter O&M efficiency.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong
Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned module distinguishes position
In multiple processors.
Embodiment 3
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
To be arranged to storage for performing the program code of following steps:
S1, the identification request that receiving terminal sends, wherein, identification request is for recognizing and treating that currently processed module is connected
Identification equipment, and identification request includes the mark of facility information to be identified;
S2, according to the mark, obtains the corresponding target device information of the facility information to be identified;
S3, target device information that will be got is sent to the terminal.
Alternatively, in the present embodiment, above-mentioned storage medium can be included but is not limited to:USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk,
Magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs above-mentioned steps according to the program code stored in storage medium
S1, S2 and S3.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment
Example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned of the invention each module or each step can be with general
Computing device realizes that they can be concentrated on single computing device, or is distributed in multiple computing devices and is constituted
Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to by they
Storage is performed by computing device in the storage device, and in some cases, can be held with different from order herein
The shown or described step of row, or they are fabricated to each integrated circuit modules respectively, or will be many in them
Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware
Combined with software.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the technology of this area
For personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made it is any
Modification, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (12)
1. a kind of recognition methods of facility information, it is characterised in that including:
The identification request that receiving terminal sends, wherein, the identification request is connected for recognizing with currently processed module
Equipment to be identified, and it is described identification request include the mark of facility information to be identified;
According to the mark, the corresponding target device information of the facility information to be identified is obtained;
The target device information that will be got is sent to the terminal.
2. method according to claim 1, it is characterised in that described according to the mark, obtains described to be identified set
The standby corresponding target device information of information includes:
By the currently processed module and the communication interface of the equipment to be identified, the equipment letter to be identified is obtained
The corresponding facility information of manner of breathing;
The facility information is packaged with the mailing address of the currently processed module, the target device is generated
Information.
3. method according to claim 2, it is characterised in that in the target device information hair that will be got
Also include before delivering to the terminal:
The terminal receives the address realm of equipment to be identified, and includes to be identified included by the address realm
The address of equipment, performs following steps successively, until traveling through the ground of the equipment to be identified included by the address realm
Location, wherein, the address realm of the equipment to be identified and current with one or more that the equipment to be identified is connected
The address realm of processing module is corresponded:
An address is selected from the address realm as the address of current equipment to be identified, and according to preset rules
The stand-by period of the reception target device information is set and the identification is sent to the currently processed module and is asked
The number of times asked;
Judge whether the target device information is received within the stand-by period;
If receiving the target device information within the stand-by period, will be next in the address realm
The address of equipment to be identified as the current equipment to be identified address;
If not receiving the target device information within the stand-by period, judge the terminal to described current
Whether the number of times that processing module sends the identification request exceedes predetermined threshold value, if the terminal is to described currently processed
The number of times that module sends the identification request exceedes the predetermined threshold value, it is determined that the currently processed module does not exist
Equipment corresponding with the address of the current equipment to be identified, by the address of the next equipment in the address realm
As the address of the current equipment to be identified;Please if the terminal sends the identification to the currently processed module
The number of times asked then sends the identification request again not less than the predetermined threshold value to the currently processed module.
4. method as claimed in any of claims 1 to 3, it is characterised in that at least wrapped in the facility information
Include the device type of the equipment to be identified.
5. method according to claim 1, it is characterised in that in the target device information hair that will be got
Deliver to after the terminal, also include:
The operation requests that receiving terminal sends, wherein, carried in the operation requests described to be identified for indicating
Equipment performs the configured information of scheduled operation;
The equipment to be identified is indicated to perform the scheduled operation according to the configured information;
Receive the scheduled operation and perform the operating result for completing;
The operating result is sent to the terminal.
6. method according to claim 5, it is characterised in that the equipment described to be identified of distinct device type is right respectively
Answer the different scheduled operations.
7. a kind of identifying device of facility information, it is characterised in that including:
First receiver module, for the identification request that receiving terminal sends, wherein, the identification request is for recognizing
The equipment to be identified being connected with currently processed module, and the identification request includes the mark of facility information to be identified;
Acquisition module, for according to the mark, obtaining the corresponding target device information of the facility information to be identified;
First sending module, the target device information for that will get is sent to the terminal.
8. device according to claim 7, it is characterised in that the acquisition module includes:
Acquiring unit, for by the currently processed module and the communication interface of the equipment to be identified, obtaining institute
State the corresponding facility information of facility information to be identified;
Processing unit, it is raw for the facility information to be packaged with the mailing address of the currently processed module
Into the target device information.
9. device according to claim 8, it is characterised in that described device also includes:
Processing module, for being sent to before the terminal in the target device information that will be got, institute
State terminal and receive the address realm of equipment to be identified, and include the equipment to be identified included by the address realm
Address, performs following steps successively, until the address of the equipment to be identified included by the address realm is traveled through, its
In, the address realm of the equipment to be identified and one or more the currently processed moulds being connected with the equipment to be identified
The address realm of block is corresponded:
An address is selected from the address realm as the address of current equipment to be identified, and according to preset rules
The stand-by period of the reception target device information is set and the identification is sent to the currently processed module and is asked
The number of times asked;
Judge whether the target device information is received within the stand-by period;
If receiving the target device information within the stand-by period, will be next in the address realm
The address of equipment to be identified as the current equipment to be identified address;
If not receiving the target device information within the stand-by period, judge the terminal to described current
Whether the number of times that processing module sends the identification request exceedes predetermined threshold value, if the terminal is to described currently processed
The number of times that module sends the identification request exceedes the predetermined threshold value, it is determined that the currently processed module does not exist
Equipment corresponding with the address of the current equipment to be identified, by the address of the next equipment in the address realm
As the address of the current equipment to be identified;Please if the terminal sends the identification to the currently processed module
The number of times asked then sends the identification request again not less than the predetermined threshold value to the currently processed module.
10. the device according to any one in claim 7 to 9, it is characterised in that at least wrapped in the facility information
Include the device type of the equipment to be identified.
11. devices according to claim 7, it is characterised in that described device also includes:
Second receiver module, for being sent to the terminal in the target device information that will be got,
The operation requests that receiving terminal sends, wherein, carried in the operation requests for indicating the equipment to be identified
Perform the configured information of scheduled operation;
Indicating module, for indicating the equipment to be identified to perform the scheduled operation according to the configured information;
3rd receiver module, the operating result for completing is performed for receiving the scheduled operation;
Second sending module, for the operating result to be sent to the terminal.
12. devices according to claim 11, it is characterised in that the equipment described to be identified difference of distinct device type
The different scheduled operation of correspondence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894598.8A CN106850246A (en) | 2015-12-07 | 2015-12-07 | The recognition methods of facility information and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894598.8A CN106850246A (en) | 2015-12-07 | 2015-12-07 | The recognition methods of facility information and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106850246A true CN106850246A (en) | 2017-06-13 |
Family
ID=59151430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510894598.8A Pending CN106850246A (en) | 2015-12-07 | 2015-12-07 | The recognition methods of facility information and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106850246A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995226A (en) * | 2017-12-27 | 2018-05-04 | 山东华软金盾软件股份有限公司 | A kind of device-fingerprint recognition methods based on passive flux |
CN113115276A (en) * | 2019-12-24 | 2021-07-13 | 成都鼎桥通信技术有限公司 | Bluetooth device identification method and device, storage medium and electronic device |
-
2015
- 2015-12-07 CN CN201510894598.8A patent/CN106850246A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995226A (en) * | 2017-12-27 | 2018-05-04 | 山东华软金盾软件股份有限公司 | A kind of device-fingerprint recognition methods based on passive flux |
CN113115276A (en) * | 2019-12-24 | 2021-07-13 | 成都鼎桥通信技术有限公司 | Bluetooth device identification method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9894518B2 (en) | Server and method for remotely controlling working of communications terminal, and communications terminal | |
CN111885115B (en) | Device binding changing method and device | |
CN110808948B (en) | Remote procedure calling method, device and system | |
CN111885594B (en) | Equipment binding method and device | |
CN105338529B (en) | Wireless network connection method and system | |
EP4391612A1 (en) | Method, apparatus and system for downloading artificial intelligence model | |
CN105940720B (en) | It is a kind of to trigger the method for register machine protocol interaction, access point, website | |
CN108293055A (en) | Method, apparatus and system for authenticating to mobile network and for by the server of device authentication to mobile network | |
CN106605371B (en) | Method, device and system for adjusting length of data packet in Near Field Communication (NFC) | |
CN106850246A (en) | The recognition methods of facility information and device | |
CN108093097A (en) | The connection method of camera and home gateway and home gateway | |
CN113259928A (en) | OTA (over the air) upgrading method and device, electronic equipment, storage medium and program product | |
CN106664122B (en) | A kind of radio frequency discovery method, chip and equipment | |
CN107257586B (en) | Mobile network connection method and system when intelligent terminal is connected with WiFi | |
CN106845974B (en) | Method and device for realizing point-to-point communication of near field communication | |
CN108388475A (en) | A kind of method and system based on terminal type provisioning API resource | |
CN114679436A (en) | Session management method, server and computer readable storage medium | |
CN107466018A (en) | The data transferring method and terminal device of a kind of terminal device | |
US20200305207A1 (en) | Data transmission method and device and computer storage medium | |
CN114125883A (en) | Network access method and device of intelligent device, electronic device and storage medium | |
CN111278011B (en) | Network distribution method of intelligent sound box and intelligent sound box | |
CN109660976A (en) | Method, device, system and storage medium for device search | |
CN113453207B (en) | Identity type determining method and device, storage medium and electronic device | |
CN113271663B (en) | Communication method, device, terminal equipment and wireless access network equipment | |
CN108064041A (en) | A kind of equipment network method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170613 |
|
WD01 | Invention patent application deemed withdrawn after publication |