A cabinet grid addressing method, a cabinet and a cabinet grid addressing system

CN120673517BActive Publication Date: 2026-10-30SHENZHEN NUBOMED EQUIP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510810843.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-06
Publication Date
2026-10-30
Estimated Expiration
2043-01-06

AI Technical Summary

Technical Problem

[0005]基于此,有必要针对现有柜体对柜格寻址效率低下,耗时久的问题,提供一种新的柜体的柜格寻址方法、柜体及柜格寻址系统

Benefits of technology

[0032]在本实施例中提供一种柜体的柜格寻址方法、柜体及柜格寻址系统,柜体的柜格寻址方法中柜体包括至少一个柜格,柜格包括寻址电路和开关结构,当开关结构被放入柜格的电子装置触发时,通过寻址电路生成柜格的节点地址,根据节点地址建立电子装置与柜格的关联。本申请通过电子装置对开关结构的开启或关闭,通过寻址电路即时生成或去除当前柜格的节点地址,无需在系统中事先预设的节点地址中查找对应柜格的节点地址,提高了柜体对柜格寻址的效率,减少了柜体对柜格寻址的时间。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120673517B_ABST
    Figure CN120673517B_ABST
Patent Text Reader

Abstract

The application relates to a cabinet shelf addressing method, a cabinet and a cabinet shelf addressing system. The cabinet shelf addressing method comprises the following steps: the cabinet comprises at least one cabinet shelf; the cabinet shelf comprises an addressing circuit and a switch structure; when the switch structure is triggered by an electronic device placed in the cabinet shelf, a node address of the cabinet shelf is generated through the addressing circuit; and the association between the electronic device and the cabinet shelf is established according to the node address. According to the application, the node address of the current cabinet shelf is generated or removed through the addressing circuit by opening or closing the switch structure by the electronic device, the node address of the corresponding cabinet shelf does not need to be searched in the node addresses preset in the system in advance, the efficiency of the cabinet in addressing the cabinet shelf is improved, and the time for the cabinet to address the cabinet shelf is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese application filed on January 6, 2023, with application number 2023100380029 and entitled "A cabinet compartment addressing method, cabinet and cabinet compartment addressing system". Technical Field

[0002] This invention relates to the technical fields of next-generation information technology and the biomedical industry, and in particular to a cabinet compartment addressing method, cabinet, and cabinet compartment addressing system. Background Technology

[0003] With the development of technology, the application of cabinets such as express delivery lockers, food pickup lockers, vending machines, and smart medical cabinets is becoming more and more widespread. Many of these cabinets include multiple compartments, each containing electronic devices that can be placed or removed. Each compartment is configured with an independent node address, which allows for communication, control, and management of each compartment or electronic device.

[0004] The existing cabinet addressing method generally pre-sets the node address of each cabinet based on the number of cabinets and then assigns it to the corresponding cabinet. Regardless of whether there are electronic devices in the cabinet or whether it is in working condition, the node address of the cabinet needs to be pre-set in the system. When an electronic device is placed in the cabinet, the corresponding node address of the cabinet is retrieved from the system for association. This method is very inefficient. First, it is necessary to detect which cabinet has an electronic device, and then retrieve the node address of that cabinet from the system. Especially when the cabinet has more cabinets, the time required to detect changes in cabinet status and find the corresponding cabinet node address is longer. Once the cabinet's addressing process for the cabinet has a problem, the management of electronic devices in the cabinet will become chaotic. Summary of the Invention

[0005] Therefore, it is necessary to provide a new cabinet cell addressing method, cabinet, and cabinet cell addressing system to address the problems of low efficiency and long time consumption in existing cabinet cell addressing.

[0006] A cabinet compartment addressing method for a cabinet, the cabinet including at least one compartment, each compartment including an addressing circuit and a switching structure, the switching structure including an electrical component capable of turning on or off the addressing circuit, the method comprising:

[0007] When the switch structure is triggered by the electronic device placed in the cabinet, the node address of the cabinet is generated through the addressing circuit;

[0008] The association between the electronic device and the cabinet is established based on the node address.

[0009] In one embodiment, the electronic device includes multiple devices, each including a sensing module and a communication module. The sensing module collects status data of items inside the cabinet and transmits it to the cabinet via the communication module. Establishing the association between the electronic device and the cabinet based on the node address includes:

[0010] When the addressing circuit is turned on by the switching structure, it receives status data and corresponding identification data of the electronic device sent by the electronic device.

[0011] Establish the association between the node address and the identification data;

[0012] Correspondingly, establishing the association between the electronic device and the cabinet based on the node address specifically includes:

[0013] The association between the electronic device and the cabinet is established based on the node address and the identification data.

[0014] In one embodiment, the addressing circuit includes a first resistor, a second resistor, a source terminal, and a ground terminal. The switching structure includes a first switch and a second switch. The first resistor and the second resistor are respectively connected to the source terminal. One end of the first switch is connected to the first resistor to turn the first resistor on or off. One end of the second switch is connected to the second resistor to turn the second resistor on or off. The other ends of the first switch and the second switch are respectively connected to the ground terminal. When the switching structure is triggered by an electronic device placed in the cabinet, the node address of the cabinet is generated by the addressing circuit, including:

[0015] When the first switch is turned on by the electronic device, the first voltage division value between the first resistor and the source terminal is obtained;

[0016] When the second switch is turned on by the electronic device, the second voltage division value between the second resistor and the source terminal is obtained;

[0017] The node address of the cabinet is generated based on the first voltage division value and the second voltage division value.

[0018] In one embodiment, the cabinet includes a plurality of cabinet compartments arranged in a horizontal and vertical direction. Each cabinet compartment is connected in series between the source terminal and the ground terminal via a bus. The first resistor and the first switch of each cabinet compartment are connected in parallel, and the second resistor and the second switch of each cabinet compartment are connected in parallel. The generation of the node address of the cabinet compartment based on the first voltage divider value and the second voltage divider value includes:

[0019] Turn on the first switch and the second switch to input a constant voltage current to the source terminal;

[0020] When the first switch is blocked by the electronic device, the first voltage division value between the source terminal and the first resistor corresponding to any of the cabinets is obtained. When the second switch is blocked by the electronic device, the second voltage division value between the source terminal and the second resistor corresponding to any of the cabinets is obtained, so as to generate the node address corresponding to the cabinet respectively.

[0021] A cabinet, comprising:

[0022] At least one cabinet, the cabinet including an addressing circuit and a switching structure, the switching structure including electrical components capable of turning on or off the addressing circuit;

[0023] The address generation module is used to generate the node address of the cabinet through the addressing circuit when the switch structure is triggered by the electronic device placed in the cabinet.

[0024] The calibration module is used to establish the association between the electronic device and the cabinet based on the node address.

[0025] In one embodiment, the electronic devices include multiple devices, each including a sensing module and a communication module. The sensing module collects status data of items inside the cabinet and transmits it to the cabinet via the communication module. The cabinet also includes:

[0026] The data processing module is used to receive status data and corresponding identification data sent by the electronic device;

[0027] The calibration module is also used to establish the association between the node address and the identification data, wherein the calibration module is specifically used to establish the association between the electronic device and the cabinet based on the node address and the identification data.

[0028] In one embodiment, the addressing circuit includes a first resistor, a second resistor, a source terminal, and a ground terminal. The switch structure includes a first switch and a second switch. The first resistor and the second resistor are respectively connected to the source terminal. One end of the first switch is connected to the first resistor to turn on or off the first resistor. One end of the second switch is connected to the second resistor to turn on or off the second resistor. The other ends of the first switch and the second switch are respectively connected to the ground terminal. The address generation module is further configured to obtain a first voltage division value between the first resistor and the source terminal when the first switch is turned on by the electronic device, and to obtain a second voltage division value between the second resistor and the source terminal when the second switch is turned on by the electronic device. Then, the module generates the node address of the cabinet based on the first voltage division value and the second voltage division value.

[0029] In one embodiment, the cabinet includes a plurality of cabinet compartments arranged in a horizontal and vertical direction. Each cabinet compartment is connected in series between the source end and the ground end via a bus. The first resistor and the first switch of each cabinet compartment are connected in parallel, and the second resistor and the second switch of each cabinet compartment are connected in parallel. The address generation module is further configured to turn on the first switch and the second switch to input a constant voltage current to the source end. When the first switch is blocked by the electronic device, the module obtains a first voltage division value between the source end and the first resistor corresponding to any cabinet compartment. When the second switch is blocked by the electronic device, the module obtains a second voltage division value between the source end and the second resistor corresponding to any cabinet compartment, so as to generate a node address corresponding to the cabinet compartment respectively.

[0030] A cabinet compartment addressing system includes the cabinet described above and the electronic device.

[0031] In one embodiment, the electronic device includes multiple devices, each of which includes a corresponding sensing module and a communication module. The sensing module is used to collect status data of the items inside the cabinet and send it to the cabinet through the communication module.

[0032] This embodiment provides a cabinet compartment addressing method, a cabinet, and a compartment addressing system. The cabinet includes at least one compartment, and each compartment includes an addressing circuit and a switch structure. When the switch structure is triggered by an electronic device placed within the compartment, the addressing circuit generates a node address for the compartment, and an association between the electronic device and the compartment is established based on the node address. This application improves the efficiency of compartment addressing by allowing the electronic device to open or close the switch structure, and the addressing circuit instantly generates or removes the node address of the current compartment. This eliminates the need to search for the corresponding compartment's node address in a pre-set list of node addresses, thus reducing the time required for compartment addressing. Attached Figure Description

[0033] Figure 1 This is a flowchart of the cabinet compartment addressing method in Example 1;

[0034] Figure 2 The following is a flowchart illustrating a cabinet compartment addressing method for establishing the association between electronic devices and cabinet compartments based on node addresses, as an example.

[0035] Figure 3 The following is a flowchart illustrating the process of generating the node address of the cabinet compartment through the addressing circuit when the switch structure is triggered by the electronic device placed in the compartment in the cabinet compartment addressing method of Embodiment 1.

[0036] Figure 4 This is a flowchart illustrating the process of generating the node address of the cabinet based on the first and second voltage division values ​​in the cabinet compartment addressing method of Embodiment 1.

[0037] Figure 5 This is a schematic diagram of the addressing circuit and switching structure of the cabinet compartment addressing method in Embodiment 1;

[0038] Figure 6 This is another schematic diagram of the addressing circuit and switch structure of the cabinet compartment addressing method in Embodiment 1;

[0039] Figure 7 This is a schematic diagram of the first and second voltage division values ​​of the cabinet compartment addressing method in Embodiment 1;

[0040] Figure 8 This is a schematic diagram of the cabinet structure in Example 2.

[0041] Reference numerals in the attached diagram: cabinet 10, compartment 100, addressing circuit 110, first resistor 111, second resistor 112, switch structure 120, first switch 121, second switch 122, source terminal 130, ground terminal 140, detection terminal 150, pull-up resistor 160, electronic device 200, display device 300. Detailed Implementation

[0042] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings. Preferred embodiments of this application are shown in the drawings. However, this application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a thorough and complete understanding of the disclosure of this application.

[0043] It should be noted that when a component is said to be "fixed to" another component, it can be directly attached to the other component or there may be an intervening component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there may be an intervening component. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0045] Example 1

[0046] In this embodiment, a cabinet compartment addressing method is provided. The cabinet 10 includes at least one compartment 100. The compartment 100 includes an addressing circuit 110 and a switch structure 120. The switch structure 120 includes electrical components capable of turning on or off the addressing circuit 110. The cabinet 10 may include a medicine cabinet, a goods cabinet, or other cabinets equipped with electrical components.

[0047] refer to Figure 1 In this embodiment, the cabinet compartment addressing method includes:

[0048] Step S200: When the switch structure 120 is triggered by the electronic device 200 placed in the cabinet 100, the node address of the cabinet 100 is generated through the addressing circuit 110.

[0049] Specifically, each compartment 100 is equipped with a corresponding switch structure 120, and the electrical components of the switch structure 120 in each compartment 100 can turn on or off the addressing circuit 110 to generate different node addresses. It is understood that the coordination between the switch structure 120 and the addressing circuit 110 is different for each compartment 100, so that when the switch structure 120 is triggered by the electronic device 200 placed in any compartment 100, the node address of the current compartment 100 can be intelligently obtained, thereby improving the timeliness and efficiency of node address generation.

[0050] Step S400: Establish the association between electronic device 200 and cabinet 100 based on the node address.

[0051] Specifically, after generating the node address, an association is established between the cabinet 100 and the current electronic device 200 based on the node address, thus realizing the association between the electronic device 200 and the cabinet 100. The electronic device 200 can be a device with data reading capabilities, such as a load cell or RFID reader / writer, capable of reading items stored inside the cabinet 100. The load cell is used to read the weight data of the items, and the RFID reader / writer is used to read the tag information of the items. Taking a load cell as an example, when the load cell is placed in the cabinet 100 to trigger the switch structure 120 of the current cabinet 100, the cabinet 10 generates a node address and establishes an association between the load cell and the cabinet 100 based on the node address.

[0052] In this embodiment, the electronic device 200 opens or closes the switch structure 120, and the addressing circuit 110 instantly generates or removes the node address of the current cabinet 100. This eliminates the need to search for the corresponding cabinet 100 node address in the system's preset node addresses, thereby improving the efficiency of cabinet 10 addressing cabinet 100 and reducing the time of cabinet 10 addressing cabinet 100.

[0053] Specifically, in this embodiment, the cabinet 10 includes at least one compartment 100. Each compartment 100 includes an addressing circuit 110 and a switch structure 120. When the switch structure 120 is triggered by an electronic device 200 placed in the compartment 100, the addressing circuit 110 generates a node address for the compartment 100, and an association between the electronic device 200 and the compartment 100 is established based on the node address. This method, through the triggering of the switch structure 120 by the electronic device 200, promptly generates the node address of the current compartment 100 via the addressing circuit 110, effectively enhancing the efficiency of node address allocation. Upon receiving the node address, an association between the electronic device 200 and the compartment 100 is established, achieving the association without the need for intermediate transmission of the node address, thus demonstrating strong timeliness.

[0054] In this embodiment, the electronic device 200 includes multiple devices, each of which includes a sensing module and a communication module. The sensing module is used to collect status data of items inside the cabinet 10 and send it to the cabinet 10 through the communication module.

[0055] Specifically, each electronic device 200 has unique identification data and includes a sensing module and a communication module. The sensing module is used to collect status data of items inside the cabinet 10. The status data is the data collected by the electronic device 200 when reading items inside the cabinet. When the electronic device 200 includes a weighing sensor, the status data is the weighing data; when the electronic device 200 includes an RFID reader, the status data is the tag data. Specifically, taking a weighing sensor as an example, when a user places a weighing sensor in any cabinet 100, the weighing sensor triggers the switch structure 120 inside the cabinet 100, causing the cabinet 10 to generate a corresponding node address. Based on the node address, an association is established between the electronic device 200 and the cabinet 100. When the sensing module of the weighing sensor collects the weighing data inside the cabinet, the communication module sends the weighing data to the cabinet 10. The cabinet 10 then uploads the weighing data in association with the node address. That is, based on the associated weighing data, the node address of the cabinet 10 can be determined, and thus the weighing data stored in the cabinet 100 corresponding to the current node address can be determined.

[0056] refer to Figure 2 In this embodiment, step S400: establishing the association between electronic device 200 and cabinet 100 based on node address includes:

[0057] Step S410: When the addressing circuit 110 is turned on by the switch structure 120, the status data and the corresponding identification data of the electronic device 200 are received from the electronic device 200.

[0058] Specifically, when the switch structure 120 of any cabinet 100 is triggered to conduct the addressing circuit 110, the sensing module of the electronic device 200 collects the weighing data inside the cabinet, and the communication module sends the weighing data and identification data to the cabinet 10. That is, the cabinet 10 generates the node address of the current cabinet 100, and can also receive the status data and identification data sent by the electronic device 200.

[0059] Step S420: Establish the association between node address and identification data.

[0060] Specifically, after generating the node address, the node address is associated with the received identification data to establish the association between the electronic device 200 and the cabinet 100. This association can be achieved without requiring the node address to be transmitted or relayed, resulting in strong timeliness. It can be understood that once the electronic device 200 is associated with the cabinet 100, the current node address of the cabinet 100 can be determined through the received status data.

[0061] Correspondingly, step S400: establishing the association between electronic device 200 and cabinet 100 based on the node address specifically includes:

[0062] Step S430: Establish the association between the corresponding electronic device 200 and the cabinet 100 based on the node address and identification data.

[0063] Specifically, the association between the corresponding electronic device 200 and the cabinet 100 can be established through the node address and identification data, and the current node address of the cabinet 100 can be determined by the received status data. It is understood that a display device 300 is also included; each cabinet 100 is equipped with a corresponding display device 300, which is electrically connected to the cabinet 100. The acquired status data can be uploaded to the corresponding display device 300 of the cabinet 100 according to the node address of the cabinet 100, so that the display device 300 can display the status data, which is beneficial for users to read the status of the items inside the cabinet 100.

[0064] refer to Figure 5 In this embodiment, the addressing circuit 110 includes a first resistor 111, a second resistor 112, a source terminal 130, and a ground terminal 140. The switch structure 120 includes a first switch 121 and a second switch 122. The first resistor 111 and the second resistor 112 are respectively connected to the source terminal 130. One end of the first switch 121 is connected to the first resistor 111 to turn on or off the first resistor 111. One end of the second switch 122 is connected to the second resistor 112 to turn on or off the second resistor 112. The other ends of the first switch 121 and the second switch 122 are respectively connected to the ground terminal 140.

[0065] Specifically, a constant voltage current is input to the source terminal 130. The first switch 121 is connected to the first resistor 111 and is used to turn on or off the current line. The second switch 122 is connected to the second resistor 112 and is used to turn on or off the current line. The first resistor 111 and the second resistor 112 in each cabinet 100 are configured according to preset resistance values ​​to obtain preset voltage division values. That is, the first resistor 111 and the second resistor 112 in the first cabinet and the second cabinet are different. When the electronic device 200 is placed in any cabinet 100, it can trigger the first switch 121 and the second switch 122 in the corresponding cabinet 100, so that the corresponding first resistor 111 and the second resistor 112 are turned on to obtain the preset first voltage division value and the second voltage division value.

[0066] refer to Figure 3 In this embodiment, step S200: when the switch structure 120 is triggered by an electronic device placed in the cabinet 100, the node address of the cabinet 100 is generated by the addressing circuit 110, including:

[0067] Step S210: When the first switch 121 is turned on by the electronic device 200, the first voltage division value between the first resistor 111 and the source terminal 130 is obtained;

[0068] Step S220: When the second switch 122 is turned on by the electronic device 200, obtain the second voltage division value between the second resistor 112 and the source terminal 130;

[0069] Step S230: Generate the node address of cabinet 100 based on the first and second voltage values.

[0070] Specifically, when the electronic device 200 is placed inside the cabinet 100, the first switch 121 is turned on by the electronic device 200, generating a first voltage divider value between the first resistor 111 and the source terminal 130. The second switch 122 is turned on by the electronic device 200, generating a second voltage divider value between the second resistor 112 and the source terminal 130. The obtained first and second voltage divider values ​​are converted into corresponding preset addresses a and b, and the corresponding preset addresses a and b are integrated to generate the preset node address ab of the cabinet 100. It can be understood that the preset node address ab is formed by integrating the preset addresses converted from the first and second voltage divider values. Specifically, the preset address a of the first voltage divider value can be assigned to the first bit, and the preset address b of the second voltage divider value can be assigned to the second bit, integrating to form the preset node address ab. Alternatively, the preset address a of the first voltage divider value can be assigned to the second bit, and the preset address b of the second voltage divider value can be assigned to the first bit, integrating to form the preset node address ba. The above integration method of preset addresses can be preset to match the preset node address with the actual cabinet arrangement order.

[0071] In each cabinet 100, the first resistor 111 and the first switch 121 are connected in parallel or in series, and the second resistor 112 and the second switch 122 are connected in parallel or in series. Firstly, refer to... Figure 5 When the first resistor 111 and the first switch 121 of each cabinet 100 are connected in parallel, and the second resistor 112 and the second switch 122 are connected in parallel, the electronic device 200 triggers the first switch 121 and the second switch 122 within the cabinet 100 to block the first resistor 111 and the second resistor 112, thereby obtaining the preset first voltage division value and the preset second voltage division value. The above parallel implementation can use a cable to sequentially connect multiple voltage division resistors with preset resistance values, with the first switch 121 or the second switch 122 connected in parallel to the corresponding voltage division resistor. The triggering of the electronic device 200 independently controls the blocking of the corresponding first switch 121 or the second switch 122 to obtain the corresponding preset first voltage division value and the preset second voltage division value. This implementation has strong scalability and effectively simplifies wiring setup. Secondly, refer to... Figure 6 When the first resistor 111 and the first switch 121 are connected in series in each cabinet 100, and the second resistor 112 and the second switch 122 are connected in series, the electronic device 200 triggers the first switch 121 and the second switch 122 within the cabinet 100, causing the first resistor 111 and the second resistor 112 to conduct, thereby obtaining a preset first voltage division value and a preset second voltage division value. In the above-described series implementation, each cabinet 100 is equipped with an independent cable, and each cable is equipped with a first switch 121 and a first resistor 111 or a second switch 122 and a second resistor 112. The wiring of each cabinet 100 is independent and clear, allowing users to accurately locate the corresponding wiring based on the corresponding cabinet 100, facilitating user maintenance and replacement.

[0072] refer to Figure 5 and Figure 6 In this embodiment, the cabinet 10 includes a plurality of cabinet compartments 100 arranged in a longitudinal and transverse manner. Each cabinet compartment 100 is connected in series between the source terminal 130 and the ground terminal 140 via a bus. The first resistor 111 and the first switch 121 of each cabinet compartment 100 are connected in parallel, and the second resistor 112 and the second switch 122 of each cabinet compartment 100 are connected in parallel.

[0073] Specifically, in combination Figure 7 The cabinet 10 includes 9 compartments 100, which are arranged in a horizontal and vertical array. The 9 compartments 100 include 3 layers, and each layer includes 3 compartments 100. The 3 compartments 100 in each layer are connected in series between the source terminal 130 and the ground terminal 140 via a bus. The 3 compartments 100 in each column are also connected in series between the source terminal 130 and the ground terminal 140 via a bus. The source terminal 130 has multiple pins to connect the multi-layer and multi-column bus to provide a constant voltage.

[0074] Among them, 100 cabinets Figure 5As shown by the dashed lines, the resistance values ​​of the first resistor 111 corresponding to each row of cabinets 100 and the second resistor 112 corresponding to each column of cabinets 100 are configured according to preset resistance values ​​to obtain preset voltage division values, thereby generating preset node addresses. Specifically, the resistance values ​​of the first resistor 111 corresponding to each row of cabinets 100 and the second resistor 112 corresponding to each column of cabinets 100 are configured and combined sequentially according to preset values ​​so that when the detection terminal 150 is triggered by the first switch 121 and the second switch 122 respectively, the preset voltage division value obtained satisfies the distribution: 2n*k, where n is a natural number and k is a standard coefficient.

[0075] In this embodiment, the resistance value of the first resistor 111 corresponding to each row of cabinets 100 can be configured to a preset value, so that when the first switch 121 is triggered and the corresponding first resistor 111 is blocked, a preset voltage division value is obtained: 1k, 2k, 4k, 8k... Then, the obtained voltage division values ​​1k, 2k, 4k, 8k... are converted into corresponding partial preset addresses 1, 2, 4, 8. Similarly, the resistance value of the second resistor 112 corresponding to each column of cabinets 100 can be configured to a preset value, so that when the second switch 122 is triggered... When the first resistor 111 is blocked, the preset voltage division values ​​are obtained: 1k, 2k, 4k, 8k... Then, the obtained voltage division values ​​1k, 2k, 4k, 8k... are converted into corresponding partial preset addresses 1, 2, 4, 8. Then, the partial preset addresses obtained from each row of cabinet 100 and each column of cabinet 100 are integrated into preset node addresses: 11, 12, 14, 18... 21, 22, 24, 28... 41, 42, 44, 48... 81, 82, 84, 88...

[0076] refer to Figure 4 Step S230: The node address of the generated cabinet 100 based on the first and second voltage values ​​includes:

[0077] Step S232: Turn on the first switch 121 and the second switch 122 to input a constant voltage current to the source terminal 130.

[0078] Specifically, by setting a pull-up resistor 160 with a fixed resistance value in the source terminal 130 or between the source terminal 130 and the detection terminal 150, and then configuring a voltage divider resistor with a corresponding resistance value, the voltage divider value obtained by the detection terminal 150 satisfies 2n*k.

[0079] For example, when the voltage input at the source terminal 130 is a 10V pull-up resistor 160, i.e., the series resistance is configured as 10Ω, and the corresponding parallel resistances are configured as 1.11Ω, 2.5Ω, 6.67Ω, and 40Ω, the corresponding output voltage division at the detection terminal 150 can be obtained as 1V, 2V, 4V, and 8V. That is, at this time, the first resistor 111 corresponding to each row of cabinets 100 and the second resistor 112 corresponding to each column of cabinets 100 can be configured as 1.11Ω, 2.5Ω, 6.67Ω, and 40Ω respectively.

[0080] In this embodiment, by setting a unified source terminal 130 and a detection terminal 150, a constant detection voltage is output to each cabinet 100 through the source terminal 130. The first resistor 111 and the second resistor 112 are connected in series, and the corresponding first switch 121 and second switch 122 are connected in parallel through a unified bus to achieve independent control of the corresponding first resistor 111 and second resistor 112. Then, the first resistor 111 and the second resistor 112 are set to correspond one-to-one with the cabinet 100. Only one addressing circuit is needed to generate the address of the cabinet 100, which is much more efficient than setting an independent addressing circuit for each cabinet 100 (e.g., ...). Figure 6 The above-mentioned features greatly simplify the circuit design, reduce the failure rate, and are highly expandable. They can be connected in series with preset resistance voltage divider resistors according to different numbers of cabinets 100, without the need for repeated wiring.

[0081] Step S234: When the first switch 121 is blocked by the electronic device 200, the first voltage division value between the source terminal 130 and the first resistor 111 corresponding to any cabinet 100 is obtained; when the second switch 122 is blocked by the electronic device 200, the second voltage division value between the source terminal 130 and the second resistor 112 corresponding to any cabinet 100 is obtained, so as to generate the node address of the corresponding cabinet 100 respectively.

[0082] In this embodiment, by configuring a voltage divider resistor with a preset resistance value, the voltage divider value detected by the detection terminal 150 satisfies 2n*k when the switches of different compartments 100 are turned on, so that the corresponding generated address satisfies 2n, i.e. 1, 2, 4, 8. This not only realizes the generation of corresponding addresses when the switches of different compartments 100 are turned on independently, but also ensures the detection when multiple switches are turned on simultaneously in the addressing circuit. For example, in actual use, multiple compartments 100 may be simultaneously filled with electronic devices 200, or one or more electronic devices 200 may have been placed in the cabinet 10 before a certain compartment 100 is filled with an electronic device 200. As long as the voltage divider value detected by the detection terminal 150 satisfies 2n*k, unique address generation can be achieved under different conditions.

[0083] For example, when cabinet 100 includes cabinets A, B, C, and D on the same floor or in the same column, when the following is detected:

[0084] When the voltage divider value is 1k, it means that only cabinet A is placed in electronic device 200 and triggered, generating address 1;

[0085] When the voltage divider value is 2k, it means that only cabinet B is placed in electronic device 200 and triggered, generating address 2;

[0086] When the voltage divider value is 4k, it means that only cabinet C is placed with electronic device 200, which triggers and generates address 4;

[0087] When the voltage divider value is 8k, it means that only cabinet D is placed and triggered by electronic device 200, generating address 8;

[0088] When the voltage divider value is 3k, it indicates that cabinet A and cabinet B are placed and triggered by electronic device 200, generating addresses 1 and 2;

[0089] When the voltage divider value is 5k, it indicates that cabinet A and cabinet C are placed and triggered by electronic device 200, generating addresses 1 and 4;

[0090] When the voltage divider value is 6k, it indicates that cabinets B and C are placed and triggered by electronic device 200, generating addresses 2 and 4;

[0091] When the voltage divider value is 7k, it indicates that cabinet A, cabinet B and cabinet C are placed and triggered by electronic device 200, generating addresses 1, 2 and 4;

[0092] When the voltage divider value is 9k, it indicates that cabinet A and cabinet D are triggered by electronic device 200, generating addresses 1 and 8;

[0093] When the voltage divider value is 10k, it indicates that cabinets B and D are placed and triggered by electronic device 200, generating addresses 2 and 8;

[0094] When the voltage divider value is 11k, it indicates that cabinets A, B and D are placed in electronic device 200 and triggered, generating addresses 1, 2 and 8;

[0095] When the voltage divider value is 12k, it indicates that cabinet C and cabinet D are placed and triggered by electronic device 200, generating addresses 4 and 8;

[0096] When the voltage divider value is 13k, it indicates that cabinets A, C and D are placed in electronic device 200 and triggered, generating addresses 1, 4 and 8;

[0097] When the voltage divider value is 14k, it indicates that cabinets B, C and D are placed in electronic device 200 and triggered, generating addresses 2, 4 and 8;

[0098] When the voltage divider value is 15k, it means that cabinets A, B, C and D are placed in electronic device 200 and triggered, generating addresses 1, 2, 4 and 8;

[0099] In this embodiment, by configuring a voltage divider resistor with a preset resistance value, the voltage divider value detected by the detection terminal 150 satisfies 2n*k when the switch of different cabinets 100 is turned on, so that the corresponding generated address satisfies 2n. This realizes that each corresponding voltage divider value represents a unique combination of cabinets 100 that is triggered by the electronic device 200, thereby ensuring the validity of the corresponding generated address.

[0100] Example 2

[0101] In this embodiment, a cabinet 10 is provided. The cabinet 10 includes at least one cabinet compartment 100, an address generation module and a calibration module. The cabinet compartment 100 includes an addressing circuit 110 and a switch structure 120. The switch structure 120 includes electrical components that can turn on or off the addressing circuit 110.

[0102] The address generation module is used to generate the node address of the cabinet 100 through the addressing circuit 110 when the switch structure 120 is triggered by the electronic device 200 placed in the cabinet 100.

[0103] Specifically, each compartment 100 is equipped with a corresponding switch structure 120, and the electrical components of the switch structure 120 in each compartment 100 can turn on or off the addressing circuit 110 to generate different node addresses. It is understood that the coordination between the switch structure 120 and the addressing circuit 110 is different for each compartment 100, so that when the switch structure 120 is triggered by the electronic device 200 placed in any compartment 100, the node address of the current compartment 100 can be intelligently obtained, thereby improving the timeliness and efficiency of node address generation.

[0104] The calibration module is used to establish the association between electronic device 200 and cabinet 100 based on the node address.

[0105] Specifically, after generating the node address, an association is established between the cabinet 100 and the current electronic device 200 based on the node address, thus realizing the association between the electronic device 200 and the cabinet 100. The electronic device 200 can be a device with data reading capabilities, such as a load cell or RFID reader / writer, capable of reading items stored inside the cabinet 100. The load cell is used to read the weight data of the items, and the RFID reader / writer is used to read the tag information of the items. Taking a load cell as an example, when the load cell is placed in the cabinet 100 to trigger the switch structure 120 of the current cabinet 100, the cabinet 10 generates a node address and establishes an association between the load cell and the cabinet 100 based on the node address.

[0106] In this embodiment, the electronic device 200 opens or closes the switch structure 120, and the addressing circuit 110 instantly generates or removes the node address of the current cabinet 100. This eliminates the need to search for the corresponding cabinet 100 node address in the system's pre-set node address list, thereby improving the efficiency of cabinet 10 addressing cabinet 100 and reducing the time required for cabinet 10 to address cabinet 100.

[0107] In this embodiment, the electronic device 200 includes multiple devices, each of which includes a sensing module and a communication module. The sensing module is used to collect status data of items inside the cabinet 10 and transmit it to the cabinet 10 via the communication module. The cabinet 10 also includes:

[0108] The data processing module is used to receive status data and corresponding identification data of the electronic device 200 sent by the electronic device 200.

[0109] Specifically, each electronic device 200 has unique identification data and includes a sensing module and a communication module. The sensing module is used to collect status data of items inside the cabinet 10. The status data is the data collected by the electronic device 200 when reading items inside the cabinet. When the electronic device 200 includes a weighing sensor, the status data is the weighing data; when the electronic device 200 includes an RFID reader, the status data is the tag data. Specifically, taking a weighing sensor as an example, when a user places a weighing sensor in any cabinet 100, the weighing sensor triggers the switch structure 120 inside the cabinet 100, causing the cabinet 10 to generate a corresponding node address. Based on the node address, an association is established between the electronic device 200 and the cabinet 100. When the sensing module of the weighing sensor collects the weighing data inside the cabinet, the communication module sends the weighing data to the cabinet 10. The cabinet 10 then uploads the weighing data in association with the node address. That is, based on the associated weighing data, the node address of the cabinet 10 can be determined, and thus the weighing data stored in the cabinet 100 corresponding to the current node address can be determined.

[0110] The calibration module is also used to establish the association between node addresses and identification data. Specifically, the calibration module is used to establish the association between the corresponding electronic device 200 and the cabinet 100 based on the node addresses and identification data.

[0111] Specifically, after generating the node address, the electronic device 200 is associated with the received identification data based on the node address to establish a connection between the electronic device 200 and the cabinet 100. This association can be achieved without any intermediate transmission of the node address, resulting in a highly timely connection. It is understood that once the electronic device 200 is associated with the cabinet 100, the current node address of the cabinet 100 can be determined through the received status data. It is also understood that a display device 300 is included; each cabinet 100 is equipped with a corresponding display device 300, which is electrically connected to the cabinet 100. The acquired status data can be uploaded to the corresponding display device 300 of the cabinet 100 based on the node address, facilitating the user's reading of the current status of items inside the cabinet 100.

[0112] In this embodiment, the addressing circuit 110 includes a first resistor 111, a second resistor 112, a source terminal 130, and a ground terminal 140. The switch structure 120 includes a first switch 121 and a second switch 122. The first resistor 111 and the second resistor 112 are respectively connected to the source terminal 130. One end of the first switch 121 is connected to the first resistor 111 to turn on or off the first resistor 111. One end of the second switch 122 is connected to the second resistor 112 to turn on or off the second resistor 112. The other ends of the first switch 121 and the second switch 122 are respectively connected to the ground terminal 140. The address generation module is also used to obtain the first voltage division value between the first resistor 111 and the source terminal 130 when the first switch 121 is turned on by the electronic device 200, and to obtain the second voltage division value between the second resistor 112 and the source terminal 130 when the second switch 122 is turned on by the electronic device 200. Then, the node address of the cabinet 100 is generated according to the first voltage division value and the second voltage division value.

[0113] Specifically, when the electronic device 200 is placed inside the cabinet 100, the first switch 121 is turned on by the electronic device 200, generating a first voltage divider value between the first resistor 111 and the source terminal 130. The second switch 122 is turned on by the electronic device 200, generating a second voltage divider value between the second resistor 112 and the source terminal 130. The obtained first and second voltage divider values ​​are converted into corresponding preset addresses a and b, and the corresponding preset addresses a and b are integrated to generate the preset node address ab of the cabinet 100. It can be understood that the preset node address ab is formed by integrating the preset addresses converted from the first and second voltage divider values. Specifically, the preset address a of the first voltage divider value can be assigned to the first bit, and the preset address b of the second voltage divider value can be assigned to the second bit, integrating to form the preset node address ab. Alternatively, the preset address a of the first voltage divider value can be assigned to the second bit, and the preset address b of the second voltage divider value can be assigned to the first bit, integrating to form the preset node address ba. The above integration method of preset addresses can be preset to match the preset node address with the actual cabinet arrangement order.

[0114] In this embodiment, the cabinet 10 includes multiple cabinet compartments 100 arranged in a longitudinal and transverse manner. Each cabinet compartment 100 is connected in series between the source terminal 130 and the ground terminal 140 via a bus. The first resistor 111 and the first switch 121 of each cabinet compartment 100 are connected in parallel, and the second resistor 112 and the second switch 122 of each cabinet compartment 100 are connected in parallel. The address generation module is also used to turn on the first switch 121 and the second switch 122 to input a constant voltage current to the source terminal 130. When the first switch 121 is blocked by the electronic device 200, the first voltage division value between the source terminal 130 and the first resistor 111 of any cabinet compartment 100 is obtained. When the second switch 122 is blocked by the electronic device 200, the second voltage division value between the source terminal 130 and the second resistor 112 of any cabinet compartment 100 is obtained, so as to generate the node address of the corresponding cabinet compartment 100 respectively.

[0115] Specifically, in combination Figure 7 The cabinet 10 includes 9 compartments 100, which are arranged in a horizontal and vertical array. The 9 compartments 100 include 3 layers, and each layer includes 3 compartments 100. The 3 compartments 100 in each layer are connected in series between the source terminal 130 and the ground terminal 140 via a bus. The 3 compartments 100 in each column are also connected in series between the source terminal 130 and the ground terminal 140 via a bus. The source terminal 130 has multiple pins to connect the multi-layer and multi-column bus to provide a constant voltage.

[0116] Among them, 100 cabinets Figure 5 As shown by the dashed lines, the resistance values ​​of the first resistor 111 corresponding to each row of cabinets 100 and the second resistor 112 corresponding to each column of cabinets 100 are configured according to preset resistance values ​​to obtain preset voltage division values, thereby generating preset node addresses. Specifically, the resistance values ​​of the first resistor 111 corresponding to each row of cabinets 100 and the second resistor 112 corresponding to each column of cabinets 100 are configured and combined sequentially according to preset values ​​so that when the detection terminal 150 is triggered by the first switch 121 and the second switch 122 respectively, the preset voltage division value obtained satisfies the distribution: 2n*k, where n is a natural number and k is a standard coefficient.

[0117] In this embodiment, the resistance value of the first resistor 111 corresponding to each row of cabinets 100 can be configured to a preset value, so that when the first switch 121 is triggered and the corresponding first resistor 111 is blocked, a preset voltage division value is obtained: 1k, 2k, 4k, 8k... Then, the obtained voltage division values ​​1k, 2k, 4k, 8k... are converted into corresponding partial preset addresses 1, 2, 4, 8. Similarly, the resistance value of the second resistor 112 corresponding to each column of cabinets 100 can be configured to a preset value, so that when the second switch 122 is triggered... When the first resistor 111 is blocked, the preset voltage division values ​​are obtained: 1k, 2k, 4k, 8k... Then, the obtained voltage division values ​​1k, 2k, 4k, 8k... are converted into corresponding partial preset addresses 1, 2, 4, 8. Then, the partial preset addresses obtained from each row of cabinet 100 and each column of cabinet 100 are integrated into preset node addresses: 11, 12, 14, 18... 21, 22, 24, 28... 41, 42, 44, 48... 81, 82, 84, 88...

[0118] Example 3

[0119] refer to Figure 8 In this embodiment, a cabinet compartment 100 addressing system is provided for a cabinet 10, the cabinet 10 and an electronic device 200. The electronic device 200 includes multiple devices, each of which includes a corresponding sensing module and a communication module. The sensing module is used to collect the status data of the items inside the cabinet 10 and send it to the cabinet 10 through the communication module.

[0120] Specifically, the cabinet 10 may include cabinets with electrical components, such as medicine cabinets or goods cabinets. The electronic device 200 may be a device with data reading function, such as a load cell or RFID reader, which can read the items stored inside the cabinet 100. The load cell is used to read the weight data of the items, and the RFID reader is used to read the tag information of the items. Taking the load cell as an example, when the user places the load cell in any cabinet 100, the load cell triggers the switch structure 120 inside the cabinet 100, causing the cabinet 10 to generate a corresponding node address. Based on the node address, the electronic device 200 is associated with the cabinet 100. When the sensing module of the load cell collects the weight data inside the cabinet, the communication module sends the weight data to the cabinet 10. The cabinet 10 uploads the weight data and the node address in an associated manner. That is, based on the associated weight data, the node address of the cabinet 10 can be known, and thus the weight data stored in the cabinet 100 corresponding to the current node address can be known.

[0121] Specifically, the cabinet 100 includes an addressing circuit 110 and a switch structure 120. The switch structure 120 includes a first switch 121 and a second switch 122. When the first switch 121 and the second switch 122 are triggered by the electronic device 200 placed in the cabinet 100, the addressing circuit 110 generates a node address for the cabinet 100, and establishes an association between the electronic device 200 and the cabinet 100 based on the node address.

[0122] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0123] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A cabinet compartment addressing method, characterized in that, The cabinet includes at least one compartment, each compartment includes an addressing circuit, and each compartment is equipped with a corresponding switch structure. The electrical components of the switch structure in each compartment can turn on or off the addressing circuit to generate different node addresses. The method includes: When the switch structure is triggered by the electronic device placed in the cabinet, the node address of the cabinet is generated through the addressing circuit; When the addressing circuit is turned on by the switching structure, it receives status data sent by the electronic device. Status data is uploaded in association with node address to obtain the node address of the cabinet based on the associated status data, thereby obtaining the status data stored in the cabinet corresponding to the current node address; The addressing circuit includes a first resistor, a second resistor, a source terminal, and a ground terminal. The switching structure includes a first switch and a second switch. The first resistor and the second resistor are respectively connected to the source terminal. One end of the first switch is connected to the first resistor to turn on or off the first resistor. One end of the second switch is connected to the second resistor to turn on or off the second resistor. The other ends of the first switch and the second switch are respectively connected to the ground terminal. Specifically, when the switch structure is triggered by the electronic device placed in the cabinet, the node address of the cabinet is generated by the addressing circuit as follows: when the first switch is turned on by the electronic device, a first voltage division value between the first resistor and the source terminal is obtained; and when the second switch is turned on by the electronic device, a second voltage division value between the second resistor and the source terminal is obtained; and then the node address of the cabinet is generated based on the first voltage division value and the second voltage division value.

2. The cabinet addressing method according to claim 1, characterized in that, The electronic devices include multiple devices, each with unique identification data. Each electronic device includes a sensing module and a communication module. The sensing module is used to collect status data of the items inside the cabinet and send it to the cabinet through the communication module. The step of receiving status data sent by the electronic device when the addressing circuit is turned on by the switching structure further includes: When the addressing circuit is turned on by the switching structure, it receives status data and corresponding identification data of the electronic device sent by the electronic device. Establish the association between the node address and the identification data; The association between the electronic device and the cabinet is established based on the node address and the identification data.

3. A cabinet compartment addressing method, characterized in that, The cabinet includes at least one compartment and an electronic device. Each compartment includes an addressing circuit and a corresponding switch structure. The electronic device includes a load cell, and its status data includes weighing data. When the load cell is placed in any compartment, it triggers the corresponding switch structure within that compartment, causing the cabinet to generate a corresponding node address. The method includes: The association between the weighing sensor and the cabinet is established based on the node address; When the sensing module of the weighing sensor collects the weighing data, the communication module sends the weighing data to the cabinet. The weighing data is uploaded in association with the node address, so as to obtain the node address of the cabinet based on the associated weighing data, and thus obtain the weighing data stored in the cabinet corresponding to the current node address. The addressing circuit includes a first resistor, a second resistor, a source terminal, and a ground terminal. The switching structure includes a first switch and a second switch. The first resistor and the second resistor are respectively connected to the source terminal. One end of the first switch is connected to the first resistor to turn on or off the first resistor. One end of the second switch is connected to the second resistor to turn on or off the second resistor. The other ends of the first switch and the second switch are respectively connected to the ground terminal. Specifically, when the weighing sensor is placed in any cabinet, the weighing sensor will trigger the switch structure inside the corresponding cabinet to generate a corresponding node address. This includes: when the first switch is turned on by the electronic device, obtaining the first voltage division value between the first resistor and the source terminal; and when the second switch is turned on by the electronic device, obtaining the second voltage division value between the second resistor and the source terminal; and then generating the node address of the cabinet based on the first voltage division value and the second voltage division value.

4. The cabinet addressing method according to claim 3, characterized in that, The electronic devices include multiple devices, each with unique identification data. When the addressing circuit is activated by the switching structure, the status data received from the electronic devices includes: When the addressing circuit is turned on by the switching structure, it receives the weighing data and the corresponding identification data of the electronic device sent by the electronic device. Establish the association between the node address and the identification data; The association between the electronic device and the cabinet is established based on the node address and the identification data.

5. A cabinet, characterized in that, include: At least one cabinet, the cabinet including an addressing circuit and a switching structure, the switching structure including electrical components capable of turning on or off the addressing circuit; The address generation module is used to generate the node address of the cabinet through the addressing circuit when the switch structure is triggered by the electronic device placed in the cabinet. A calibration module is used to establish the association between the electronic device and the cabinet based on the node address; The data processing module is used to receive status data sent by the electronic device when the calibration module is specifically used to be turned on by the switch structure, and upload the status data in association with the node address, so as to obtain the node address of the cabinet according to the associated status data, thereby obtaining the status data stored in the cabinet corresponding to the current node address; The addressing circuit includes a first resistor, a second resistor, a source terminal, and a ground terminal. The switch structure includes a first switch and a second switch. The first resistor and the second resistor are respectively connected to the source terminal. One end of the first switch is connected to the first resistor to turn on or off the first resistor. One end of the second switch is connected to the second resistor to turn on or off the second resistor. The other ends of the first switch and the second switch are respectively connected to the ground terminal. The address generation module is also used to obtain a first voltage division value between the first resistor and the source terminal when the first switch is turned on by the electronic device, and to obtain a second voltage division value between the second resistor and the source terminal when the second switch is turned on by the electronic device. Then, the module generates the node address of the cabinet based on the first voltage division value and the second voltage division value.

6. The cabinet according to claim 5, characterized in that, The electronic devices include multiple devices, each with unique identification data. Each electronic device includes a sensing module and a communication module. The sensing module is used to collect status data of items inside the cabinet and send it to the cabinet through the communication module. The data processing module is also used to receive the status data sent by the electronic device and the corresponding identification data of the electronic device. The calibration module is used to establish the association between the node address and the identification data. Specifically, the calibration module is used to establish the association between the corresponding electronic device and the cabinet based on the node address and the identification data.

7. The cabinet according to claim 5, characterized in that, The cabinet includes multiple compartments arranged in a horizontal and vertical direction. Each compartment is connected in series between the source terminal and the ground terminal via a bus. The first resistor and the first switch of each compartment are connected in parallel, and the second resistor and the second switch of each compartment are connected in parallel. The address generation module is also used to turn on the first switch and the second switch to input a constant voltage current to the source terminal. When the first switch is blocked by the electronic device, the module obtains the first voltage division value between the source terminal and the first resistor corresponding to any compartment. When the second switch is blocked by the electronic device, the module obtains the second voltage division value between the source terminal and the second resistor corresponding to any compartment, so as to generate the node address corresponding to the compartment.

8. The cabinet according to claim 5, characterized in that, The cabinet includes cables connected in series with multiple voltage divider resistors of preset resistance values. Each cable is provided with a first switch and a first resistor or a second switch and a second resistor.

9. A cabinet compartment addressing system, characterized in that, Includes the cabinet as described in any one of claims 5-8 and the electronic device.

Citation Information

Patent Citations

  • Apparatus and method for addressing a device

    US10644464B1