CN107341370A - The authorization method and system of a kind of hardware device - Google Patents

The authorization method and system of a kind of hardware device Download PDF

Info

Publication number
CN107341370A
CN107341370A CN201610274782.7A CN201610274782A CN107341370A CN 107341370 A CN107341370 A CN 107341370A CN 201610274782 A CN201610274782 A CN 201610274782A CN 107341370 A CN107341370 A CN 107341370A
Authority
CN
China
Prior art keywords
hardware
application
hardware device
hardware information
mandate
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.)
Granted
Application number
CN201610274782.7A
Other languages
Chinese (zh)
Other versions
CN107341370B (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 Naura Microelectronics Equipment Co Ltd
Beijing North Microelectronics Co Ltd
Original Assignee
Beijing North Microelectronics 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 North Microelectronics Co Ltd filed Critical Beijing North Microelectronics Co Ltd
Priority to CN201610274782.7A priority Critical patent/CN107341370B/en
Publication of CN107341370A publication Critical patent/CN107341370A/en
Application granted granted Critical
Publication of CN107341370B publication Critical patent/CN107341370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • G06F21/123Restricting unauthorised execution of programs by using dedicated hardware, e.g. dongles, smart cards, cryptographic processors, global positioning systems [GPS] devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/101Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities
    • G06F21/1011Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities to devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a kind of authorization method of hardware device and system, wherein, methods described includes:Read hardware information corresponding to hardware device;The mandate application of the hardware device is determined using the hardware information and default character set;Authorized using the mandate application for the hardware device.The present invention is applied to the hardware device of all brands and type, and is no longer only applicable to the hardware device of single brand or type, Authorized operation is adapted to all hardware systems.Meanwhile can avoid needing artificially to be selected to be operated using different licensed softwares because hardware is different using the present invention, improve the efficiency of mandate and reduce artificial operation, effectively save many human resources.

Description

The authorization method and system of a kind of hardware device
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of authorized party of hardware device Method and a kind of authoring system of hardware device.
Background technology
Enterprise will keep fit sustainable development, and information security is one of basic guarantee.With The worsening of network environment and the development of enterprise itself, divulge a secret along with increasing business The generation of event, information security issue are gradually put on agenda, and company manager also gradually recognizes Know, Information Security Construction is enterprise-essential task, and some medium-sized and small enterprises are also added to this one after another Increasingly huge troop.In the near future, information security will be more of interest by enterprise, Have more enterprises and be added to what is come in safe ranks, this is also the key of Business survival and development Step.In actual applications, it is necessary to which the various softwares for protecting enterprise self-determining to develop are not stolen.
In order to protect the software that enterprise self-determining is developed, typically carried out using authorization for software Using being limited.The software could be run by only obtaining the computer of mandate, in order to reach this mesh , generally authorizing needs the hardware information with computer to be bound.That is, authorize be Carried out on the basis of the hardware information of acquisition.Possible each different computer has not in practice Same authority.But due to presently, there are many different types of computers, acquisition it is hard The part information content is different, thus needs to use different licensed softwares to be authorized.It can manage Solution, this mode needs to develop multiple licensed softwares, and needs artificially to select suitable mandate Software, that needs to expend many human resources with regard to enterprise.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present invention so as to provide one kind overcome above mentioned problem or A kind of authorization method for hardware device that person solves the above problems at least in part and corresponding one kind are hard The authoring system of part equipment.
In order to solve the above problems, the embodiment of the invention discloses a kind of authorization method of hardware device, Including:
Read hardware information corresponding to hardware device;
The mandate application pair of the hardware device is determined using the hardware information and default character set As;
Authorized using the mandate application for the hardware device.
Preferably, before the step of hardware information corresponding to the reading hardware device, in addition to:
Obtain hardware information corresponding to hardware device;
Hardware information file is generated using the hardware information.
Preferably, include corresponding to the reading hardware device the step of hardware information:
Read hardware information file corresponding to hardware device;
Hardware information is extracted from hardware information file corresponding to the hardware device.
Preferably, the mandate application includes the first mandate application and the second mandate application Object, the default character set include one or more character strings, it is described using hardware information and Default character set determines that the step of mandate application of the hardware device includes:
Judge the hardware information whether all string matching with default character set;
If, it is determined that call first to authorize application for the hardware device;
If not, it is determined that call second to authorize application for the hardware device.
Preferably, the mandate application includes the 3rd mandate application and the 4th mandate application Object, the default character set includes specific character string, described using hardware information and default Character set determines that the step of mandate application of the hardware device includes:
Judge that the hardware information whether there is and the specific character string presence in default character set With item;
If, it is determined that call the 3rd to authorize application for the hardware device;
If not, it is determined that call the 4th to authorize application for the hardware device.
Preferably, the hardware device includes computer;The hardware information corresponds to hard including hard disk Disc identifier, and/or central processing unit correspond to central processing unit mark.
The embodiment of the invention also discloses a kind of authoring system of hardware device, including:
Hardware information acquisition module, for obtaining hardware information corresponding to hardware device;
Application determining module is authorized, for true using the hardware information and default character set The mandate application of the fixed hardware device;
Hardware device authorization module, for being directed to the hardware device using the mandate application Authorized.
Preferably, the authoring system, in addition to:
Hardware information acquisition module, for obtaining hardware information corresponding to hardware device;
Hardware information file generating module, for using hardware information generation hardware information file.
Preferably, the hardware information acquisition module includes:
Hardware information file reading submodule, for reading hardware information file corresponding to hardware device;
Hardware information extracting sub-module, for from hardware information file corresponding to the hardware device Extract hardware information.
Preferably, the mandate application includes the first mandate application and the second mandate application Object, the default character set include one or more character strings, and the mandate application is true Cover half block includes:
First judging submodule, for judge the hardware information whether all with default character set String matching;If so, the first authorization object determination sub-module is then called, if it is not, then calling Second authorization object determination sub-module;
First authorization object determination sub-module, for determining to call first to award for the hardware device Weigh application;
Second authorization object determination sub-module, for determining to call second to award for the hardware device Weigh application.
Preferably, the mandate application includes the 3rd mandate application and the 4th mandate application Object, the default character set include specific character string, the mandate application determining module Including:
Second judging submodule, for judging that the hardware information whether there is and default character set In specific character string occurrence be present;If so, the 3rd authorization object determination sub-module is then called, If it is not, then call the 4th authorization object determination sub-module;
3rd authorization object determination sub-module, for determining to call the 3rd to award for the hardware device Weigh application;
4th authorization object determination sub-module, for determining to call the 4th to award for the hardware device Weigh application.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention reads hardware information corresponding to hardware device, then further according to hardware information The mandate application of the hardware device is selected with default character set, it is final to be awarded using what is selected Weigh application and carry out Authorized operation for hardware device.In the prior art, it is every kind of individually to award Power method may be only applicable for the hardware device of single hardware brand or type, due to hardware brand or Type is different, then just needs artificially to select different mandate applications to carry out Authorized operation.And Using the embodiment of the present invention, then can be awarded accordingly according to hardware information and default character set are selected Application is weighed, the mandate for hardware device can be realized using the mandate application, therefore originally Inventive embodiments go for the hardware device of all brands and type, and are no longer only applicable to list The hardware device of one brand or type, Authorized operation is set to adapt to all hardware systems.Meanwhile It can avoid needing artificially to carry out selecting using different because hardware is different using the embodiment of the present invention Licensed software is operated, and is improved the efficiency of mandate and is reduced artificial operation, effectively saves not Few human resources.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of the authorization method embodiment of hardware device of the present invention;
Fig. 2 is a kind of schematic diagram of the authorization flow of hardware device of the present invention;
Fig. 3 is a kind of structured flowchart of the authoring system embodiment of hardware device of the present invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, with reference to The present invention is further detailed explanation for the drawings and specific embodiments.
Critical component in hardware device can be identified using different hardware information, hardware letter How breath is directed to the foundation that is authorized of the hardware device if being used as.Hardware information can be by more Kind method is read out.Specifically, when the operation for needing to be authorized for hardware device, First read hardware device in some critical component hardware information, such as, read hard disk or ID number of the ID number of central processor CPU as whole hardware device, ID number is then directed to again Authorized operation is carried out for hardware device.
However, the critical component of hardware device is due to the difference of manufacturer, the difference of type of hardware Etc. reason, it is more likely that cause the ID number of these critical components can use different mode or character group Into, but Authorized operation can only be carried out using corresponding authorization for different modes or character, Because every kind of individually authorization method may be only applicable for the hardware device of single brand or type, just It may require that artificial selection carries out mandate behaviour using different licensed softwares using different authorization methods Make.
In view of the above-mentioned problems, the embodiments of the invention provide a kind of delegated strategy of hardware device, energy It is enough to be entered according to the selected suitable mandate application of the hardware information of hardware device and default character set Row Authorized operation.Detailed process can be summarized as, and read the hardware for needing to carry out Authorized operation first The hardware information of equipment, then according to hardware information and default character set, select suitable authorize Application carries out Authorized operation for hardware device.The embodiment of the present invention can be applied to all classes The hardware device and hardware system of type.Below, it is described in detail by following each embodiment.
Reference picture 1, show the present invention a kind of hardware device authorization method embodiment the step of flow Cheng Tu, specifically it may include steps of:
Step 101, hardware information corresponding to hardware device is obtained;
In the specific implementation, hardware device can be that set top box, smart mobile phone, computer etc. can The equipment for realizing the embodiment of the present invention.Hardware information is then to refer to play the effect of identification hardware equipment Mark.Generally, hardware information is character string.
In a kind of example of concrete application of the present invention, hardware device can include one or more Critical component, hardware information corresponding to critical component can be as the hardware information of the hardware device. By taking computer as an example, hard disk or central processor CPU can be included in computer, and can make For the critical component of computer, critical component of computer corresponds to hard disk mark (hard disk ID number) respectively Identify (central processing unit ID number) with central processor CPU, then can be as the hardware of computer Information.
It should be noted that the hardware device of meaning of the embodiment of the present invention is not limited solely to above-mentioned institute The equipment of row, other can realize the equipment of the embodiment of the present invention, and the embodiment of the present invention is to this It is not any limitation as.In addition, hardware information corresponding to hardware device can also can including other The information of identification hardware equipment effect is played, the embodiment of the present invention is not any limitation as equally to this.
In one preferred embodiment of the invention, before the step 101, can also include Following steps:
Obtain hardware information corresponding to hardware device;
Hardware information file is generated using the hardware information.
In embodiments of the present invention, it can store in hardware information file and be extracted from hardware device Hardware information.Specifically, hardware information is probably the character string of numeral composition, it is also possible to The character string of English character composition, the embodiment of the present invention, can be temporary transient after hardware information is got The hardware information is stored in hardware information file.
In one preferred embodiment of the invention, the step 101 can include following sub-step:
Sub-step S11, read hardware information file corresponding to hardware device;
Sub-step S12, hardware letter is extracted from hardware information file corresponding to the hardware device Breath.
Understood, can be extracted in advance from hardware device in embodiments of the present invention hard according to above-mentioned Part information, and be saved in hardware information file, believe when needing to use hardware corresponding to hardware device During breath, just required hardware information is extracted from the hardware information file.
It is appreciated that directly it can also be extracted in actual applications from hardware device required hard Part information, and no longer the hardware information is saved in hardware information file, the embodiment of the present invention pair This need not be any limitation as.
Step 102, awarding for the hardware device is determined using the hardware information and default character set Weigh application;
In a kind of example of the present invention, it is to refer to carry out for hardware device to authorize application The licensed software of Authorized operation authorizes application.In addition, meaning of the embodiment of the present invention is default Can include in character set the character combination such as numeral, letter into character string, can by artificially inputting, Or by systematic collection, and can be updated as desired for character set.
After the hardware information of hardware device is got, by the hardware information, that is, character string with Character string in default character set is compared, to determine which authorizes application pair using Authorized operation is carried out in hardware device.
Step 103, authorized using the mandate application for the hardware device.
After it is determined that authorizing application, entered using the mandate application of determination for hardware device Row Authorized operation.
In one preferred embodiment of the invention, the mandate application can be awarded including first Weigh application and second and authorize application, the default character set can include one or more Individual character string, the step 102 can include following sub-step:
Sub-step S21, judge the hardware information whether all character string with default character set Match somebody with somebody;If so, sub-step S22 is then performed, if it is not, then performing sub-step S23;
Sub-step S22, it is determined that calling first to authorize application for the hardware device;
Sub-step S23, it is determined that calling second to authorize application for the hardware device.
In the embodiment of the present invention, whether can belong to default according to the character included in hardware information Character set calls the different mandate applications to be authorized for hardware device automatically.The present invention The mandate application of embodiment refers to software or the application program with authorization function, is mountable to In the equipment such as computer.
For example, in this example, the first mandate application is licensed software 1, and second authorizes Application is licensed software 2.A character set is set first, and assumes the He of licensed software 1 be present Licensed software 2.Before Authorized operation is carried out for hardware device, first read in hardware information file Hardware information, by the character included in hardware information compared with presetting character set, such as Fruit character is all included in this character set, then calls the method in licensed software 1 to be authorized, If not in the range of this character set, i.e., hardware information does not match all with presetting character set, or Person, simply fractional hardware information matched with presetting character set, then using in licensed software 2 Method is authorized.
In order that those skilled in the art more fully understand the embodiment of the present invention, below using example pair Illustrated in present invention realization for licensing process.
A kind of schematic diagram of the authorization flow of hardware device of the invention shown in reference picture 2, realize It is specific as follows shown for the licensing process of hardware device:
Step 1, the hardware information file of hardware device is read;
Step 2, hardware information is extracted;
Step 3, compared with predetermined character set;
Step 4, judge the hardware information of the extraction whether in the predetermined character set;If so, Step 5 is then performed, if it is not, then performing step 6;
Step 5, then authorized using licensed software 1 for hardware device;
Step 6, then authorized using licensed software 2 for hardware device.
In another preferred embodiment of the invention, the mandate application can include the 3rd Application and the 4th is authorized to authorize application, the default character set can include specific word Symbol string, the step 102 can include following sub-step:
Sub-step S31, judge that the hardware information whether there is and the specific word in default character set Occurrence be present in symbol string;If so, sub-step S32 is then performed, if it is not, then performing sub-step S33;
Sub-step S32, it is determined that calling the 3rd to authorize application for the hardware device;
Sub-step S33, it is determined that calling the 4th to authorize application for the hardware device.
In the embodiment of the present invention, can according in hardware information whether include with default character set Designated character call the different mandate applications to be authorized for hardware device automatically.
For example, in this example, the 3rd mandate application is licensed software 3, and the 4th authorizes Application is licensed software 4.A character set is set first, is included specifically in this and character set Character, and assume licensed software 3 and licensed software 4 be present.Mandate behaviour is being carried out for hardware device Before work, the hardware information in hardware information file, the character that will be included in hardware information are first read Compared with presetting character set, if specific character in character set in hardware information be present, Then the method in licensed software 3 is called to be authorized, if be not present in hardware information in character set Specific character, then authorized using the method in licensed software 4.
It should be noted that above-mentioned first authorize application be for hardware information all with advance If the hardware device of string matching of character set authorized, conversely, second authorizes application pair As to be not whole hardware devices with the string matching of default character set for hardware information Authorized.In addition, the 3rd authorize application be for hardware information exist and default character The hardware device that the specific character string of concentration has occurrence is authorized, conversely, the 4th mandate should It is to be not present to exist with the specific character string in default character set for hardware information to match with object The hardware device of item is authorized.It is appreciated that the 3rd authorizes application and the 4th to authorize application Object is authorized both for the unmatched hardware device of presupposed information, so the 3rd mandate should Same licensed software or application program are provided as with object and the 4th mandate application, It is of course also possible to it is arranged to different licensed software or application program, the root in specific implementation process Set according to actual conditions, the embodiment of the present invention is not any limitation as to this.
Similarly, first authorize application and second authorize application both for presupposed information The hardware device of matching is authorized, so first authorizes application and second to authorize application Same licensed software or application program are provided as, it is of course also possible to be arranged to different Licensed software or application program, are set, this hair in specific implementation process according to actual conditions Bright embodiment is not any limitation as equally to this.
In summary, determine to authorize the process of application to may be summarized to be two in the embodiment of the present invention Kind authorization.By taking computer as an example, it is assumed that there are computer 1 and computer 2, and authorize soft Part 1 and licensed software 2, two kinds of authorizations are specific as follows shown:
1st, the setting of the character set in the embodiment of the present invention may be the case that, this character set bag Containing all characters corresponding to wherein authorization method 1, but a part of character corresponding to authorization method 2 Also it is not contained in this character set all.
For example, the hardware information obtained from computer 1 is digital, hardware information is generated File 1 needs the corresponding method used in licensed software 1 to be authorized, and is obtained from computer 2 Hardware information be English and these digital characters, generation hardware information file 2 is, it is necessary to which corresponding use Method in licensed software 2 is authorized.This default character set includes all digital characters Collection.
Based on above-mentioned setting, when being operated when carrying out the mandate of computer, process is as follows:First Hardware information file is read, if what is now read is hardware information file 1, system extraction hardware is believed The content in file 1 is ceased, is then compared with default character set, it is found that all characters are all In character set, then Authorized operation is carried out by licensed software 1.If what is now read is hardware information text Part 2, then the content in system extraction hardware information file 2, is then compared with default character set Compared with it is found not to be all characters is all in character set, then carries out Authorized operation by licensed software 2.
2nd, the setting of the character set in the embodiment of the present invention can also be such case, this character set Comprising certain several specific character corresponding to wherein authorization method 1, but corresponding to authorization method 2 Character is not included in this character set.
For example, the hardware information obtained from computer 1 is to include specific character, generation is hard Part message file 1 needs the corresponding method used in licensed software 1 to be authorized, and from computer 2 The hardware information of acquisition is probably numeral or these English characters, but does not include specific character, raw Into hardware information file 2, it is necessary to which the corresponding method used in licensed software 2 is authorized.This is pre- If character set include the character set of specific character.
Based on above-mentioned setting, when being operated when carrying out the mandate of computer, process is as follows:First Hardware information file is read, if what is now read is hardware information file 1, system extraction hardware is believed The content in file 1 is ceased, is then compared with default character set, discovery is present in character set Specific character, then Authorized operation is carried out by licensed software 1.If what is now read is hardware letter File 2 is ceased, then the content in system extraction hardware information file 2, then enters with default character set Row compares, and it is not the specific character in character set to find all characters, then by licensed software 2 Carry out Authorized operation.
It should be noted that above-mentioned example is merely exemplary, the character set in the embodiment of the present invention Could be arranged to one or more than one, can be with when being provided with multiple default character set Time segment or point place come select different default character set be used for determine using which mandate Application.In addition, can also be updated as desired for character set in the embodiment of the present invention, For example character string in default character set can be added or reduce as desired, the present invention is real Example is applied not to be any limitation as this.
In addition, the mandate application during the embodiment of the present invention is is not limited only to two mandates should With object, in actual applications, the quantity of application is authorized to could be arranged to three and three More than, only one is possibly even arranged to, i.e., is set just for the hardware matched with presupposed information It is standby to be authorized, or authorized just for the unmatched hardware device of presupposed information, this hair Bright embodiment is not also any limitation as to this.
In the concrete application of the embodiment of the present invention, hardware information corresponding to hardware device is read first, Then the mandate application of the hardware device is selected further according to hardware information and default character set, It is final that Authorized operation is carried out for hardware device using the mandate application selected.In existing skill In art, the hardware that every kind of individually authorization method may be only applicable for single hardware brand or type is set It is standby, because hardware brand or type are different, then just need artificially to select different mandate applications pair As carrying out Authorized operation.And apply the embodiment of the present invention, then can be according to hardware information and default The selected corresponding mandate application of character set, can be realized for hard using the mandate application The mandate of part equipment, therefore the embodiment of the present invention goes for the hardware device of all brands and type, And the hardware device of single brand or type is no longer only applicable to, adapt to Authorized operation all Hardware system.Meanwhile it can avoid needing artificially to enter because hardware is different using the embodiment of the present invention Row selection is operated using different licensed softwares, is improved the efficiency of mandate and is reduced artificial behaviour Make, effectively save many human resources.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as A series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not Limited by described sequence of movement, because according to the embodiment of the present invention, some steps can adopt Carry out with other orders or simultaneously.Secondly, those skilled in the art should also know, specification Described in embodiment belong to preferred embodiment, involved action is not necessarily of the invention Necessary to embodiment.
Reference picture 3, show a kind of structural frames of the authoring system embodiment of hardware device of the present invention Figure, can specifically include following module:
Hardware information acquisition module 201, for obtaining hardware information corresponding to hardware device;
In one preferred embodiment of the invention, described method also includes:
Hardware information acquisition module, for obtaining hardware information corresponding to hardware device;
Hardware information file generating module, for using hardware information generation hardware information file.
In one preferred embodiment of the invention, the hardware information acquisition module 201 can wrap Include following submodule:
Hardware information file reading submodule, for reading hardware information file corresponding to hardware device;
Hardware information extracting sub-module, for from hardware information file corresponding to the hardware device Extract hardware information.
Application determining module 202 is authorized, for using the hardware information and default character set Determine the mandate application of the hardware device;
In one preferred embodiment of the invention, the mandate application authorizes including first answers Application is authorized with object and second, the default character set can include one or more words Symbol string, the mandate application determining module 202 can include following submodule:
First judging submodule, for judge the hardware information whether all with default character set String matching;If so, the first authorization object determination sub-module is then called, if it is not, then calling Second authorization object determination sub-module;
First authorization object determination sub-module, for determining to call first to award for the hardware device Weigh application;
Second authorization object determination sub-module, for determining to call second to award for the hardware device Weigh application.
In one preferred embodiment of the invention, the mandate application authorizes including the 3rd answers Application is authorized with object and the 4th, the default character set can include specific character string, The mandate application determining module 202 can include following submodule:
Second judging submodule, for judging that the hardware information whether there is and default character set In specific character string occurrence be present;If so, the 3rd authorization object determination sub-module is then called, If it is not, then call the 4th authorization object determination sub-module;
3rd authorization object determination sub-module, for determining to call the 3rd to award for the hardware device Weigh application;
4th authorization object determination sub-module, for determining to call the 4th to award for the hardware device Weigh application.
Hardware device authorization module 203, for being set using the mandate application for the hardware It is standby to be authorized.
In one preferred embodiment of the invention, the hardware device can include computer;Institute Hard disk mark can be corresponded to including hard disk by stating hardware information, and/or central processing unit corresponds to central processing Device identifies.
For system embodiment, because it is substantially similar to embodiment of the method, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, each embodiment emphasis What is illustrated is all the difference with other embodiment, identical similar part between each embodiment Mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, Device or computer program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, The form of embodiment in terms of complete software embodiment or combination software and hardware.Moreover, this hair Bright embodiment can use the computer for wherein including computer usable program code in one or more It is real in usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form for the computer program product applied.
The embodiment of the present invention be with reference to method according to embodiments of the present invention, terminal device (system) and The flow chart and/or block diagram of computer program product describes.It should be understood that can be by computer journey Sequence instructs implementation process figure and/or each flow and/or square frame and flow chart in block diagram And/or the flow in block diagram and/or the combination of square frame.These computer program instructions can be provided To all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals The processor of equipment is to produce a machine so that passes through computer or other programmable datas are handled The instruction of the computing device of terminal device is produced for realizing in one flow of flow chart or multiple streams The device for the function of being specified in one square frame of journey and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide at computer or other programmable datas In the computer-readable memory that reason terminal device works in a specific way so that be stored in the calculating Instruction in machine readable memory produces the manufacture for including command device, and the command device is realized Specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames Function.
These computer program instructions can also be loaded into computer or other programmable data processing terminals In equipment so that on computer or other programmable terminal equipments perform series of operation steps with Computer implemented processing is produced, so as to what is performed on computer or other programmable terminal equipments Instruction, which provides, to be used to realize in one flow of flow chart or multiple flows and/or one square frame of block diagram Or specified in multiple square frames function the step of.
Although have been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art Once knowing basic creative concept, then other change and modification can be made to these embodiments. So appended claims are intended to be construed to include preferred embodiment and fall into the embodiment of the present invention Scope has altered and changed.
Finally, it is to be noted that, herein, such as first and second or the like relation Term is used merely to make a distinction an entity or operation with another entity or operation, without It is certain to require either to imply any this actual relation or suitable be present between these entities or operation Sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, article or terminal device including a series of elements are not only Including those key elements, but also the other element including being not expressly set out, or also including being This process, method, article or the intrinsic key element of terminal device.What is do not limited more In the case of, the key element that is limited by sentence "including a ...", it is not excluded that including the key element Other identical element in process, method, article or terminal device also be present.
Authorization method to a kind of hardware device provided by the present invention and a kind of hardware device above Authorization device, be described in detail, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the side for understanding the present invention Method and its core concept;Meanwhile for those of ordinary skill in the art, the think of according to the present invention Think, in specific embodiments and applications there will be changes, in summary, this explanation Book content should not be construed as limiting the invention.

Claims (11)

  1. A kind of 1. authorization method of hardware device, it is characterised in that including:
    Read hardware information corresponding to hardware device;
    The mandate application pair of the hardware device is determined using the hardware information and default character set As;
    Authorized using the mandate application for the hardware device.
  2. 2. according to the method for claim 1, it is characterised in that in the reading hardware device Before the step of corresponding hardware information, in addition to:
    Obtain hardware information corresponding to hardware device;
    Hardware information file is generated using the hardware information.
  3. 3. according to the method for claim 2, it is characterised in that the reading hardware device pair The step of hardware information answered, includes:
    Read hardware information file corresponding to hardware device;
    Hardware information is extracted from hardware information file corresponding to the hardware device.
  4. 4. according to the method described in claim 1 or 2 or 3, it is characterised in that the mandate should Including first with object authorizes application and second to authorize application, the default character set Including one or more character strings, it is described determined using hardware information and default character set it is described hard The step of mandate application of part equipment, includes:
    Judge the hardware information whether all string matching with default character set;
    If, it is determined that call first to authorize application for the hardware device;
    If not, it is determined that call second to authorize application for the hardware device.
  5. 5. according to the method described in claim 1 or 2 or 3, it is characterised in that the mandate should Including the 3rd with object authorizes application and the 4th to authorize application, the default character set It is described that the hardware device is determined using hardware information and default character set including specific character string Mandate application the step of include:
    Judge that the hardware information whether there is and the specific character string presence in default character set With item;
    If, it is determined that call the 3rd to authorize application for the hardware device;
    If not, it is determined that call the 4th to authorize application for the hardware device.
  6. 6. according to the method for claim 1, it is characterised in that the hardware device includes meter Calculation machine;The hardware information corresponds to hard disk mark, and/or the corresponding center of central processing unit including hard disk Processor flag.
  7. A kind of 7. authoring system of hardware device, it is characterised in that including:
    Hardware information acquisition module, for obtaining hardware information corresponding to hardware device;
    Application determining module is authorized, for true using the hardware information and default character set The mandate application of the fixed hardware device;
    Hardware device authorization module, for being directed to the hardware device using the mandate application Authorized.
  8. 8. system according to claim 7, it is characterised in that also include:
    Hardware information acquisition module, for obtaining hardware information corresponding to hardware device;
    Hardware information file generating module, for using hardware information generation hardware information file.
  9. 9. system according to claim 7, it is characterised in that the hardware information obtains mould Block includes:
    Hardware information file reading submodule, for reading hardware information file corresponding to hardware device;
    Hardware information extracting sub-module, for from hardware information file corresponding to the hardware device Extract hardware information.
  10. 10. according to the system described in claim 7 or 8 or 9, it is characterised in that the mandate Application includes first and authorizes application and second to authorize application, the default character Collection includes one or more character strings, and the mandate application determining module includes:
    First judging submodule, for judge the hardware information whether all with default character set String matching;If so, the first authorization object determination sub-module is then called, if it is not, then calling Second authorization object determination sub-module;
    First authorization object determination sub-module, for determining to call first to award for the hardware device Weigh application;
    Second authorization object determination sub-module, for determining to call second to award for the hardware device Weigh application.
  11. 11. according to the system described in claim 7 or 8 or 9, it is characterised in that the mandate Application includes the 3rd and authorizes application and the 4th to authorize application, the default character Collection includes specific character string, and the mandate application determining module includes:
    Second judging submodule, for judging that the hardware information whether there is and default character set In specific character string occurrence be present;If so, the 3rd authorization object determination sub-module is then called, If it is not, then call the 4th authorization object determination sub-module;
    3rd authorization object determination sub-module, for determining to call the 3rd to award for the hardware device Weigh application;
    4th authorization object determination sub-module, for determining to call the 4th to award for the hardware device Weigh application.
CN201610274782.7A 2016-04-28 2016-04-28 A kind of authorization method and system of hardware device Active CN107341370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610274782.7A CN107341370B (en) 2016-04-28 2016-04-28 A kind of authorization method and system of hardware device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610274782.7A CN107341370B (en) 2016-04-28 2016-04-28 A kind of authorization method and system of hardware device

Publications (2)

Publication Number Publication Date
CN107341370A true CN107341370A (en) 2017-11-10
CN107341370B CN107341370B (en) 2019-10-29

Family

ID=60221716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610274782.7A Active CN107341370B (en) 2016-04-28 2016-04-28 A kind of authorization method and system of hardware device

Country Status (1)

Country Link
CN (1) CN107341370B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667973A (en) * 2020-11-30 2021-04-16 新华三技术有限公司 Method and device for activating management software of network equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142030A (en) * 2011-03-22 2011-08-03 北京优视网络有限公司 Data searching method and data searching device
CN103544409A (en) * 2012-07-11 2014-01-29 腾讯科技(深圳)有限公司 Method for controlling application program, use equipment and server
CN104035812A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Method and system for recommending applications to electronic device
CN105160210A (en) * 2015-09-08 2015-12-16 浪潮通用软件有限公司 Software authorization method and system, software terminal and software management party

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142030A (en) * 2011-03-22 2011-08-03 北京优视网络有限公司 Data searching method and data searching device
CN103544409A (en) * 2012-07-11 2014-01-29 腾讯科技(深圳)有限公司 Method for controlling application program, use equipment and server
CN104035812A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Method and system for recommending applications to electronic device
CN105160210A (en) * 2015-09-08 2015-12-16 浪潮通用软件有限公司 Software authorization method and system, software terminal and software management party

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667973A (en) * 2020-11-30 2021-04-16 新华三技术有限公司 Method and device for activating management software of network equipment
CN112667973B (en) * 2020-11-30 2023-12-26 新华三技术有限公司 Method and device for activating management software of network equipment

Also Published As

Publication number Publication date
CN107341370B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
WO2020007153A1 (en) Risk control model training method, apparatus and device, and risk control method, apparatus, and device for identifying reused telephone number account fraud
CN102819701B (en) Method and device for prompting password security of form filling component
CN103347009B (en) A kind of information filtering method and device
CN105337928B (en) Method for identifying ID, safety protection problem generation method and device
CN105453102B (en) The system and method for the private cipher key leaked for identification
US11328093B1 (en) Protecting sensitive data
CN107665306B (en) A kind of method, apparatus, client and the server of the injection of detection illegal file
CN107392040A (en) A kind of method and device for checking of knowing together
CN102750486B (en) Method and device for updating login information by login control
CN104753677B (en) Password hierarchical control method and system
CN107026832A (en) Account logon method, equipment and server
CN107908680A (en) Management method, electronic device and the computer-readable recording medium of wechat public platform
CN105760361B (en) A kind of language model method for building up and device
CN107040520A (en) A kind of cloud computing data-sharing systems and method
CN112468658B (en) Voice quality detection method and device, computer equipment and storage medium
CN112395390A (en) Training corpus generation method of intention recognition model and related equipment thereof
US11720663B2 (en) Login methodology
CN107070871A (en) A kind of method and device of authentication
CN108090364B (en) Method and system for positioning data leakage source
CN109978517A (en) A kind of safe interconnection method and device of Onchain wallet and third party DApp
CN106503570A (en) The method and device of protection Root authority
CN109684837A (en) A kind of mobile application malware detection method and system towards electric power enterprise
CN107341370A (en) The authorization method and system of a kind of hardware device
CN105740666A (en) Method and device for identifying on-line operational risk
CN112435029B (en) Service processing method and device based on block chain and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant