CN111144900A - Verification method of electronic lock, verification device and verification system - Google Patents

Verification method of electronic lock, verification device and verification system Download PDF

Info

Publication number
CN111144900A
CN111144900A CN201911248829.2A CN201911248829A CN111144900A CN 111144900 A CN111144900 A CN 111144900A CN 201911248829 A CN201911248829 A CN 201911248829A CN 111144900 A CN111144900 A CN 111144900A
Authority
CN
China
Prior art keywords
electronic lock
identity code
unique identity
dealer
dealers
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
CN201911248829.2A
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.)
Huizhou Topband Electronic Technology Co Ltd
Original Assignee
Huizhou Topband Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Topband Electronic Technology Co Ltd filed Critical Huizhou Topband Electronic Technology Co Ltd
Priority to CN201911248829.2A priority Critical patent/CN111144900A/en
Publication of CN111144900A publication Critical patent/CN111144900A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys

Landscapes

  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention is suitable for the technical field of electronic locks, and provides a verification method of an electronic lock, wherein unique identity codes corresponding to dealers in different grades are stored in the electronic lock, and the method comprises the following steps: reading the unique identity code; acquiring a current identity code of a current dealer; judging whether the current identity code is the same as the unique identity code; and when the current identity code is different from the unique identity code, judging that the electronic lock is in the mixed state. The verification method of the electronic lock can efficiently verify whether the electronic lock has region goods mixing and override goods mixing, and is simple in scheme, convenient to implement, low in consumption and high in accuracy.

Description

Verification method of electronic lock, verification device and verification system
Technical Field
The invention belongs to the technical field of electronic locks, and particularly relates to a verification method, an electronic lock, a verification device and a verification system of an electronic lock.
Background
With the continuous development of science and technology, the door lock is not limited to the traditional form of opening the door by using a mechanical key, and intelligent locks are selected to be used in more and more places, such as communities, hotels, apartments, office buildings and the like. The electronic lock can avoid the trouble of people carrying keys, and does not need to worry about the influence on normal life caused by forgetting to carry keys or losing keys, and the unlocking process is more convenient and faster, so that the intelligence and convenience of people life are improved.
Generally, electronic locks are sold in fixed areas to avoid the circulation of electronic locks between different areas leading to a mix of goods. The serial goods is a marketing phenomenon that dealers, branch companies and the like at all levels are driven by benefits in the network distribution process, so that distributed products are sold across areas. The mixed goods may cause the price confusion of the product, which results in the conditions that other dealers lose confidence in the product, consumers lose confidence in the brand, and the like.
In the prior art, the electronic lock is internally provided with a positioning device to check and prevent goods from being mixed between different areas, so that price difference caused by goods circulation between different areas is avoided to a certain extent, the cost of installing the positioning device in each electronic lock is high, and the goods cannot be mixed more frequently among distributors of different grades in the same area.
Disclosure of Invention
The embodiment of the invention aims to provide an electronic lock verification method and an electronic lock, and aims to solve the problems of high consumption and low accuracy of the conventional electronic lock verification method.
The present invention is achieved as such, a verification method of an electronic lock storing unique identification codes corresponding to dealers of different ranks, the method including:
reading the unique identity code;
acquiring a current identity code of a current dealer;
judging whether the current identity code is the same as the unique identity code; and
and when the current identity code is the same as the unique identity code, judging that the electronic lock is in the mixed state.
The embodiment of the invention also provides the electronic lock, which comprises a storage area, wherein the storage area stores the unique identity codes of the dealers corresponding to different grades.
An embodiment of the present invention further provides a verification apparatus, where the verification apparatus is in communication connection with the electronic lock, the electronic lock includes a storage area, and the storage area stores unique identity codes corresponding to dealers of different grades, and the verification apparatus includes:
a reading module for reading the unique identity code;
the acquisition module is used for acquiring the current identity code of the current dealer;
the judging module is used for judging whether the current identity code is the same as the unique identity code or not; and
and the judging module is used for judging that the electronic lock has the mixed goods when the current identity code is the same as the unique identity code.
The embodiment of the invention also provides a verification system of the electronic lock, which comprises:
the electronic lock of the above embodiment; and
the verification device according to the above embodiment is connected to the electronic lock in communication.
The embodiment of the invention has the advantages that the unique identity codes corresponding to the dealers in different grades are stored in the electronic lock, and the current identity code of the current dealer is acquired by reading the unique identity code, so that whether the current identity code is the same as the unique identity code can be judged to judge whether the electronic lock has the goods bunching, the electronic lock can be effectively verified whether the electronic lock has the region goods bunching and the cross-grade goods bunching, the scheme is simple and easy, the implementation is convenient, the consumption is less, and the accuracy is higher.
Drawings
Fig. 1 is a schematic structural diagram of an authentication system of an electronic lock according to an embodiment of the present invention;
FIG. 2 is a flowchart of a verification method for an electronic lock according to an embodiment of the present invention;
fig. 3 and 4 are application scene diagrams of electronic lock serial merchandise provided by the embodiment of the invention
Fig. 5 to fig. 7 are schematic flow charts of the verification method according to the embodiment of the present invention;
fig. 8 to 11 are schematic structural views of an authentication apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram of an internal structure of a computer device according to an embodiment of the present invention.
Detailed Description
It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Generally, by providing a positioning device in an electronic lock, cross-shipment between different areas is checked and prevented, and although price difference caused by circulation of goods between different areas is avoided to some extent, it is costly to install a positioning device in each electronic lock, and cross-shipment between distributors of different grades in the same area cannot be prevented.
The embodiment of the invention stores the unique identity codes corresponding to the dealers in different grades in the electronic lock, and obtains the current identity code of the current dealer by reading the unique identity code, so that whether the current identity code is the same as the unique identity code can be judged to judge whether the electronic lock has the cross-serial goods, whether the electronic lock has the region cross-serial goods and the cross-grade cross-serial goods can be effectively verified, the scheme is simple, the implementation is convenient, the consumption is less, and the accuracy is higher.
Referring to fig. 1, the verification method of the electronic lock 120 is applied to the verification system 100 of the electronic lock 120. The authentication system 100 includes an authentication device 110, an electronic lock 120, and a server 130. The verification device 110 and the server 130 are connected through a network, the electronic lock 120 and the verification device 110 can be in communication connection in a wired or wireless mode through a serial port, a USB interface or other interfaces, and the verification device 110 can be used for reading the unique identity code of the dealer stored in the electronic lock 120; acquiring a current identity code of a current dealer; judging whether the current identity code is the same as the unique identity code; when the current identity code is the same as the unique identity code, it is determined that the electronic lock 120 is in a serial state, that is, the above-mentioned processing procedure of the verification method of the electronic lock 120 is executed in the verification apparatus 110.
The verification device 110 may specifically be a desktop terminal or a mobile terminal, where the mobile terminal is a smart phone, a tablet computer, a notebook computer, a smart wearable device, and the like, and the verification device 110 may be installed with a verification program for verifying the electronic lock 120, and the electronic lock is verified by running the verification program. The server 130 may be implemented as a stand-alone server 130 or as a server cluster of multiple servers 130.
Referring to fig. 1 and fig. 2, an example of using the verification device 110 to verify the electronic lock 120 is shown. The electronic lock 120 stores unique identification codes corresponding to dealers of different grades, and the verification method comprises the following steps:
s04: reading the unique identity code;
specifically, the unique identity code is code information representing the identity of the dealer, and the identity code has uniqueness, one identity code and only one identity code, so that the situation that a plurality of different identity codes are distributed to the dealer and the identity code is given to other people by the dealer to cause identity recognition errors is avoided; the unique identity code is stored in the electronic lock 120 and can be directly read from the electronic lock 120 through the verification device 110, the identity of the dealer can be determined through the unique identity code, the unique identity code read from the electronic lock 120 indicates that the electronic lock is sold by the dealer corresponding to the unique identity code, different unique identity codes represent dealers in different grades, different unique identity codes corresponding to dealers in different grades and different regions are set, acquisition, inquiry and management are facilitated, and therefore market price and order are maintained.
The electronic locks 120 are written with the pre-assigned unique identity codes corresponding to the dealers, the corresponding unique identity codes are stored in each electronic lock 120, and the picking channels of the electronic locks 120 can be inquired through the unique identity codes. The goods taking channels of dealers in different regions and different levels are pre-distributed, and specific distribution rules are customized according to requirements, for example, the dealer in the current level can only take goods from the dealer in the upper level directly, but can not take goods from the dealer in the higher level beyond the upper level, the goods of the dealer in the level can only be distributed to the dealer in the lower level directly, and can not be distributed to the dealer in the lower level directly or to the dealers in other same levels;
if the dealer grades are divided into a first grade and a second grade, the first grade can only take goods from the manufacturer, and the second grade can only take goods from the corresponding first grade and can not take goods from the manufacturer. If the dealers are classified into the first level and the corresponding second level in the area a, and the first level and the corresponding second level in the area B, the second-level dealers in the area a can only take goods to the first-level dealers in the area a, but cannot take goods to the first-level dealers and the second-level dealers in the area B. On the contrary, the second-level dealer in the area B can only take goods to the first-level dealer in the area B, but can not take goods to the first-level dealer and the second-level dealer in the area A;
illustratively, the unique identity code may be a 16-bit, 32-bit or 64-bit string, which may be composed of words, numbers, letters, symbols, combinations of words and others, combinations of numbers and letters, combinations of numbers and symbols, combinations of letters and symbols, pure number strings, pure letter strings, pure symbols, or the like. Preferably, in the embodiment of the present invention, a combination of letters and numbers is used to form the unique identity code, for example, the read unique identity code is a1111111 (total of 8 bits); in other embodiments, the unique identity code may also be a 111111111111111111 (total 16 bits).
In one embodiment, the unique identity code may also be encrypted, or the unique identity code itself may be encrypted information, to improve privacy and security.
S05: acquiring a current identity code of a current dealer;
specifically, the unique identity code of the dealer stored in the electronic lock 120 is the unique identity code of the dealer where the electronic lock 120 actually takes the goods, and if there is a serial goods, the current identity code of the current dealer actually corresponding to the electronic lock 120 is different from the unique identity code in the electronic lock 120; in one embodiment, the current dealer may carry an appliance having a storage function, such as an ID card, which stores the current identity code of the current dealer, and the current identity code in the ID card may be acquired by the authentication device 110; in yet another embodiment, the current identity code of the current dealer may also be entered directly on the verification device 110;
s06: judging whether the current identity code is the same as the unique identity code;
in the embodiment of the invention, the order mixing means: for example, a first-class dealer a and a second-class dealer B are stored in the electronic lock 120, and theoretically, the electronic lock is delivered to the first-class dealer a after being delivered from a manufacturer, and the second-class dealer B needs to take goods from the first-class dealer a. However, in practice, if a series of goods occurs, the electronic lock 120 may not be sent to the first-class dealer a after being shipped from the manufacturer, or may be sent to the first-class dealer a after being shipped from the manufacturer, but the second-class dealer B does not take goods from the first-class dealer a but takes goods from other dealers. This may cause the electronic lock 120 to be confused; if the goods are not mixed, the unique identity code stored in the electronic lock 120 is the same as the current identity code of the dealer actually corresponding to the electronic lock 120, and if the goods are mixed, the unique identity code is not the same as the current identity code.
In an embodiment, it may also be determined whether some preset conditions are met between the current identity code and the unique identity code, as a determination manner of the current identity code and the unique identity code, which is not limited herein.
S07: when the current identity code is different from the unique identity code, judging that the electronic latch is in serial goods;
in the embodiment of the present invention, if the current identity code is not the same as the unique identity code, it is determined that the electronic lock has a serial shipment, that is, the current dealer is different from the dealer corresponding to the unique identity code stored in the electronic lock 120; in one embodiment, if not, it indicates that the current identity code and the unique identity code do not satisfy the preset condition.
Referring to fig. 3 and 4, if the unique identification code obtained in the electronic lock of each dealer is different from the identification code of the current dealer, it is determined that there is a shipment.
Illustratively, if the unique identity code obtained at primary dealer a is non-primary code a, the unique identity code obtained at primary dealer B is non-primary code B, the unique identity code obtained at secondary dealer C is non-secondary code C, and the unique identity code obtained at secondary dealer D is non-secondary code D, then the presence of a shipment is verified.
Referring to fig. 3, for example, assume that the electronic lock has two sales areas: south China and north China. The south China area is provided with a first-level distributor A and a second-level distributor C corresponding to the first-level distributor A, the first-level distributor A is set to take goods from a manufacturer, a first-level code A is distributed in the electronic lock, the second-level distributor C is set to take goods from the first-level distributor A, and a second-level code C is distributed in the electronic lock; the China North district is provided with a first-level distributor B and a second-level distributor D corresponding to the first-level distributor B, wherein the first-level distributor B is set to take goods from a manufacturer, a first-level code B is distributed in the electronic lock, the second-level distributor D is set to take goods from the first-level distributor B, and a second-level code D is distributed in the electronic lock;
if the second-level distributor D in the North China does not take goods from the first-level distributor B belonging to the second-level distributor D, but takes goods from the first-level distributor A in the south China, the unique identity code in the batch of electronic locks is the first-level code A of the first-level distributor A, when a tester verifies the electronic lock in the second-level distributor D, the obtained unique identity code is the first-level code A of the first-level distributor A in the south China, but not the second-level code D of the second-level distributor D in the North China currently, namely the unique identity code is different from the current identity code, and the serial goods of the electronic lock between regions can be determined;
referring to fig. 4, if the secondary dealer C in huanan area does not take goods from the primary dealer a belonging thereto, but directly takes goods from the manufacturer, the unique identity code in the batch of electronic locks is the primary code X of a certain primary dealer X, when the tester verifies the electronic lock at the secondary dealer C, the obtained unique identity code is not the primary code a of the primary dealer a corresponding to the secondary dealer C, and if the unique identity code may be the primary code X of a certain primary dealer X, it is considered that the unique identity code is different from the current identity code, it can be determined that the electronic lock has cross-level serial goods;
further, referring to fig. 5, before step S04, the method for verifying further includes the steps of:
s01: establishing a database system, wherein the database system is used for storing dealer information;
s02: controlling the database system to distribute corresponding unique identity codes to dealers of different grades; and
s03: and writing the unique identity codes corresponding to the dealers in different grades into the electronic lock.
Specifically, a Database System (DBS) is a System with data storage and distribution functions and composed of a Database and management software thereof, the Database System can be stored in a server, or the Database System is an independent communicable System, or the Database System itself is a specific server, and the Database System is established through a verification device;
in one embodiment, the database system communicates with the electronic lock through a verification device, the verification device can be an intelligent device such as a smart phone, a tablet computer, a desktop computer, an intelligent wearable device and the like, the verification device is connected with the electronic lock (such as a USB (universal serial bus) and a serial port mode), and then the database system is accessed through an application program or a Web interface and the like, so that the unique identity code is written into the electronic lock; in the embodiment of the invention, the database system is used for storing dealer information, the dealer information is information used for describing dealers, wherein the dealer information includes but is not limited to information of levels, sales areas, administration areas, sales years and the like corresponding to the dealers, each dealer has a corresponding sales area, level, sales years and the like, and the dealer information can be obtained through a unique identity code corresponding to the dealer;
the database system is used for distributing a unique identity code to each distributor, if the distributor and the manufacturer establish a sale and supply relationship, the manufacturer randomly generates the unique identity code of the distributor through the database system and distributes the unique identity code to the distributor, the distributors in different grades generate and distribute different unique identity codes, and after the unique identity code is generated and distributed to the distributor, the unique identity code is written in the electronic lock, so that the distributor corresponds to the electronic lock, and the occurrence of serial goods is prevented.
Further, referring to fig. 6, step S02 includes the steps of:
s021: and generating a first account corresponding to the first user, wherein the first account has the first user permission.
S022: and logging in a first account on the database system, and distributing corresponding unique identity codes to dealers of different grades according to the first user authority.
Specifically, in the embodiment of the present invention, the first user is a manufacturer, the first account is a manufacturer account, the first account corresponding to the first user is generated in the database system, that is, the manufacturer account corresponding to the manufacturer is generated, the first user logs in the first account in the database system, and can assign corresponding unique identity codes to distributors of different levels according to the first user authority that the first user authority possesses, and the first user authority can also set a distributor account, authorize the authority that the distributor can possess, update distributor information, and the like through the database system, and the distributor accounts of different levels can be understood as users of different levels, for example, the first-level distributor is a second user, the second-level distributor is a third user, and the third-level distributor is a fourth user;
the dealer can log in the database system through the dealer account number to enter the sales area of the dealer, or the factory account number enters the sales area of each dealer, the factory can set the grade of each dealer through the factory account number logging in the database system, after the electronic lock determines the areas to be sold, the factory writes the unique identity code of the dealer sold to the area into the electronic lock through the factory account number logging in the database system, the number of the dealers in the same grade in each sales area can be multiple, only one can be provided, and the dealer of the next stage can take goods to any one of the dealers of the previous stage.
Further, referring to fig. 7, the distributors of different levels include a primary distributor and a secondary distributor, the unique identification code includes a primary code and a secondary code, and step S022 includes the steps of:
s0221: logging in a first account on a database system, and distributing a corresponding primary identity code to a primary dealer according to the first user authority; and
s0222: and logging in the first account in the database system, and distributing a corresponding secondary identity code to a secondary dealer according to the first user authority.
Specifically, in the embodiment of the present invention, the dealers are divided into two levels, namely, a first-level dealer and a second-level dealer, the first-level identification code of the first-level dealer and the second-level identification code of the second-level dealer are both distributed by a first user (manufacturer) logging in a first account (manufacturer account) in the database system and according to the first user authority, and when determining which area the electronic lock pin is to go to, the first-level identification code of the first-level dealer corresponding to the area to which the electronic lock pin is to be sold is written into the electronic lock, or the second-level identification code of the second-level dealer;
it can be understood that the first-level dealer is selected and determined by the manufacturer, the first-level dealer can be a plurality of first-level dealers, the manufacturer distributes a first-level identity code to the first-level dealers, the sales level of the first-level dealers is higher than that of the second-level dealers, the second-level dealers can be selected and determined by the first-level dealers, the number of second-level dealers can be a plurality of second-level dealers, the first-level dealers inform the manufacturer of the dealer information of the second-level dealers, and the manufacturer distributes; if the first-level dealer is a dealer of a certain region, the second-level dealer is a dealer of a region under the jurisdiction of the region, and if the first-level dealer is a dealer of a certain province, the second-level dealer can be a dealer of a certain city under the jurisdiction of the province.
In one embodiment, the dealers in different grades may further include a third-grade dealer, a fourth-grade dealer, a fifth-grade dealer and other dealers in more grades according to factors such as the size of different sales areas, and the unique identity code may include a third-grade identity code, a fourth-grade identity code, a fifth-grade identity code and the like; in yet another embodiment, the different levels of dealers may also include only one level of dealers to simplify the organizational architecture for electronic lock sales; the grading and number of the dealers in different grades are set according to the actual sales condition, and are not particularly limited herein.
In an embodiment of the present invention, in order to more clearly distinguish the grades of the primary dealer and the secondary dealer, different marks, such as different characters, letters, numbers, special symbols, and the like, may be set at the beginning of the primary identity code and the secondary identity code. For example, if the primary identity code assigned to the primary dealer is a1111111 (total 8 bits), and the secondary identity code assigned to the secondary dealer may be B1111111 (total 8 bits), the letters a and B are used as the distinguishing identifiers of the primary dealer and the secondary dealer, respectively; or, the beginning of the primary identity code of the primary dealer is 1, such as 1111111111111111 (total 16 bits), and the beginning of the secondary identity code of the secondary dealer is 2, such as 2222222222222222 (total 16 bits), and the numbers 1 and 2 are respectively used as the distinguishing identifiers of the primary dealer and the secondary dealer; if there are more low-ranked dealers, the unique identity code of the low-ranked dealer may begin with C, D, E, etc., or 3, 4, 5, etc., to improve the recognition between the dealers of different rankings.
In one embodiment of the present invention, the electronic lock includes a storage area, and after the step S03, the method includes the steps of:
the electronic lock is controlled to store the unique identity code in the storage area.
Specifically, the storage area is a nonvolatile memory which is arranged in the electronic lock, when the unique identity code is written into the electronic lock by entering a database system through a verification device, the storage area of the electronic lock can be selected for storage, and the unique identity code is stored in the storage area of the electronic lock, so that the data in the electronic lock is prevented from being disordered, and the query and the acquisition are facilitated; in one embodiment, the electronic lock may further be installed with a plurality of different function programs, and a user may run the different function programs on the electronic lock to use different functions of the electronic lock, where the function programs are all stored in the storage area, and the storage path of the electronic lock is unified.
Fig. 2, 5 to 7 are schematic flowcharts of a verification method of an electronic lock according to an embodiment of the present invention. It should be understood that, although the steps in the flowcharts of fig. 2, 5 to 7 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise.
Moreover, at least some of the steps in fig. 2, 5 through 7 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
Further, referring to fig. 8, the verification apparatus 110 includes:
a reading module 104 for reading the unique identity code;
an obtaining module 105, configured to obtain a current identity code of a current dealer;
a judging module 106, configured to judge whether the current identity code is the same as the unique identity code;
and the judging module 107 is used for judging that the electronic lock has the goods mixing when the current identity code is different from the unique identity code.
Further, referring to fig. 9, the verification apparatus 110 further includes:
the system comprises an establishing module 101, a data base system and a data processing module, wherein the establishing module is used for establishing the data base system which is used for storing dealer information;
the control module 102 is used for controlling the database system to distribute corresponding unique identity codes to dealers of different grades; and
and the writing module 103 is used for writing the unique identity codes of the dealers corresponding to different grades in the electronic lock.
Further, referring to fig. 10, the verification apparatus 110 further includes:
a generating module 108, configured to generate a first account corresponding to a first user, where the first account has a first user permission; and
the first allocating module 109 is configured to log in the first account in the database system, and allocate corresponding unique identity codes to distributors of different levels according to the first user authority.
Further, referring to fig. 11, the distributors of different levels include a primary distributor and a secondary distributor, the unique identification code includes a primary code and a secondary code, and the authentication apparatus 110 further includes:
the first sub-allocation module 111 is used for logging in a first account in the database system and allocating a corresponding primary identity code to a primary dealer according to the first user authority; and
the second sub-allocation module 112 is configured to log in the first account in the database system, and allocate a corresponding secondary identity code to the secondary dealer according to the first user permission.
Still further, the electronic lock includes a storage area, and the electronic lock further includes:
and the storage module is used for controlling the electronic lock to store the unique identity code into the storage area.
Referring to fig. 12, the computer device may be specifically the verification apparatus 110 in fig. 1. The computer equipment comprises a processor, a memory, a network interface, an input device and a display screen which are connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by the processor, causes the processor to implement a method of verifying an electronic lock. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform a method of verifying an electronic lock. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the inventive arrangements and is not intended to limit the computing devices to which the inventive arrangements may be applied, as a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the electronic lock provided by the present invention may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 12. The memory of the computer device may store various program modules constituting the electronic lock, such as the reading module 104, the obtaining module 105, the judging module 106 and the judging module 107 shown in fig. 8. The computer program constituted by the respective program modules causes the processor to execute the steps in the authentication method of the electronic lock of the respective embodiments of the present invention described in this specification.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: reading the unique identity code; acquiring a current identity code of a current dealer; judging whether the current identity code is the same as the unique identity code; if not, the electronic lock is judged to be in the form of serial goods.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory.
Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of authenticating an electronic lock storing unique identification codes corresponding to different levels of dealers, the method comprising:
reading the unique identity code;
acquiring a current identity code of a current dealer;
judging whether the current identity code is the same as the unique identity code; and
and when the current identity code is different from the unique identity code, judging that the electronic lock is in stock mixing.
2. The method of claim 1, prior to said reading said unique identity code, comprising:
establishing a database system, wherein the database system is used for storing dealer information;
controlling the database system to distribute the corresponding unique identity codes to dealers of different levels; and
and writing the unique identity codes corresponding to dealers of different grades into the electronic lock.
3. The method of claim 2, wherein said controlling the database system to assign corresponding unique identity codes to different tiers of dealers comprises:
generating a first account corresponding to a first user, wherein the first account has first user permission; and
and logging in the first account in the database system, and distributing the corresponding unique identity codes to dealers of different levels according to the first user permission.
4. The method of claim 3, wherein the different levels of distributors comprise primary distributors and secondary distributors, wherein the unique identity codes comprise primary codes and secondary codes, and wherein assigning the corresponding unique identity codes to the different levels of distributors in accordance with the first user authority comprises:
distributing the corresponding primary identity code to the primary dealer according to the first user permission; and
and distributing the corresponding secondary identity code to the secondary dealer according to the first user permission.
5. The method of claim 2, wherein the electronic lock includes a storage area, and wherein after the electronic lock writes the unique identity code corresponding to a different tier of dealers, comprising:
controlling the electronic lock to store the unique identity code to the storage area.
6. An electronic lock, characterized in that it comprises a memory area in which are stored unique identity codes corresponding to different classes of distributors.
7. An authentication device for an electronic lock, the authentication device being communicatively coupled to the electronic lock, the electronic lock including a storage area having stored therein unique identification codes corresponding to different levels of dealers, the authentication device comprising:
a reading module for reading the unique identity code;
the acquisition module is used for acquiring the current identity code of the current dealer;
the judging module is used for judging whether the current identity code is the same as the unique identity code or not; and
and the judging module is used for judging that the electronic lock has goods mixing when the current identity code is different from the unique identity code.
8. The authentication apparatus of claim 7, further comprising:
the system comprises an establishing module, a storage module and a display module, wherein the establishing module is used for establishing a database system which is used for storing dealer information;
the control module is used for controlling the database system to distribute the corresponding unique identity codes to dealers in different grades; and
and the writing module is used for writing the unique identity codes corresponding to the dealers in different grades into the electronic lock.
9. The authentication apparatus of claim 8, further comprising:
the generation module is used for generating a first account corresponding to a first user, and the first account has first user permission; and
and the first distribution module is used for logging in the first account in the database system and distributing the corresponding unique identity codes to dealers in different grades according to the first user permission.
10. An authentication system for an electronic lock, comprising:
the electronic lock of claim 6; and
an authentication device according to claims 7 to 9, the authentication device being communicatively connected to the electronic lock.
CN201911248829.2A 2019-12-09 2019-12-09 Verification method of electronic lock, verification device and verification system Pending CN111144900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911248829.2A CN111144900A (en) 2019-12-09 2019-12-09 Verification method of electronic lock, verification device and verification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911248829.2A CN111144900A (en) 2019-12-09 2019-12-09 Verification method of electronic lock, verification device and verification system

Publications (1)

Publication Number Publication Date
CN111144900A true CN111144900A (en) 2020-05-12

Family

ID=70518035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911248829.2A Pending CN111144900A (en) 2019-12-09 2019-12-09 Verification method of electronic lock, verification device and verification system

Country Status (1)

Country Link
CN (1) CN111144900A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100280955A1 (en) * 2009-04-30 2010-11-04 General Electric Company Systems and methods for verifying identity
CN102054249A (en) * 2009-11-09 2011-05-11 中国移动通信集团公司 Method and device for identifying channel conflict
US20120158549A1 (en) * 2010-12-15 2012-06-21 Align Research Llc Computerized Methods To Facilitate Selective Communications Between And Among Motor Vehicle Purchasers, Dealers, And Salespeople
CN104809616A (en) * 2014-01-23 2015-07-29 珠海格力电器股份有限公司 Method and system for preventing selling beyond agreed areas
CN106067121A (en) * 2016-06-15 2016-11-02 华中科技大学 A kind of product off-line false distinguishing method based on NFC technique
CN108763968A (en) * 2018-06-06 2018-11-06 广东紫薇星实业有限公司 A kind of electronic equipment containing firmware prevents the fuselage code configuration method of string goods
CN108764942A (en) * 2018-05-24 2018-11-06 陈俊华 A kind of Transaction Information returns control method for anti-counterfeit and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100280955A1 (en) * 2009-04-30 2010-11-04 General Electric Company Systems and methods for verifying identity
CN102054249A (en) * 2009-11-09 2011-05-11 中国移动通信集团公司 Method and device for identifying channel conflict
US20120158549A1 (en) * 2010-12-15 2012-06-21 Align Research Llc Computerized Methods To Facilitate Selective Communications Between And Among Motor Vehicle Purchasers, Dealers, And Salespeople
CN104809616A (en) * 2014-01-23 2015-07-29 珠海格力电器股份有限公司 Method and system for preventing selling beyond agreed areas
CN106067121A (en) * 2016-06-15 2016-11-02 华中科技大学 A kind of product off-line false distinguishing method based on NFC technique
CN108764942A (en) * 2018-05-24 2018-11-06 陈俊华 A kind of Transaction Information returns control method for anti-counterfeit and system
CN108763968A (en) * 2018-06-06 2018-11-06 广东紫薇星实业有限公司 A kind of electronic equipment containing firmware prevents the fuselage code configuration method of string goods

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王勇: "彩电防窜货系统研究", 《电视技术》, vol. 35, no. 01, 31 December 2011 (2011-12-31), pages 54 - 56 *
真虹 等: "《物流企业仓储管理与实务》", 中国财富出版社, pages: 239 - 241 *

Similar Documents

Publication Publication Date Title
CN110620810B (en) Non-linked ownership of continuous asset transfer over blockchain
WO2020144008A2 (en) Methods and systems for preparing and performing an object authentication
CN103870742A (en) Self-authenticating chip
CN104050401A (en) User permission management method and system
CN103023921A (en) Authentication and access method and authentication system
CN110751303A (en) Intelligent device full life cycle monitoring and inquiring system based on cloud computing
CN110955699B (en) Decentralized electronic academic certificate checking method and system
CN115499210A (en) Identification-based industrial internet data dynamic access control method and platform
CN111144900A (en) Verification method of electronic lock, verification device and verification system
CN110909388B (en) Decentralized electronic calendar management system and method
US11949779B2 (en) Method and apparatus for registering shared key
CN109495246B (en) Method for verifying federated link node
CN101807185B (en) Method for providing user-defined access control mode in file system
US20190325412A1 (en) Maintaining Secure Access to a Self-Service Terminal (SST)
CN110445765A (en) Data sharing method, terminal device and medium based on block chain
CN108228691B (en) Processing method of data elements in government information management
CN113407626B (en) Planning management and control method based on blockchain, storage medium and terminal equipment
CN106095409A (en) The device and method that a kind of data map
RU2322692C1 (en) Method for identification and accounting of movement of marked objects and informational system for realization of the method
CN114037576A (en) System and method for allocating academic resources
CN109064017B (en) Target cost management and control system and method thereof
CN111200638A (en) Distributed memory blockchain system
CN116010376B (en) Main data modeling method based on inheritance strategy
JP2019125147A (en) Control unit, and method and program for writing data
EP3375751A1 (en) System and method for duplicating lock-opening elements

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

Application publication date: 20200512