CN107644156A - L-abiview-based permission login method and system - Google Patents

L-abiview-based permission login method and system Download PDF

Info

Publication number
CN107644156A
CN107644156A CN201710818014.8A CN201710818014A CN107644156A CN 107644156 A CN107644156 A CN 107644156A CN 201710818014 A CN201710818014 A CN 201710818014A CN 107644156 A CN107644156 A CN 107644156A
Authority
CN
China
Prior art keywords
matched
labview
user
occurrence
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710818014.8A
Other languages
Chinese (zh)
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.)
Gotion High Tech Co Ltd
Original Assignee
Gotion High Tech 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 Gotion High Tech Co Ltd filed Critical Gotion High Tech Co Ltd
Priority to CN201710818014.8A priority Critical patent/CN107644156A/en
Publication of CN107644156A publication Critical patent/CN107644156A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

the invention discloses an authority login method based on L-abview, which comprises the steps of establishing a txt document, listing key information recorded by the document as a matching item, establishing a VI program based on L-abview, reading the txt document, converting the txt document into a two-dimensional array, receiving information input by a user, taking the information as an item to be matched, matching the item to be matched with the matching item in the two-dimensional array by applying a circulation program and an if-else judgment program of the L-abview, and distributing different authorities to the user according to the number of successfully matched key information.

Description

A kind of authority login method and system based on Labview
Technical field
The present invention relates to password login technical field, more particularly to a kind of authority login method based on Labview and it is System.
Background technology
Labview is a kind of programming development environment, is developed by American National instrument (NI) company, with other computers The significant difference of language is to write program using graphical author language G, and caused program is the form of block diagram, and Labview is soft Part is the core of NI design platforms, and the ideal chose of exploitation measurement or control system.
In common password login mode, it is in data base tool, to developer's number that encrypted message is stored in specialty more Require higher according to the stock of knowledge in storehouse, and in-convenience in use, edit code is cumbersome, reduces convenience and be easy to that program uses It is illustrative.
With the development of measuring technology, Labview application is increasingly welcome by engineer, how with simplest Mode obtains most practical cryptoguard effect and seemed ever more important.
The content of the invention
Based on technical problem existing for background technology, the present invention proposes a kind of authority login method based on Labview And system.
Authority login method proposed by the present invention based on Labview, comprises the following steps:
S1, a newly-built txt document, and the key message of paper trail is classified as occurrence;
S2, above-mentioned txt documents are read based on the newly-built VI program of Labview and are translated into two-dimensional array;
S3, the information for receiving user's input, and using above- mentioned information as item to be matched, apply mechanically Labview cyclic program And if-else determining programs are matched item to be matched with the occurrence in two-dimensional array, and according to the pass that the match is successful The number of key information is that user distributes different rights.
Preferably, in step S1, the key message of the paper trail includes:User name, password, position.
Preferably, step S3 is specifically included:
Item to be matched is matched with the occurrence in the row, column of two-dimensional array, and the successful occurrence of record matching Number, and according to above-mentioned number be user distribute different rights.
Authority login system proposed by the present invention based on Labview, including:
Document establishes module, for a newly-built txt document, and the key message of paper trail is classified as into occurrence;
Array conversion module, for reading above-mentioned txt documents based on the newly-built VI program of Labview and being translated into Two-dimensional array;
Authority distribution module, for receiving the information of user's input, and using above- mentioned information as item to be matched, apply mechanically Labview cyclic program and if-else determining programs is matched item to be matched with the occurrence in two-dimensional array, and It is that user distributes different rights according to the number for the key message that the match is successful.
Preferably, document is established in module, and the key message of the paper trail includes:User name, password, position.
Preferably, authority distribution module is specifically used for:
Item to be matched is matched with the occurrence in the row, column of two-dimensional array, and the successful occurrence of record matching Number, and according to above-mentioned number be user distribute different rights.
The present invention first records key message into txt documents, then using Labview software functions by txt documents Two-dimensional array is converted to, the information matches operation after facilitating, then based on Labview software functions to the key in two-dimensional array Information and the information of user's input are matched, and are finally that user distributes authority according to matching result, are not only increased authority point The specific aim matched somebody with somebody, and ensure that the security of subscriber authentication.The present invention need not install it in addition to Labview softwares Its software, the original complicated flow such as database, code is also avoided, Expected Results, Ke Yisui can be achieved using txt file When easily change information, and this method is decreased to user and using the requirement of equipment, is more convenient for user's Use process.
Brief description of the drawings
Fig. 1 is a kind of step schematic diagram of the authority login method based on Labview;
Fig. 2 is a kind of structural representation of the authority login system based on Labview.
Embodiment
As shown in Figure 1 and Figure 2, Fig. 1, Fig. 2 are a kind of authority login method based on Labview proposed by the present invention and are System.
A kind of reference picture 1, authority login method based on Labview proposed by the present invention, comprises the following steps:
S1, a newly-built txt document, and the key message of paper trail is classified as occurrence;
In present embodiment, the key message of the paper trail includes:User name, password, position;By to above-mentioned base This information is recorded, and can ensure above-mentioned verification process to provide checking basis when verifying the identity and authority of user Specific aim and security.
Further, the key message of the paper trail can also carry out self-defined set according to the actual use demand of user Put, targetedly switched with the actual use scene and environment according to user, so as to improve the use range of this method and Using effect.
S2, above-mentioned txt documents are read based on the newly-built VI program of Labview and are translated into two-dimensional array;Wherein, The row, column information of two-dimensional array is arranged according to the key message recorded in txt documents.
S3, the information for receiving user's input, and using above- mentioned information as item to be matched, apply mechanically Labview cyclic program And if-else determining programs are matched item to be matched with the occurrence in two-dimensional array, and according to the pass that the match is successful The number of key information is that user distributes different rights.
In present embodiment, step S3 is specifically included:
Item to be matched is matched with the occurrence in the row, column of two-dimensional array, and the successful occurrence of record matching Number, and according to above-mentioned number be user distribute different rights;The difference of user is judged with the information inputted according to user Identity, and then be that user distributes different authorities according to the different identity of user, ensure the security to subscriber authentication, together When, by judging the identity of user and different authorities being distributed as it, the normalization and specific aim of authority distribution are ensure that, together When simplify the authentication process itself of user, improve the usage experience sense of user.
Reference picture 2, Fig. 2 are a kind of authority login system based on Labview proposed by the present invention, including:
Document establishes module, for a newly-built txt document, and the key message of paper trail is classified as into occurrence;
In present embodiment, document is established in module, and the key message of the paper trail includes:User name, password, duty Position;By being recorded to above-mentioned essential information, can ensure to provide checking basis when verifying the identity and authority of user The specific aim and security of above-mentioned verification process.
Further, the key message of the paper trail can also carry out self-defined set according to the actual use demand of user Put, targetedly switched with the actual use scene and environment according to user, so as to improve the use range of this method and Using effect.
Array conversion module, for reading above-mentioned txt documents based on the newly-built VI program of Labview and being translated into Two-dimensional array;Wherein, the row, column information of two-dimensional array is arranged according to the key message recorded in txt documents.
Authority distribution module, for receiving the information of user's input, and using above- mentioned information as item to be matched, apply mechanically Labview cyclic program and if-else determining programs is matched item to be matched with the occurrence in two-dimensional array, and It is that user distributes different rights according to the number for the key message that the match is successful.
In present embodiment, authority distribution module is specifically used for:
Item to be matched is matched with the occurrence in the row, column of two-dimensional array, and the successful occurrence of record matching Number, and according to above-mentioned number be user distribute different rights;The difference of user is judged with the information inputted according to user Identity, and then be that user distributes different authorities according to the different identity of user, ensure the security to subscriber authentication, together When, by judging the identity of user and different authorities being distributed as it, the normalization and specific aim of authority distribution are ensure that, together When simplify the authentication process itself of user, improve the usage experience sense of user.
Present embodiment first records key message into txt documents, then using Labview software functions by txt Document is converted to two-dimensional array, the information matches operation after facilitating, then based on Labview software functions in two-dimensional array Key message and the information of user's input are matched, and are finally that user distributes authority according to matching result, are not only increased power The specific aim of distribution is limited, and ensure that the security of subscriber authentication.Present embodiment is not required in addition to Labview softwares Other softwares are installed, also avoid the original complicated flow such as database, code, expected effect can be achieved using txt file Fruit, information can be easily changed at any time, and this method is decreased to user and using the requirement of equipment, it is more convenient The use process of user.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, technique according to the invention scheme and its Inventive concept is subject to equivalent substitution or change, should all be included within the scope of the present invention.

Claims (6)

1. a kind of authority login method based on Labview, it is characterised in that comprise the following steps:
S1, a newly-built txt document, and the key message of paper trail is classified as occurrence;
S2, above-mentioned txt documents are read based on the newly-built VI program of Labview and are translated into two-dimensional array;
S3, the information for receiving user's input, and using above- mentioned information as item to be matched, apply mechanically Labview cyclic program and If-else determining programs are matched item to be matched with the occurrence in two-dimensional array, and are believed according to the key that the match is successful The number of breath is that user distributes different rights.
2. the authority login method according to claim 1 based on Labview, it is characterised in that in step S1, the text The key message of shelves record includes:User name, password, position.
3. the authority login method according to claim 1 based on Labview, it is characterised in that step S3 is specifically included:
Item to be matched is matched with the occurrence in the row, column of two-dimensional array, and of the successful occurrence of record matching Number, and be that user distributes different rights according to above-mentioned number.
A kind of 4. authority login system based on Labview, it is characterised in that including:
Document establishes module, for a newly-built txt document, and the key message of paper trail is classified as into occurrence;
Array conversion module, for reading above-mentioned txt documents based on the newly-built VI program of Labview and being translated into two dimension Array;
Authority distribution module, for receiving the information of user's input, and using above- mentioned information as item to be matched, apply mechanically Labview Cyclic program and if-else determining programs item to be matched is matched with the occurrence in two-dimensional array, and according to Number with successful key message is that user distributes different rights.
5. the authority login system according to claim 4 based on Labview, it is characterised in that document is established in module, The key message of the paper trail includes:User name, password, position.
6. the authority login system according to claim 4 based on Labview, it is characterised in that authority distribution module has Body is used for:
Item to be matched is matched with the occurrence in the row, column of two-dimensional array, and of the successful occurrence of record matching Number, and be that user distributes different rights according to above-mentioned number.
CN201710818014.8A 2017-09-12 2017-09-12 L-abiview-based permission login method and system Pending CN107644156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710818014.8A CN107644156A (en) 2017-09-12 2017-09-12 L-abiview-based permission login method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710818014.8A CN107644156A (en) 2017-09-12 2017-09-12 L-abiview-based permission login method and system

Publications (1)

Publication Number Publication Date
CN107644156A true CN107644156A (en) 2018-01-30

Family

ID=61111204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710818014.8A Pending CN107644156A (en) 2017-09-12 2017-09-12 L-abiview-based permission login method and system

Country Status (1)

Country Link
CN (1) CN107644156A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991537A (en) * 1997-09-16 1999-11-23 The United States Of America As Represented By The Secretary Of The Navy VXI test executive
CN101605247A (en) * 2009-07-11 2009-12-16 大连交通大学 Network video monitor and control system based on virtual instrument
CN102777370A (en) * 2012-01-11 2012-11-14 福州大学 Realization method of LabVIEW-based high-pressure pump performance testing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991537A (en) * 1997-09-16 1999-11-23 The United States Of America As Represented By The Secretary Of The Navy VXI test executive
CN101605247A (en) * 2009-07-11 2009-12-16 大连交通大学 Network video monitor and control system based on virtual instrument
CN102777370A (en) * 2012-01-11 2012-11-14 福州大学 Realization method of LabVIEW-based high-pressure pump performance testing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙秋野 等: "《LabVIEW 8.5 快速入门与提高》", 31 May 2009, 西安交通大学出版社 *
罗军涛: "适用于微电网的谐波治理装置监控系统设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Similar Documents

Publication Publication Date Title
US10715334B2 (en) Methods and apparatus for validating a digital signature
US9491150B2 (en) Document-authorized access to a shared workspace
CN107959568B (en) A kind of measurement verification calibration digital certificates intelligent generation method and system
CN1490736B (en) Method and system for establishing and verifying digital sign sub-object
US8621222B1 (en) Archiving electronic content having digital signatures
KR20210003181A (en) Distributed document and entity verification engine
CN102841992B (en) The method of the encryption key being used for shielded digital data object is generated for computer based current component
PH12019501430A1 (en) System and method for blockchain-based authentication
US6751632B1 (en) Method of creating authenticated verifiable reproductions of electronic documents
CN101689237A (en) Activation system architecture
CN1322387C (en) Method for firming legitimate of software and device for executing software
CN104021333A (en) Mobile security fob
CN105631361B (en) A kind of application program channel source identification method and device
CN104158802A (en) Platform authorization method, platform service side, application client side and system
KR102321608B1 (en) First copyright holder authentication system using blockchain and its method
CN104951714A (en) Constellation based on device binding
US20130160102A1 (en) Fully Electronic Notebook (ELN) System And Method
CN110941845A (en) File acquisition method and device, computer equipment and storage medium
CN114297685A (en) Product key burning method, system, device, terminal equipment and storage medium
CN109753770A (en) Determine method and device, method for burn-recording and device, the electronic equipment of burning data
CN107239691B (en) The method, apparatus and system that the external device that access calculates equipment is controlled
CN117857151B (en) Tamper-proof method for first-class electronic data of medicine based on sharing
CN107239681A (en) One kind encryption mobile hard disk upper computer software structure
WO2014106181A2 (en) A method and an apparatus for securely signing application data
KR101748627B1 (en) Web-based electronic document service apparatus capable of authenticating a document and operating method thereof

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180130