CN105827568B - The operation system device type method of inspection and system - Google Patents

The operation system device type method of inspection and system Download PDF

Info

Publication number
CN105827568B
CN105827568B CN201510004858.XA CN201510004858A CN105827568B CN 105827568 B CN105827568 B CN 105827568B CN 201510004858 A CN201510004858 A CN 201510004858A CN 105827568 B CN105827568 B CN 105827568B
Authority
CN
China
Prior art keywords
type
equipment
priority
parsing result
checking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510004858.XA
Other languages
Chinese (zh)
Other versions
CN105827568A (en
Inventor
肖勇军
蒋艳娥
陈浩
高峰
张建军
苏砫
鲍自敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ultrapower Information Safety Technology Co Ltd
Original Assignee
Beijing Ultrapower Information Safety Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ultrapower Information Safety Technology Co Ltd filed Critical Beijing Ultrapower Information Safety Technology Co Ltd
Priority to CN201510004858.XA priority Critical patent/CN105827568B/en
Publication of CN105827568A publication Critical patent/CN105827568A/en
Application granted granted Critical
Publication of CN105827568B publication Critical patent/CN105827568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the present application discloses a kind of operation system device type method of inspection and system.By the type information for acquiring equipment;The type information, which is parsed, according to default rule obtains the type parsing result of equipment;When the type parsing result is not sky, the type parsing result and preset type;When the type parsing result is identical as preset type, using the type parsing result as the type of the equipment.By the type information for acquiring each equipment, type parsing result and preset type are compared, if type parsing result is identical with preset type, then illustrate that the type of equipment is correct, and the type parsing result is set by the type of equipment in operation system, to substitute artificial apparatus check system, realizes the inspection of device type, the efficiency of unit check is provided.

Description

The operation system device type method of inspection and system
Technical field
The present invention relates to field of information security technology more particularly to a kind of operation system device type method of inspection and it is System.
Background technique
Operation system is the software and hardware support system of business event platform, such as the SMS platform operation system of enterprise, net Network complains operation system, telephone traffic network operation system etc..Safety management system is the safety management organization of operation system, subject to The safety for really guaranteeing operation system needs to distinguish each equipment such as route switching, operating system, soft friendship in operation system It changes, the type of the equipment such as load balancing, relevant safety measure is implemented according to the type of equipment.But current safety management system Equipment access mainly uses manual type, is difficult to avoid accessing the problems such as wrong and access is omitted, while when operation system update, Also replacement is updated to equipment, these can all cause the device type in connection security management system may be with actual needs Device type or new device type it is inconsistent, to form safe blind area in safety management system, cause greatly Security risk seriously affects the normal operation of operation system.
The mode of traditional safety management system discrimination apparatus type is to be entered into bursting tube when directly accessing using equipment Device type in reason system cannot test and update to the original equipment types of typing.When in safety management system go out When existing device type variation, can only manually device type be tested and be updated, number of devices is numerous, device type is various In the case where, the workload of desk checking and update mode will be very huge, and efficiency is extremely low, can not fully ensure that the standard of inspection True property.
Summary of the invention
To overcome the problems, such as that operation system device type checkability is low in the related technology, the application provides a kind of business system The device type method of inspection of uniting and system.
According to the embodiment of the present application in a first aspect, providing a kind of operation system device type method of inspection, comprising:
Type checking priority sequence is set;
The type information of capturing service devices in system;It is adopted according to the current corresponding device type of type checking priority Collect the type information of equipment in operation system;
The type information, which is parsed, according to default rule obtains the type parsing result of equipment;
When the type parsing result is not sky, judge whether the type parsing result matches phase with preset type Together;
When the type parsing result is identical as preset type matching, the type parsing result is set as described in Standby type;
When the type parsing result be sky, or when the type parsing result and preset type it is not identical when, sentence It whether there is next type checking priority after the type checking priority for breaking current, when there are next type checking is excellent When first grade, with next type checking priority for current type checking priority, and return according to current type checking The step of type information of the corresponding device type capturing service devices in system of priority.
Optionally, in the operation system device type method of inspection, the default rule and current type are examined It is corresponding to test the corresponding device type of priority.
Optionally, the operation system device type method of inspection, is respectively set each equipment in operation system Type checking priority sequence.
Optionally, in the operation system device type method of inspection, each equipment in operation system is set respectively When setting type checking priority sequence, using the original equipment types of the typing of each equipment as type checking highest priority Priority type.
Optionally, in the operation system device type method of inspection, the type information of the acquisition equipment, comprising:
Distribution concurrently establishes the network connection of equipment in operation system;
Pass through the type information of the network connection acquisition equipment.
Corresponding to the embodiment of the present application in a first aspect, according to the second aspect of the embodiment of the present application, a kind of business is provided System equipment type checking system, comprising:
Priority setting unit, for type checking priority sequence to be arranged;
Type information acquisition unit, for acquiring equipment according to the current corresponding priority type of type checking priority Type information acquisition equipment type information;
Resolution unit obtains the type parsing result of equipment for parsing the type information according to default rule;
First judging unit, for judging whether the type parsing result is empty;
Second judgment unit, for when the type parsing result is not sky, judging the type parsing result and pre- If type whether match it is identical;
Type setting unit is used for when the type parsing result is identical as preset type matching, by the equipment Type be set as the type parsing result;
Third judging unit is sky for working as the type parsing result, or when the type parsing result and presets Type it is not identical when, judge whether there is next type checking priority;
First execution unit, for when there are next type checking priority, with next type checking priority For current type checking priority, the type information acquisition unit is returned.
Optionally, in the resolution unit, default rule equipment corresponding with current type checking priority Type is corresponding.
Optionally, type checking priority is respectively set to each equipment in operation system in the priority setting unit Sequence.
Optionally, type checking priority is respectively set to each equipment in operation system in the priority setting unit When sequence, using the original equipment types of the typing of each equipment as the priority type of type checking highest priority.
Optionally, the type information acquisition unit, comprising:
Subelement is connected, the network connection of equipment in operation system is concurrently established for distribution;
Subelement is acquired, for the type information by the network connection acquisition equipment.
This technical solution provided by the embodiments of the present application can include the following benefits: acquire the type letter of each equipment Breath, parses to obtain the type parsing result of equipment according to the type information of acquisition, by type parsing result and preset type into Row compares, if type parsing result is identical with preset type, illustrates that the type of equipment is correct, and will set in operation system Standby type is set as the type parsing result, to substitute artificial apparatus check system, realizes the inspection of device type, mentions For the efficiency of unit check.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of process signal of operation system device type method of inspection shown in one exemplary embodiment of the application Figure;
Fig. 2 is that a kind of process of operation system device type method of inspection shown in the application another exemplary embodiment is shown It is intended to;
Fig. 3 is a kind of block diagram of operation system device type checking system shown in one exemplary embodiment of the application;
Fig. 4 is a kind of block diagram of operation system device type checking system shown in the application another exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
For comprehensive understanding the application, numerous concrete details are referred in the following detailed description, but this field skill Art personnel are it should be understood that the application may not need these details and realize.In other embodiments, it is not described in detail known Method, process, component and circuit, in order to avoid it is fuzzy to undesirably result in embodiment.
According to the embodiment of the present application in a first aspect, providing a kind of operation system device type method of inspection.Fig. 1 is this Shen Please a kind of operation system device type method of inspection shown in an exemplary embodiment flow diagram, as shown in Figure 1, described Method includes:
Step S101 acquires the type information of each equipment.
Wherein, usually there is multiple equipment in operation system, in the case where equipment is few, equipment individually is acquired to each equipment Type information, the type information include equipment title, type specification and version number etc., usually with string representation.But In the case where equipment is numerous, the efficiency of this mode is very low.In a kind of possible embodiment, distributed concurrently establish is arrived The network connection of equipment in operation system after establishing the network connection, while acquiring the type information of each equipment respectively, can Rapidly to collect the type information of all devices, have higher efficiency.The type information of equipment is typically included in equipment Configuration information in, acquire equipment type information can for acquisition equipment configuration information.The acquisition of device type information can To realize by executing acquisition script prepared in advance, such as foot is acquired using common device configuration information or type information This.For the distinct device in operation system, if the type of equipment is few and close in operation system, unification can be used The type information of the acquisition script acquisition equipment of establishment, in the case that device category is numerous in operation system, uses unification Acquisition script may cause the type information of some equipment that cannot correctly or completely collect because device type difference is big, Therefore in a preferred embodiment, when acquiring the type information of equipment, according to equipment in connection security management system The original equipment types or original equipment types of typing are classified, for example, original equipment types are WINDOWS operating system, are belonged to In operating system class, i.e. original equipment types are classified as operating system.Selection and typing from pre-stored acquisition set of scripts Original equipment types or original equipment types classify corresponding acquisition script, execute the corresponding acquisition script acquisition of selection The type information of equipment improves the correctness of device type information acquisition and complete so that the acquisition of type information is more targeted Whole degree.The type information is corresponding with the IP address of the title of equipment and/or equipment.
Step S102 parses the type information according to default rule and obtains the type parsing result of equipment.
Wherein, it to the type information of collected each equipment, is parsed according to default rule, obtained equipment Type parsing result.It, can to the type information of all devices under device category in operation system is single or similar situation The type parsing result of each equipment is parsed to use identical default rule.It is numerous in the device category of operation system In the case where, the type information of all devices may result in using identical default rule and be difficult to correctly parse equipment Type parsing result therefore in a kind of possible embodiment, can be recorded according to equipment in connection security management system The original equipment types or the corresponding default rule of original equipment types classifying and selecting that enter carry out the type information of analyzing device, Improve the correctness of parsing.The default rule can be regular expression, that is, use regular expression analytic method Type information is parsed, for type information character string, according to the format of the type specification of the equipment in type information, construction is corresponding Regular expression, then type information character string is filtered using regular expression, it is consistent with regular expression It is the type specification of equipment, arrives the type of equipment for extracting with the consistent type specification of regular expression.When right When different type or the equipment of classification use different default rules, different default rule uses is corresponding with type or classification Different regular expressions.Parsing to type information can also examine or check the rule of different types of information, for difference in advance The rule of type information works out different ad hoc rules, parses corresponding type information using specific rule, such as The type information of WINDOWS operating system, type specification is always in the beginning of type information character string, then some is according to typing Original equipment types, be WINDOWS operating system, then intercept the first seven character of the type information of the equipment, judgement is No is WINDOWS, if it is, the type of the equipment is WINDOWS operating system, if it is not, then other solutions can be used Analysis method, such as regular expression analytic method parse again, are verified.
Step S103 judges whether the type parsing result is empty.
Step S104 judges the type parsing result and preset type when the type parsing result is not sky It is whether identical.
Wherein, for each equipment, if the type parsing result is not sky, in the type parsing result for obtaining equipment Afterwards, the type parsing result and preset type, to judge the type parsing result and the preset type is It is no identical.The preset type is the type that each equipment should belong in operation system, such as equipment is in operation system It is should be LINUX operating system, then preset type is LINUX operating system.If the type parsing result is sky, say The type of bright equipment parses failure, terminates the inspection to the equipment, can also prompt parsing failure information, simultaneously for technology people Member is referred to.
Step S105, when the type parsing result is identical as preset type, using the type parsing result as The type of the equipment.
Wherein, if the type parsing result is identical as the preset type, illustrate that equipment is in operation system The type that equipment should belong to, using the type parsing result as the type of the equipment.It should be noted that the original of typing The device type of beginning and preset type are not necessarily consistent, using the type parsing result as the type of the equipment, i.e., will The relevant parameter of device type is set as the type parsing result in operation system, to make the type of equipment in operation system For correct type, for example, updated device type.If the type parsing result and preset type be not identical, Illustrate that the equipment may be wrong access device or the equipment not updated, terminates the inspection to the equipment, it can also be simultaneously Device Errors or message to be updated are prompted, the reference of equipment or more new equipment is checked as technical staff.
Fig. 2 is a kind of process signal of operation system device type method of inspection shown in one exemplary embodiment of the application Figure, as shown in Figure 2, which comprises
Type checking priority sequence is arranged in step S201;
Step S202, according to the type information of the current corresponding priority type acquisition equipment of type checking priority;
Step S203 parses the type information according to default rule and obtains the type parsing result of equipment;
Step S204 judges whether the type parsing result is empty;
Step S205 judges the type parsing result and preset type if the type parsing result is not sky It is whether identical;
Step S206, if the type parsing result is identical as preset type, using the type parsing result as The type of the equipment;
Step S207, if the type parsing result is sky, or if the type parsing result and preset class Type is not identical, then judges whether there is next type checking priority;
Step S208 is current with next type checking priority when there are next type checking priority Type checking priority, return step S202.
Due to using unified acquisition script to acquire the type information of equipment and unified default rule used to parse The type information, in the case where device category is numerous, the type information that might have some equipment cannot be correct or complete Collect, or have the type information of some equipment that cannot correctly be parsed, even from the original device class of typing Type or original device classification to use different equipment in different acquisition scripts, and use not the type of distinct device Same default rule, in the case where changed equipment and very big original device difference, it is also possible to have some equipment Type information cannot correctly or completely acquire, or have the type information of some equipment that cannot correctly be parsed, because Even if this can test to the device type of operation system, but the precision examined is also to be improved.
In order to improve the precision of operation system device type inspection, in a preferred embodiment, step S201 is pre- Type checking priority sequence is first set.For in operation system should existing device type assign priority, each priority The corresponding device type definition of priority is priority type, by priority by suitable from high to low by a kind of corresponding device type Sequence arranges to obtain type checking priority sequence.In another embodiment, when presetting type checking priority sequence, Different priority first is assigned to different device type classification, then on this basis, then in the classification of each device type Device type assign different priority, for example, device type is divided into operating system, routing and firewall three classes, will operate The priority of system is set as 1 (highest priority), and the priority of routing is set as 2, and the priority of firewall is set as 3, behaviour Make to specifically include WINDOWS operating system, LINUX operating system and UNIX operating system in system, then WINDOWS is operated into system The priority of system is set as 1.1 (types of highest priority in operating system), and the priority of LINUX operating system is set as 1.2, the priority of UNIX operating system is set as 1.3, routing and firewall not further division device type, all routings Priority is all 2, and the priority of all firewalls is all 3, and the type checking priority sequence is as shown in table 1.
Table 1
For all devices in an operation system, the type checking priority sequence can be with only one, can also To use different type checking priority sequences to every class equipment for the device class in operation system.For example, to business system Each equipment in system, all the type checking priority sequence according to shown in table 1.When carrying out device type inspection, to each Equipment, according to priority sequence successively chooses the type information of acquisition script acquisition equipment according to corresponding priority type, may be used also It is parsed with choosing corresponding default rule to the type information of acquisition.Can also in advance to the equipment in operation system into Row classification uses identical type checking priority sequence for similar equipment, when carrying out device type inspection, to each Equipment obtains corresponding type checking priority sequence according to the classification of the equipment, further according to corresponding type checking priority Sequence, according to priority sequence successively chooses the type information of acquisition script acquisition equipment according to corresponding priority type, and can It is parsed with choosing corresponding default rule to the type information of acquisition, for example, if equipment belongs to operating system classification, Then the type checking priority sequence according to shown in operating system classification corresponding table 2 is tested.
Table 2
Device type Priority
WINDOWS operating system 1.1
LINUX operating system 1.2
UNIX operating system 1.3
In another embodiment, type checking priority sequence is respectively set for each equipment in operation system Column, that is, a type checking priority sequence is arranged to each equipment, when examining the type of each equipment, according to equipment pair The type checking priority sequence answered examines equipment, and this mode keeps the inspection of device type more targeted, but examines journey The size of code and data volume of sequence can slightly become larger.
Wherein, the sequence of priority in priority sequence is examined by type, and step S202 is examined according to the type currently taken turns to Test the type information of the corresponding priority type acquisition equipment of priority.Step S203 to step S206 respectively with step S102 extremely Step S105 is identical.Wherein the default rule in step S203 is preferably default rule corresponding with priority type, step In rapid S206, using the type parsing result as the type of equipment after, the device type of the equipment, which is examined, just to be completed.
It is that if step S204 judges the result is that obtained type parsing result be it is empty, illustrate currently used acquisition script It may be not suitable for default rule, then according to type checking priority sequence, after judging current type checking priority With the presence or absence of next type checking priority, that is, judge whether current type checking priority is type checking priority The last one of sequence, if there is next type checking priority, i.e., it is not type checking that current type, which examines priority, The last one of priority sequence, then with next type checking priority for current type checking priority, return step S202, again according to the type information of the new corresponding priority type acquisition equipment of current type checking priority, and after It is continuous to execute subsequent step.
If step S205 judgement the result is that the type parsing result and preset type be not identical, illustrate currently to make Acquisition script and default rule may also be not suitable for and occur wrong as a result, therefore also according to type checking priority Sequence whether there is next type checking priority after judging current type checking priority, if there is next class Type examines priority, then with next type checking priority for current type checking priority, return step S202, again According to the type information of the new corresponding priority type acquisition equipment of current type checking priority, and continue to execute subsequent The step of.
That if step S207 judges the result is that current type examines no next type checking after priority Priority, that is to say, that it has been the last one in type checking priority sequence that current type, which examines priority, then illustrates Equipment be not belonging in operation system should any one of existing device type, or be not belonging to identical with preset type Correct device type, device type error message can be prompted at this time, for technical staff refer to inspection, update or replacement Equipment.
When each equipment in operation system being arranged different type checking priority sequences, according to the corresponding class of equipment Type examines priority sequence come when examining equipment, in a preferred embodiment, using the original equipment types of typing as The priority type of type checking highest priority, since the original equipment types of typing are technical staff's records in equipment access Enter, there is certain accuracy, using the original equipment types of typing as the priority type of type checking highest priority, most Type checking is first carried out to corresponding equipment according to the priority type, the hit rate of device type inspection can be improved, is reduced The circulation step of device type inspection is carried out according to type checking priority sequence, improves the efficiency that device type is examined.
Citing further illustrates the application below.Such as when equipment access service system, the original equipment types of typing are Redhat operating system when type checking priority sequence is arranged for the equipment, is examined Redhat operating system as type The type for testing highest priority, using the CetOS operating system type high as preferential level.According to the type of highest priority, I.e. Redhat operating system chooses the type information that corresponding acquisition script acquires the equipment, such as the acquisition collected class of script Type information is "-sh-3.2#cat/etc/redhat-release CentOS release 5.5 (Final) ", then according to excellent The first highest type of grade, i.e. Redhat operating system choose the corresponding default rule for being used to parse type information, choose just Then expression formula RedHat (?=s { 1,5 }) parse type information, obtained type parsing result is sky.Type is judged at this time It examines in priority sequence, whether there is next type checking priority after the Redhat operating system of highest priority, It is CetOS operating system after Redhat operating system, therefore choose corresponding acquisition further according to CetOS operating system in this example Script acquires the type information of the equipment, and collected type information is still "-sh-3.2#cat/etc/redhat-release CentOS release 5.5 (Final) " is then used to parse type letter according to the selection of CetOS OS Type is corresponding The default rule of breath, selection regular expression CetOS (?=s { 1,5 }) parse type information, obtain type parsing knot Fruit is CetOS, i.e., it is CetOS operating system that parsing, which obtains the type of the equipment,.The original device of type parsing result and typing Type is different, illustrates that equipment may have occurred variation or the original equipment types of typing are wrong.By type parsing result and in advance If type be compared, in this example, to the preset type of the equipment be CetOS, i.e., the equipment is should be in operation system CetOS, type parsing result is identical with preset type, then illustrates that the type of the equipment in operation system is correctly, will to set Standby type is set as CetOS, i.e., the original equipment types of typing is revised as CetOS, to guarantee operation system device type Correctness.
The device type method of inspection provided by the present embodiment is by according to should existing device type in operation system Type checking priority sequence is set, successively chooses acquisition script acquisition according to different priority types to each equipment and sets Standby type information is chosen different default rules and is parsed to the type information of acquisition, so as to more accurately adopt Collect the type information of equipment and be more accurately resolved to the type of equipment, reduces type information acquisition and type information parsing Error rate, improve device type examine precision.
The device type method of inspection provided by the embodiment of the present application acquires the type information of each equipment, according to acquisition Type information parse to obtain the type parsing result of equipment, type parsing result and preset type are compared, if Type parsing result is identical with preset type, then illustrates that the type of equipment is correct, and the type of equipment in operation system is set It is set to the type parsing result, completes the update of equipment, to substitute artificial apparatus check system, realizes the inspection of device type It tests, the efficiency of unit check is provided.
By the description of above embodiment of the method, it is apparent to those skilled in the art that the application can Realize by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Based on this understanding, the technical solution of the application substantially makes tribute to the prior art in other words The part offered can be embodied in the form of software products, and be stored in a storage medium, including some instructions to So that a smart machine executes all or part of the steps of each embodiment the method for the application.And storage medium above-mentioned Including: that read-only memory (ROM), random access memory (RAM), magnetic or disk etc. are various can store data and program The medium of code.
Corresponding to the embodiment of the present application in a first aspect, according to the second aspect of the embodiment of the present application, a kind of business is provided System equipment type checking system.Fig. 3 is that a kind of operation system device type shown in one exemplary embodiment of the application is examined The block diagram of system, as shown in figure 3, the operation system device type checking system includes:
Type information acquisition unit U301, for acquiring the type information of equipment;
Resolution unit U302 obtains the type parsing knot of equipment for parsing the type information according to default rule Fruit;
First judging unit U303, for judging whether the type parsing result is empty;
Matching unit U304, for when the type parsing result is not sky, judging the type parsing result and pre- If type it is whether identical;
Type setting unit U305 is used for when the type parsing result is identical as preset type, by the equipment Type be set as the type parsing result.
Wherein, the type information acquisition unit may include:
Subelement is connected, the network connection of equipment in operation system is concurrently established for distribution;
Subelement is acquired, for the type information by the network connection acquisition equipment.
The acquisition subelement can acquire the type information of equipment by executing acquisition script corresponding with equipment.
Fig. 4 is a kind of block diagram of operation system device type checking system shown in the application another exemplary embodiment, As shown in figure 4, the operation system device type checking system includes:
Priority setting unit U401, for type checking priority sequence to be arranged;
Type information acquisition unit U402, for being acquired according to the current corresponding priority type of type checking priority The type information of equipment;
Resolution unit U403 obtains the type parsing knot of equipment for parsing the type information according to default rule Fruit;
First judging unit U404, for judging whether the type parsing result is empty;
Second judgment unit U405, for judging the type parsing result when the type parsing result is not sky It is whether identical as preset type;
Type setting unit U406 is used for when the type parsing result is identical as preset type, by the equipment Type be set as the type parsing result;
Third judging unit U407, for when the type parsing result be sky, or when the type parsing result with When preset type is not identical, next type checking priority is judged whether there is;
First execution unit U408, it is excellent with next type checking for when there are next type checking priority First grade is current type checking priority, returns to the type information acquisition unit.
Wherein, in a preferred embodiment, the priority setting unit is made with the original equipment types of typing For the priority type of type checking highest priority.
Wherein, in a preferred embodiment, in the resolution unit, the default rule and current type Examine the corresponding device type of priority corresponding.
Wherein, when third judging unit U407 judgement is the result is that there are when next type checking priority, first is held Row unit U408, for current type checking priority, and makes program return to type letter with next type checking priority Cease the implementation procedure of acquisition unit, i.e., it is again corresponding excellent according to current type checking priority by type information acquisition unit The type information of first grade type acquisition equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device or For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct The unit of separate part description may or may not be physically separated, component shown as a unit can be or Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel can understand and implement without creative efforts.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any this actual relationship or backwards.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, system or the equipment that include a series of elements not only include those Element, but also including other elements that are not explicitly listed, or further include for this process, method, system or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in the process, method, system or equipment for including the element.
The above is only the specific embodiment of the application, is made skilled artisans appreciate that or realizing this Shen Please.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (8)

1. a kind of operation system device type method of inspection characterized by comprising
Type checking priority sequence is set;
According to the type information of the current corresponding device type capturing service devices in system of type checking priority;
The type information, which is parsed, according to default rule obtains the type parsing result of equipment, the default rule and current The corresponding device type of type checking priority it is corresponding;
When the type parsing result is not sky, judge whether the type parsing result and preset type are identical;
When the type parsing result is identical as preset type, using the type parsing result as the class of the equipment Type;
When the type parsing result be sky, or when the type parsing result and preset type it is not identical when, judgement is worked as It whether there is next type checking priority after preceding type checking priority, when there are next type checking priority When, with next type checking priority for current type checking priority, and return preferential according to current type checking The step of type information of the corresponding device type capturing service devices in system of grade.
2. the operation system device type method of inspection as described in claim 1, which is characterized in that each of operation system Type checking priority sequence is respectively set in equipment.
3. the operation system device type method of inspection as claimed in claim 2, which is characterized in that with the original device class of typing Priority type of the type as type checking highest priority.
4. the operation system device type method of inspection as described in claim 1, which is characterized in that the type of the acquisition equipment Information, comprising:
Distribution concurrently establishes the network connection of equipment in operation system;
Pass through the type information of the network connection acquisition equipment.
5. a kind of operation system device type checking system characterized by comprising
Priority setting unit, for type checking priority sequence to be arranged;
Type information acquisition unit, for the class according to the current corresponding priority type acquisition equipment of type checking priority Type information;
Resolution unit obtains the type parsing result of equipment for parsing the type information according to default rule, described pre- If rule it is corresponding with the current corresponding device type of type checking priority;
First judging unit, for judging whether the type parsing result is empty;
Second judgment unit, for when the type parsing result is not sky, judge the type parsing result with it is preset Whether type is identical;
Type setting unit, for when the type parsing result is identical as preset type, the type of the equipment to be set It is set to the type parsing result;
Third judging unit is sky for working as the type parsing result, or when the type parsing result and preset class When type is not identical, next type checking priority is judged whether there is;
First execution unit, for being to work as with next type checking priority when there are next type checking priority Preceding type checking priority returns to the type information acquisition unit.
6. operation system device type checking system as claimed in claim 5, which is characterized in that the priority setting unit Type checking priority sequence is respectively set to each equipment in operation system.
7. operation system device type checking system as claimed in claim 6, which is characterized in that the priority setting unit Using the original equipment types of typing as the priority type of type checking highest priority.
8. operation system device type checking system as claimed in claim 5, which is characterized in that the type information acquisition is single Member, comprising:
Subelement is connected, the network connection of equipment in operation system is concurrently established for distribution;
Subelement is acquired, for the type information by the network connection acquisition equipment.
CN201510004858.XA 2015-01-06 2015-01-06 The operation system device type method of inspection and system Active CN105827568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510004858.XA CN105827568B (en) 2015-01-06 2015-01-06 The operation system device type method of inspection and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510004858.XA CN105827568B (en) 2015-01-06 2015-01-06 The operation system device type method of inspection and system

Publications (2)

Publication Number Publication Date
CN105827568A CN105827568A (en) 2016-08-03
CN105827568B true CN105827568B (en) 2019-08-30

Family

ID=56513836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510004858.XA Active CN105827568B (en) 2015-01-06 2015-01-06 The operation system device type method of inspection and system

Country Status (1)

Country Link
CN (1) CN105827568B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546331A (en) * 2012-03-13 2012-07-04 华为终端有限公司 Method and device for transmitting service information
CN102984015A (en) * 2012-12-21 2013-03-20 太仓市同维电子有限公司 Method of gateway equipment for automatically identifying access equipment type and optimizing service
CN103236960A (en) * 2013-04-18 2013-08-07 重庆邮电大学 Method and system for data interaction between home server and plurality of terminals

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099445A (en) * 1998-09-18 2000-04-07 Matsushita Electric Ind Co Ltd Automatic converting device driver for device type data
US8565500B2 (en) * 2010-06-14 2013-10-22 Siemens Medical Solutions Usa, Inc. Automatic patient and device recognition and association system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546331A (en) * 2012-03-13 2012-07-04 华为终端有限公司 Method and device for transmitting service information
CN102984015A (en) * 2012-12-21 2013-03-20 太仓市同维电子有限公司 Method of gateway equipment for automatically identifying access equipment type and optimizing service
CN103236960A (en) * 2013-04-18 2013-08-07 重庆邮电大学 Method and system for data interaction between home server and plurality of terminals

Also Published As

Publication number Publication date
CN105827568A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN111913133A (en) Distributed fault diagnosis and maintenance method, device, equipment and computer readable medium
CN109767081B (en) Method and device for generating power worksheet
CN105068925A (en) Software security flaw discovering system
CN106603259B (en) The configuration data method of calibration and device of network element, network management device
CN106021093A (en) Test case reuse method and system
AU2018202153B2 (en) System and method for tool chain data capture through parser for empirical data analysis
CN106452955B (en) A kind of detection method and system of abnormal network connection
CN109002391A (en) The method of automatic detection embedded software interface testing data
CN106059853B (en) A kind of network connectivty test method and device
CN104506351A (en) Method and system for performing online full-automatic configuration of compliance safety audit
CN106230602B (en) The integrity detection system and method for the certificate chain of digital certificate
CN102684927A (en) Method and device for inspecting network device
CN108052974A (en) A kind of method for diagnosing faults, system, equipment and storage medium
CN105207797A (en) Fault locating method and fault locating device
CN109656615A (en) A method of permission early warning is carried out based on code method significance level
CN110472866A (en) A kind of work order quality inspection analysis method and device
CN107948149B (en) Random forest based strategy self-learning and optimizing method and device
CN105827568B (en) The operation system device type method of inspection and system
CN107171879A (en) A kind of detection method and device of online charging interface message
CN107124732A (en) The method for digging and device of public access wireless LAN
CN110752938B (en) Intelligent fault positioning method and system for VOLTE (Voice over Long term evolution) service
KR102051580B1 (en) Integrated clinical trial apparatus based on cdisc
CN110543394A (en) server sensor information consistency testing method, system, terminal and storage medium
CN106992873B (en) Protection group processing method and device
CN114037395A (en) Abnormal consignment data identification method and system, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Room 813, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING ULTRAPOWER INFORMATION SAFETY TECHNOLOGY Co.,Ltd.

Address before: 100107 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building block A room 604

Patentee before: BEIJING ULTRAPOWER INFORMATION SAFETY TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder