CN116844282A - Communication method, device and storage medium of grid box system - Google Patents

Communication method, device and storage medium of grid box system Download PDF

Info

Publication number
CN116844282A
CN116844282A CN202310948484.1A CN202310948484A CN116844282A CN 116844282 A CN116844282 A CN 116844282A CN 202310948484 A CN202310948484 A CN 202310948484A CN 116844282 A CN116844282 A CN 116844282A
Authority
CN
China
Prior art keywords
box
communication line
communication
grid
broadcast signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310948484.1A
Other languages
Chinese (zh)
Inventor
王锐
袁诚亮
李建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unicmicro Guangzhou Co ltd
Original Assignee
Unicmicro Guangzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unicmicro Guangzhou Co ltd filed Critical Unicmicro Guangzhou Co ltd
Priority to CN202310948484.1A priority Critical patent/CN116844282A/en
Publication of CN116844282A publication Critical patent/CN116844282A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property
    • G07F17/12Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned
    • G07F17/13Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned the containers being a postal pick-up locker

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication method, a device and a storage medium of a box system, wherein the method comprises the following steps: receiving an access instruction sent by a user, and controlling the grid box power supply to be turned on according to the access instruction so that all the grid boxes are in a working state; generating a box I D of the box to be opened according to the access instruction, and transmitting a broadcast signal on a communication line, wherein the broadcast signal carries the box I D of the box to be opened; after each cell receives the broadcast signal, analyzing the broadcast signal through the cell to obtain an analysis signal; and judging whether the bin I D in the analysis signal is consistent with the bin I D of the current bin, and if so, controlling the current bin to be opened. The application can rapidly and accurately control the corresponding box of the access instruction, thereby effectively improving the accuracy and reliability of the user for accessing the article, and a plurality of transceiver chips are not required to be arranged, thereby effectively reducing the deployment cost of communication equipment and effectively improving the communication efficiency of the box system.

Description

Communication method, device and storage medium of grid box system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a storage medium for communications in a box system.
Background
With the development of logistics industry, enterprises have set up special cases systems such as logistics boxes or express cabinets for delivering goods in fixed places, goods are stored in the cases of logistics boxes or express cabinets, and users use verification passwords or code scanning to open corresponding case doors to take away the goods. The communication method of the existing box system usually adopts communication protocols such as RS232, RS485 and the like to realize the communication between the box and the host computer in a point-to-point mode, but the communication method of the existing box system needs to arrange a transceiver chip corresponding to each box, so that the equipment deployment cost of the communication method of the existing box system is high.
Disclosure of Invention
The application provides a communication method, a device and a storage medium of a box system, which are used for solving the technical problem that the equipment deployment cost of the communication method of the existing box system is high because a transceiver chip is required to be arranged corresponding to each box in the communication method of the existing box system.
One embodiment of the present application provides a communication method of a box system, including:
receiving an access instruction sent by a user, and controlling the grid box power supply to be turned on according to the access instruction so that all the grid boxes are in a working state;
generating a box ID of a box to be opened according to the access instruction, and sending a broadcast signal on a communication line, wherein the broadcast signal carries the box ID of the box to be opened;
after each cell receives the broadcast signal, analyzing the broadcast signal through the cell to obtain an analysis signal;
judging whether the cell ID in the analysis signal is consistent with the cell ID of the current cell, if so, controlling the current cell to be opened.
Further, after controlling the current box to be opened, the method further comprises:
and writing or reading the storage article information according to the on-off state of the host.
Further, the method further comprises:
and when the broadcasting signal is stopped being sent, detecting the voltage value of the communication line through the host computer, and if the voltage value exceeds a preset threshold range, switching the current communication line into a standby communication line.
Further, the method further comprises:
and after the grid box power supply is turned on, judging the line state of the communication line through the grid box, and if the line state is abnormal, switching the current communication line into a standby communication line.
Further, the transmitting the broadcast signal over the communication line includes:
the broadcast signal is transmitted over the communication line based on the CC-Talk communication protocol.
One embodiment of the present application provides a communication device of a box system, including:
the power control module is used for receiving an access instruction sent by a user, and controlling the grid box power supply to be turned on according to the access instruction so that all the grid boxes are in a working state;
the signal sending module is used for generating a box ID of the box to be opened according to the access instruction, and sending a broadcast signal on the communication line, wherein the broadcast signal carries the box ID of the box to be opened;
the signal analysis module is used for analyzing the broadcast signals through each box after receiving the broadcast signals;
and the grid box control module is used for judging whether the grid box ID in the analysis signal is consistent with the grid box ID of the current grid box, and if so, controlling the current grid box to be opened.
Further, the device further comprises an information updating module for: and after the current box is controlled to be opened, writing or reading the stored article information according to the on-off state of the host.
Further, the apparatus further includes a first line switching module configured to:
and when the broadcasting signal is stopped being sent, detecting the voltage value of the communication line through the host computer, and if the voltage value exceeds a preset threshold range, switching the current communication line into a standby communication line.
Further, the apparatus further includes a first line switching module configured to:
and after the grid box power supply is turned on, judging the line state of the communication line through the grid box, and if the line state is abnormal, switching the current communication line into a standby communication line.
One embodiment of the present application uses a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where the computer program when executed controls a device in which the computer readable storage medium is located to perform a method of communication of a box system as described above.
According to the embodiment of the application, the box ID of the box to be opened is generated according to the access instruction sent by the user, the broadcast signal is sent on the communication line, the broadcast signal carries the box ID of the box to be opened, after each box receives the broadcast signal, the broadcast signal is analyzed through the box to obtain an analysis signal, whether the box ID in the analysis signal is consistent with the box ID of the current box is judged, if so, the current box is controlled to be opened, and the box opening corresponding to the access instruction can be controlled rapidly and accurately, so that the accuracy and reliability of the user for accessing objects can be effectively improved, a plurality of transceiver chips are not required to be arranged, the deployment cost of communication equipment can be effectively reduced, and the communication efficiency of a box system can be effectively improved.
Drawings
Fig. 1 is a flow chart of a communication method of a box system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a grid box system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a communication device of the box system according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
Referring to fig. 1, an embodiment of the present application provides a communication method of a box system, including:
s1, receiving an access instruction sent by a user, and controlling the grid box power supply to be turned on according to the access instruction so that all the grid boxes are in a working state;
the communication method of the box system provided by the embodiment of the application can be applied to the box system, wherein the box system comprises a logistics cabinet system, an express cabinet system and the like. Referring to fig. 2, the structure of the box system according to the embodiment of the application includes a host and a plurality of boxes, wherein the host is connected and communicates with each box through a communication line.
In the embodiment of the application, the host receives an access instruction sent by a user, wherein the storage instruction comprises a box ID of a box to be opened. And before receiving an access instruction sent by a user, the box is in a closed state. After receiving an access instruction sent by a user, the embodiment of the application starts the power supply for controlling the grid box switch so that all the items are in a working state.
S2, generating a box ID of a box to be opened according to the access instruction, and transmitting a broadcast signal on a communication line, wherein the broadcast signal carries the box ID of the box to be opened;
in the embodiment of the application, the host and the box are connected through the communication line, and the host sends the broadcast signal carrying the box ID of the box to be opened on the communication line, so that the box on the communication line can quickly receive the broadcast signal and respond correspondingly, thereby effectively improving the communication efficiency of the box system.
S3, after each cell receives the broadcast signal, analyzing the broadcast signal through the cell to obtain an analysis signal;
in the embodiment of the application, each box on the box system can receive the broadcast signal, and immediately analyze the broadcast signal to obtain the analysis signal, wherein the analysis signal packages the box ID of the box to be opened, and the number of the box IDs of the boxes to be opened can be one or more.
S4, judging whether the cell ID in the analysis signal is consistent with the cell ID of the current cell, and if so, controlling the current cell to be opened.
In the embodiment of the application, comparing the cell ID obtained by analysis with the preset cell ID of the current cell, and if the cell ID obtained by analysis is consistent with the preset cell ID of the current cell, controlling the current cell to be opened; if the current grid box is inconsistent, the current grid box is not controlled to be opened.
According to the embodiment of the application, the box ID of the box to be opened is generated according to the access instruction sent by the user, the broadcast signal is sent on the communication line, the broadcast signal carries the box ID of the box to be opened, after each box receives the broadcast signal, the broadcast signal is analyzed through the box to obtain the analysis signal, whether the box ID in the analysis signal is consistent with the box ID of the current box or not is judged, if yes, the opening of the current box is controlled, and the opening of the box corresponding to the access instruction can be controlled rapidly and accurately, so that the accuracy and reliability of the user for accessing the objects can be effectively improved, a plurality of transceiver chips are not required, the deployment cost of communication equipment can be effectively reduced, and the communication efficiency of a box system can be effectively improved.
In one embodiment, after controlling the current box to be opened in step S4, the method further includes:
and S5, writing or reading the storage article information according to the on-off state of the host.
In an embodiment of the present application, storing item information may include an attribute, a storage date, a size, and the like of the item.
In one embodiment, the method further comprises:
when the broadcasting signal is stopped being sent, the host detects the voltage value of the communication line, and if the voltage value exceeds the preset threshold range, the current communication line is switched to the standby communication line.
In the embodiment of the application, when the broadcast signal sent by the user is not received, or the voltage value of the communication line is detected by the host in a preset time period, and when the voltage value exceeds the preset threshold range, the current communication line can be judged to have instability or other problems, and the current communication line can be cut into a standby communication line by the host at the moment, so that the host can stably communicate with the grid box.
In the embodiment of the application, the host can communicate with the box through the main communication line and the standby communication line, the main communication line is preferentially adopted to communicate with the box, and when the voltage value of the current communication line exceeds the preset threshold value, the current communication line is switched to the standby communication line. For example, if the current communication line is a primary communication line, the current communication line is switched to a backup communication line.
When the current communication line is a standby line, the voltage value of the standby line is continuously detected, and when the voltage value exceeds a preset threshold value, the standby communication line is switched to the main communication line.
In one embodiment, the method further comprises:
after the grid box power supply is turned on, judging the line state of the communication line through the grid box, and if the line state is abnormal, switching the current communication line into a standby communication line.
In the embodiment of the application, besides the host can detect the voltage of the communication line to switch the line, the box can also detect the line state of the current communication line, and the line is switched.
The embodiment of the application preferentially detects the voltage of the communication line by the host to realize line switching, and after the power supply of the box is turned on, the box judges whether the current communication line is required to be switched to the standby communication line by diagnosing the line state of the current communication line in the process that the host sends a broadcast signal to the box to communicate.
In one embodiment, transmitting a broadcast signal over a communication line includes:
the broadcast signal is transmitted over the communication line based on the CC-Talk communication protocol.
In the embodiment of the application, the CC-Talk communication protocol is adopted to send the broadcast signals on the communication line, so that the point-to-multi communication between the host and a plurality of boxes can be effectively realized, a plurality of transceivers and various different types of wiring are not required to be arranged, the communication cost of the box system can be effectively reduced, and the communication efficiency of the box system can be effectively improved.
The embodiment of the application has the following beneficial effects:
according to the embodiment of the application, the box ID of the box to be opened is generated according to the access instruction sent by the user, the broadcast signal is sent on the communication line, the broadcast signal carries the box ID of the box to be opened, after each box receives the broadcast signal, the broadcast signal is analyzed through the box to obtain the analysis signal, whether the box ID in the analysis signal is consistent with the box ID of the current box or not is judged, if yes, the opening of the current box is controlled, and the opening of the box corresponding to the access instruction can be controlled rapidly and accurately, so that the accuracy and reliability of the user for accessing the objects can be effectively improved, a plurality of transceiver chips are not required, the deployment cost of communication equipment can be effectively reduced, and the communication efficiency of a box system can be effectively improved.
Referring to fig. 3, based on the same inventive concept as the above embodiment, an embodiment of the present application provides a communication apparatus of a box system, including:
the power control module 10 is used for receiving an access instruction sent by a user, and controlling the grid boxes to be powered on according to the access instruction so that all the grid boxes are in a working state;
the signal sending module 20 is configured to generate a box ID of a box to be opened according to the access instruction, send a broadcast signal on the communication line, where the broadcast signal carries the box ID of the box to be opened;
the signal analysis module 30 is configured to analyze the broadcast signal through the boxes after each box receives the broadcast signal, so as to obtain an analysis signal;
and the cell control module 40 is configured to determine whether the cell ID in the analysis signal is consistent with the cell ID of the current cell, and if so, control the current cell to be opened.
In one embodiment, the apparatus further comprises an information update module for: after the current box is controlled to be opened, the information of the stored article is written in or read according to the on-off state of the host.
In one embodiment, the apparatus further comprises a first line switching module for:
when the broadcasting signal is stopped being sent, the host detects the voltage value of the communication line, and if the voltage value exceeds the preset threshold range, the current communication line is switched to the standby communication line.
In one embodiment, the apparatus further comprises a first line switching module for:
after the grid box power supply is turned on, judging the line state of the communication line through the grid box, and if the line state is abnormal, switching the current communication line into a standby communication line.
In one embodiment, transmitting a broadcast signal over a communication line includes:
the broadcast signal is transmitted over the communication line based on the CC-Talk communication protocol.
One embodiment of the present application uses a computer readable storage medium including a stored computer program, wherein the computer readable storage medium is controlled to execute a communication method of a box system as described above by a device in which the computer readable storage medium is located when the computer program is run.
The foregoing is a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method of communication for a crate system, comprising:
receiving an access instruction sent by a user, and controlling the grid box power supply to be turned on according to the access instruction so that all the grid boxes are in a working state;
generating a box ID of a box to be opened according to the access instruction, and sending a broadcast signal on a communication line, wherein the broadcast signal carries the box ID of the box to be opened;
after each cell receives the broadcast signal, analyzing the broadcast signal through the cell to obtain an analysis signal;
judging whether the cell ID in the analysis signal is consistent with the cell ID of the current cell, if so, controlling the current cell to be opened.
2. The method of communication of a bin system according to claim 1, further comprising, after controlling the current bin to be opened:
and writing or reading the storage article information according to the on-off state of the host.
3. The method of communication of a crate system of claim 1, further comprising:
and when the broadcasting signal is stopped being sent, detecting the voltage value of the communication line through the host computer, and if the voltage value exceeds a preset threshold range, switching the current communication line into a standby communication line.
4. The method of communication of a crate system of claim 1, further comprising:
and after the grid box power supply is turned on, judging the line state of the communication line through the grid box, and if the line state is abnormal, switching the current communication line into a standby communication line.
5. The method of communication of a cellular system according to claim 1, wherein said transmitting a broadcast signal over a communication line comprises:
the broadcast signal is transmitted over the communication line based on the CC-Talk communication protocol.
6. A communications device for a crate system, comprising:
the power control module is used for receiving an access instruction sent by a user, and controlling the grid box power supply to be turned on according to the access instruction so that all the grid boxes are in a working state;
the signal sending module is used for generating a box ID of the box to be opened according to the access instruction, and sending a broadcast signal on the communication line, wherein the broadcast signal carries the box ID of the box to be opened;
the signal analysis module is used for analyzing the broadcast signals through each box after receiving the broadcast signals;
and the grid box control module is used for judging whether the grid box ID in the analysis signal is consistent with the grid box ID of the current grid box, and if so, controlling the current grid box to be opened.
7. The communications device of the grid box system of claim 6, further comprising an information update module for: and after the current box is controlled to be opened, writing or reading the stored article information according to the on-off state of the host.
8. The communications device of the grid box system of claim 6, further comprising a first circuit switching module to:
and when the broadcasting signal is stopped being sent, detecting the voltage value of the communication line through the host computer, and if the voltage value exceeds a preset threshold range, switching the current communication line into a standby communication line.
9. The communications device of the grid box system of claim 6, further comprising a first circuit switching module to:
and after the grid box power supply is turned on, judging the line state of the communication line through the grid box, and if the line state is abnormal, switching the current communication line into a standby communication line.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a communication method of a grid box system according to any one of claims 1 to 5.
CN202310948484.1A 2023-07-31 2023-07-31 Communication method, device and storage medium of grid box system Pending CN116844282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310948484.1A CN116844282A (en) 2023-07-31 2023-07-31 Communication method, device and storage medium of grid box system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310948484.1A CN116844282A (en) 2023-07-31 2023-07-31 Communication method, device and storage medium of grid box system

Publications (1)

Publication Number Publication Date
CN116844282A true CN116844282A (en) 2023-10-03

Family

ID=88165262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310948484.1A Pending CN116844282A (en) 2023-07-31 2023-07-31 Communication method, device and storage medium of grid box system

Country Status (1)

Country Link
CN (1) CN116844282A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104993856A (en) * 2015-05-13 2015-10-21 深圳极智联合科技股份有限公司 Wireless router and method for switching master antenna and standby antenna thereof
CN110377871A (en) * 2019-06-12 2019-10-25 深圳市智莱科技股份有限公司 Determine the method and system of secondary cabinet position in Intelligent storage cabinet system
CN113470265A (en) * 2021-09-03 2021-10-01 浙江口碑网络技术有限公司 Intelligent cabinet and method and device for storing and taking articles in intelligent cabinet
CN113496575A (en) * 2020-04-08 2021-10-12 镇江云聚信息科技有限公司 Intelligent cloud cabinet system with temperature control and storage functions and control method thereof
CN114783116A (en) * 2022-04-19 2022-07-22 拉扎斯网络科技(上海)有限公司 Offline cabinet opening method and device for intelligent cabinet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104993856A (en) * 2015-05-13 2015-10-21 深圳极智联合科技股份有限公司 Wireless router and method for switching master antenna and standby antenna thereof
CN110377871A (en) * 2019-06-12 2019-10-25 深圳市智莱科技股份有限公司 Determine the method and system of secondary cabinet position in Intelligent storage cabinet system
CN113496575A (en) * 2020-04-08 2021-10-12 镇江云聚信息科技有限公司 Intelligent cloud cabinet system with temperature control and storage functions and control method thereof
CN113470265A (en) * 2021-09-03 2021-10-01 浙江口碑网络技术有限公司 Intelligent cabinet and method and device for storing and taking articles in intelligent cabinet
CN114783116A (en) * 2022-04-19 2022-07-22 拉扎斯网络科技(上海)有限公司 Offline cabinet opening method and device for intelligent cabinet

Similar Documents

Publication Publication Date Title
US8843065B2 (en) Method and device for managing information exchange between for example a NFC controller and a set of at least two secure elements
CN108665644A (en) Express mail processing method, apparatus and system
US20100109619A1 (en) Power-managed socket
EP1646124A2 (en) Power supply circuit and method for stable system turn-off
US20110172960A1 (en) Cash drawer having a network interface
CN101253462A (en) Method and apparatus for supplying power, and display device
CN102362260A (en) System and method for configuring a power device
CN205405253U (en) Vehicle failure detecting system based on on -vehicle CAN network
US20130346027A1 (en) Cash drawer having a bluetooth interface
CN109278678A (en) Vehicle trouble judges system
CN109775178B (en) Intelligent waste recycling method
CN103902939A (en) Active terminal and method for starting control unit
CN116844282A (en) Communication method, device and storage medium of grid box system
US11079817B2 (en) Electronic device and method of starting the same
US8860556B2 (en) Method and system for the secure detection of an RFID electronic tag
CN111860710A (en) RFID relay protection device full life cycle management system and use method thereof
CN110109529A (en) SD card method for controlling power supply, device, storage medium and electronic equipment
CN106502929B (en) A kind of target device, a kind of processing method and processing device of internal storage data
CN211956579U (en) Expandable key management machine
CN100499525C (en) Ethernet-based control system and method of terminal equipment
CN103136085A (en) Method for recoding state of intelligent terminal and intelligent terminal
CN110633288B (en) On-site database access device
CN114374242A (en) Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium
CN106067222A (en) The self checking method of portable power source lending system, system and portable power source lending system
US7693504B2 (en) Method for reduction of the power consumption of a mobile data memory; application of the method to an identification system with at least one read/write device and a mobile data memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination