CN109686002A - Expansible electronic locker device based on uCOS operating system - Google Patents

Expansible electronic locker device based on uCOS operating system Download PDF

Info

Publication number
CN109686002A
CN109686002A CN201811516207.9A CN201811516207A CN109686002A CN 109686002 A CN109686002 A CN 109686002A CN 201811516207 A CN201811516207 A CN 201811516207A CN 109686002 A CN109686002 A CN 109686002A
Authority
CN
China
Prior art keywords
module
operating system
cabinet door
task
cabinet
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
CN201811516207.9A
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.)
Tianjin Jinhang Institute of Technical Physics
Original Assignee
Tianjin Jinhang Institute of Technical Physics
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 Tianjin Jinhang Institute of Technical Physics filed Critical Tianjin Jinhang Institute of Technical Physics
Priority to CN201811516207.9A priority Critical patent/CN109686002A/en
Publication of CN109686002A publication Critical patent/CN109686002A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property
    • G07F17/12Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned
    • 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
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention belongs to storage cabinet device technical fields, and in particular to a kind of expansible electronic locker device based on uCOS operating system.The core processing plate of apparatus of the present invention uses uCOS operating system, and stability is strong, security performance is high, real-time is good, and the Function Extension in later period only increases corresponding task, and software reuse is high, and product development cycle and research and development cost is greatly shortened.Using core processing plate and expansion board form, the corresponding one group of cabinet of an expansion board only need to increase expansion board, can spread cabinet group, at low cost, stability is good.

Description

Expansible electronic locker device based on uCOS operating system
Technical field
The invention belongs to storage cabinet device technical fields, and in particular to a kind of expansible electronics based on uCOS operating system Storage cabinet device.
Background technique
Currently, the software systems of electronic locker control generally use back-fore ground system, that is, run the naked of a main program The electronic locker program structure of machine program, such framework is complicated, and stability is poor, and real-time is not strong, and later development new function is past Toward needing to develop again, causes development efficiency low, increase development cost and development time.
Electronic locker in the prior art can not spread combination or extension higher cost, and traditional use key Though the locker of spoon authentication spread but can lack safety, while information monitoring record can not be carried out.
Summary of the invention
(1) technical problems to be solved
The technical problem to be solved by the present invention is how to provide a kind of expansible electronics storage based on uCOS operating system Object cabinet device realizes simple structure, stability strong real-time, advantageous so as to the software systems based on uCOS operating system In later period Function Extension.
(2) technical solution
To solve prior art problem, the present invention provides a kind of expansible electronic locker dress based on uCOS operating system It sets, described device includes: core processing plate and expansion board;
The core processing plate includes core processor unit, core processor unit respectively with identification input module, outer Portion's memory module, network communication module, command output module are connected;
The expansion board includes extensible processor module, instruction input module and cabinet door drive module.
Wherein, the core processor unit use 32 MCU, built-in uCOS real time operating system and run in real time The LWIP protocol stack for network communication on operating system.
Wherein, the core processor unit will correspond to identification input module, the outer memory module, network communication of hardware Module, command output module be divided into corresponding task input message, retrieval task, output task, network monitoring task, Information task is updated, uCOS is coordinated and synchronous various tasks by semaphore and message queue.
Wherein, the extensible processor module uses FPGA, FPGA to parse in bus at core by instruction input module The instruction for opening certain cabinet group cabinet door that reason plate is sent then sends signal to corresponding cabinet door drive module if this cabinet group information, Open cabinet door.
Wherein, in the course of work, RFID or the identification of fingerprint collecting sensor acquisition are passed through by identification input module Information is stored in correspondence memory.
Wherein, when extensible processor module executes retrieval task, identity identification information is read by correspondence memory, and Corresponding cabinet group cabinet door information is retrieved using respective algorithms, if corresponding cabinet group cabinet door information exists, generates and opens cabinet door instruction, Output task obtains cabinet group cabinet door number and opens cabinet door instruction and driving instruction output module, and network monitoring task obtains cabinet group cabinet Door information simultaneously drives network communication module, uploads the monitoring of cabinet group cabinet door information realization by TCP/IP;Network monitoring task also connects Identity identification information and corresponding cabinet group cabinet door information after receipts are increased newly or changed, identity after update information task will be increased newly or be changed Identification information and corresponding cabinet group cabinet door information update are into outer memory module.
(3) beneficial effect
The core processing plate of apparatus of the present invention uses uCOS operating system, and stability is strong, security performance is high, real-time is good, The Function Extension in later period only increases corresponding task, and software reuse is high, be greatly shortened product development cycle and research and development at This.Using core processing plate and expansion board form, the corresponding one group of cabinet of an expansion board only need to increase expansion board, can freely expand Showcase group, at low cost, stability is good.
Detailed description of the invention
Fig. 1 is storage cabinet device functional-block diagram of the present invention.
Specific embodiment
To keep the purpose of the present invention, content and advantage clearer, with reference to the accompanying drawings and examples, to of the invention Specific embodiment is described in further detail.
To solve prior art problem, the present invention provides a kind of expansible electronic locker dress based on uCOS operating system It sets, described device includes: core processing plate and expansion board;
The core processing plate includes core processor unit, core processor unit respectively with identification input module, outer Portion's memory module, network communication module, command output module are connected;
The expansion board includes extensible processor module, instruction input module and cabinet door drive module.
Wherein, the core processor unit use 32 MCU, built-in uCOS real time operating system and run in real time The LWIP protocol stack for network communication on operating system.
Wherein, the core processor unit will correspond to identification input module, the outer memory module, network communication of hardware Module, command output module be divided into corresponding task input message, retrieval task, output task, network monitoring task, Information task is updated, uCOS is coordinated and synchronous various tasks by semaphore and message queue.
Wherein, the extensible processor module uses low performance low-cost FPGA, and FPGA is parsed by instruction input module The instruction for opening certain cabinet group cabinet door that core processing board is sent in bus then drives to corresponding cabinet door if this cabinet group information Module sends signal, opens cabinet door.
Wherein, in the course of work, RFID or the identification of fingerprint collecting sensor acquisition are passed through by identification input module Information is stored in correspondence memory.
Wherein, when extensible processor module executes retrieval task, identity identification information is read by correspondence memory, and Opening cabinet door is generated if corresponding cabinet group cabinet door information exists using the corresponding cabinet group cabinet door information of respective algorithms quick-searching Instruction, output task obtain cabinet group cabinet door number and open cabinet door instruction and driving instruction output module, and network monitoring task obtains Cabinet group cabinet door information simultaneously drives network communication module, uploads the monitoring of cabinet group cabinet door information realization by TCP/IP;Network monitoring is appointed Business also receives identity identification information and corresponding cabinet group cabinet door information after newly-increased or change, and updating information task will newly-increased or change Identity identification information and corresponding cabinet group cabinet door information update are into outer memory module afterwards.
Embodiment 1
The present embodiment is as shown in Figure 1, core processing plate includes that STM32F407 microprocessor, outer memory module include Flash and SRAM, command output module Max485, network communication module include RMII interface DP8848 and RJ45 interface, Identify that input module is the RFID of 26 Wiegand protocols.Expansion board includes EP3C25 low-cost FPGA, and instruction input module is Max485, cabinet door drive module.Extension locker can be freely combined in expansion board.
The above-mentioned storage cabinet device working method based on uCOS real time operating system: after core processing plate powers on, first into Row system clock, memory interrupt configuration initialization, then initialize all system hardwares and self-test, store in reading FLASH Identity identification information and cabinet group cabinet door number initialize uCOS into external SRAM, initialize LWIP protocol stack, information is respectively created Incoming task, output task, network monitoring task, updates information task and creation for leading between task at retrieval task The message queue and semaphore of letter finally start uCOS multitask system.
Task input message obtains identity identification information by the RFID in identification parsing input module and is stored in corresponding It deposits, retrieval task reads identity identification information by correspondence memory, and is quickly examined in external SRAM using respective algorithms The corresponding cabinet group cabinet door information of rope generates if corresponding cabinet group cabinet door information exists and opens cabinet door instruction, exports task for cabinet group Cabinet door number and opening cabinet door instruction pass through after being packaged to be dealt into RS485 bus outside command output module, the acquisition of network monitoring task Network communication module is driven to upload to host computer to realize information monitoring by ICP/IP protocol cabinet group cabinet door information.Network prison Task is listened also to receive the newly-increased or change identity identification information and correspond to cabinet group cabinet door that host computer is sent by ICP/IP protocol Information, update information task will after newly-increased or change identity identification information and corresponding cabinet group cabinet door information update to external In FLASH and SRAM.
Expansion board EP3C25 parses the opening cabinet group that core processing board is sent in RS485 bus by instruction input module Cabinet door instruction then sends signal to I/O corresponding with the cabinet door if this cabinet group information, and cabinet is opened in circuit driven by electromagnetic means movement Door.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformations can also be made, these improvement and deformations Also it should be regarded as protection scope of the present invention.

Claims (10)

1. a kind of expansible electronic locker device based on uCOS operating system, which is characterized in that described device includes: core Processing board and expansion board;
The core processing plate includes core processor unit, and core processor unit is deposited with identification input module, outside respectively Module, network communication module, command output module is stored up to be connected;
The expansion board includes extensible processor module, instruction input module and cabinet door drive module.
2. the expansible electronic locker device based on uCOS operating system as described in claim 1, which is characterized in that described Core processor unit uses 32 MCU, built-in uCOS real time operating system and runs on use on real time operating system In the LWIP protocol stack of network communication.
3. the expansible electronic locker device based on uCOS operating system as claimed in claim 2, which is characterized in that described Core processor unit will correspond to identification input module, outer memory module, the network communication module, command output module of hardware It is divided into corresponding task input message, retrieval task, output task, network monitoring task, updates information task, uCOS Coordinated by semaphore and message queue and synchronous various tasks.
4. the expansible electronic locker device based on uCOS operating system as claimed in claim 3, which is characterized in that described Extensible processor module uses FPGA, FPGA to parse the opening cabinet that core processing board is sent in bus by instruction input module The instruction of group cabinet door then sends signal to corresponding cabinet door drive module if this cabinet group information, opens cabinet door.
5. the expansible electronic locker device based on uCOS operating system as claimed in claim 4, which is characterized in that work In the process, correspondence memory is stored in by the identity identification information that RFID or fingerprint collecting sensor obtain by identification input module.
6. the expansible electronic locker device based on uCOS operating system as claimed in claim 5, which is characterized in that extension When processor module executes retrieval task, identity identification information is read by correspondence memory, and retrieve using respective algorithms Corresponding cabinet group cabinet door information generates if corresponding cabinet group cabinet door information exists and opens cabinet door instruction, and output task obtains cabinet group Cabinet door number and the instruction of opening cabinet door and driving instruction output module, network monitoring task acquisition cabinet group cabinet door information simultaneously drive network Communication module uploads the monitoring of cabinet group cabinet door information realization by TCP/IP;Network monitoring task also receives body after newly-increased or change Part identification information and corresponding cabinet group cabinet door information, updating information task will identity identification information and corresponding after newly-increased or change Cabinet group cabinet door information update is into outer memory module.
7. the expansible electronic locker device based on uCOS operating system as described in claim 1, which is characterized in that described Core processing plate includes STM32F407 microprocessor.
8. the expansible electronic locker device based on uCOS operating system as described in claim 1, which is characterized in that described Outer memory module includes Flash and SRAM.
9. the expansible electronic locker device based on uCOS operating system as described in claim 1, which is characterized in that described Command output module is Max485.
10. the expansible electronic locker device based on uCOS operating system as described in claim 1, which is characterized in that institute State DP8848 the and RJ45 interface that network communication module includes RMII interface, the RFID that identification input module is 26 Wiegand protocols. Expansion board includes EP3C25 low-cost FPGA, instruction input module Max485, cabinet door drive module.
CN201811516207.9A 2018-12-12 2018-12-12 Expansible electronic locker device based on uCOS operating system Pending CN109686002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811516207.9A CN109686002A (en) 2018-12-12 2018-12-12 Expansible electronic locker device based on uCOS operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811516207.9A CN109686002A (en) 2018-12-12 2018-12-12 Expansible electronic locker device based on uCOS operating system

Publications (1)

Publication Number Publication Date
CN109686002A true CN109686002A (en) 2019-04-26

Family

ID=66186527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811516207.9A Pending CN109686002A (en) 2018-12-12 2018-12-12 Expansible electronic locker device based on uCOS operating system

Country Status (1)

Country Link
CN (1) CN109686002A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662375A (en) * 2012-05-14 2012-09-12 胡飞虎 Expandable electronic storage cabinet system and method based on system
CN202615486U (en) * 2012-05-30 2012-12-19 深圳市卡联科技有限公司 Bus toll collector
CN105184540A (en) * 2015-10-10 2015-12-23 北京永嘉天意文化传媒有限公司 Intelligent express delivery cabinet system control method
CN205039851U (en) * 2015-10-10 2016-02-17 北京永嘉天意文化传媒有限公司 Intelligence express delivery cabinet control system
CN205375687U (en) * 2015-12-23 2016-07-06 广东机电职业技术学院 Self -service express delivery cabinet of intelligence and system based on android system
CN106297046A (en) * 2015-06-12 2017-01-04 广州宝物达网络科技有限公司 The control system of express delivery cabinet
CN205942924U (en) * 2016-07-18 2017-02-08 中国计量大学 Take fingerprint collection's theftproof locker device
US20180195335A1 (en) * 2016-07-28 2018-07-12 Farrish B. Sullivan Atm/vending machine armor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662375A (en) * 2012-05-14 2012-09-12 胡飞虎 Expandable electronic storage cabinet system and method based on system
CN202615486U (en) * 2012-05-30 2012-12-19 深圳市卡联科技有限公司 Bus toll collector
CN106297046A (en) * 2015-06-12 2017-01-04 广州宝物达网络科技有限公司 The control system of express delivery cabinet
CN105184540A (en) * 2015-10-10 2015-12-23 北京永嘉天意文化传媒有限公司 Intelligent express delivery cabinet system control method
CN205039851U (en) * 2015-10-10 2016-02-17 北京永嘉天意文化传媒有限公司 Intelligence express delivery cabinet control system
CN205375687U (en) * 2015-12-23 2016-07-06 广东机电职业技术学院 Self -service express delivery cabinet of intelligence and system based on android system
CN205942924U (en) * 2016-07-18 2017-02-08 中国计量大学 Take fingerprint collection's theftproof locker device
US20180195335A1 (en) * 2016-07-28 2018-07-12 Farrish B. Sullivan Atm/vending machine armor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何世添: "基于STM32和uCOS-III的智能家居控制系统设计", 《轻工科技》 *

Similar Documents

Publication Publication Date Title
CN204463028U (en) A kind of identification apparatus with infrared arousal function
CN104157057A (en) Kylin operation system-based bullet egress and ingress automated management system
CN101986351A (en) Networking type access control device and method based on biometric identification technology
CN102434478A (en) Remote intelligent control system and control method for fan
Lin-Ying et al. Improved design of vehicle management system based on RFID
CN201196804Y (en) Fingerprint gate-control integration machine system
CN104865870A (en) Intelligent iris recognition gun locker control system
CN106685685A (en) Method and system for monitoring performance of exchange boards across safety subareas
CN107040405A (en) Passive type various dimensions main frame Fingerprint Model construction method and its device under network environment
CN204010161U (en) Self-service transmitting-receiving clothes cabinet
CN206711119U (en) A kind of double-frequency reader-writer for escort box electronization handing-over
US20160321477A1 (en) Method for communication using a reader of passive rfid tags operating in backscattering mode
CN107967731A (en) Door-locking system based on two-dimensional code scanning unlock
CN109686002A (en) Expansible electronic locker device based on uCOS operating system
CN106910047A (en) A kind of efficient attendance checking system of intelligent timing
CN204557143U (en) A kind of intelligent iris recognition rifle cabinet control system
CN109783314A (en) Information technoloy equipment method for managing and monitoring and server
CN107526314A (en) A kind of building intelligent storage cabinet based on Internet of Things
CN104065934B (en) A kind of monitoring device and its monitoring method of mobile object
CN113192251B (en) Method for realizing identity recognition of multiple biological characteristics capable of being configured on line
CN203299913U (en) System-on-a-programmable-chip (SOPC) technology based multi-biometric recognition networked access control device
CN208027439U (en) The face recognition access control system of cross-certification
CN112258698A (en) Non-inductive door opening system based on face recognition and control method thereof
CN206711121U (en) A kind of online roll calling system of museum's cultural relics in the collection of cultural institution
CN201924695U (en) Intelligent turning wheel coded lock management device for bank automatic teller machine (ATM) and treasury door

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190426