TWM610572U - System powered by mobile device to unlock intelligent parcel locker - Google Patents

System powered by mobile device to unlock intelligent parcel locker Download PDF

Info

Publication number
TWM610572U
TWM610572U TW110200015U TW110200015U TWM610572U TW M610572 U TWM610572 U TW M610572U TW 110200015 U TW110200015 U TW 110200015U TW 110200015 U TW110200015 U TW 110200015U TW M610572 U TWM610572 U TW M610572U
Authority
TW
Taiwan
Prior art keywords
smart
mobile device
verification code
counter
identification code
Prior art date
Application number
TW110200015U
Other languages
Chinese (zh)
Inventor
張凱傑
Original Assignee
張凱傑
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 張凱傑 filed Critical 張凱傑
Priority to TW110200015U priority Critical patent/TWM610572U/en
Publication of TWM610572U publication Critical patent/TWM610572U/en

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

一種以行動裝置供電並解鎖智取櫃之系統,透過伺服器選擇欲使用的智取櫃,並且執行加密演算法以根據選擇的智取櫃的櫃位識別碼產生第一驗證碼,以及將第一驗證碼傳送至使用者的行動裝置,當電源裝置或行動裝置為選擇的智取櫃供電時,使智取櫃執行相同的加密演算法以根據自身的櫃位識別碼產生第二驗證碼,並且在第一驗證碼與第二驗證碼相同時,控制電子鎖成為開鎖狀態,用以達到提高智取櫃的可用性及設置便利性之技術功效。A system that uses a mobile device to supply power and unlock the smart locker, select the smart locker to be used through the server, and execute the encryption algorithm to generate the first verification code based on the counter identification code of the selected smart locker, and the A verification code is sent to the user’s mobile device. When the power supply or mobile device supplies power to the selected smart cabinet, the smart cabinet executes the same encryption algorithm to generate a second verification code based on its own counter identification code. And when the first verification code is the same as the second verification code, the electronic lock is controlled to be in an unlocked state, so as to achieve the technical effect of improving the usability of the smart cabinet and the convenience of setting.

Description

以行動裝置供電並解鎖智取櫃之系統Power on your mobile device and unlock the smart locker system

本創作涉及一種開啟智取櫃之系統,特別是以行動裝置供電並解鎖智取櫃之系統。This creation relates to a system for opening the smart locker, especially a system that uses a mobile device to supply power and unlock the smart locker.

近年來,隨著物流產業的普及與蓬勃發展,如何便利地寄貨與收貨便成為各家廠商亟欲解決的問題之一,而為了解決此問題,各種電子置物櫃便如雨後春筍般湧現。In recent years, with the popularization and vigorous development of the logistics industry, how to conveniently send and receive goods has become one of the problems that manufacturers urgently want to solve. In order to solve this problem, various electronic lockers have sprung up.

一般而言,傳統的電子置物櫃需要設置在能夠提供電源的地點,例如:加油站、捷運站、便利商店等等。然而,並非所有地點都能夠提供電源,也並非所有能夠提供電源的地點都願意提供電源,所以導致設置地點受到非常大的侷限。另外,即便能夠提供電源,如何分攤電費也是另一個惱人的問題,故具有電子置物櫃的可用性及設置便利性不佳之問題。Generally speaking, traditional electronic lockers need to be installed in locations that can provide power, such as gas stations, MRT stations, convenience stores, and so on. However, not all locations can provide power, and not all locations that can provide power are willing to provide power, so the installation location is very limited. In addition, even if the power supply can be provided, how to share the electricity bill is another annoying problem, so there is the problem of the usability and installation convenience of the electronic locker.

有鑑於此,便有廠商提出具備電池的電子置物櫃的技術手段,其透過電池提供電子置物櫃所需電源。不過,此方式仍然需要定期更換電池或充電,才能確保電子置物櫃的供電無虞,故仍然無法有效解決電子置物櫃的可用性及設置便利性不佳之問題。In view of this, some manufacturers have proposed a technical method for an electronic locker equipped with a battery, which provides the power required for the electronic locker through the battery. However, this method still requires regular battery replacement or charging to ensure the power supply of the electronic locker. Therefore, it still cannot effectively solve the problems of the usability and installation convenience of the electronic locker.

綜上所述,可知先前技術中長期以來一直存在電子置物櫃的可用性及設置便利性不佳之問題,因此實有必要提出改進的技術手段,來解決此一問題。To sum up, it can be seen that the prior art has always had the problem of poor usability and installation convenience of the electronic locker for a long time. Therefore, it is necessary to propose improved technical means to solve this problem.

本創作揭露一種以行動裝置供電並解鎖智取櫃之系統。This creation reveals a system that uses mobile devices to power and unlock smart lockers.

首先,本創作揭露一種以行動裝置供電並解鎖智取櫃之系統,此系統包含:智取櫃及伺服器。在智取櫃的部分,每一智取櫃均設置相同的加密演算法,並且具有櫃位識別碼、連接埠及電子鎖,此電子鎖在斷電時自動成為上鎖狀態,每一智取櫃均包含:連接模組、生成模組、控制模組及重置模組。其中,連接模組用以在電源裝置或行動裝置通過連接線電性連接至連接埠時,由電源裝置或行動裝置通過此連接線為智取櫃供應電源;生成模組電性連接所述連接模組,用以在智取櫃獲得電源後,執行加密演算法以對第二參數訊息進行運算生成相應的第二驗證碼,並且將生成的第二驗證碼儲存至揮發性記憶體(Volatile Memory),其中,第二參數訊息包含智取櫃自身的櫃位識別碼;控制模組電性連接生成模組,用以自行動裝置接收第一驗證碼以與第二驗證碼進行比對,當比對相符時,產生控制信號以控制電子鎖從上鎖狀態成為開鎖狀態;以及重置模組電性連接所述連接模組,用以在行動裝置與智取櫃中斷電性連接後,使儲存在揮發性記憶體的第二驗證碼消失,以及使電子鎖自動成為上鎖狀態,同時行動裝置在偵測到中斷電性連接時,自動刪除接收到的第一驗證碼。First of all, this creation discloses a system that uses a mobile device to power and unlock the smart locker. This system includes: the smart locker and the server. In the part of the smart take cabinet, each smart take cabinet is equipped with the same encryption algorithm, and has a counter identification code, a connection port and an electronic lock. This electronic lock will automatically become a locked state when the power is turned off. The cabinets all include: connection module, generation module, control module and reset module. Wherein, the connection module is used for when the power supply device or the mobile device is electrically connected to the connection port through the connection line, the power supply device or the mobile device supplies power to the smart cabinet through the connection line; the generation module is electrically connected to the connection The module is used to execute the encryption algorithm to calculate the second parameter message to generate the corresponding second verification code after the smart cabinet gets the power, and store the generated second verification code in the Volatile Memory (Volatile Memory). ), where the second parameter message includes the counter identification code of the smart cabinet itself; the control module is electrically connected to the generating module for receiving the first verification code from the mobile device for comparison with the second verification code. When the comparison matches, a control signal is generated to control the electronic lock from the locked state to the unlocked state; and the reset module is electrically connected to the connection module for after the mobile device and the smart cabinet are disconnected from the electrical connection, The second verification code stored in the volatile memory is disappeared, and the electronic lock is automatically turned into a locked state. At the same time, the mobile device automatically deletes the received first verification code when it detects that the electrical connection is interrupted.

接著,在伺服器的部分,其設置與所述智取櫃相同的加密演算法,此伺服器包含:記錄模組、選擇模組及執行模組。其中,記錄模組用以記錄使用者訊息;選擇模組連接記錄模組,用以根據使用者訊息,在所述智取櫃中選擇其中之一以通知使用者前往操作,並且記錄選擇的智取櫃的櫃位識別碼;以及執行模組連接選擇模組,用以執行加密演算法以對第一參數訊息進行運算生成相應的第一驗證碼,再根據使用者訊息將產生的第一驗證碼傳送至使用者的行動裝置,其中,第一參數訊息包含選擇的智取櫃的櫃位識別碼。Then, in the part of the server, the same encryption algorithm as the smart locker is set. This server includes: a recording module, a selection module, and an execution module. Among them, the recording module is used to record user information; the selection module is connected to the recording module to select one of the smart lockers to notify the user of the operation according to the user information, and to record the selected smart Take the counter identification code of the counter; and the execution module connection selection module, which is used to execute the encryption algorithm to calculate the first parameter message to generate the corresponding first verification code, and then generate the first verification based on the user message The code is sent to the user’s mobile device, where the first parameter message includes the counter identification code of the selected smart counter.

除此之外,本創作還揭露一種以行動裝置供電並解鎖智取櫃之系統,此系統包含:智取櫃及伺服器。在智取櫃的部分,每一智取櫃均設置相同的加密演算法,並且具有非揮發性記憶體(Non-Volatile Memory,  NVM)、連接埠及電子鎖,所述非揮發性記憶體儲存智取櫃的櫃位識別碼及前一使用者識別碼,以及所述電子鎖在斷電時自動成為上鎖狀態,每一智取櫃包含:連接模組、生成模組及控制模組。其中,連接模組用以在電源裝置或行動裝置通過連接線電性連接至連接埠時,由電源裝置或行動裝置通過此連接線為智取櫃供應電源;生成模組電性連接所述連接模組,用以在智取櫃獲得電源後,智取櫃自非揮發性記憶體載入自身的櫃位識別碼及前一使用者識別碼,以及執行加密演算法以對載入的櫃位識別碼及前一使用者識別碼進行運算生成相應的第二驗證碼;以及控制模組電性連接生成模組,用以自行動裝置接收第一驗證碼以與第二驗證碼進行比對,當比對相符時,產生控制信號以控制電子鎖從上鎖狀態成為開鎖狀態,以及在行動裝置與智取櫃中斷電性連接後,使電子鎖自動成為上鎖狀態。至於在伺服器的部分,其設置與所述智取櫃相同的加密演算法,此伺服器包含:記錄模組、選擇模組及執行模組。其中,記錄模組用以記錄使用者訊息及每一智取櫃的前一使用者識別碼;選擇模組連接記錄模組,用以根據使用者訊息,在所述智取櫃中選擇其中之一,並且記錄選擇的智取櫃的櫃位識別碼;以及執行模組連接選擇模組,用以執行加密演算法以對選擇的智取櫃的櫃位識別碼及前一使用者識別碼進行運算生成相應的第一驗證碼,再根據使用者訊息將產生的第一驗證碼傳送至使用者的行動裝置。In addition, this creation also discloses a system that uses a mobile device to power and unlock the smart cabinet. This system includes: the smart cabinet and a server. In the smart cabinets, each smart cabinet is equipped with the same encryption algorithm, and has a non-volatile memory (Non-Volatile Memory, NVM), a port and an electronic lock. The non-volatile memory stores The counter identification code and the previous user identification code of the smart access cabinet, and the electronic lock will automatically become locked when the power is cut off. Each smart access cabinet includes: a connection module, a generation module, and a control module. Wherein, the connection module is used for when the power supply device or the mobile device is electrically connected to the connection port through the connection line, the power supply device or the mobile device supplies power to the smart cabinet through the connection line; the generation module is electrically connected to the connection The module is used to load its own counter ID and the previous user ID from the non-volatile memory after the smart counter receives power, and execute the encryption algorithm to verify the loaded counter The identification code and the previous user identification code are operated to generate the corresponding second verification code; and the control module is electrically connected to the generating module for receiving the first verification code from the mobile device for comparison with the second verification code, When the comparison matches, a control signal is generated to control the electronic lock from the locked state to the unlocked state, and after the mobile device and the smart cabinet are disconnected from the electrical connection, the electronic lock is automatically turned into the locked state. As for the server, the encryption algorithm is the same as that of the smart locker. This server includes: a recording module, a selection module, and an execution module. Among them, the recording module is used to record user information and the previous user identification code of each smart access cabinet; the selection module is connected to the recording module to select one of the smart access cabinets according to the user information 1. Record the counter identification code of the selected smart counter; and the execution module connection selection module, which is used to execute the encryption algorithm to perform the counter identification code of the selected smart counter and the previous user ID The calculation generates the corresponding first verification code, and then transmits the generated first verification code to the user's mobile device according to the user's message.

本創作所揭露之系統如上,與先前技術的差異在於本創作是透過伺服器選擇欲使用的智取櫃,並且執行加密演算法以根據選擇的智取櫃的櫃位識別碼產生第一驗證碼,以及將第一驗證碼傳送至使用者的行動裝置,當電源裝置或行動裝置為選擇的智取櫃供電時,使智取櫃執行相同的加密演算法以根據自身的櫃位識別碼產生第二驗證碼,並且在第一驗證碼與第二驗證碼相同時,控制電子鎖成為開鎖狀態。The system disclosed in this creation is as above. The difference from the previous technology is that this creation uses the server to select the smart locker to be used, and executes an encryption algorithm to generate the first verification code based on the counter ID code of the selected smart locker , And send the first verification code to the user’s mobile device. When the power supply or mobile device supplies power to the selected smart cabinet, the smart cabinet executes the same encryption algorithm to generate the first verification code based on its own counter identification code. Two verification codes, and when the first verification code is the same as the second verification code, the electronic lock is controlled to be in an unlocked state.

透過上述的技術手段,本創作可以達成提高智取櫃的可用性及設置便利性之技術功效。Through the above-mentioned technical means, this creation can achieve the technical effect of improving the usability and installation convenience of the smart cabinet.

以下將配合圖式及實施例來詳細說明本創作之實施方式,藉此對本創作如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The following will describe the implementation of this creation in detail with the drawings and embodiments, so as to fully understand and implement the implementation process of how this creation uses technical means to solve technical problems and achieve technical effects.

首先,在說明本創作所揭露之以行動裝置供電並解鎖智取櫃之系統之前,先對本創作所自行定義的名詞作說明,本創作所述的「智取櫃」是指智慧型取物櫃,其本身除了可以由連接的電源裝置,如:行動電源、太陽能電池或鹼性電池來供應電源之外,本身也可以不具備電源,而是在行動裝置(如:智慧型手機、平板電腦等等)透過連接線與智取櫃電性連接時,由行動裝置提供智取櫃所需的電源,甚至在具有電源裝置的情況下,仍允許由行動裝置供應電源,例如:當電源裝置的電源不足時,允許以行動裝置供應電源。當智取櫃從電源裝置或行動裝置獲得電源後,自動執行設置在其中的加密演算法及控制電子鎖,稍後將配合實施例及圖式做詳細說明。First of all, before explaining the system that uses mobile devices to power and unlock the smart locker disclosed in this creation, first explain the terms defined by this creation. The "smart locker" mentioned in this creation refers to the smart locker In addition to being powered by connected power devices, such as mobile power, solar batteries or alkaline batteries, it can also be powered by mobile devices (such as smart phones, tablets, etc.) without a power source. Etc.) When it is electrically connected to the smart cabinet through a cable, the mobile device provides the power required by the smart cabinet, and even with a power device, the mobile device is still allowed to supply power, for example: when the power supply of the power device When insufficient, mobile devices are allowed to supply power. When the smart cabinet obtains power from a power supply device or a mobile device, it automatically executes the encryption algorithm set therein and controls the electronic lock, which will be described in detail later in conjunction with embodiments and drawings.

以下配合圖式對本創作以行動裝置供電並解鎖智取櫃之系統做進一步說明,請先參閱「第1A圖」,「第1A圖」為本創作以行動裝置供電並解鎖智取櫃之系統的系統方塊圖,此系統包含:智取櫃110及伺服器120。在智取櫃110的部分,每一智取櫃110均設置相同的加密演算法,並且具有櫃位識別碼、連接埠及電子鎖,此電子鎖在斷電時自動成為上鎖狀態,每一智取櫃110均包含:連接模組111、生成模組112、控制模組113及重置模組114。其中,連接模組111用以在電源裝置(例如:行動電源、鹼性電池、太陽能電池等等)或行動裝置131通過連接線電性連接至連接埠時,由電源裝置或行動裝置131通過此連接線為智取櫃110供應電源。在實際實施上,所述連接埠及連接線可以是符合通用序列匯流排(Universal Serial Bus, USB)的補充標準(On-The-Go, OTG)的連接埠(即:USB OTG)及連接線,其允許支援OTG的裝置可以從USB周邊裝置變成USB主機,並且能夠具有反向供電的能力,即:由支援OTG的行動裝置為支援OTG的智取櫃提供電源。除此之外,所述連接埠及連接線也可以是其它具有反向供電及傳輸資料能力的連接埠及連接線,或是單純的電源連接埠及電源線。特別要說明的是,所述加密演算法可包含加密、編碼或其組合的運算,並且可由伺服器120更新,使智取櫃110與伺服器120維持相同的加密演算法。另外,所述櫃位識別碼為具有唯一性的文字、數字、符號或其組合的字串。The following diagrams are used to further explain the system of this creation that uses a mobile device to power and unlock the smart cabinet. Please refer to "Figure 1A" first. "Figure 1A" is the creation of the system that uses a mobile device to power and unlock the smart cabinet. System block diagram, this system includes: smart counter 110 and server 120. In the part of the smart cabinet 110, each smart cabinet 110 is equipped with the same encryption algorithm, and has a counter identification code, a connection port and an electronic lock. This electronic lock will automatically become a locked state when the power is turned off. The smart cabinet 110 includes: a connection module 111, a generation module 112, a control module 113, and a reset module 114. Wherein, the connection module 111 is used for when a power supply device (such as a mobile power supply, alkaline battery, solar battery, etc.) or a mobile device 131 is electrically connected to a connection port through a cable, the power supply device or the mobile device 131 passes therethrough The connecting line supplies power to the smart cabinet 110. In actual implementation, the ports and cables can be ports (ie, USB OTG) and cables that comply with the supplementary standard (On-The-Go, OTG) of the Universal Serial Bus (USB) , Which allows devices that support OTG to change from a USB peripheral device to a USB host, and can have the capability of reverse power supply, that is, mobile devices that support OTG provide power to smart cabinets that support OTG. In addition, the ports and cables can also be other ports and cables with reverse power supply and data transmission capabilities, or simple power ports and power cables. In particular, the encryption algorithm may include encryption, encoding, or a combination of operations, and can be updated by the server 120, so that the smart cabinet 110 and the server 120 maintain the same encryption algorithm. In addition, the counter identification code is a unique string of characters, numbers, symbols, or combinations thereof.

生成模組112電性連接所述連接模組111,用以在智取櫃110獲得電源後,執行加密演算法以對第二參數訊息進行運算生成相應的第二驗證碼,並且將生成的第二驗證碼儲存至揮發性記憶體,其中,第二參數訊息包含智取櫃自身的櫃位識別碼。在實際實施上,第二參數訊息除了包含智取櫃110自身的櫃位識別碼之外,還可以包含使用者識別碼,以便在執行加密演算法時,同時對櫃位識別碼及使用者識別碼進行加密或編碼以生成第二驗證碼。接著,第二參數訊息還可再包含時戳訊息,以便在智取櫃110執行加密演算法時,同時對櫃位識別碼、使用者識別碼及時戳訊息進行加密或編碼以生成第二驗證碼。The generating module 112 is electrically connected to the connection module 111, and is used to execute an encryption algorithm to perform an operation on the second parameter message to generate a corresponding second verification code after the smart cabinet 110 obtains power, and the generated second verification code is generated The second verification code is stored in the volatile memory, where the second parameter message includes the counter identification code of the smart counter. In actual implementation, the second parameter message may not only include the counter ID of the smart counter 110 itself, but also the user ID, so that the counter ID and user can be identified at the same time when the encryption algorithm is executed. The code is encrypted or encoded to generate a second verification code. Then, the second parameter message may further include a time stamp message, so that when the smart counter 110 executes the encryption algorithm, the counter identification code, user identification code and time stamp message are encrypted or encoded at the same time to generate the second verification code .

控制模組113電性連接生成模組112,用以自行動裝置131接收第一驗證碼以與第二驗證碼進行比對,當比對相符時,產生控制信號以控制電子鎖從上鎖狀態成為開鎖狀態。舉例來說,假設第一驗證碼為「AF01#@E」、第二驗證碼同樣為「AF01#@E」,此時便產生控制信號。在實際實施上,行動裝置131除了透過連接線傳輸以外,還可透過使用WiFi、ZigBee、CoAP(Constrained Application Protocol)、MQTT(Message Queuing Telemetry Transport)或其相似的無線傳輸技術來傳輸資料。The control module 113 is electrically connected to the generation module 112 for receiving the first verification code from the mobile device 131 for comparison with the second verification code, and when the comparison matches, it generates a control signal to control the electronic lock from the locked state It becomes the unlocked state. For example, suppose that the first verification code is "AF01#@E" and the second verification code is also "AF01#@E", and a control signal is generated at this time. In actual implementation, the mobile device 131 can transmit data through the use of WiFi, ZigBee, CoAP (Constrained Application Protocol), MQTT (Message Queuing Telemetry Transport) or similar wireless transmission technologies in addition to transmission through a connection line.

重置模組114電性連接所述連接模組111,用以在行動裝置131與智取櫃110中斷電性連接後,使儲存在揮發性記憶體(如:隨機存取記憶體)的第二驗證碼消失,以及使電子鎖自動成為上鎖狀態,同時行動裝置131在偵測到中斷電性連接時,自動刪除接收到的第一驗證碼。在實際實施上,由於揮發性記憶體的電氣特性,當中斷供電後,其儲存的資料便會自動消失。另外,所述電子鎖在通電時允許控制為上鎖狀態或開鎖狀態,當未通電時則無法控制且自動維持在上鎖狀態。The reset module 114 is electrically connected to the connection module 111, and is used to enable the storage in a volatile memory (such as random access memory) after the mobile device 131 and the smart cabinet 110 are disconnected from the electrical connection The second verification code disappears and the electronic lock is automatically locked. At the same time, the mobile device 131 automatically deletes the received first verification code when it detects that the electrical connection is interrupted. In actual implementation, due to the electrical characteristics of the volatile memory, when the power supply is interrupted, the stored data will automatically disappear. In addition, the electronic lock is allowed to be controlled to a locked state or an unlocked state when it is powered on, and cannot be controlled when it is not powered on and is automatically maintained in the locked state.

接著,在伺服器120的部分,其設置與所述智取櫃110相同的加密演算法,此伺服器120包含:記錄模組121、選擇模組122及執行模組123。其中,記錄模組121用以記錄使用者訊息,例如:寄貨方的寄貨訊息及收貨方的收貨訊息。在實際實施上,伺服器120更可記錄每一智取櫃110的前一使用者識別碼,並且在伺服器120執行加密演算法時,將選擇的智取櫃110的所述前一使用者識別碼嵌入至第一參數訊息,使加密演算法根據第一參數訊息生成相應的第一驗證碼。這個前一使用者識別碼會經由行動裝置提供給智取櫃110並儲存於非揮發性記憶體(如:快閃記憶體),以便智取櫃110在執行加密演算法時,將這個前一使用者識別碼嵌入至第二參數訊息,再使加密演算法根據第二參數訊息生成相應的第二驗證碼。Then, in the server 120, the same encryption algorithm as that of the smart cabinet 110 is set. The server 120 includes a recording module 121, a selection module 122, and an execution module 123. Among them, the recording module 121 is used to record user information, such as the shipping information of the sender and the receiving information of the receiver. In actual implementation, the server 120 can also record the previous user identification code of each smart locker 110, and when the server 120 executes the encryption algorithm, the previous user of the selected smart locker 110 The identification code is embedded in the first parameter message, so that the encryption algorithm generates the corresponding first verification code according to the first parameter message. This previous user identification code will be provided to the smart locker 110 via the mobile device and stored in a non-volatile memory (such as flash memory), so that the smart locker 110 will store the previous one when the encryption algorithm is executed. The user identification code is embedded in the second parameter message, and then the encryption algorithm generates a corresponding second verification code according to the second parameter message.

選擇模組122連接記錄模組121,用以根據使用者訊息,在所述智取櫃中選擇其中之一以通知使用者前往操作(如:寄貨、收貨、退貨等操作),並且記錄選擇的智取櫃110的櫃位識別碼。舉例來說,假設使用者訊息包含寄貨方的地址,選擇模組122可根據寄貨方的地址選擇相同區域或距離較近的智取櫃110,接著再記錄選擇的智取櫃110的櫃位識別碼;假設使用者訊息同時包含寄貨方和收貨方的地址,則可選擇位於兩個地點中間的智取櫃110。實際上,伺服器120可根據是否記錄櫃位識別碼來判斷智取櫃110是否在使用中。The selection module 122 is connected to the recording module 121 to select one of the smart lockers to notify the user of operations (such as sending, receiving, returning, etc.) based on user information, and recording The counter identification code of the selected smart counter 110. For example, assuming that the user message includes the sender’s address, the selection module 122 can select the smart counter 110 in the same area or a closer distance according to the sender’s address, and then record the selected smart counter 110. Digit identification code; assuming that the user’s message contains both the sender’s and receiver’s addresses, the smart counter 110 located in the middle of the two locations can be selected. In fact, the server 120 can determine whether the smart counter 110 is in use according to whether the counter identification code is recorded.

執行模組123連接選擇模組122,用以執行加密演算法以對第一參數訊息進行運算生成相應的第一驗證碼,再根據使用者訊息將產生的第一驗證碼傳送至使用者的行動裝置131,其中,第一參數訊息包含選擇的智取櫃110的櫃位識別碼。在實際實施上,第一參數訊息除了包含選擇的智取櫃110的櫃位識別碼之外,還可以包含使用者識別碼,以便在執行加密演算法時,同時對櫃位識別碼及使用者識別碼進行加密或編碼以生成第一驗證碼。接著,第一參數訊息還可再包含時戳訊息,以便在伺服器120執行加密演算法時,同時對櫃位識別碼、使用者識別碼及時戳訊息進行加密或編碼以生成第一驗證碼。The execution module 123 is connected to the selection module 122 to execute an encryption algorithm to calculate the first parameter message to generate a corresponding first verification code, and then send the generated first verification code to the user according to the user message In the device 131, the first parameter message includes the counter identification code of the selected smart counter 110. In actual implementation, the first parameter message may not only include the counter identification code of the selected smart counter 110, but also the user identification code, so that when the encryption algorithm is executed, the counter identification code and the user The identification code is encrypted or encoded to generate a first verification code. Then, the first parameter message may further include a time stamp message, so that when the server 120 executes the encryption algorithm, the counter identification code, the user identification code and the time stamp message are encrypted or encoded at the same time to generate the first verification code.

接下來,如「第1B圖」所示意,「第1B圖」為本創作以行動裝置供電並解鎖智取櫃之系統的另一系統方塊圖,此系統包含:智取櫃150及伺服器160。在智取櫃150的部分,每一智取櫃150均設置相同的加密演算法,並且具有非揮發性記憶體、連接埠及電子鎖,所述非揮發性記憶體儲存智取櫃150的櫃位識別碼及前一使用者識別碼,以及所述電子鎖在斷電時自動成為上鎖狀態,每一智取櫃150包含:連接模組151、生成模組152及控制模組153。其中,連接模組151用以在電源裝置(例如:行動電源、鹼性電池、太陽能電池等等)或行動裝置171通過連接線電性連接至連接埠時,由電源裝置或行動裝置171通過此連接線為智取櫃150供應電源。在實際實施上,連接模組151與「第1A圖」所示意的連接模組111相同,均可透過USB OTG來實現反向供電及傳輸資料,例如:傳送第一驗證碼,以及傳送使用者識別碼以儲存在智取櫃150的非揮發性記憶體作為前一使用者識別碼。Next, as shown in "Picture 1B", "Picture 1B" is another system block diagram created to power the mobile device and unlock the smart cabinet. This system includes: smart cabinet 150 and server 160 . In the part of the smart cabinet 150, each smart cabinet 150 is equipped with the same encryption algorithm, and has a non-volatile memory, a connection port and an electronic lock. The non-volatile memory stores the cabinet of the smart cabinet 150. The bit identification code and the previous user identification code, and the electronic lock will automatically become locked when the power is cut off. Each smart locker 150 includes: a connection module 151, a generation module 152, and a control module 153. Wherein, the connection module 151 is used for when the power supply device (such as: mobile power supply, alkaline battery, solar battery, etc.) or the mobile device 171 is electrically connected to the connection port through the cable, the power supply device or the mobile device 171 passes therethrough. The connecting line supplies power to the smart cabinet 150. In actual implementation, the connection module 151 is the same as the connection module 111 shown in "Figure 1A". Both can realize reverse power supply and data transmission through USB OTG, such as: transmitting the first verification code and transmitting the user The identification code uses the non-volatile memory stored in the smart locker 150 as the previous user identification code.

生成模組152電性連接所述連接模組151,用以在智取櫃150獲得電源後,智取櫃150自非揮發性記憶體載入自身的櫃位識別碼及前一使用者識別碼,以及執行加密演算法以對載入的櫃位識別碼及前一使用者識別碼進行運算生成相應的第二驗證碼。此生成模組152與「第1A圖」所示意的生成模組112的差異在於,生成模組152至少須根據自身的櫃位識別碼及前一使用者識別碼來生成第二驗證碼。The generating module 152 is electrically connected to the connection module 151, so that after the smart cabinet 150 obtains power, the smart cabinet 150 loads its own counter ID and the previous user ID from the non-volatile memory. , And execute an encryption algorithm to perform operations on the loaded counter identification code and the previous user identification code to generate the corresponding second verification code. The difference between this generating module 152 and the generating module 112 shown in "Figure 1A" is that the generating module 152 must at least generate the second verification code based on its own counter ID and the previous user ID.

控制模組153電性連接生成模組152,用以自行動裝置171接收第一驗證碼以與第二驗證碼進行比對,當比對相符時,產生控制信號以控制電子鎖從上鎖狀態成為開鎖狀態,以及在行動裝置171與智取櫃150中斷電性連接後,使電子鎖自動成為上鎖狀態。在實際實施上,控制模組153與「第1A圖」的控制模組113相同。The control module 153 is electrically connected to the generation module 152 for receiving the first verification code from the mobile device 171 for comparison with the second verification code, and when the comparison matches, it generates a control signal to control the electronic lock from the locked state It becomes the unlocked state, and after the mobile device 171 and the smart cabinet 150 are disconnected from the electrical connection, the electronic lock is automatically turned into the locked state. In actual implementation, the control module 153 is the same as the control module 113 in "Figure 1A".

接著,在伺服器160的部分,其設置與所述智取櫃150相同的加密演算法,此伺服器160包含:記錄模組161、選擇模組162及執行模組163。其中,記錄模組161用以記錄使用者訊息及每一智取櫃150的前一使用者識別碼。舉例來說,使用者訊息中可記錄欲使用智取櫃150的使用者識別碼,並且在使用智取櫃150後,將此使用者識別碼記錄為相應智取櫃150的前一使用者識別碼。Then, in the part of the server 160, the same encryption algorithm as the smart locker 150 is set. The server 160 includes a recording module 161, a selection module 162, and an execution module 163. The recording module 161 is used to record user information and the previous user identification code of each smart locker 150. For example, the user ID of the user who wants to use the smart locker 150 can be recorded in the user message, and after the smart locker 150 is used, this user ID is recorded as the previous user ID of the corresponding smart locker 150 code.

選擇模組162連接記錄模組161,用以根據使用者訊息,在所述智取櫃150中選擇其中之一,並且記錄選擇的智取櫃150的櫃位識別碼。舉例來說,假設有三個智取櫃150,第一個智取櫃150至第三個智取櫃150的櫃位識別碼依序分別為「A001」、「A002」及「A003」,當選擇模組162選擇第二個智取櫃150時,將記錄櫃位識別碼「A002」,以便作為後續產生第一驗證碼之用。The selection module 162 is connected to the recording module 161 to select one of the smart lockers 150 according to user information, and record the counter identification code of the selected smart locker 150. For example, suppose there are three smart counters 150, and the counter identification codes of the first smart counter 150 to the third smart counter 150 are "A001", "A002" and "A003" respectively. When you select When the module 162 selects the second smart counter 150, it will record the counter identification code "A002" for subsequent generation of the first verification code.

執行模組163連接選擇模組162,用以執行加密演算法以對選擇的智取櫃150的櫃位識別碼及前一使用者識別碼進行運算生成相應的第一驗證碼,再根據使用者訊息將產生的第一驗證碼傳送至使用者的行動裝置171。如此一來,使用者便可手持行動裝置171前往伺服器160選擇的智取櫃150,將行動裝置171電性連接至此智取櫃150,並且由行動裝置為智取櫃150供電的同時,將接收自伺服器160的第一驗證碼傳送至智取櫃150,提供智取櫃150將其與自身產生的第二驗證碼比對以控制電子鎖。The execution module 163 is connected to the selection module 162 to execute an encryption algorithm to calculate the counter ID of the selected smart counter 150 and the previous user ID to generate the corresponding first verification code, and then according to the user The message sends the generated first verification code to the mobile device 171 of the user. In this way, the user can hold the mobile device 171 to the smart cabinet 150 selected by the server 160, electrically connect the mobile device 171 to this smart cabinet 150, and the smart cabinet 150 is powered by the mobile device, and the The first verification code received from the server 160 is sent to the smart locker 150, and the smart locker 150 is provided to compare it with the second verification code generated by itself to control the electronic lock.

特別要說明的是,在實際實施上,本創作所述的模組皆可利用各種方式來實現,包含軟體、硬體或其任意組合,例如,在某些實施方式中,各模組可利用軟體及硬體或其中之一來實現,除此之外,本創作亦可部分地或完全地基於硬體來實現,例如,系統中的一個或多個模組可以透過積體電路晶片、系統單晶片(System on Chip, SoC)、複雜可程式邏輯裝置(Complex Programmable Logic Device, CPLD)、現場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)等來實現。本創作可以是系統及/或電腦程式。電腦程式可以包括電腦可讀儲存媒體,其上載有用於使處理器實現本創作的各個方面的電腦可讀程式指令,電腦可讀儲存媒體可以是可以保持和儲存由指令執行設備使用的指令的有形設備。電腦可讀儲存媒體可以是但不限於電儲存設備、磁儲存設備、光儲存設備、電磁儲存設備、半導體儲存設備或上述的任意合適的組合。電腦可讀儲存媒體的更具體的例子(非窮舉的列表)包括:硬碟、隨機存取記憶體、唯讀記憶體、快閃記憶體、光碟、軟碟以及上述的任意合適的組合。此處所使用的電腦可讀儲存媒體不被解釋爲瞬時信號本身,諸如無線電波或者其它自由傳播的電磁波、通過波導或其它傳輸媒介傳播的電磁波(例如,通過光纖電纜的光信號)、或者通過電線傳輸的電信號。另外,此處所描述的電腦可讀程式指令可以從電腦可讀儲存媒體下載到各個計算/處理設備,或者通過網路,例如:網際網路、區域網路、廣域網路及/或無線網路下載到外部電腦設備或外部儲存設備。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換器、集線器及/或閘道器。每一個計算/處理設備中的網路卡或者網路介面從網路接收電腦可讀程式指令,並轉發此電腦可讀程式指令,以供儲存在各個計算/處理設備中的電腦可讀儲存媒體中。執行本創作操作的電腦程式指令可以是組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫的原始碼或目的碼(Object Code),所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程序式(Procedural)程式語言,如:C語言或類似的程式語言。所述電腦程式指令可以完全地在電腦上執行、部分地在電腦上執行、作爲一個獨立的軟體執行、部分在客戶端電腦上部分在遠端電腦上執行、或者完全在遠端電腦或伺服器上執行。In particular, it should be noted that, in actual implementation, the modules described in this creation can be implemented in various ways, including software, hardware, or any combination thereof. For example, in some implementations, each module can be implemented Software and hardware or one of them. In addition, this creation can also be implemented partially or completely based on hardware. For example, one or more modules in the system can be implemented through integrated circuit chips, system Single chip (System on Chip, SoC), complex programmable logic device (Complex Programmable Logic Device, CPLD), field programmable logic gate array (Field Programmable Gate Array, FPGA), etc. to achieve. This creation can be a system and/or computer program. The computer program may include a computer-readable storage medium loaded with computer-readable program instructions for enabling the processor to implement various aspects of the creation. The computer-readable storage medium may be tangible that can hold and store instructions used by the instruction execution device. equipment. The computer-readable storage medium can be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer-readable storage media include hard disks, random access memory, read-only memory, flash memory, optical disks, floppy disks, and any suitable combination of the foregoing. The computer-readable storage medium used herein is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, optical signals through fiber optic cables), or through wires Transmission of electrical signals. In addition, the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. To an external computer device or external storage device. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, hubs and/or gateways. The network card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device in. The computer program instructions that perform this creative operation can be assembly language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, micro instructions, firmware instructions, or source code or object code written in any combination of one or more programming languages (Object Code), the programming language includes object-oriented programming languages, such as: Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby and PHP, etc., as well as conventional programs Procedural programming language, such as C language or similar programming language. The computer program instructions may be executed entirely on the computer, partly executed on the computer, executed as an independent software, partly executed on the client computer and partly executed on the remote computer, or entirely on the remote computer or server Executed on.

請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本創作以行動裝置供電並解鎖智取櫃之方法的方法流程圖,其步驟包括:提供設置相同的加密演算法的伺服器120及智取櫃110,其中,伺服器120記錄使用者訊息,每一智取櫃110均具有櫃位識別碼、連接埠及電子鎖,電子鎖在斷電時自動成為上鎖狀態(步驟211);伺服器120根據使用者訊息,在智取櫃110中選擇其中之一以通知使用者前往操作,並且記錄選擇的智取櫃110的櫃位識別碼,以及執行加密演算法以對第一參數訊息進行運算生成相應的第一驗證碼,再根據使用者訊息將產生的第一驗證碼傳送至使用者的行動裝置131,其中,第一參數訊息包含選擇的智取櫃110的櫃位識別碼(步驟212);當電源裝置或行動裝置131通過連接線電性連接至伺服器120選擇的智取櫃110的連接埠時,由電源裝置或行動裝置131通過連接線為智取櫃110供應電源(步驟213);當智取櫃110獲得電源後,執行加密演算法以對第二參數訊息進行運算生成相應的第二驗證碼,並且將生成的第二驗證碼儲存至揮發性記憶體,以及自行動裝置131接收第一驗證碼以與第二驗證碼進行比對,當比對相符時,產生控制信號以控制電子鎖從上鎖狀態成為開鎖狀態,其中,第二參數訊息包含智取櫃110自身的櫃位識別碼(步驟214);以及當行動裝置131與智取櫃110中斷電性連接後,使儲存在揮發性記憶體的第二驗證碼消失,以及使電子鎖自動成為上鎖狀態,同時行動裝置131在偵測到中斷電性連接時,自動刪除接收到的第一驗證碼(步驟215)。透過上述步驟,即可透過伺服器120選擇欲使用的智取櫃110,並且執行加密演算法以根據選擇的智取櫃的櫃位識別碼產生第一驗證碼,以及將第一驗證碼傳送至使用者的行動裝置,當電源裝置或行動裝置為選擇的智取櫃110供電時,使智取櫃110執行相同的加密演算法以根據自身的櫃位識別碼產生第二驗證碼,並且在第一驗證碼與第二驗證碼相同時,控制電子鎖成為開鎖狀態。Please refer to "Picture 2A" and "Picture 2B", "Picture 2A" and "Picture 2B" are the flow chart of the method of creating power with mobile device and unlocking the smart locker. The steps include: Provide settings The server 120 and smart cabinet 110 with the same encryption algorithm. The server 120 records user information. Each smart cabinet 110 has a counter identification code, a connection port, and an electronic lock. The electronic lock is in the event of a power failure. It is automatically locked (step 211); the server 120 selects one of the smart lockers 110 according to the user's message to notify the user to proceed, and records the counter identification code of the selected smart locker 110, and Execute an encryption algorithm to calculate the first parameter message to generate a corresponding first verification code, and then send the generated first verification code to the user’s mobile device 131 according to the user message, where the first parameter message contains the selected The counter identification code of the smart cabinet 110 (step 212); when the power device or mobile device 131 is electrically connected to the port of the smart cabinet 110 selected by the server 120 through a cable, the power device or mobile device 131 passes The connection line supplies power to the smart cabinet 110 (step 213); when the smart cabinet 110 obtains power, an encryption algorithm is executed to calculate the second parameter message to generate a corresponding second verification code, and the generated second verification code is generated The code is stored in the volatile memory, and the first verification code is received from the mobile device 131 for comparison with the second verification code. When the comparison matches, a control signal is generated to control the electronic lock from the locked state to the unlocked state. , The second parameter message includes the counter identification code of the smart cabinet 110 (step 214); and when the mobile device 131 and the smart cabinet 110 are disconnected from the electrical connection, the second verification code stored in the volatile memory Disappear, and the electronic lock is automatically turned into a locked state, and the mobile device 131 automatically deletes the received first verification code when it detects that the electrical connection is interrupted (step 215). Through the above steps, the smart counter 110 to be used can be selected through the server 120, and the encryption algorithm is executed to generate the first verification code according to the counter identification code of the selected smart counter, and the first verification code is sent to The user’s mobile device, when the power supply device or the mobile device supplies power to the selected smart cabinet 110, the smart cabinet 110 executes the same encryption algorithm to generate the second verification code according to its own counter identification code, and in the first When the first verification code is the same as the second verification code, the electronic lock is controlled to be in an unlocked state.

如「第2C圖」及「第2D圖」所示意,「第2C圖」及「第2D圖」為本創作以行動裝置供電並解鎖智取櫃之方法的另一方法流程圖,其步驟包括:提供設置相同的加密演算法的伺服器160及智取櫃150,其中,伺服器160記錄使用者訊息及每一智取櫃150的前一使用者識別碼,每一智取櫃150均具有非揮發性記憶體、連接埠及電子鎖,此非揮發性記憶體儲存智取櫃150的櫃位識別碼及前一使用者識別碼,以及電子鎖在斷電時自動成為上鎖狀態(步驟221);伺服器160根據使用者訊息,在所述智取櫃150中選擇其中之一,並且記錄選擇的智取櫃150的櫃位識別碼,以及執行加密演算法以對選擇的智取櫃150的櫃位識別碼及前一使用者識別碼進行運算生成相應的第一驗證碼,再根據使用者訊息將產生的第一驗證碼傳送至使用者的行動裝置171(步驟222);當電源裝置或行動裝置171通過連接線電性連接至伺服器160選擇的智取櫃150的連接埠時,由電源裝置或行動裝置171通過連接線為智取櫃150供應電源(步驟223);當智取櫃150獲得電源後,智取櫃150自非揮發性記憶體載入自身的櫃位識別碼及前一使用者識別碼,並且執行加密演算法以對載入的櫃位識別碼及前一使用者識別碼進行運算生成相應的第二驗證碼,以及自行動裝置171接收第一驗證碼以與第二驗證碼進行比對,當比對相符時,產生控制信號以控制電子鎖從上鎖狀態成為開鎖狀態(步驟224);當行動裝置171與智取櫃150中斷電性連接後,電子鎖自動成為上鎖狀態(步驟225)。As shown in "Picture 2C" and "Picture 2D", "Picture 2C" and "Picture 2D" are a flowchart of another method for creating a method for powering a mobile device and unlocking the smart locker. The steps include : Provide a server 160 and smart cabinet 150 with the same encryption algorithm. The server 160 records user information and the previous user ID of each smart cabinet 150. Each smart cabinet 150 has Non-volatile memory, port and electronic lock. This non-volatile memory stores the counter ID of the smart cabinet 150 and the previous user ID, and the electronic lock will automatically become locked when the power is off (step 221); the server 160 selects one of the smart counters 150 according to the user information, and records the counter identification code of the selected smart counter 150, and executes an encryption algorithm to verify the selected smart counter 150 The counter ID of 150 and the previous user ID are calculated to generate the corresponding first verification code, and then the generated first verification code is sent to the user’s mobile device 171 according to the user’s message (step 222); When the device or mobile device 171 is electrically connected to the port of the smart cabinet 150 selected by the server 160 through a cable, the power device or mobile device 171 supplies power to the smart cabinet 150 through the cable (step 223); After the counter 150 receives power, the smart counter 150 loads its own counter ID and previous user ID from non-volatile memory, and executes an encryption algorithm to verify the loaded counter ID and previous user ID. The user identification code is operated to generate a corresponding second verification code, and the first verification code is received from the mobile device 171 for comparison with the second verification code, and when the comparison matches, a control signal is generated to control the electronic lock from being locked The state becomes the unlocked state (step 224); when the mobile device 171 and the smart cabinet 150 are disconnected from the electrical connection, the electronic lock automatically becomes the locked state (step 225).

以下配合「第3圖」至「第6B圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本創作生成第一驗證碼及第二驗證碼的第一實施例之示意圖。在實際實施上,第一驗證碼是由伺服器120執行加密演算法300所生成,其主要是根據伺服器120選擇的智取櫃110的櫃位識別碼進行加密或編碼,或者同時進行加密及編碼等運算所產生;第二驗證碼則是由智取櫃110執行相同的加密演算法300以相同的方式生成,其主要是根據智取櫃110本身的櫃位識別碼進行加密或編碼,或者同時進行加密及編碼等運算所生成。假設加密演算法300是進行加密運算,則伺服器120及智取櫃110所產生的驗證碼都是經過加密運算所生成;假設加密演算法300是同時進行加密及編碼運算,則伺服器120及智取櫃110所產生的驗證碼都是經過加密及編碼運算所生成。所述加密可使用對稱式加密或非對稱式加密,所述編碼則可使用安全散列演算法(Secure Hash Algorithm, SHA)、訊息摘要演算法第五版(Message-Digest Algorithm 5, MD5)等等來實現。The following descriptions will be given in the form of an embodiment in conjunction with "Figure 3" to "Figure 6B". Please refer to "Figure 3" first. "Figure 3" generates the first verification code and the second verification code for the application of this creation. Schematic diagram of the first embodiment. In actual implementation, the first verification code is generated by the server 120 executing the encryption algorithm 300, which is mainly encrypted or encoded according to the counter identification code of the smart counter 110 selected by the server 120, or both encryption and Generated by operations such as encoding; the second verification code is generated in the same way by the smart cabinet 110 executing the same encryption algorithm 300, which is mainly encrypted or encoded according to the counter identification code of the smart cabinet 110, or It is generated by operations such as encryption and encoding at the same time. Assuming that the encryption algorithm 300 is performing an encryption operation, the verification codes generated by the server 120 and the smart counter 110 are all generated by an encryption operation; if the encryption algorithm 300 is performing both encryption and encoding operations, the server 120 and The verification codes generated by the smart counter 110 are all generated through encryption and encoding operations. The encryption may use symmetric encryption or asymmetric encryption, and the encoding may use Secure Hash Algorithm (SHA), Message-Digest Algorithm 5 (MD5), etc. Wait for it to happen.

如「第4圖」所示意,「第4圖」為應用本創作生成第一驗證碼及第二驗證碼的第二實施例之示意圖。相較於上述第一實施例,在第二實施例中,伺服器120除了將選擇的智取櫃110的櫃位識別碼帶入加密演算法300執行運算之外,還會同時帶入使用者識別碼或此智取櫃110的前一使用者識別碼,用以計算出第一驗證碼。同樣地,智取櫃110除了將智取櫃110本身的櫃位識別碼帶入加密演算法300執行運算之外,也會以與伺服器120相同的方式同時帶入使用者識別碼或此智取櫃110的前一使用者識別碼來進行運算,用以計算出第二驗證碼。舉例來說,假設伺服器120同時帶入使用者識別碼,則智取櫃110也會以相同方式同時帶入使用者識別碼;假設伺服器120同時帶入前一使用者識別碼,則智取櫃110也會以相同方式同時帶入前一使用者識別碼。如此一來,智取櫃110便可根據第一驗證碼與第二驗證碼是否相同來控制電子鎖,例如:當兩者相同便控制電子鎖成為開鎖狀態;反之則使電子鎖維持上鎖狀態。As shown in "Figure 4", "Figure 4" is a schematic diagram of the second embodiment of applying this creation to generate the first verification code and the second verification code. Compared with the above-mentioned first embodiment, in the second embodiment, the server 120 not only brings the counter identification code of the selected smart counter 110 into the encryption algorithm 300 to perform calculations, but also brings the user into the same time. The identification code or the previous user identification code of the smart locker 110 is used to calculate the first verification code. Similarly, in addition to bringing the counter ID of the smart counter 110 into the encryption algorithm 300 to perform calculations, the smart counter 110 also brings in the user ID or this smart code in the same manner as the server 120. The previous user identification code of the counter 110 is taken for calculation to calculate the second verification code. For example, if the server 120 also brings in the user ID, the smart locker 110 will also bring the user ID in the same way; if the server 120 also brings the previous user ID, then the smart The drawer 110 will also bring the previous user identification code in the same way at the same time. In this way, the smart locker 110 can control the electronic lock according to whether the first verification code and the second verification code are the same. For example, when the two are the same, the electronic lock is controlled to be in the unlocked state; otherwise, the electronic lock is maintained in the locked state. .

如「第5圖」所示意,「第5圖」為應用本創作生成第一驗證碼及第二驗證碼的第三實施例之示意圖。有別於前述第二實施例,在第三實施例中,執行加密演算法300所帶入的資料更增加了時戳訊息,伺服器120可以藉由時戳訊息來設定產生的第一驗證碼的時間。同樣地,智取櫃110也可以藉由時戳訊息來設定產生的第二驗證碼的時間,並且更進一步比對兩個時戳訊息的時間差異是否超過預設範圍,假設超過預設範圍,即使第一驗證碼與第二驗證碼相同,也仍然禁能(Disable)電子鎖以使其維持在上鎖狀態。在實際實施上,智取櫃110的時戳訊息是接收自與其電性連接的行動裝置131的時間所產生。As shown in "Figure 5", "Figure 5" is a schematic diagram of a third embodiment of applying this creation to generate the first verification code and the second verification code. Different from the foregoing second embodiment, in the third embodiment, the data brought in by the execution of the encryption algorithm 300 is further added with a time stamp message, and the server 120 can set the generated first verification code by the time stamp message time. Similarly, the smart locker 110 can also set the time of the second verification code generated by the time stamp message, and further compare whether the time difference between the two time stamp messages exceeds the preset range, assuming it exceeds the preset range, Even if the first verification code is the same as the second verification code, the electronic lock is still disabled to maintain it in the locked state. In actual implementation, the time stamp information of the smart locker 110 is generated by the time received from the mobile device 131 electrically connected to it.

如「第6A圖」及「第6B圖」所示意,「第6A圖」及「第6B圖」為應用本創作進行寄貨與取貨之示意圖。首先,在買賣雙方完成交易時,伺服器120會記錄使用者訊息,如:寄貨方(即:賣方)的寄貨訊息及收貨方(即:買方)的收貨訊息,例如:地址、電話、電子郵件等等,也就是說,無論買方或賣方均視為使用者。接著,伺服器120會根據使用者訊息選擇智取櫃110,例如:選擇離賣方較近、離買方較近或位於買賣雙方之間的智取櫃110。並且記錄此智取櫃110的櫃位識別碼,以及執行加密演算法以根據此櫃位識別碼計算出相應的第一驗證碼,再將此第一驗證碼傳送至使用者的行動裝置,例如:分別傳送至寄貨方的第一行動裝置610及收貨方的第二行動裝置620。此時,可如「第6A圖」所示意,在第一行動裝置610的螢幕611顯示通知訊息612(例如:以文字方式顯示「已取得第一驗證碼」),同樣地,在第二行動裝置620的螢幕621顯示通知訊息622(例如:以文字方式顯示「已取得第一驗證碼」)。接著,如「第6B圖」所示意,假設寄貨方接收到伺服器120通知前往指定的智取櫃110寄貨的訊息後,寄貨方可透過連接線720電性連接行動裝置700(在寄貨方可視為第一行動裝置610)與指定的智取櫃750。此時,便由行動裝置700提供智取櫃750所需電源,當智取櫃750獲得電源後,便會自動執行加密演算法以根據自身的櫃位識別碼產生第二驗證碼。接下來,寄貨方可點選螢幕710的解鎖按鍵711將接收自伺服器120的第一驗證碼傳送智取櫃750,使智取櫃750比對第一驗證碼與第二驗證碼。當比對相符時,產生控制信號以控制電子鎖751從上鎖狀態成為開鎖狀態,以便放置物品。As shown in "Picture 6A" and "Picture 6B", "Picture 6A" and "Picture 6B" are schematic diagrams of applying this creation to send and pick up goods. First, when the buyer and seller complete the transaction, the server 120 will record user information, such as: the sender's (ie: seller) delivery information and the receiver's (ie: buyer) delivery information, such as address, Telephone, email, etc., that is to say, both the buyer and the seller are regarded as users. Then, the server 120 selects the smart counter 110 according to the user information, for example, selects the smart counter 110 closer to the seller, closer to the buyer, or between the buyer and the seller. And record the counter identification code of the smart counter 110, and execute an encryption algorithm to calculate the corresponding first verification code based on the counter identification code, and then transmit the first verification code to the user's mobile device, for example :Send to the first mobile device 610 of the sender and the second mobile device 620 of the receiver respectively. At this time, as shown in "Figure 6A", a notification message 612 can be displayed on the screen 611 of the first mobile device 610 (for example, "the first verification code has been obtained" is displayed in text). Similarly, in the second operation The screen 621 of the device 620 displays a notification message 622 (for example, "the first verification code has been obtained" is displayed in text). Next, as shown in "Figure 6B", suppose the sender receives the server 120 instructing to send the goods to the designated smart counter 110, the sender can electrically connect the mobile device 700 through the cable 720 (in The sender can be regarded as the first mobile device 610) and the designated smart locker 750. At this time, the mobile device 700 provides the power required by the smart cabinet 750. When the smart cabinet 750 receives power, it will automatically execute an encryption algorithm to generate a second verification code based on its own counter identification code. Next, the sender can click the unlock button 711 on the screen 710 to send the first verification code received from the server 120 to the smart counter 750, so that the smart counter 750 compares the first verification code with the second verification code. When the comparison matches, a control signal is generated to control the electronic lock 751 from the locked state to the unlocked state, so as to place items.

同樣地,假設行動裝置700為收貨方持有,亦可透過連接線720電性連接行動裝置700(在收貨方可視為第二行動裝置620)與指定的智取櫃750。此時,同樣由行動裝置700提供智取櫃750所需電源,並且自動執行加密演算法以根據自身的櫃位識別碼產生第二驗證碼,以及根據第一驗證碼與第二驗證碼的比對結果控制電子鎖751。舉例來說,當第一驗證碼與第二驗證碼相同時,控制電子鎖751成為開鎖狀態以利收貨方取貨。至此,即完成寄貨與取貨的流程。特別要說明的是,在一實施例中,當行動裝置700與智取櫃750中斷電性連接後,可使儲存在揮發性記憶體的第二驗證碼消失,以及使電子鎖自動成為上鎖狀態,同時行動裝置700在偵測到中斷電性連接時,自動刪除接收自伺服器120的第一驗證碼。在另一實施例中,行動裝置700會傳送使用者識別碼至智取櫃750,以便智取櫃750將來自行動裝置700的使用者識別碼儲存至非揮發性記憶體作為前一使用者識別碼,當行動裝置700與智取櫃750中斷電性連接後,僅使電子鎖自動成為上鎖狀態,無需使第二驗證碼消失。Similarly, assuming that the mobile device 700 is held by the consignee, the mobile device 700 (which can be regarded as the second mobile device 620 on the consignee) and the designated smart locker 750 can also be electrically connected through the connection line 720. At this time, the mobile device 700 also provides the power required by the smart cabinet 750, and automatically executes the encryption algorithm to generate the second verification code according to its own counter identification code, and according to the ratio of the first verification code to the second verification code Control the electronic lock 751 on the result. For example, when the first verification code is the same as the second verification code, the electronic lock 751 is controlled to be in an unlocked state to facilitate the receiver to pick up the goods. At this point, the process of sending and picking up the goods is completed. In particular, in one embodiment, when the mobile device 700 is disconnected from the smart cabinet 750, the second verification code stored in the volatile memory can be disappeared, and the electronic lock can automatically become the upper At the same time, the mobile device 700 automatically deletes the first verification code received from the server 120 when it detects that the electrical connection is interrupted. In another embodiment, the mobile device 700 sends the user identification code to the smart locker 750, so that the smart locker 750 stores the user identification code from the mobile device 700 in the non-volatile memory as the previous user identification When the electrical connection between the mobile device 700 and the smart cabinet 750 is interrupted, only the electronic lock is automatically turned into a locked state, and the second verification code does not need to disappear.

綜上所述,可知本創作與先前技術之間的差異在於透過伺服器選擇欲使用的智取櫃,並且執行加密演算法以根據選擇的智取櫃的櫃位識別碼產生第一驗證碼,以及將第一驗證碼傳送至使用者的行動裝置,當電源裝置或行動裝置為選擇的智取櫃供電時,使智取櫃執行相同的加密演算法以根據自身的櫃位識別碼產生第二驗證碼,並且在第一驗證碼與第二驗證碼相同時,控制電子鎖成為開鎖狀態,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高智取櫃的可用性及設置便利性之技術功效。To sum up, it can be seen that the difference between this creation and the previous technology is that the smart locker to be used is selected through the server, and the encryption algorithm is executed to generate the first verification code according to the counter identification code of the selected smart locker. And send the first verification code to the user’s mobile device. When the power supply or mobile device supplies power to the selected smart cabinet, the smart cabinet executes the same encryption algorithm to generate the second code based on its own counter identification code. Verification code, and when the first verification code is the same as the second verification code, the electronic lock is controlled to be in an unlocked state. This technical means can solve the problems of the previous technology, thereby achieving the improvement of the usability of the smart cabinet and the convenience of setting The technical effect of sex.

雖然本創作以前述之實施例揭露如上,然其並非用以限定本創作,任何熟習相像技藝者,在不脫離本創作之精神和範圍內,當可作些許之更動與潤飾,因此本創作之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although this creation is disclosed in the foregoing embodiment, it is not intended to limit this creation. Anyone familiar with similar art can make some changes and modifications without departing from the spirit and scope of this creation. Therefore, this creation The scope of patent protection shall be determined by the scope of the patent application attached to this specification.

110,150:智取櫃 111,151:連接模組 112,152:生成模組 113,153:控制模組 114:重置模組 120,160:伺服器 121,161:記錄模組 122,162:選擇模組 123,163:執行模組 131,171:行動裝置 300:加密演算法 610:第一行動裝置 611,621,710:螢幕 612,622:通知訊息 620:第二行動裝置 700:行動裝置 711:解鎖按鍵 720:連接線 750:智取櫃 751:電子鎖 步驟211:提供設置相同的一加密演算法的一伺服器及多個智取櫃,其中,該伺服器記錄一使用者訊息,每一智取櫃均具有一櫃位識別碼、一連接埠及一電子鎖,該電子鎖在斷電時自動成為一上鎖狀態 步驟212:該伺服器根據該使用者訊息,在所述智取櫃中選擇其中之一以通知使用者前往操作,並且記錄選擇的該智取櫃的該櫃位識別碼,以及執行該加密演算法以對一第一參數訊息進行運算生成相應的一第一驗證碼,再根據該使用者訊息將產生的該第一驗證碼傳送至使用者的一行動裝置,其中,該第一參數訊息包含選擇的該智取櫃的該櫃位識別碼 步驟213:當一電源裝置或該行動裝置通過一連接線電性連接至該伺服器選擇的該智取櫃的該連接埠時,由該電源裝置或該行動裝置通過該連接線為該智取櫃供應電源 步驟214:當該智取櫃獲得電源後,執行該加密演算法以對一第二參數訊息進行運算生成相應的一第二驗證碼,並且將生成的該第二驗證碼儲存至一揮發性記憶體,以及自該行動裝置接收該第一驗證碼以與該第二驗證碼進行比對,當比對相符時,產生一控制信號以控制該電子鎖從一上鎖狀態成為一開鎖狀態,其中,該第二參數訊息包含該智取櫃自身的該櫃位識別碼 步驟215:當該行動裝置與該智取櫃中斷電性連接後,使儲存在該揮發性記憶體的該第二驗證碼消失,以及使該電子鎖自動成為該上鎖狀態,同時該行動裝置在偵測到中斷電性連接時,自動刪除接收到的該第一驗證碼 步驟221:提供設置相同的一加密演算法的一伺服器及多個智取櫃,其中,該伺服器記錄一使用者訊息及每一智取櫃的一前一使用者識別碼,每一智取櫃均具有一非揮發性記憶體、一連接埠及一電子鎖,該非揮發性記憶體儲存所述智取櫃的一櫃位識別碼及該前一使用者識別碼,以及該電子鎖在斷電時自動成為一上鎖狀態 步驟222:該伺服器根據該使用者訊息,在所述智取櫃中選擇其中之一,並且記錄選擇的該智取櫃的該櫃位識別碼,以及執行該加密演算法以對選擇的該智取櫃的該櫃位識別碼及該前一使用者識別碼進行運算生成相應的一第一驗證碼,再根據該使用者訊息將產生的該第一驗證碼傳送至使用者的一行動裝置 步驟223:當一電源裝置或該行動裝置通過一連接線電性連接至該伺服器選擇的該智取櫃的該連接埠時,由該電源裝置或該行動裝置通過該連接線為該智取櫃供應電源 步驟224:當該智取櫃獲得電源後,該智取櫃自該非揮發性記憶體載入自身的該櫃位識別碼及該前一使用者識別碼,並且執行該加密演算法以對載入的該櫃位識別碼及該前一使用者識別碼進行運算生成相應的一第二驗證碼,以及自該行動裝置接收該第一驗證碼以與該第二驗證碼進行比對,當比對相符時,產生一控制信號以控制該電子鎖從一上鎖狀態成為一開鎖狀態 步驟225:當該行動裝置與該智取櫃中斷電性連接後,該電子鎖自動成為該上鎖狀態 110,150: Outsmart cabinet 111, 151: connection module 112, 152: Generate modules 113,153: control module 114: reset module 120, 160: server 121,161: Recording module 122,162: select modules 123,163: Execution module 131,171: mobile devices 300: encryption algorithm 610: First Mobile Device 611,621,710: screen 612,622: Notification message 620: Second Mobile Device 700: mobile device 711: Unlock button 720: connection line 750: Outsmart Cabinet 751: Electronic Lock Step 211: Provide a server and multiple smart lockers with the same encryption algorithm, where the server records a user message, and each smart locker has a counter ID, a connection port, and An electronic lock, which automatically becomes a locked state when the power is cut off Step 212: The server selects one of the smart lockers according to the user message to notify the user to proceed, and records the counter ID of the selected smart locker, and executes the encryption algorithm The method calculates a first parameter message to generate a corresponding first verification code, and then transmits the generated first verification code to a mobile device of the user according to the user message, wherein the first parameter message includes The counter identification code of the selected smart counter Step 213: When a power device or the mobile device is electrically connected to the port of the smart cabinet selected by the server through a cable, the power device or the mobile device is the smart cabinet through the cable Cabinet power supply Step 214: After the smart cabinet gets power, execute the encryption algorithm to calculate a second parameter message to generate a corresponding second verification code, and store the generated second verification code in a volatile memory Body, and receiving the first verification code from the mobile device for comparison with the second verification code, and when the comparison matches, a control signal is generated to control the electronic lock from a locked state to an unlocked state, wherein , The second parameter message contains the counter identification code of the smart counter itself Step 215: When the mobile device is disconnected from the smart cabinet, the second verification code stored in the volatile memory disappears, and the electronic lock is automatically brought into the locked state, and at the same time, the action When the device detects that the electrical connection is interrupted, it automatically deletes the received first verification code Step 221: Provide a server and multiple smart lockers with the same encryption algorithm, where the server records a user message and a previous user ID of each smart locker, and each smart locker Each of the pick-up cabinets has a non-volatile memory, a connection port and an electronic lock. The non-volatile memory stores a counter identification code and the previous user identification code of the smart pick-up cabinet, and the electronic lock is Automatically become a locked state when the power is off Step 222: The server selects one of the smart lockers according to the user information, records the counter identification code of the selected smart locker, and executes the encryption algorithm to verify the selected smart locker. The counter identification code of the smart counter and the previous user identification code are calculated to generate a corresponding first verification code, and then the generated first verification code is sent to a mobile device of the user according to the user message Step 223: When a power device or the mobile device is electrically connected to the port of the smart cabinet selected by the server through a cable, the power device or the mobile device is the smart device through the cable Cabinet power supply Step 224: After the smart cabinet gets power, the smart cabinet loads its counter ID and the previous user ID from the non-volatile memory, and executes the encryption algorithm to load The counter identification code and the previous user identification code are calculated to generate a corresponding second verification code, and the first verification code is received from the mobile device for comparison with the second verification code. When they match, a control signal is generated to control the electronic lock from a locked state to an unlocked state Step 225: When the electrical connection between the mobile device and the smart cabinet is interrupted, the electronic lock automatically becomes the locked state

第1A圖為本創作以行動裝置供電並解鎖智取櫃之系統的系統方塊圖。 第1B圖為本創作以行動裝置供電並解鎖智取櫃之系統的另一系統方塊圖。 第2A圖及第2B圖為本創作以行動裝置供電並解鎖智取櫃之方法的方法流程圖。 第2C圖及第2D圖為本創作以行動裝置供電並解鎖智取櫃之方法的另一方法流程圖。 第3圖為應用本創作生成第一驗證碼及第二驗證碼的第一實施例之示意圖。 第4圖為應用本創作生成第一驗證碼及第二驗證碼的第二實施例之示意圖。 第5圖為應用本創作生成第一驗證碼及第二驗證碼的第三實施例之示意圖。 第6A圖及第6B圖為應用本創作進行寄貨與取貨之示意圖。 Figure 1A is a block diagram of the system created to power the mobile device and unlock the smart locker. Figure 1B is a block diagram of another system created to power the mobile device and unlock the smart locker. Figure 2A and Figure 2B are the flowcharts of the method for creating the method of powering the mobile device and unlocking the smart locker. Figure 2C and Figure 2D are flowcharts of another method for creating a method of using a mobile device to power and unlock the smart locker. Figure 3 is a schematic diagram of the first embodiment of applying this creation to generate the first verification code and the second verification code. Figure 4 is a schematic diagram of a second embodiment of applying this creation to generate the first verification code and the second verification code. Figure 5 is a schematic diagram of a third embodiment of applying this creation to generate the first verification code and the second verification code. Figure 6A and Figure 6B are schematic diagrams of sending and picking up goods using this creation.

110:智取櫃 110: Outsmart Cabinet

111:連接模組 111: connection module

112:生成模組 112: Generate Module

113:控制模組 113: Control Module

114:重置模組 114: reset module

120:伺服器 120: server

121:記錄模組 121: record module

122:選擇模組 122: select module

123:執行模組 123: Execution module

131:行動裝置 131: mobile device

Claims (8)

一種以行動裝置供電並解鎖智取櫃之系統,該系統包含: 多個智取櫃,每一智取櫃均設置相同的一加密演算法,並且具有一櫃位識別碼、一連接埠及一電子鎖,該電子鎖在斷電時自動成為一上鎖狀態,每一智取櫃包含: 一連接模組,用以在一電源裝置或一行動裝置通過一連接線電性連接該連接埠時,由電源裝置或該行動裝置通過該連接線為所述智取櫃供應電源; 一生成模組,電性連接該連接模組,用以在所述智取櫃獲得電源後,執行該加密演算法以對一第二參數訊息進行運算生成相應的一第二驗證碼,並且將生成的該第二驗證碼儲存至一揮發性記憶體,其中,該第二參數訊息包含所述智取櫃自身的該櫃位識別碼; 一控制模組,電性連接該生成模組,用以自該行動裝置接收一第一驗證碼以與該第二驗證碼進行比對,當比對相符時,產生一控制信號以控制該電子鎖從一上鎖狀態成為一開鎖狀態;以及 一重置模組,電性連接該連接模組,用以在該行動裝置與該智取櫃中斷電性連接後,使儲存在該揮發性記憶體的該第二驗證碼消失,以及使該電子鎖自動成為該上鎖狀態,同時該行動裝置在偵測到中斷電性連接時,自動刪除接收到的該第一驗證碼;以及 一伺服器,設置與所述智取櫃相同的該加密演算法,該伺服器包含: 一記錄模組,用以記錄一使用者訊息; 一選擇模組,連接該記錄模組,用以根據該使用者訊息,在所述智取櫃中選擇其中之一以通知使用者前往操作,並且記錄選擇的該智取櫃的該櫃位識別碼;以及 一執行模組,連接該選擇模組,用以執行該加密演算法以對一第一參數訊息進行運算生成相應的該第一驗證碼,再根據該使用者訊息將產生的該第一驗證碼傳送至使用者的該行動裝置,其中,該第一參數訊息包含選擇的該智取櫃的該櫃位識別碼。 A system that uses a mobile device to supply power and unlock the smart cabinet. The system includes: There are multiple smart access cabinets, each of which is equipped with the same encryption algorithm, and has a counter identification code, a connection port and an electronic lock. The electronic lock will automatically become a locked state when the power is cut off. Each smart locker contains: A connection module for when a power supply device or a mobile device is electrically connected to the port through a connection line, the power supply device or the mobile device supplies power to the smart cabinet through the connection line; A generation module, electrically connected to the connection module, for executing the encryption algorithm to calculate a second parameter message to generate a corresponding second verification code after the smart cabinet obtains power, and The generated second verification code is stored in a volatile memory, wherein the second parameter message includes the counter identification code of the smart counter itself; A control module, electrically connected to the generating module, for receiving a first verification code from the mobile device for comparison with the second verification code, and when the comparison matches, a control signal is generated to control the electronic The lock changes from a locked state to an unlocked state; and A reset module, electrically connected to the connection module, used to make the second verification code stored in the volatile memory disappear after the mobile device and the smart cabinet are disconnected from the electrical connection, and to make The electronic lock automatically becomes the locked state, and the mobile device automatically deletes the received first verification code when it detects that the electrical connection is interrupted; and A server configured with the same encryption algorithm as the smart locker, and the server includes: A recording module for recording a user message; A selection module, connected to the recording module, for selecting one of the smart lockers according to the user's message to notify the user to proceed, and record the counter identification of the selected smart locker Code; and An execution module, connected to the selection module, for executing the encryption algorithm to calculate a first parameter message to generate the corresponding first verification code, and then generate the first verification code based on the user message The mobile device sent to the user, wherein the first parameter message includes the counter identification code of the selected smart counter. 如請求項1之以行動裝置供電並解鎖智取櫃之系統,其中該第一參數訊息及該第二參數訊息更包含一使用者識別碼,當該伺服器及該智取櫃執行該加密演算法時,同時對該櫃位識別碼及該使用者識別碼進行加密或編碼以生成該第一驗證碼及該第二驗證碼。For example, request item 1 uses a mobile device to power and unlock the smart locker system, where the first parameter message and the second parameter message further include a user identification code, when the server and the smart locker execute the encryption algorithm During the method, the counter identification code and the user identification code are encrypted or encoded at the same time to generate the first verification code and the second verification code. 如請求項2之以行動裝置供電並解鎖智取櫃之系統,其中該第一參數訊息及該第二參數訊息更包含一時戳訊息,當該伺服器及該智取櫃執行該加密演算法時,同時對該櫃位識別碼、該使用者識別碼及該時戳訊息進行加密或編碼以生成該第一驗證碼及該第二驗證碼。For example, request 2 uses a mobile device to power and unlock the smart locker system, where the first parameter message and the second parameter message further include a time stamp message, when the server and the smart locker execute the encryption algorithm At the same time, the counter identification code, the user identification code and the time stamp message are encrypted or encoded to generate the first verification code and the second verification code. 如請求項3之以行動裝置供電並解鎖智取櫃之系統,其中該智取櫃比對該第一參數訊息與該第二參數訊息的該時戳訊息的差異是否超過一預設範圍,當超過該預設範圍時,禁能該電子鎖以維持在該上鎖狀態。For example, if the request item 3 is powered by a mobile device and unlocks the system of the smart locker, whether the difference between the time stamp information of the first parameter message and the second parameter message of the smart locker exceeds a preset range, when When the preset range is exceeded, the electronic lock is disabled to maintain the locked state. 一種以行動裝置供電並解鎖智取櫃之系統,該系統包含: 多個智取櫃,每一智取櫃均設置相同的一加密演算法,並且具有一非揮發性記憶體、一連接埠及一電子鎖,該非揮發性記憶體儲存所述智取櫃的一櫃位識別碼及一前一使用者識別碼,以及該電子鎖在斷電時自動成為一上鎖狀態,每一智取櫃包含: 一連接模組,用以在一電源裝置或一行動裝置通過一連接線電性連接該連接埠時,由該電源裝置或該行動裝置通過該連接線為所述智取櫃供應電源; 一生成模組,電性連接該連接模組,用以在所述智取櫃獲得電源後,所述智取櫃自該非揮發性記憶體載入自身的該櫃位識別碼及該前一使用者識別碼,以及執行該加密演算法以對載入的該櫃位識別碼及該前一使用者識別碼進行運算生成相應的一第二驗證碼;以及 一控制模組,電性連接該生成模組,用以自該行動裝置接收一第一驗證碼以與該第二驗證碼進行比對,當比對相符時,產生一控制信號以控制該電子鎖從一上鎖狀態成為一開鎖狀態,以及在該行動裝置與該智取櫃中斷電性連接後,使該電子鎖自動成為該上鎖狀態;以及 一伺服器,設置與所述智取櫃相同的該加密演算法,該伺服器包含: 一記錄模組,用以記錄一使用者訊息及每一智取櫃的該前一使用者識別碼; 一選擇模組,連接該記錄模組,用以根據該使用者訊息,在所述智取櫃中選擇其中之一,並且記錄選擇的該智取櫃的該櫃位識別碼;以及 一執行模組,連接該選擇模組,用以執行該加密演算法以對選擇的該智取櫃的該櫃位識別碼及該前一使用者識別碼進行運算生成相應的該第一驗證碼,再根據該使用者訊息將產生的該第一驗證碼傳送至使用者的該行動裝置。 A system that uses a mobile device to supply power and unlock the smart cabinet. The system includes: There are multiple smart access cabinets, each smart access cabinet is equipped with the same encryption algorithm, and has a non-volatile memory, a connection port and an electronic lock. The non-volatile memory stores one of the smart access cabinets. Counter identification code and a previous user identification code, and the electronic lock will automatically become a locked state when the power is cut off. Each smart counter includes: A connection module for when a power supply device or a mobile device is electrically connected to the port through a connection line, the power supply device or the mobile device supplies power to the smart cabinet through the connection line; A generating module, electrically connected to the connection module, for after the smart cabinet gets power, the smart cabinet loads its own counter identification code and the previous use from the non-volatile memory User identification code, and execute the encryption algorithm to perform operations on the loaded counter identification code and the previous user identification code to generate a corresponding second verification code; and A control module, electrically connected to the generating module, for receiving a first verification code from the mobile device for comparison with the second verification code, and when the comparison matches, a control signal is generated to control the electronic The lock changes from a locked state to an unlocked state, and after the mobile device is disconnected from the smart cabinet, the electronic lock is automatically brought into the locked state; and A server configured with the same encryption algorithm as the smart locker, and the server includes: A recording module for recording a user message and the previous user identification code of each smart locker; A selection module connected to the recording module for selecting one of the smart lockers according to the user information, and recording the counter identification code of the selected smart locker; and An execution module connected to the selection module for executing the encryption algorithm to perform operations on the counter ID and the previous user ID of the selected smart counter to generate the corresponding first verification code , And then send the generated first verification code to the mobile device of the user according to the user message. 如請求項5之以行動裝置供電並解鎖智取櫃之系統,其中該第一參數訊息及該第二參數訊息更包含一使用者識別碼,當該伺服器及該智取櫃執行該加密演算法時,同時對該櫃位識別碼及該使用者識別碼進行加密或編碼以生成該第一驗證碼及該第二驗證碼。For example, request item 5 uses a mobile device to power and unlock the smart locker system, wherein the first parameter message and the second parameter message further include a user identification code, when the server and the smart locker execute the encryption algorithm During the method, the counter identification code and the user identification code are encrypted or encoded at the same time to generate the first verification code and the second verification code. 如請求項6之以行動裝置供電並解鎖智取櫃之系統,其中該第一參數訊息及該第二參數訊息更包含一時戳訊息,當該伺服器及該智取櫃執行該加密演算法時,同時對該櫃位識別碼、該使用者識別碼及該時戳訊息進行加密或編碼以生成該第一驗證碼及該第二驗證碼。For example, request item 6 uses a mobile device to power and unlock the smart locker system, where the first parameter message and the second parameter message further include a time stamp message, when the server and the smart locker execute the encryption algorithm At the same time, the counter identification code, the user identification code and the time stamp message are encrypted or encoded to generate the first verification code and the second verification code. 如請求項7之以行動裝置供電並解鎖智取櫃之系統,其中該智取櫃比對該第一參數訊息與該第二參數訊息的該時戳訊息的差異是否超過一預設範圍,當超過該預設範圍時,禁能該電子鎖以維持在該上鎖狀態。For example, request 7 uses a mobile device to power and unlock the smart locker system, wherein the smart locker compares whether the difference between the time stamp information of the first parameter message and the second parameter message exceeds a preset range, when When the preset range is exceeded, the electronic lock is disabled to maintain the locked state.
TW110200015U 2021-01-04 2021-01-04 System powered by mobile device to unlock intelligent parcel locker TWM610572U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110200015U TWM610572U (en) 2021-01-04 2021-01-04 System powered by mobile device to unlock intelligent parcel locker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110200015U TWM610572U (en) 2021-01-04 2021-01-04 System powered by mobile device to unlock intelligent parcel locker

Publications (1)

Publication Number Publication Date
TWM610572U true TWM610572U (en) 2021-04-11

Family

ID=76606025

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110200015U TWM610572U (en) 2021-01-04 2021-01-04 System powered by mobile device to unlock intelligent parcel locker

Country Status (1)

Country Link
TW (1) TWM610572U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI780767B (en) * 2021-06-15 2022-10-11 南開科技大學 System for shipping and receiving when powered by connected mobile and method thereof
TWI787704B (en) * 2020-12-31 2022-12-21 張凱傑 System for smart locker powered by mobile device and provided with password to unlock and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI787704B (en) * 2020-12-31 2022-12-21 張凱傑 System for smart locker powered by mobile device and provided with password to unlock and method thereof
TWI780767B (en) * 2021-06-15 2022-10-11 南開科技大學 System for shipping and receiving when powered by connected mobile and method thereof

Similar Documents

Publication Publication Date Title
EP3639465B1 (en) Improved hardware security module management
US11469891B2 (en) Expendable cryptographic key access
US10264433B2 (en) System and method for using an electronic lock with a smartphone
US11875171B2 (en) Blockchain network transaction processing method, apparatus, device, and storage medium
US20190340348A1 (en) Security verification method and device
KR20170010799A (en) Power management contracts for accessory devices
KR20160077185A (en) Instruction information transmission and reception methods and devices thereof
TWM610572U (en) System powered by mobile device to unlock intelligent parcel locker
WO2021114520A1 (en) Express delivery locker management method and device, mobile terminal, and storage medium
CN110188564B (en) Mobile data storage terminal based on quantum key encryption
CN102845046A (en) Dynamic configuration of connectors for system level communications
US10523427B2 (en) Systems and methods for management controller management of key encryption key
EP3494482B1 (en) Systems and methods for storing administrator secrets in management controller-owned cryptoprocessor
WO2023116118A1 (en) Device control method and apparatus, electronic device, and storage medium
US11934164B2 (en) Remote resetting to factory default settings; a method and a device
US9621551B2 (en) Systems and methods for providing secure pre-boot and root authentication to an information handling system
TWI787704B (en) System for smart locker powered by mobile device and provided with password to unlock and method thereof
US11740806B2 (en) Management controller based drive migration
CN104157059A (en) Logistics security box system with no-transformer electronic lock
WO2021194646A1 (en) Device provisioning using a supplemental cryptographic identity
JP5690927B2 (en) Method and system for processing a plurality of wireless communication streams by an integrated circuit card
US11409883B1 (en) Binding customer-signed image to a specific platform
US20210397237A1 (en) Computing device remote control system
US20240169101A1 (en) Transceiver device security system
US20230355021A1 (en) Energy efficient smart mailbox

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees