Anti-forgetting storage box based on RFID
By integrating RFID smart tags, ESP32 development boards and speech recognition modules in the storage box, combined with the WeChat applet, intelligent access and positioning of items are realized, solving the problem of confusion and forgetting of items for the elderly, and improving the quality of the items for the elderly. life convenience and happiness.
Patent Information
- Application Number
- CN202323025205.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-09
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing anti-forgetting storage boxes have a single use scenario, lack the active object-finding function, and cannot effectively solve the problem of confusion and forgetting of items for the elderly.
An anti-forgetting storage box based on RFID is designed, using ESP32 development board, RFID tags, WeChat applet and voice recognition module. It realizes item access and positioning through RFID smart tags. It combines the WeChat applet to set up the item carrying plan and provides The active object-finding function improves the convenience of item management for the elderly.
It realizes the intelligent storage and search of the elderly's items, reduces the risk of forgetting, improves the elderly's sense of life happiness, and solves the problem of confusion and forgetting of items.
Smart Images

Figure CN221699438U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of storage boxes, in particular to an anti-forgetting storage box based on RFID. Background Art
[0002] With the advent of an aging society, the problems encountered by the elderly in their daily lives are becoming more and more serious. The elderly group's memory loss leads to confusion in the storage of items and the easy forgetting of essential items. Therefore, it is necessary to develop smart storage products to solve the above problems.
[0003] A Chinese patent with application number 202023021751.1 discloses an anti-forgettable storage box with a rotatable hanging plate, including an outer shell and a rotatable hanging plate. The outer shell is enclosed by wooden boards, with an open front end and a rectangular shape. There is a rotatable hanging plate inside the outer shell. The rotatable hanging plate can be pulled out, and after rotation, the magnet embedded in the rotatable storage plate and the magnet embedded in the outer shell can be adsorbed to each other and stand vertically. A folding hook is provided on the hanging plate, and an LED lamp bead is installed in the folding hook groove. The rotatable hanging plate is connected to the slide grooves on the left and right inner sides of the outer shell through a connecting rod and can be retracted into the outer shell. When the rotatable hanging plate is retracted into the outer shell, the top magnet and the magnet embedded in the outer shell are adsorbed to each other to prevent the rotatable hanging plate from sliding in the storage state. When in use, the LED lamp bead in the hook groove is always on, which can serve as a reminder when people turn off the lights and go out, preventing people from forgetting personal belongings such as keys;
[0004] However, this device still has some shortcomings in actual use: the storage box is used in too single a scenario and does not have the function of actively finding items, so it is not very effective in solving the problem of disorganized storage of items for the elderly.
[0005] Therefore, a redesign is urgently needed to solve the above problems. Utility Model Content
[0006] The utility model aims to provide an anti-forgetting storage box based on RFID to solve the problem of elderly people's mixed storage of items.
[0007] The utility model provides an anti-forgetting storage box based on RFID, comprising a box body, a hardware device and a back-end server; the storage box has rounded edges and a smooth surface without sharp angles; the hardware device is arranged in the box body; the hardware device is connected with a back-end server signal; the hardware device comprises an ESP32 development board; and a microcontroller inside the ESP32 development board integrates WiFi and Bluetooth functions.
[0008] Optionally, the storage box further includes a card reader, which is disposed inside the storage box. The hardware device includes an RFID tag, and a signal connection is established between the card reader and the RFID tag.
[0009] Optionally, the card reader includes a radio frequency interface module, a control module and an antenna.
[0010] Optionally, the software installation scheme of the backend server is: using a server equipped with an EMQX environment and a MySQL database to build an MQTT server solution.
[0011] Optionally, the storage box also includes a WeChat applet, and a signal connection is established between the WeChat applet and the hardware device and the backend server.
[0012] Optionally, the storage box further includes a display module, which is fixedly connected to the outer surface of the box body and is connected to a hardware device signal.
[0013] Optionally, the storage box also includes a voice recognition module, and the voice recognition module is arranged in the hardware device.
[0014] The beneficial effects of the utility model are as follows: RFID smart tags are used to access and locate items, and voice recognition technology helps the elderly to store and find items more conveniently; an item carrying plan can be set on the mini program to prevent forgetting. In the context of aging, this storage box solves the problem of storage confusion and easy forgetfulness of the elderly and improves their sense of happiness in life. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 It is a schematic diagram of the overall three-dimensional structure of the utility model;
[0017] Figure 2 It is a schematic diagram of the three-dimensional structure of the utility model after removing the top plate;
[0018] Figure 3 It is a functional diagram of the hardware device;
[0019] Figure 4 It is the circuit diagram of the hardware device;
[0020] Figure 5 It is the circuit diagram of the display module;
[0021] Figure 6 This is the circuit diagram of the speech recognition module;
[0022] Figure 7 It is the program flow chart of the speech recognition module;
[0023] Figure 8 This is the working principle diagram of RFID tag;
[0024] Fig. 9 It is a schematic diagram of the structural components of an RFID tag;
[0025] Fig.10 It is the workflow diagram of RFID reader;
[0026] Fig.11 It is the flow chart of positioning algorithm;
[0027] Fig.12 It is a schematic diagram of the communication model of the backend server;
[0028] Fig.13 It is a functional diagram of the mini program.
[0029] Explanation of the reference numerals: 1. slot for placing the ESP32 development board; 2. partition; 3. storage compartment; 4. display screen. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. It is understandable that the specific embodiments described herein are only used to explain the utility model, rather than to limit the utility model. It should also be noted that, for ease of description, only the parts related to the utility model rather than all structures are shown in the drawings. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the utility model.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] An anti-forgotten storage box based on RFID, such as Figure 1-13As shown, it includes: a box body, hardware devices and a back-end server; the storage box has a moderate size, which is convenient for the elderly to place, the edges of the storage box are rounded and the surface is smooth without sharp corners, and a cavity for storing items is arranged inside the box body, and the cavity is divided into multiple storage compartments 3 and an ESP32 development board placement slot 1 by a partition 2, and the hardware device is placed in the ESP32 development board placement slot 1 to eliminate safety hazards. For the sake of aesthetics, textures are added to the surface of the storage box, and the hardware device is arranged in the box body. The hardware device is connected to the back-end server signal. The hardware device includes an ESP32 development board, and the internal microcontroller of the ESP32 development board integrates WiFi and Bluetooth functions; WiFi supports 802.11b / g / n, with a maximum speed of 150Mbps. The ESP32 development board contains a 32-bit dual-core processor, the normal operating speed of the CPU reaches 80MHz, and it has built-in 448KBROM and 520KBSROM. Its function diagram is shown in Figure 3 As shown, the circuit diagram is as follows Figure 4 As shown; this storage box has the function of actively searching for items, which solves the problem of chaotic storage of items for the elderly. After the hardware device is connected to the Internet via WiFi, it can communicate with the EMQXX cloud server based on the application protocol MQTT of the TCP protocol, which is mainly used to transmit the data collected by the ESP32 development board and the instructions from the application front end. First, the mobile application communicates with the back-end server after connecting to the Internet through the cellular network, and then obtains the status of the hardware device through the back-end server medium, and then transmits instructions and accesses the database in the server; the ESP32 development board has the following advantages: Low power consumption: Compared with other microcontrollers, the ESP32 development board has extremely low power consumption and supports low-power modes such as deep sleep to save power; WiFi function: The ESP32 development board can easily connect to a Wi-Fi network to connect to the Internet (station mode), or create its own Wi-Fi wireless network (access point mode) so that other devices can connect to it - this is very useful It is essential for IoT projects; Bluetooth: The ESP32 development board supports classic Bluetooth and Bluetooth Low Energy (BLE) - suitable for various IoT applications; Dual-core: Most ESP32 development boards are dual-core - they come with 2 Xtensa 32-bit LX6 microprocessors: Core 0 and Core 1; Rich peripheral input / output interfaces: ESP32 supports a variety of input (reading data from the outside world) and output (sending commands / signals to the outside world) peripherals such as capacitive touch, ADC, DAC, UART, SPI, I2C, pulse width modulation, etc.; Compatible with Arduino: ESP32 can be programmed in Arduino style.
[0033] The storage box also includes a card reader, which is arranged inside the storage box. The hardware device includes an RFID tag. The signal connection between the card reader and the RFID tag is also called a "radio frequency tag" or "electronic tag". Its working principle is as follows: Figure 8 As shown, the RFID tag consists of three parts: RFID chip, antenna, and circuit. The schematic diagram of its structural composition unit is shown in Fig. 9 As shown, the card reader communicates wirelessly with the RFID tag through the antenna, and can read or write the tag identification code and memory data. The process is as follows Fig.10 shown.
[0034] Preferably, the card reader includes a radio frequency interface module, a control module and an antenna; the radio frequency interface module: mainly includes a transmitter, a radio frequency receiver, a clock generator and a voltage regulator, which is the radio frequency front end of the reader, and is also a key part that affects the reader, responsible for the transmission and reception of radio frequency signals; the modulation circuit is responsible for modulating the signal to be sent to the electronic tag before sending it; the demodulation circuit is responsible for amplifying the signal sent by the demodulation tag; the clock generator is responsible for generating the normal working clock of the system; the control module: the control center and intelligent unit of the entire reader, which is the "brain" of the reader. When the reader is working, the logic control module issues instructions, and the radio frequency interface module performs different operations according to different instructions; it is mainly driven by a microcontroller, a storage unit and an application interface circuit; the storage unit is responsible for storing some programs and data; the application interface is responsible for input and output communication with the host computer. Antenna: It is a device that transmits and receives radio frequency carrier signals, responsible for converting the current signal in the reader into a radio frequency carrier signal and sending it to the electronic tag, or receiving the radio frequency carrier signal sent by the tag and converting it into a current signal.
[0035] Preferably, the software installation scheme of the back-end server is: using a server equipped with the EMQX environment and the MySQL database to build an MQTT server solution.
[0036] EMQX (Erlang / Enterprise / ElasticMQTTBroker) is a message and stream processing software for 5G and IoT communications. EMQX enables the access of massive devices in mobile and IoT scenarios and imports messages from each stream, which satisfies the monitoring and normal operation of data streams. The open source software EMQX runs on the server as the management center of the MQTT message stream in the smart storage box. The storage box and the application can exchange data through the server, thereby achieving smooth communication in the entire storage box network layer. Under the control of the Python script program, the server can dynamically manage the database. When instructions are received from the device or mobile terminal, operations such as adding, deleting, checking, and modifying data in the MySQL database are performed. The server communication model equipped with the IoT environment and the database is as follows: Fig.12 As shown in the figure, the data management is mainly done by Python program inside the server. Outside the server, the device communicates with port 1883 through MQTT protocol, and the management end manages the backend IoT platform by connecting to port 18083 of the server. On the other side of the server, the WeChat applet part, because Tencent stipulates that the applet can only communicate with the certified port 443 using the WSS protocol, we also need to use Nginx to forward its data to port 8084 to connect to the IoT environment platform.
[0037] Preferably, the storage box also includes a WeChat applet, which is connected to the hardware device and the back-end server by signals; the front-end design of the WeChat applet mainly uses blue and green as the main colors, because for the elderly, their vision is declining, so it is easier for them to see the information on the interface clearly. The applet mainly includes two interfaces, functions such as Fig.13 The home page mainly displays the storage data, online status, and storage status data of the device end. You can also enter the content to be sent to the message board of the hardware device end; the database query page is mainly an interface for adding, deleting, checking, and modifying the content in the database. It can not only directly control the hardware device end, but also directly control the database.
[0038] Furthermore, the storage box also includes a display module, which is fixedly connected to the outer surface of the box body. The display module is connected to the hardware device signal. The display module is specifically an OLED display screen 4, which is electrically connected to the ESP32 development board chip through the I2C interface, receives and displays the information sent by the ESP32 development board, mainly including the current WiFi connection status and the stored data. The user can learn the current storage status and the network status of the system from the data displayed on the OLED screen. The circuit connection diagram of the display module is shown in the figure. Figure 5 shown.
[0039] Preferably, the storage box also includes a voice recognition module, which is set in the hardware device. The ESP32 development board transmits the sampled voice signal to be recognized to the back-end server via WiFi. The ESP32 development board transmits data through the built-in audio bus I2S of the integrated circuit and the stereo multimedia digital signal codec WM8978. The WM8978 is connected to an external microphone MIC and a speaker SPK, and the WM8978 records people's speech and plays the voice recognition results. The ESP32 is connected to an external TF card to store data files, etc. The ESP32 development board is connected to the STM32F103ARM via the RS-232 serial port, which can transmit the results of voice recognition. At the same time, the external CP2104USB to serial port level conversion chip can be used for debugging and phenomenon observation via the USB port. Its circuit diagram is as follows Figure 6 As shown, the program flow chart is as follows Figure 7 As shown in the figure, the voice recognition module uses a deep learning algorithm similar to a neural network, which greatly improves the recognition efficiency. It uses RESTAPI to provide a standard HTTP port, allows the recognition of the entire recording file, and allows the use of voice recognition controls. However, the recording must meet the requirements of PCM8k or 16k sampling rate, mono 16-bit depth, support uncompressed PCM, WAV and other formats, and support Chinese, English and Cantonese. The specific design process is: log in to the Baidu voice recognition platform, transfer to the created application from the management console, obtain the API, Secret key and application ID, and obtain Access_token according to Baidu's permission method. The voice data and other parameters are serialized in the standard JSON format and uploaded by POST. The voice data is placed in the "speech" data segment of the JSON data stream, encoded in base64, and the length of the voice data is marked in the "len" data segment; or the voice acquisition address is directly given in the "url" data segment, and the call address of the recognition result is placed in the "callback" data segment. If it can be recognized, the recognition result is placed in the "result" data segment of the JSON data stream and encoded in UTF-8 mode.
[0040] The object positioning principle of this storage box: 1) Position marking: Unknown position point: Attach an RFID chip containing the object information to the elderly's storage items. Known position point: Place the card reader at the four corners of the room. The card reader is selected as YXU1861-8dbi. YXU1861-8dbi is a high-performance long-distance card reader with a long recognition distance, multiple data interfaces, and reliable working performance. It works in wide spectrum frequency hopping (FHSS) or fixed frequency transmission mode. Each known position point continuously sends ID and position information to the outside world. When the unknown position point enters the radio frequency range, the information of the position point can be received. When the number of receptions reaches a certain set value, the average value is taken, and the information of the position point is sent to the mobile phone background through serial communication, and the mobile phone background performs the positioning algorithm. The EPCC1G2 electronic tag memory is logically divided into four storage areas, each of which consists of one or more storage words. The four storage areas are: EPC area: the area where EPC is stored. According to the regulations of the remote card reader, the maximum capacity is 15 EPC codes, which are readable and writable; TID area: stores the identity ID set by the electronic tag manufacturer. There are currently two types of identity IDs: 4 characters and 8 characters, which are readable but not writable; User area (User): This area is different for different manufacturers. Inpinj's G2 electronic tag has no user area. Philips has 28 characters, which are readable and writable; Reserved area (Password): The first two characters are KillPassword, and the last two characters are AccessPassword, which are readable and writable. All four storage areas can be write-protected, which means that the area can never be written or cannot be written in a non-secure state; Only the password area can be set to read protection, that is, it cannot be read, which can protect the privacy and security of the elderly to the greatest extent. 2) Positioning algorithm: The positioning algorithm is the core content of the implementation of the mobile applet and provides important support for the realization of the basic functions of the platform. The following is the theoretical analysis and calculation of the positioning algorithm. A, B, C, D are the four known positions of sound reception. The algorithm transforms the coordinates of the meta-coordinate system, takes point A as the origin, and establishes a Cartesian coordinate system. The unknown position point N (X, Y) is located at points A, B, and C. The positioning algorithm is the core content of the mobile applet implementation and provides important support for the basic functions of the platform. The following is the theoretical analysis and calculation of the positioning algorithm. According to the requirements, A, B, C, and D are the four known positions of sound reception. The algorithm transforms the coordinates of the meta-coordinate system, takes point A as the origin, and establishes a Cartesian coordinate system. The difference in distance from the unknown position point N (X, Y) to points A, B, C, and D is a constant, and a mathematical model is established:
[0041]
[0042]
[0043]
[0044] Let Δt1v=C1, x=R cosθ, Δt2v=C2, x=R sinθ, Δt3v=C3
[0045] The original equation is transformed into:
[0046] 2R(C1+b sinθ1)=b 2 -C1 2 (4)
[0047] 2R(C2+a cosθ1)=a 2 -C2 2 (5)
[0048] 2R(C3+a cosθ1+bsinθ1)=a 2 +b 2 -C3 2 (6)
[0049] Divide formula (4) by formula (5):
[0050]
[0051]
[0052]
[0053] Fig.11 It is an algorithm flow chart, including the positioning calculation processing of the background calculation end.
[0054] When using it, first attach RFID tags to the items that need to be managed and found, then assign a unique ID to each item and encode it into the RFID tag for subsequent identification and tracking. Then select an RFID reader compatible with the tag so that it can communicate with the core processor of the ESP32 development board. The reader's job is to detect and read nearby RFID tags and transmit the tag information to the ESP32 development board for processing. When the user puts an item into the storage box, the RFID reader will identify the nearby RFID tag and send the ID to the ESP32 development board. Then the ESP32 development board matches the item's ID with the item information in the database and stores the item information in the internal memory or external storage device.
[0055] The above description is only an implementation method of the present utility model, and does not limit the patent scope of the present utility model. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of the present utility model, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present utility model.
Claims
1. An anti-forgetting storage box based on RFID, characterized in that: include: Box, hardware equipment and backend server; The edges of the storage box are rounded and the surface is smooth without sharp corners. The hardware device is set in the box body. The hardware device is connected to the back-end server signal. The hardware device includes an ESP32 development board. The internal microcontroller of the ESP32 development board integrates WiFi and Bluetooth components.
2. The RFID-based anti-forgetfulness storage box according to claim 1 is characterized in that: It also includes a card reader, which is arranged inside the storage box. The hardware device includes an RFID tag, and a signal connection is established between the card reader and the RFID tag.
3. The RFID-based anti-forgetfulness storage box according to claim 2 is characterized in that: The card reader includes a radio frequency interface module, a control module and an antenna.
4. The RFID-based anti-forgetfulness storage box according to claim 1, characterized in that: The software deployment plan for the backend server is to build an MQTT server using a server equipped with the EMQX environment and MySQL database.
5. The RFID-based anti-forgetfulness storage box according to claim 1, characterized in that: It also includes WeChat applet, and the signal connection between WeChat applet and hardware devices and backend servers.
6. The RFID-based anti-forgetfulness storage box according to claim 1, characterized in that: The storage box also includes a display module, which is fixedly connected to the outer surface of the box body and is connected to the ESP32 development board signal.
7. The RFID-based anti-forgetfulness storage box according to claim 1, characterized in that: The storage box also includes a voice recognition module, which is arranged in the hardware device.
