CN103795539A - ID number generation method, allocation method, control method, device and system - Google Patents

ID number generation method, allocation method, control method, device and system Download PDF

Info

Publication number
CN103795539A
CN103795539A CN201310571276.0A CN201310571276A CN103795539A CN 103795539 A CN103795539 A CN 103795539A CN 201310571276 A CN201310571276 A CN 201310571276A CN 103795539 A CN103795539 A CN 103795539A
Authority
CN
China
Prior art keywords
coding
client
building
encrypting
deciphering
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
CN201310571276.0A
Other languages
Chinese (zh)
Other versions
CN103795539B (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.)
Kuang Chi Intelligent Photonic Technology Ltd
Original Assignee
Kuang Chi Innovative Technology 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 Kuang Chi Innovative Technology Ltd filed Critical Kuang Chi Innovative Technology Ltd
Priority to CN201310571276.0A priority Critical patent/CN103795539B/en
Publication of CN103795539A publication Critical patent/CN103795539A/en
Application granted granted Critical
Publication of CN103795539B publication Critical patent/CN103795539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses an ID number generation method, an allocation method, a control method, a device and a system. The ID number generation method is used for generating the ID number of a client of an entrance guard system and includes the following steps that: a first code is generated, wherein the first code is a code corresponding to a building; a second code is generated, wherein the second code is an equipment code corresponding to the client; and the first code and the second code are spliced so as to form the ID number. With the ID number generation method, the allocation method, the control method, the device and the system of the invention, the problem of difficulty in ID number management of the entrance guard system in the prior art can be solved, and the ID numbers of the entrance guard system can be managed with simplicity.

Description

ID generation method, distribution method, control method, Apparatus and system
Technical field
The present invention relates to the communications field, in particular to control method, ID distributor and the gate control system of a kind of ID generation method, ID distribution method, gate control system.
Background technology
Traditional identification system such as access control system be by a sheet smart card as unique person identifier registered in advance on distribution platform or network, the related data of registration can be saved on controller by network.In the time that user enters, the smart card of holding is gently shaken in card reader effective range and carry out feature identification, card reader is transferred to controller after having read the data of smart card, controller carries out identity judgement according to the log-on message of preserving and the Data Comparison obtaining, if compared successfully, process and drive electric lock to open the door according to normal condition, otherwise door keeps closing, and event information can be transferred to the systems such as warning, monitoring, processed by third party.
In the access control system of correlation technique, great majority are all to utilize card sender to realize identity recognition function, conventionally send magnetic card by card sender, the corresponding fixing ID of each magnetic card.But, because the extensibility of magnetic card is not very high, therefore easily disturbed, be replicated.In order to address the above problem, correlation technique provides again a kind of photon gate control system, in photon gate control system, carry out unique identification photon client by ID, but it is inconsistent that photon client sends the frequency of light signal, this just requires photon receiving terminal can adapt to the light signal that various photon clients send.But the coding method of photon gate control system ID causes the ID Comparison of Management difficulty of photon gate control system in correlation technique.
For the problem of the ID Comparison of Management difficulty of photon gate control system in correlation technique, effective solution is not yet proposed at present.
Summary of the invention
The invention provides a kind of ID generation method, distribution method, the control method of gate control system, Apparatus and system, at least to address the above problem.
According to an aspect of the present invention, provide a kind of ID distribution method, having comprised: generate the first coding, wherein, described the first coding has been the coding that building is corresponding; Generate the second coding, wherein, described the second coding is the device numbering corresponding to client; Described the first coding and described the second coding splicing are generated No. ID.
Preferably, generating described the first coding comprises: step 1.1: choose a random coded; Step 1.2: judge that whether corresponding with other building distributing described random coded coding be identical, if not, return to step 1.1, if so, enter step 1.3; Step 1.3: selected random coded is set to described the first coding.
Preferably, Huo Yizuo mansion, the corresponding Yi Ge community of described building.
Preferably, after generating described the first coding, described method also comprises: the project sequence number that typing is relevant to described building; Set up the corresponding relation of the first coding of described project sequence number and described building; Inquire about the first coding of described project sequence number or described building according to the corresponding relation of the first coding of described project sequence number and described building.
Preferably, after generating described the first coding, described method also comprises: by described the first coding encrypting; Described the first coding after encrypting is saved in to building coded data storehouse.
What preferably, described encryption adopted is symmetric encipherment algorithm or rivest, shamir, adelman.
Preferably, described the first coding and described the second coding splicing were generated before No. ID, also comprise: obtain described the first coding after encryption, described the first coding after encrypting is decrypted; Described the first coding after utilizing cryptographic algorithm to deciphering carries out superencipher; Described the first coding after superencipher is saved in to ID to be provided in database.
Preferably, described the first coding is generated and comprised for No. ID with described the second coding splicing: obtain described the first coding after superencipher, and described the first coding after superencipher is carried out to secondary deciphering; Described the first coding after secondary deciphering and described the second coding are spliced, generate described No. ID.
Preferably, described client is photon client.
According to another aspect of the present invention, provide a kind of ID distribution method, distributed No. ID for the client to gate control system, having comprised: generate the first coding, wherein, described the first coding has been the coding that building is corresponding; Receive the ID dispense request that described client sends; Described the second coding of random generation, wherein, described the second coding is the device numbering corresponding to described client; Described the first coding and described the second coding are spliced, generate described No. ID; And send described No. ID to described client.
Preferably, generating described the first coding comprises: step 1.1: choose a random coded; Step 1.2: judge that whether corresponding with other building distributing described random coded coding be identical, if not, return to step 1.1, if so, enter step 1.3; Step 1.3: selected random coded is set to described the first coding.
Preferably, after generating described the first coding, described method also comprises: by described the first coding encrypting; Described the first coding after encrypting is saved in to building coded data storehouse; Obtain described the first coding after encryption, described the first coding after encrypting is decrypted; Described the first coding after utilizing cryptographic algorithm to deciphering carries out superencipher; Described the first coding after superencipher is saved in to ID to be provided in database.
Preferably, described the first coding and described the second coding are spliced, generate described No. ID and comprise: obtain described the first coding after superencipher, and described the first coding after superencipher is carried out to secondary deciphering; Described the first coding after secondary deciphering and described the second coding are spliced, generate described No. ID.
According to another aspect of the present invention, provide a kind of control method of gate control system, having comprised: adopted above-mentioned first to No. ID, the method generation described in Section 3, and photon client is obtained described No. ID; The visible light signal that photon client is sent carry described ID information is to photon receiving terminal; Whether photon receiving terminal receives and detects described visible light signal, verify and match with the authentication information of preserving for described No. ID, if coupling is controlled door lock release.
Preferably, described gate control system further comprises ID distributor, and described ID distributor is used for distributing ID, and described photon client is obtained described No. ID and comprised: described photon client sends the request of obtaining ID; Described ID distributor distributes No. ID to described photon client according to request.
According to a further aspect of the invention, provide a kind of ID distributor, distributed No. ID for the client to gate control system, having comprised: the first generation module, for generating the first coding, wherein, described the first coding is the coding that building is corresponding; The second generation module, for generating the second coding, wherein, described the second coding is the device numbering corresponding to photon client; Distribution module, for described the first coding and described the second coding splicing are generated No. ID, and distribute described No. ID to described client.
Preferably, described the first generation module, also for choosing a random coded, judges that whether corresponding with other building distributing described random coded coding be identical, if identical, again choose a random coded, and selected random coded is set to described the first coding.
Preferably, described device further comprises the first encrypting module and building coded data storehouse, and described the first encrypting module is for described the first coding is encrypted, and described building coded data storehouse is for storing the first coding of encrypting through the first encrypting module.
Preferably, described device further comprises that the first deciphering module, the second encrypting module and ID provide database, described the first deciphering module is for deciphering the first coding of encrypting through the first encrypting module, described the second encrypting module is for adding the first coding after crammed the first deciphering module deciphering, and ID provides database for storing the first coding of encrypting through the second encrypting module.
Preferably, described device further comprises the second deciphering module, and for separating the first coding after crammed the second encrypting module encryption, described distribution module is for generating No. ID by the first coding after the second deciphering module deciphering and with described the second coding splicing.
Preferably, described client is photon client.
According to a further aspect of the invention, provide a kind of gate control system, having comprised: the ID distributor as described in above-mentioned the 16 to 20 any one, for photon client is obtained No. ID; Photon client, carries the visible light signal of described No. ID to photon receiving terminal for sending; Whether described photon receiving terminal, for receiving and detect described visible light signal, verify and match with the authentication information of preserving for described No. ID, if coupling is controlled door lock release.
The present invention generates the first coding by employing, and wherein, described the first coding is the coding that building is corresponding; Generate the second coding, wherein, described the second coding is the device numbering corresponding to photon client; Described the first coding and described the second coding splicing are generated No. ID, solve the problem of gate control system ID Comparison of Management difficulty in correlation technique, thereby reached the effect of fairly simple ground managing gate inhibition system identifier number.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the flow chart of the ID distribution method of the embodiment of the present invention;
Fig. 1 a is according to the flow chart of the embodiment of the present invention No. ID generation method;
Fig. 2 is according to the flow chart of the control method of the gate control system of the embodiment of the present invention;
Fig. 3 is according to the structural representation of the ID distributor of the embodiment of the present invention;
Fig. 4 is according to the structural representation of the gate control system of the embodiment of the present invention; And
Fig. 5 is the flow chart of ID distribution method according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
The embodiment of the invention discloses a kind of ID distribution method, Fig. 1 is according to the flow chart of the ID distribution method of the embodiment of the present invention, and as shown in Figure 1, this flow process comprises the following steps:
Step S102, generates the first coding, and wherein, described the first coding is the coding that building is corresponding;
Step S104, receives the ID dispense request that described client sends;
Step S106, generates described the second coding at random, and wherein, described the second coding is the device numbering corresponding to described client.
Wherein, described device numbering can be the combination of pure digi-tal, pure letter (as English alphabet, Greek alphabet etc.), other discernible characters or above-mentioned at least two kinds, can certainly other coding form, be not limited with the present embodiment.
Step S108, splices described the first coding and described the second coding, generates described No. ID, and sends described No. ID to described client.
By above-mentioned steps, solve the problem of gate control system ID Comparison of Management difficulty in correlation technique, there is the beneficial effect of fairly simple ground managing gate inhibition system identifier number.
The method that generates described the first coding has a variety of.In a preferred implementation of the embodiment of the present invention, can adopt following methods to obtain the first coding: step 1.1: to choose a random coded; Step 1.2: judge that whether corresponding with other building distributing described random coded coding be identical, if not, return to step 1.1, if so, enter step 1.3; Step 1.3: selected random coded is set to described the first coding.By above-mentioned steps, can fairly simplely obtain quickly the first coding.When multiple buildings being carried out to the first coding while choosing, can adopt uses the same method chooses.
Wherein, described random coded can be the combination of pure digi-tal, pure letter (as English alphabet, Greek alphabet etc.), other discernible characters or above-mentioned at least two kinds, can certainly other coding form, be not limited with the present embodiment.
In a preferred implementation of the embodiment of the present invention, Huo Yizuo mansion, the corresponding Yi Ge community of described building.By above-mentioned steps, gate control system that can Dui Yige community is carried out unified management, and gate control system that also can Dui Yizuo mansion manages.Preferably, the ID distribution method of the present embodiment is for unifying ID allocation manager to the Huo Duozuo mansion, multiple community of a project, different communities or different mansions distribute different building codings, so that to the multiple buildings in a project, or multiple buildings in multiple project carry out unified management.
In a preferred implementation of the embodiment of the present invention, after generating described the first coding, described method can also comprise: the project sequence number that typing is relevant to described building; Set up the corresponding relation of the first coding of described project sequence number and described building; Inquire about the first coding of described project sequence number or described building according to the corresponding relation of the first coding of described project sequence number and described building.By above-mentioned steps, can set up item and the corresponding relation of building, thus all buildings under can the one or more projects of unified management, and then facilitate the management of project.
In a preferred implementation of the embodiment of the present invention, after generating described the first coding, described method can also comprise: by described the first coding encrypting; Described the first coding after encrypting is saved in to building coded data storehouse.By above-mentioned steps, can improve the fail safe of the first coding.Cryptographic algorithm has a variety of.What preferably, described encryption adopted can be symmetric encipherment algorithm or rivest, shamir, adelman.
In a preferred implementation of the embodiment of the present invention, described the first coding and described the second coding splicing were generated before No. ID, also comprise: obtain described the first coding after encryption, described the first coding after encrypting is decrypted; Described the first coding after utilizing cryptographic algorithm to deciphering carries out superencipher; Described the first coding after superencipher is saved in to ID to be provided in database.By above-mentioned steps, can more safely obtain the first coding.
In a preferred implementation of the embodiment of the present invention, described the first coding is generated and comprised for No. ID with described the second coding splicing: obtain described the first coding after superencipher, and described the first coding after superencipher is carried out to secondary deciphering; Described the first coding after secondary deciphering and described the second coding are spliced, generate described No. ID.By above-mentioned steps, can more safely generate and distribute No. ID.
In a preferred implementation of the embodiment of the present invention, described the first coding and described the second coding splicing are generated No. ID, and distribute described No. ID and comprise to described photon client: receive the ID dispense request that described photon client sends; Described the second coding of random generation, and described the first coding and described the second coding are spliced, generate described No. ID; And send described No. ID to described photon client.By above-mentioned steps, can be distributed to photon client by No. ID.
Wherein, the second coding is that the device numbering of described client can be the combination of pure digi-tal, pure letter (as English alphabet, Greek alphabet etc.), other discernible characters or above-mentioned at least two kinds equally, or other coding form.Described second coding also can by with generate first coding similar method generate at random, as: choose first at random a coding; Whether the coding chosen of judgement is identical with the coding of choosing, and again chooses if identical, if different, determines second coding that is encoded to that this chooses.When multiple clients being carried out to the second coding while choosing, method that can be same is carried out.
The embodiment of the invention discloses a kind of ID generation method, Fig. 1 a is according to the flow chart of the embodiment of the present invention No. ID generation method, and the method is for generating No. ID of client of gate control system, and as shown in Figure 1a, this flow process comprises the following steps:
Step S1A02, generates the first coding, and wherein, described the first coding is the coding that building is corresponding;
Step S1A04, generates the second coding, and wherein, described the second coding is the device numbering corresponding to client;
Step S1A06, No. ID, described the first coding and described the second coding splicing generates.
In a preferred implementation of the embodiment of the present invention, generating described the first coding can comprise: step 1.1: choose a random coded; Step 1.2: judge that whether corresponding with other building distributing described random coded coding be identical, if not, return to step 1.1, if so, enter step 1.3; Step 1.3: selected random coded is set to described the first coding.
In a preferred implementation of the embodiment of the present invention, Huo Yizuo mansion, the corresponding Yi Ge community of described building.
In a preferred implementation of the embodiment of the present invention, after generating described the first coding, described method also comprises: the project sequence number that typing is relevant to described building; Set up the corresponding relation of the first coding of described project sequence number and described building; Inquire about the first coding of described project sequence number or described building according to the corresponding relation of the first coding of described project sequence number and described building.
In a preferred implementation of the embodiment of the present invention, after generating described the first coding, described method also comprises: by described the first coding encrypting; Described the first coding after encrypting is saved in to building coded data storehouse.
In a preferred implementation of the embodiment of the present invention, what described encryption adopted is symmetric encipherment algorithm or rivest, shamir, adelman.
In a preferred implementation of the embodiment of the present invention, described the first coding and described the second coding splicing were generated before No. ID, also comprise: obtain described the first coding after encryption, described the first coding after encrypting is decrypted; Described the first coding after utilizing cryptographic algorithm to deciphering carries out superencipher; Described the first coding after superencipher is saved in to ID to be provided in database.
In a preferred implementation of the embodiment of the present invention, described the first coding is generated and comprised for described No. ID with described the second coding splicing: obtain described the first coding after superencipher, and described the first coding after superencipher is carried out to secondary deciphering; Described the first coding after secondary deciphering and described the second coding are spliced, generate described No. ID.
In a preferred implementation of the embodiment of the present invention, described client is photon client.
The embodiment of the present invention also provides a kind of control method of gate control system, and Fig. 2 is according to the flow chart of the control method of the gate control system of the embodiment of the present invention, and as shown in Figure 2, this flow process comprises the following steps:
Step S202, obtains photon client No. ID;
The method of obtaining No. ID can be the ID distribution method that above-described embodiment provides.
Step S204, the visible light signal that photon client is sent carry described ID information is to photon receiving terminal;
Step S206, photon receiving terminal receives and detects described visible light signal, verify described ID information whether with the database of described photon receiving terminal in the authentication information of preserving match, if coupling is controlled door lock release.
The embodiment of the present invention also provides a kind of ID distributor, and Fig. 3 is according to the structural representation of the ID distributor of the embodiment of the present invention, as shown in Figure 3, this device: comprise the first generation module 302, be used for generating the first coding, wherein, described the first coding is the coding that building is corresponding; The second generation module 304, for generating the second coding, wherein, described the second coding is the device numbering corresponding to photon client; Distribution module 306, for described the first coding and described the second coding splicing are generated No. ID, and distribute described No. ID to described photon client.
Preferably, described the first generation module 302, also for choosing a random coded, judges that whether corresponding with other building distributing described random coded coding be identical, if identical, again choose a random coded, and selected random coded is set to described the first coding.
Preferably, described device further comprises the first encrypting module and building coded data storehouse, and described the first encrypting module is for described the first coding is encrypted, and described building coded data storehouse is for storing the first coding of encrypting through the first encrypting module.
Preferably, described device further comprises that the first deciphering module, the second encrypting module and ID provide database, described the first deciphering module is for deciphering the first coding of encrypting through the first encrypting module, described the second encrypting module is for adding the first coding after crammed the first deciphering module deciphering, and ID provides database for storing the first coding of encrypting through the second encrypting module.
Preferably, described device further comprises the second deciphering module, and for separating the first coding after crammed the second encrypting module encryption, described distribution module is for generating No. ID by the first coding after the second deciphering module deciphering and with described the second coding splicing.
Preferably, described client is photon client.
The embodiment of the present invention also provides a kind of gate control system, Fig. 4 is according to the structural representation of the gate control system of the embodiment of the present invention, as shown in Figure 4, described gate control system comprises: the ID distributor 402 providing as above-described embodiment, for photon client is obtained No. ID; Photon client 404, carries the visible light signal of described No. ID to photon receiving terminal 406 for sending; Described photon receiving terminal 406, for receiving and detect described visible light signal, verify described ID information whether with the database of described photon receiving terminal 406 in the authentication information of preserving match, if coupling is controlled door lock release.
The preferred embodiment of the present invention also provides a kind of photon gate control system.In photon gate control system, conventionally carry out unique identification photon client by ID, specific to the scene that photon gate control system is applied to mansion, can be formed by two parts for here No. ID, one is i.e. the second coding of device numbering part, and another part is i.e. the first coding of mansion coding.And mansion coding generates for certain project, manage the corresponding relation between mansion coding and project in order to facilitate management can design a software, comprise the generation of mansion coding, the generation of project and the corresponding relation between them, and in order to ensure the fail safe of mansion coding, when mansion coding generates, software only shows the sequence number of mansion coding and has hidden the numbering of mansion, and ensure its fail safe by encryption while being saved in building coded data storehouse after generating, Dui mansion coding is encrypted it when granting, need first the mansion coding of encrypting to be decrypted and generate when ID, and then splice with device numbering part.To describe this photon gate control system below in detail.
Photon gate control system can realize the mansion coding that generates No. ID by software, and binds with the detailed programs of registration.In order to facilitate management project, allow the corresponding WeiYi Building in each project Zhong Meizuo mansion encode, general mansion coding create-rule is to choose at random a number within the scope of certain, like this generate this number if order, just there is the possibility of guessing mansion coding right, such as the mansion coding of A project is 1, if sequential encoding, be exactly 2 for B project mansion coding so, mansion coding is easy to be guessed out so.So the present embodiment can adopt random coded to generate, if but certain number that uses random coded to produce once generated, this mansion generates so No. ID and No. ID just likely repetition generating with the mansion that has identical mansion coding, institute thinks that not repeating to generate mansion encodes, just must design mansion encoding state, to first judge that for the number of random generation the state of mansion coding is whether the coding that distributed is the same with this number, if the same, again generate a random coded, repeat above deterministic process, until the random coded of choosing was not assigned with.Particularly, can adopt the web station system of three-tier architecture to generate mansion coding.Encoding and will this information be hidden and be encrypted while generation in Dui mansion, thereby has guaranteed the fail safe of generative process.For mansion coding is maintained secrecy, can be coded in to preserve into before building coded data storehouse to mansion and be encrypted.Described encryption, can carry out symmetric encipherment algorithm to mansion coding, also can carry out rivest, shamir, adelman to mansion coding, or use scrambling algorithm.
Set up mansion coding and item association table, the mansion coding of generation is carried out associated with project.Specifically, by bindings, the sequence number of project is made to a part for this table, and using another part as this table of mansion the coding corresponding sequence number of project therewith.Like this, when project and mansion are when more, Project Manager can inquire about project, also can inquire about mansion coding.
Generate after mansion coding distribution mansion coding.Concrete distribution can be by carrying out to ID management software, and equally in order to ensure its fail safe, the mansion coded data of providing database to writing ID is encrypted.When generating ID, mansion coding is decrypted, then splices with device numbering.After deciphering, mansion coding is encrypted again.It is safe that encryption can guarantee to be written to the data that ID that ID provides software provides in database, so just realized mansion coding without the generation repeating, safe granting and preservation.In the time that ID granting software will use mansion coding to generate ID, just must first be decrypted it, described decipherment algorithm, is the decipherment algorithm corresponding with above-mentioned cryptographic algorithm again.The mansion coding decrypting and the random device numbering generating splice generate one No. ID, if guarantee that the random device coding generating is unique, No. ID of generation is exactly unique so.
Fig. 5 is the flow chart of ID distribution method according to the preferred embodiment of the invention.In the present embodiment, generate mansion coding and project related data by Project Management Software, and binding relationship between mansion coding and project, then the mansion coding generating is encrypted to preservation, be saved in ID granting database.The ID that will be issued to ID granting software for the mansion coding of generation provides in database, in order to ensure the fail safe of granting, also it is encrypted, and after having provided, ID granting software just can first be deciphered and then splice No. ID, device numbering generation.Project Manager is only concerned about the corresponding relation of project and mansion coding, the granting of mansion coding like this, and photon gate control system keeper is only concerned about generation and the granting of No. ID, and the middle encryption and decryption with mansion coding contacts.Wherein, mansion coding is equivalent to the first coding, and device numbering is equivalent to the second coding, and as shown in Figure 5, this flow process comprises the following steps:
Step S502, typing project related data, such as: project name, hardware version numbers, software version number.
Step S504, typing mansion title, then generates mansion coding at random, and mansion coding is encrypted, and the cryptographic algorithm is here selected AES symmetric encipherment algorithm.
Step S506, is saved in mansion coding in building coded data storehouse and generates project MSDS, and can show all project data tables with list structure assembly, and can be to the record management of choosing, such as increasing, delete, change, looking into.
By above-mentioned steps, mansion coding and item association can be got up, thereby can unify the management of being encoded in same project Xia mansion, also can unify the management of being encoded in multiple disparity items Xia mansion.
Step S508, provides database Zhong mansion coding to the ID of Project Management Software and is decrypted, and the decipherment algorithm here selects AES symmetric encipherment algorithm, and the cryptographic algorithm of key and S504 is identical.After solving expressly, it is encrypted again, cryptographic algorithm is selected 3DES cryptographic algorithm.
Step S510, the mansion coding that ID provides the encryption of software to step S508 is decrypted, and the algorithm of deciphering is selected 3DES decipherment algorithm, and the cryptographic algorithm of key and step S504 is identical.
Step S512, ID provides software and provides database and choose at random the numbering of a number as equipment from ID.This numbering is unique not the distributing producing at random within the scope of certain.
Step S514, the mansion obtaining according to step S510 and S512 coding and device numbering splice, and generate complete unique a No. ID of not distributing, as the mark of the identification of photon client in photon gate control system.
In the present embodiment, adopt Project Management Software generation project related data, mansion enciphered data to facilitate Project Manager's personal management project, provide mansion coded message in ID payroll management storehouse simultaneously, facilitate gate control system keeper to generate complete No. ID, in the process generating and provide, high security is enciphering and deciphering algorithm: AES, 3DES, the database of preservation adopts the database MySQL that increases income.
In other embodiment, in the process that generates and provide, the enciphering and deciphering algorithm of high security can also be RC6,3DES, and the database of preservation can also adopt distributed data base SQL Server2005.
In another embodiment, in the process that generates and provide, the enciphering and deciphering algorithm of high security can be Diffie-Hellman, RSA, and the database of preservation can adopt distributed data base ORACLE.
In above-described embodiment, the ID generation method, ID distribution method and the gate control system that are applied to mansion can similarly be applied on community, repeat no more herein.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (22)

1. an ID generation method, for generating No. ID of client of gate control system, is characterized in that, comprising:
Generate the first coding, wherein, described the first coding is the coding that building is corresponding;
Generate the second coding, wherein, described the second coding is the device numbering corresponding to client;
Described the first coding and described the second coding splicing are generated No. ID.
2. method according to claim 1, is characterized in that, generates described the first coding and comprises:
Step 1.1: choose a random coded;
Step 1.2: judge that whether corresponding with other building distributing described random coded coding be identical, if not, return to step 1.1, if so, enter step 1.3;
Step 1.3: selected random coded is set to described the first coding.
3. method according to claim 1, is characterized in that, Huo Yizuo mansion, the corresponding Yi Ge community of described building.
4. according to the method in any one of claims 1 to 3, it is characterized in that, after generating described the first coding, described method also comprises:
The project sequence number that typing is relevant to described building;
Set up the corresponding relation of the first coding of described project sequence number and described building;
Inquire about the first coding of described project sequence number or described building according to the corresponding relation of the first coding of described project sequence number and described building.
5. according to the method in any one of claims 1 to 3, it is characterized in that, after generating described the first coding, described method also comprises:
By described the first coding encrypting;
Described the first coding after encrypting is saved in to building coded data storehouse.
6. method according to claim 5, is characterized in that, what described encryption adopted is symmetric encipherment algorithm or rivest, shamir, adelman.
7. method according to claim 5, is characterized in that, described the first coding and described the second coding splicing were generated before No. ID, also comprises:
Obtain described the first coding after encryption, described the first coding after encrypting is decrypted;
Described the first coding after utilizing cryptographic algorithm to deciphering carries out superencipher;
Described the first coding after superencipher is saved in to ID to be provided in database.
8. method according to claim 7, is characterized in that, described the first coding is generated and comprised for described No. ID with described the second coding splicing:
Obtain described the first coding after superencipher, and described the first coding after superencipher is carried out to secondary deciphering;
Described the first coding after secondary deciphering and described the second coding are spliced, generate described No. ID.
9. according to the method in any one of claims 1 to 3, it is characterized in that, described client is photon client.
10. an ID distribution method, is characterized in that, distributes No. ID for the client to gate control system, comprising:
Generate the first coding, wherein, described the first coding is the coding that building is corresponding;
Receive the ID dispense request that described client sends;
Described the second coding of random generation, wherein, described the second coding is the device numbering corresponding to described client;
Described the first coding and described the second coding are spliced, generate described No. ID; And
Send described No. ID to described client.
11. methods according to claim 10, is characterized in that, generate described the first coding and comprise:
Step 1.1: choose a random coded;
Step 1.2: judge that whether corresponding with other building distributing described random coded coding be identical, if not, return to step 1.1, if so, enter step 1.3;
Step 1.3: selected random coded is set to described the first coding.
12. according to the method described in claim 10 or 11, it is characterized in that, after generating described the first coding, described method also comprises:
By described the first coding encrypting;
Described the first coding after encrypting is saved in to building coded data storehouse;
Obtain described the first coding after encryption, described the first coding after encrypting is decrypted;
Described the first coding after utilizing cryptographic algorithm to deciphering carries out superencipher;
Described the first coding after superencipher is saved in to ID to be provided in database.
13. methods according to claim 12, is characterized in that, described the first coding and described the second coding are spliced, and generate described No. ID and comprise:
Obtain described the first coding after superencipher, and described the first coding after superencipher is carried out to secondary deciphering;
Described the first coding after secondary deciphering and described the second coding are spliced, generate described No. ID.
The control method of 14. 1 kinds of gate control systems, is characterized in that, comprising:
Adopt the method as described in claim 1-3 any one to generate No. ID, and photon client is obtained described No. ID;
The visible light signal that photon client is sent carry described ID information is to photon receiving terminal;
Whether photon receiving terminal receives and detects described visible light signal, verify and match with the authentication information of preserving for described No. ID, if coupling is controlled door lock release.
15. methods according to claim 14, is characterized in that, described gate control system further comprises ID distributor, and described ID distributor is used for distributing ID, and described photon client is obtained described No. ID and comprised:
Described photon client sends the request of obtaining ID;
Described ID distributor distributes No. ID to described photon client according to request.
16. 1 kinds of ID distributors, distribute No. ID for the client to gate control system, it is characterized in that, comprising:
The first generation module, for generating the first coding, wherein, described the first coding is the coding that building is corresponding;
The second generation module, for generating the second coding, wherein, described the second coding is the device numbering corresponding to photon client;
Distribution module, for described the first coding and described the second coding splicing are generated No. ID, and distribute described No. ID to described client.
17. devices according to claim 16, it is characterized in that, described the first generation module is also for choosing a random coded, judge that whether corresponding with other building distributing described random coded coding be identical, if identical, again choose a random coded, and selected random coded is set to described the first coding.
18. devices according to claim 16, it is characterized in that, described device further comprises the first encrypting module and building coded data storehouse, described the first encrypting module is for described the first coding is encrypted, and described building coded data storehouse is for storing the first coding of encrypting through the first encrypting module.
19. devices according to claim 18, it is characterized in that, described device further comprises that the first deciphering module, the second encrypting module and ID provide database, described the first deciphering module is for deciphering the first coding of encrypting through the first encrypting module, described the second encrypting module is for adding the first coding after crammed the first deciphering module deciphering, and ID provides database for storing the first coding of encrypting through the second encrypting module.
20. devices according to claim 19, it is characterized in that, described device further comprises the second deciphering module, for separating the first coding after crammed the second encrypting module encryption, described distribution module is for generating No. ID by the first coding after the second deciphering module deciphering and with described the second coding splicing.
21. according to claim 16 to the device described in 20 any one, it is characterized in that, described client is photon client.
22. 1 kinds of gate control systems, is characterized in that, comprising:
ID distributor as described in claim 16 to 20 any one, for obtaining photon client No. ID;
Photon client, carries the visible light signal of described No. ID to photon receiving terminal for sending;
Whether described photon receiving terminal, for receiving and detect described visible light signal, verify and match with the authentication information of preserving for described No. ID, if coupling is controlled door lock release.
CN201310571276.0A 2013-11-14 2013-11-14 ID number generation method, allocation method, control method, device and system Active CN103795539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310571276.0A CN103795539B (en) 2013-11-14 2013-11-14 ID number generation method, allocation method, control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310571276.0A CN103795539B (en) 2013-11-14 2013-11-14 ID number generation method, allocation method, control method, device and system

Publications (2)

Publication Number Publication Date
CN103795539A true CN103795539A (en) 2014-05-14
CN103795539B CN103795539B (en) 2014-12-10

Family

ID=50670866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310571276.0A Active CN103795539B (en) 2013-11-14 2013-11-14 ID number generation method, allocation method, control method, device and system

Country Status (1)

Country Link
CN (1) CN103795539B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573137A (en) * 2015-01-04 2015-04-29 东莞市威力固电路板设备有限公司 PCB process monitoring method
CN105578648A (en) * 2015-12-29 2016-05-11 珠海雷特科技股份有限公司 Timing activating scanning searching pairing method for wireless illumination control system
CN106780096A (en) * 2016-11-30 2017-05-31 北京慧眼智行科技有限公司 A kind of batch management method, device and mobile device
CN109712276A (en) * 2017-10-25 2019-05-03 上海宝信软件股份有限公司 A kind of gauze grade entrance guard authorization method towards rail traffic
CN110162293A (en) * 2019-05-10 2019-08-23 上海紫翊网络科技有限公司 A kind of random number generation method, device and terminal for equally loaded

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937584A (en) * 2010-06-02 2011-01-05 海尔集团公司 Method for generating passwords of access control system
CN102096957A (en) * 2011-03-25 2011-06-15 南京仙朗科技发展有限公司 Access control management system and configuration method thereof
CN203366415U (en) * 2013-07-29 2013-12-25 深圳光启创新技术有限公司 Authentication system based on visible light communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937584A (en) * 2010-06-02 2011-01-05 海尔集团公司 Method for generating passwords of access control system
CN102096957A (en) * 2011-03-25 2011-06-15 南京仙朗科技发展有限公司 Access control management system and configuration method thereof
CN203366415U (en) * 2013-07-29 2013-12-25 深圳光启创新技术有限公司 Authentication system based on visible light communication

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573137A (en) * 2015-01-04 2015-04-29 东莞市威力固电路板设备有限公司 PCB process monitoring method
CN105578648A (en) * 2015-12-29 2016-05-11 珠海雷特科技股份有限公司 Timing activating scanning searching pairing method for wireless illumination control system
CN106780096A (en) * 2016-11-30 2017-05-31 北京慧眼智行科技有限公司 A kind of batch management method, device and mobile device
CN109712276A (en) * 2017-10-25 2019-05-03 上海宝信软件股份有限公司 A kind of gauze grade entrance guard authorization method towards rail traffic
CN110162293A (en) * 2019-05-10 2019-08-23 上海紫翊网络科技有限公司 A kind of random number generation method, device and terminal for equally loaded

Also Published As

Publication number Publication date
CN103795539B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN109495274B (en) Decentralized intelligent lock electronic key distribution method and system
CN103812854B (en) Identity authentication system, device and method and identity authentication requesting device
EP2697931B1 (en) Qkd key management system
CN103795539B (en) ID number generation method, allocation method, control method, device and system
CN1820482B (en) Method for generating and managing a local area network
CN101032117B (en) Method of authentication based on polynomials, system, and method for demonstration device
KR101753859B1 (en) Server and method for managing smart home environment thereby, method for joining smart home environment and method for connecting communication session with smart device
EP2745212A1 (en) Virtual zeroisation system and method
CN105205898A (en) Electronic code permission management system for intelligent lock
CN105450395A (en) Information encryption and decryption processing method and system
CN109543434B (en) Block chain information encryption method, decryption method, storage method and device
CN111159684B (en) Safety protection system and method based on browser
CN102752109A (en) Secret key management method and device for encrypting data base column
CN104852913A (en) Dynamic password electronic coded lock
CN203366415U (en) Authentication system based on visible light communication
Chidambaram et al. Enhancing the security of customer data in cloud environments using a novel digital fingerprinting technique
TWI556618B (en) Network Group Authentication System and Method
CN110225028B (en) Distributed anti-counterfeiting system and method thereof
CN112989320B (en) User state management system and method for password equipment
CN112422279B (en) Intelligent terminal key management method and hierarchical management system
CN110176992A (en) Security key management system and method and its safety element
MXPA03009823A (en) Secure group secret distribution.
CN110620780B (en) Anti-quantum computation two-dimensional code authentication method and system based on asymmetric key pool and timestamp
CN108055124A (en) Lock administration system and lock management method
CN109831244A (en) A kind of real-time controllable transmission of satellite data based on all-in-one machine and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHENZHEN GUANGQI INTELLIGENT PHOTONICS TECHNOLOGY

Free format text: FORMER OWNER: SHENZHEN KUANG-CHI INNOVATION TECHNOLOGY CO., LTD.

Effective date: 20150710

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150710

Address after: 518000 Guangdong city of Shenzhen province Futian District Shennan Road and CaiTian Road intersection East Xintiandi Plaza C block 2007-27

Patentee after: Shenzhen Guang Qi intelligent photonic Technology Co., Ltd.

Address before: 518034 A international business center, No. 1061, Xiang Mei Road, Guangdong, Shenzhen, Futian District, China 18B

Patentee before: Shenzhen Kuang-Chi Innovation Technology Co., Ltd.