CN112055312B - Internet of things terminal and communication method between terminals - Google Patents

Internet of things terminal and communication method between terminals Download PDF

Info

Publication number
CN112055312B
CN112055312B CN202010936578.3A CN202010936578A CN112055312B CN 112055312 B CN112055312 B CN 112055312B CN 202010936578 A CN202010936578 A CN 202010936578A CN 112055312 B CN112055312 B CN 112055312B
Authority
CN
China
Prior art keywords
lock
bluetooth chip
pin
resistor
communicator
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.)
Active
Application number
CN202010936578.3A
Other languages
Chinese (zh)
Other versions
CN112055312A (en
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.)
Sichuan Railway Information Technology Co ltd
Original Assignee
Sichuan Railway Information Technology 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 Sichuan Railway Information Technology Co ltd filed Critical Sichuan Railway Information Technology Co ltd
Priority to CN202010936578.3A priority Critical patent/CN112055312B/en
Publication of CN112055312A publication Critical patent/CN112055312A/en
Application granted granted Critical
Publication of CN112055312B publication Critical patent/CN112055312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • G07C2009/0023Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks with encription of the transmittted data signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a communication method between an Internet of things terminal and a terminal, wherein a safety lock comprises a lock body, a data collection unit, a data conversion unit and a first Bluetooth chip; the locator comprises a communication module, a data interaction module and a positioning module; the communication module comprises a second Bluetooth chip and a wireless communication unit; the data interaction module comprises a data receiving unit, a data conversion unit, a data storage unit and a data deletion unit; the communication method between the terminal of the Internet of things and the terminal comprises the following steps: when the data collection unit of the safety lock collects the state change of the lock body, a state data packet is collected, and the state data packet is matched with a second Bluetooth chip of the positioner and is in Bluetooth communication connection; the first Bluetooth chip is used for transmitting the state data packet and the equipment model information of the safety lock to the second Bluetooth chip and storing the state data packet and the equipment model information in the data storage unit; and the wireless communication unit is used for sending the state data packet and the equipment model of the safety lock to the background server and updating the data stored in the data storage unit.

Description

Internet of things terminal and communication method between terminals
Technical Field
The invention relates to the technical field of container communication, in particular to a communication method between an internet of things terminal and a terminal.
Background
Along with the development of the logistics transportation industry, a novel and efficient transportation mode is embodied by the application of the container. The traditional management device of the container comprises a lead blocking lock, a padlock and the like, wherein the lead blocking lock is a single-use product, the padlock and the container lack a state synchronization function, the lead blocking lock and the padlock are independent from the container, the risk of frequent loss and replacement exists, the state synchronization and the function are difficult to realize, and the product cannot be effectively managed in an internet of things manner. In the transportation field, the cargo is transferred by using the container, and the cargo can be directly loaded in the warehouse of the shipper and unloaded in the warehouse of the consignee, so that the cargo does not need to be taken out from the container for reloading when the vehicle or the ship is changed in the midway. In a container handling terminal or terminal, hundreds or more containers are stored, managed by an access management system, and placed in a partitioned manner. The container needs to be registered and recorded in the processes of entering and transferring out the container. It can't realize storehouse district location, and its searching still needs artifical inspection. In addition, in the container transportation process, the container cannot be accurately positioned.
Therefore, the applicant specially proposes a container positioner and a container intelligent safety lock, but the communication method of the positioner and the safety lock is not disclosed in the prior art.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method for communication between terminals of an internet of things, where the technical scheme adopted by the present invention is as follows:
a communication method between an Internet of things terminal and a terminal is used for communication between a positioner and a safety lock on the same container and transmitting the communication to a background server, wherein the safety lock comprises a lock body, a data collection unit, a data conversion unit and a first Bluetooth chip; the locator comprises a communication module, a data interaction module and a positioning module; the communication module comprises a second Bluetooth chip and a wireless communication unit; the data interaction module comprises a data receiving unit, a data conversion unit, a data storage unit and a data deletion unit;
the communication method between the terminal of the Internet of things and the terminal comprises the following steps:
step S1, when the data collection unit of the safety lock collects the state change of the lock body, collecting a state data packet, and matching and connecting the state data packet with a second Bluetooth chip of the positioner in a Bluetooth communication way;
step S2, the first Bluetooth chip is used for transmitting the state data packet and the device model information of the safety lock to a second Bluetooth chip and storing the state data packet and the device model information in a data storage unit;
And step S3, the wireless communication unit is used for sending the state data packet and the equipment model of the safety lock to the background server, and the data stored in the data storage unit is updated.
Compared with the prior art, the invention has the following beneficial effects:
the invention skillfully arranges the positioner and the safety lock on the traditional container, and feeds back the state information and the positioning information of the safety lock to the background server by utilizing the communication between the positioner and the safety lock so as to monitor the state of the safety lock and the position information of the container, thereby simplifying the structure and reducing the monitoring cost. The method has high practical value and popularization value in the technical field of container communication.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of protection, and it is obvious for those skilled in the art that other related drawings can be obtained according to these drawings without inventive efforts.
FIG. 1 is a schematic diagram of the safety lock of the present invention.
FIG. 2 is the internal structure of the safety lock of the present invention.
FIG. 3 is a bottom view of the safety lock of the present invention.
Fig. 4 shows the internal structure of the security lock of the present invention (ii).
Fig. 5 is a schematic view of the lock core of the security lock of the present invention.
FIG. 6 is the first view of the locking rope fixing structure of the safety lock of the present invention.
FIG. 7 is the second embodiment of the present invention.
Fig. 8 shows a lock cord fastener structure (iii) of the safety lock of the present invention.
FIG. 9 is a schematic view of the internal perspective of the security lock of the present invention.
FIG. 10 is a schematic diagram of the Bluetooth chip of the security lock of the present invention.
FIG. 11 is a schematic diagram of the interface circuit of the security lock of the present invention.
FIG. 12 is a schematic diagram of the motor unlock driving circuit of the safety lock of the present invention.
FIG. 13 is a schematic diagram of the motor lock driving circuit of the safety lock of the present invention.
FIG. 14 is a schematic diagram of the motor interface circuit of the security lock of the present invention.
FIG. 15 is a schematic diagram of the indicator light circuit of the security lock of the present invention.
FIG. 16 is a schematic diagram of the sensor acquisition circuit of the security lock of the present invention.
FIG. 17 is a schematic circuit diagram of a Bluetooth chip of the locator of the present invention.
Fig. 18 is a schematic circuit diagram of a program burning circuit, a key circuit, a storage battery interface and a second SIM card socket of the locator according to the present invention.
Figure 19 is a schematic diagram of the GAM interface circuit of the locator of the present invention.
FIG. 20 is a schematic diagram of an acceleration sensor circuit of the positioner of the present invention.
Fig. 21 is a schematic diagram of the GAM interface driving circuit of the positioner of the present invention.
FIG. 22 is a schematic diagram of a first power control circuit of the positioner of the present invention.
FIG. 23 is a schematic diagram of a voltage regulator circuit of the positioner of the present invention.
Fig. 24 is a schematic circuit diagram of a second SIM card holder of the positioner of the present invention.
FIG. 25 is a schematic diagram of a hub communicator of the locator of the present invention.
FIG. 26 is a schematic diagram of a second power control circuit of the positioner of the present invention.
FIG. 27 is a schematic diagram of a first intermediate circuit of the hub communicator and the Bluetooth chip of the locator of the present invention.
FIG. 28 is a schematic diagram of second and third intermediate circuits of the hub communicator and Bluetooth chip of the locator of the present invention.
FIG. 29 is a schematic diagram of an intermediate circuit of the GPS location module of the locator of the present invention.
FIG. 30 is a logic flow diagram of the present invention.
Fig. 31 is a schematic block diagram of the present invention.
In the drawings, the names of the parts corresponding to the reference numerals are as follows:
101-lock body, 102-battery compartment cover, 103-screw, 104-lock head, 105-lock rope, 106-battery, 107-sealing ring, 108-capacitor, 109-green indicator light, 110-dust cover, 111-power connector groove, 112-red indicator light, 113-lock hole, 114-circuit board compartment cover plate fixing hole, 115-mechanical compartment cover plate fixing hole, 116-battery compartment, 117-lock body mounting hole, 118-dust cover rotating device, 119-anti-abrasion sleeve, 120-chip removal hole, 121-circuit board compartment cover, 122-mechanical compartment cover fixing column, 123-unlocking sensor, 124-positioning hole, 125-motor, 126-sensor trigger, 127-locking sensor, 128-lock core, 129-lock head detection sensor, 130-interface board, 131-light guide column of indicator light, 132-power line wiring groove, 133-latch baffle, 134-motor driving hole, 135-lock detection thimble baffle, 136-latch spring, 137-thimble, 138-latch, 139-lock detection steel ball, 140-lock locking steel ball, 141-lock chamber, 142-chip groove, 143-motor gear, 201-lock rope fixing device, 202-lock rope fixing screw hole, 203-lock fixing device cover plate fixing hole, 204-lock fixing device cover plate, 205-screw limiting groove, 206-lock fixing hole, 207-lock anti-falling steel ball, 208-lock rope fixing port, 209-lock rope fixing device mounting hole, 1041-lock groove.
Detailed Description
To further clarify the objects, technical solutions and advantages of the present application, the present invention will be further described with reference to the accompanying drawings and examples, and embodiments of the present invention include, but are not limited to, the following examples. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application.
Examples
As shown in fig. 1 to fig. 31, this embodiment provides a communication method between terminals of an internet of things, which is used for communication between a locator and a security lock on the same container, and transmitting the communication to a background server. In the present embodiment, the terms of the numbers such as "first" and "second" are used only for distinguishing the similar components, and the scope of protection should not be specifically limited. In the present embodiment, the directional terms such as "bottom", "top", "peripheral edge", "center", and the like are explained based on the drawings. Moreover, the embodiment is based on the improvement of the circuit and the mechanical structure, and the software program is not improved, which is a conventional combination of program segments and is not described herein again.
First, the structure of the safety lock and the retainer will be explained:
first part, safety lock:
the intelligent safety lock for the container comprises a lock body 101, a lock rope fixing device 201, a lock head 104, a lock rope 105, a battery 106, a circuit board and a lock head driving mechanism, wherein the lock body 101 and the lock rope fixing device 201 are fixed on a door of the container in a one-to-one correspondence manner, the lock head 104 is inserted into the lock body 101 and is detachably connected with the lock body 101, the lock rope 105 is arranged between the lock head 104 and the lock rope fixing device 201 and is fixedly connected with the lock rope fixing device 201, and the battery 106, the circuit board and the lock head driving mechanism are arranged in the lock body 101 and are electrically connected with each other; the lock head driving mechanism is detachably connected with the lock head 104. A battery compartment 116 is arranged in the lock body 101, a sealing ring 107 is arranged between the battery compartment 116 and the battery compartment cover 102, and the battery compartment cover 102 is connected with the battery compartment 116 by a screw 103. In addition, a circuit board compartment cover 121 is further disposed on the lock body 101. As shown in fig. 2 and 3, an anti-wear sleeve 119 is provided within the lock body 101 coaxial with the lock bore 141 for insertion of the lock cylinder 104. In order to prevent the wear-resistant sleeve 119 from entering impurities, a lock hole 113 communicating with the wear-resistant sleeve 119 is formed in the lock body 101, and a dust cover 110 for shielding the lock hole 113 after being shifted is fixed to the lock body 101.
As shown in fig. 6 to 8, the lock rope fixing device 201 is provided with a lock rope fixing screw hole 202, a lock head fixing device cover plate fixing hole 203, a lock head fixing device cover plate 204, a screw limiting groove 205, a lock head fixing hole 206, a lock head anti-falling steel ball 207, a lock rope fixing port 208 and a lock rope fixing device mounting hole 209 in the shanghai.
As shown in fig. 4, 5, and 9, the lock cylinder driving mechanism in the present embodiment includes a lock cylinder 128, a motor 125 connected to the lock cylinder 128 for driving the lock cylinder 128, and a lock cylinder detection sensor 129 disposed on the lock cylinder 128 for detecting a state in which the lock cylinder 104 is inserted into the lock cylinder 128. Wherein, the lock core 128 comprises an L-shaped lock core shell, a lock chamber 141 arranged in the lock core shell and used for inserting the lock head 104, a first pipeline and a second pipeline which are arranged in the lock core shell and vertically communicated with the lock chamber 141, a lock head detection steel ball 139 arranged in the first pipeline, a thimble 137 arranged in the first pipeline and having one end contacted and connected with the lock head detection steel ball 139, a lock head detection thimble baffle 135 arranged outside the lock core shell and connected with the other end of the thimble 137 and used for jacking the lock head detection sensor 129, a lock head locking steel ball 140 arranged at the front end of the second pipeline and contacted with the lock chamber 141, a lock tongue 138 having one end contacted and pressed with the lock head locking steel ball 140 and arranged in the second pipeline, a motor gear 143 engaged and connected with the other end of the lock tongue 138 and fixedly connected with the bearing end of the motor 125 and used for driving the lock tongue 138 to move along the second pipeline, the locking bolt spring 136 is arranged at the rear end of the second pipeline and used for blocking the second pipeline, one end of the locking bolt spring 136 is arranged in the locking bolt 138, the other end of the locking bolt spring is extruded on the locking bolt baffle 133, the fan-shaped sensor trigger 126 is sleeved on a bearing of the motor 125, and the unlocking sensor 123 and the locking sensor 127 are fixed on two sides of the motor 125 and are in relative extrusion fit with the sensor trigger 126. In this embodiment, the lock head 104 is provided with a locking groove 1041 in pressing contact with the lock head locking steel ball 140; in addition, the diameter of the first conduit where it communicates with the lock bore 141 is smaller than the diameter of the first conduit, and the diameter of the second conduit where it communicates with the lock bore 141 is smaller than the diameter of the second conduit.
As shown in fig. 10 to 16, the electric part of the present embodiment is as follows, in which a controller electrically connected to the battery 106 and the motor 125, respectively, is provided on a circuit board; the controller comprises a Bluetooth chip U2 with the model number of nRF52832 and a VDD pin connected with a battery 106, a capacitor C10, a capacitor C11 and a capacitor C16 which are connected with the VDD pin of the Bluetooth chip U2 at one end and are grounded at the other end after being connected in parallel, a motor unlocking driving circuit connected with a serial port P0.03 of the Bluetooth chip U2, a motor locking driving circuit connected with a serial port P0.04 of the Bluetooth chip U2, a locking head insertion detection circuit connected with a serial port P0.05 of the Bluetooth chip U2 and used for acquiring a signal of a locking head detection sensor 129, a locking head acquisition circuit connected with a serial port P0.13 of the Bluetooth chip U2 and used for acquiring a signal of a locking sensor 127, and an unlocking acquisition circuit connected with a serial port P0.14 of the Bluetooth chip U2 and used for acquiring a signal of an unlocking sensor 123. The motor unlocking driving circuit and the motor locking driving circuit are identical in structure, the motor unlocking driving circuit comprises a triode Q6, the base electrode of the triode Q6 is connected with the serial port P0.03 of the Bluetooth chip U2 through a resistor R17, the emitting electrode of the triode Q6 is grounded, the grid electrode of the triode Q6 is connected with the collector electrode of the triode Q18 through a resistor R18, the source electrode of the triode Q6 is connected with a battery, the drain electrode of the triode Q6 is connected with the motor, and the resistor R21 is connected between the battery and the grid electrode of the field effect transistor D6. In addition, the lock insertion detection circuit, the lock closing acquisition circuit and the lock unlocking acquisition circuit have the same structure, and the lock closing acquisition circuit comprises a capacitor C44 of which one end is connected with the serial port P0.13 of the Bluetooth chip U2 and the other end is grounded, and a resistor R26 of which one end is connected with the serial port P0.13 of the Bluetooth chip U2; the lock-off sensor 127 is arranged in parallel with the capacitor C44.
The following briefly describes the operation of the device:
when the container door is in an open state and needs to be closed and locked, the lock head 104 is inserted into the lock hole 113, the anti-abrasion sleeve 119 and the lock chamber 114, the lock head detection steel ball 139 is extruded, the thimble 137 is pushed, and the lock head detection sensor 129 is triggered; the lock head detection sensor 129 is turned on and inputs a low level to the bluetooth chip U2; at this time, the unlock sensor outputs a low level and the lock-off sensor outputs a high level. The Bluetooth chip U2 sends a high level to the motor locking driving circuit to drive the motor to rotate; the lock tongue 138 is used to press the lock head locking steel ball 140 on the locking groove 1041, so that locking can be realized. When the container door needs to be opened, the Bluetooth chip U2 receives the opening signal, and the Bluetooth chip U2 is used for sending a high level to the motor unlocking driving circuit, so that the lock head locking steel ball 140 is released from being connected with the locking groove 1041 in an extrusion mode. In this embodiment, the unlocking sensor and the locking sensor can detect the operating state of the motor in real time.
Second part, locator:
the locator of this embodiment includes the casing of fixed mounting, sets up the controller in the casing to and set up in the casing, and with controller electrical connection's battery. The controller includes a hub communicator U5A, model 720UH, a Bluetooth chip U2, model nRF52832, a triode Q6 having a collector connected to the LCDCS _ IO3 pin of the hub communicator U5A, an emitter connected to the serial port P0.03 of the Bluetooth chip U2, and a base connected to the VDDIV I pin of the hub communicator U5A via a capacitor C20 and a resistor R18 in parallel, a triode Q8 having a collector connected to the serial port P0.02 of the Bluetooth chip U2, an emitter connected to the LCDCS _ IO2 pin of the hub communicator U5A, and a base connected to the pins of the hub communicator U5 IV8 of the hub communicator U5A via a capacitor C19 and a resistor R17 in parallel, a GPS positioning module interface circuit connected to the HOST _ RXD pin and the pins of the Bluetooth communicator U A and the Bluetooth chip V368745, a GPS positioning module interface circuit connected between the pins of the Bluetooth chip U2 and the serial port P0.04 and the hub communicator U2, a Bluetooth chip U3646, a power supply controller U3646, and a Bluetooth chip VGA U368747, a power supply controller, and SIM circuitry connected to hub communicator U5A.
In this embodiment, the device mainly includes several parts, i.e., a hub communicator U5A, a bluetooth chip U2, an acceleration sensor U3, a GPS positioning module interface circuit, a power control circuit, and a SIM circuit, where the GPS positioning module interface circuit is used to acquire a GPS position signal of the locator, and the power control circuit mainly performs switching control between low power consumption and normal power supply, and the SIM circuit is used for information transmission. Specifically, the GPS positioning module interface circuit of the present embodiment includes a transistor Q3 having an emitter connected to the HOST _ TXD pin of the line concentration communicator U5A via a resistor R40, a base connected to the VDDIV8 pin of the line concentration communicator U5A via a capacitor C14 and a resistor R7 connected in parallel, a transistor Q4 having a collector connected to the HOST _ RXD pin of the line concentration communicator U5A via a resistor R37, a base connected to the VDDIV8 pin of the line concentration communicator U5A via a capacitor C15 and a resistor R9 connected in parallel, a transistor Q4 having a base connected to the A pin of the line concentration communicator U5A via a resistor R44, a transistor Q A having a grounded emitter, a resistor Q A having one end connected to the base of the transistor Q A and the other end connected to ground, a gate connected to the collector of the transistor Q A via a resistor R A, a drain connected to the battery Q A, a field effect transistor Q A connected between the source of the battery and the gate of the transistor Q A, a resistor Q A connected between the collector of the collector and the collector of the transistor Q A, and a resistor Q A and a resistor R A connected between the collector R A and the collector of the transistor Q A, a resistor R33 connected between the source of the field effect transistor Q11 and the emitter of the triode Q3, and a positioning module interface which is connected with the collector of the triode Q4 and the emitter of the triode Q3 and is of a GAM-2525 model; the positioning module interface is externally connected with a GAM-2525 module.
IN addition, the power control circuit of the embodiment includes a triode Q10 with a base connected with a pin P0.04 of a serial port of a bluetooth chip U2 through a resistor R24 and a grounded emitter, a resistor R19 with one end connected with the base of the triode Q10 and the other end grounded, a field effect transistor Q9 with a gate connected with a collector of the triode Q10 through a resistor R23 and a drain connected with a battery, a resistor R21 connected between the gate of the field effect transistor Q9 and the battery, a voltage stabilization chip U6 with a model MP3423 with an IN pin, an INA pin and an EN pin all connected with the source of the field effect transistor Q9, a capacitor C43 and a capacitor C44 with one ends connected with the IN pin of the voltage stabilization chip U6 and the other ends grounded after being connected IN parallel, an inductor L2 connected between the IN pin and the SW pin of the voltage stabilization chip U6, a resistor R39 connected between the OUT pin and the FB pin of the voltage stabilization chip U6 and one end of the FB 8242 with the voltage stabilization chip U6 and one end connected with the pin of the voltage stabilization chip FB pin, A resistor R43 with the other end grounded, a capacitor C42 and a capacitor C45 with one end connected to the OUT pin of the voltage regulation chip U6 and the other end grounded after being connected in parallel, a triode Q2 with a base connected to the serial port P0.14 of the Bluetooth chip U2 through a resistor R4 and an emitter grounded, a resistor R49 with one end connected to the base of the triode Q2 and the other end grounded, a field effect transistor Q1 with a gate connected to the collector of the triode Q2 through a resistor R3, a drain connected to the OUT pin of the voltage regulation chip U6 and a source connected to the VBAT _ BB pin and the VBAT _ RF pin of the line concentration communicator U5A respectively, a resistor R1 connected between the gate of the field effect transistor Q1 and the OUT pin of the voltage regulation chip U6, a capacitor C1, a capacitor C23, a capacitor C24, a capacitor C25 and a capacitor C4972 with one end connected to the source of the field effect transistor Q1 and the other end connected in parallel and the source 5474 and the other end of the field effect transistor Q5475 and the other end connected to the ground after being connected in parallel and the other end of the capacitor C27 and the transistor C27 and the capacitor C6855 and the ground, Capacitor C28, capacitor C29, and capacitor C30.
In addition, the SIM circuit includes a first SIM card holder and a second SIM card holder both having VCC pins connected to the USIM _ VDD pin of the hub communicator U5A, a resistor R28 having one end connected to the USIM _ DATA pin of the hub communicator U5A and the other end connected to the IO pin of the first SIM card holder and the IO0 pin of the second SIM card holder, respectively, a capacitor C36 having one end connected to the IO0 pin of the second SIM card holder and the other end grounded, a resistor R26 connected between the USIM _ VDD pin of the hub communicator U5A and the IO0 pin of the second SIM card holder, a resistor R27 having one end connected to the _ CLK pin of the hub communicator U5A and the other end grounded, and a capacitor C35, having one end connected to the USIM _ RST pin of the hub communicator U5A and the other end connected to the RST pin of the first SIM card holder and the second SIM card holder, respectively, a resistor R27 having one end connected to the RST pin of the second SIM card holder and the other end connected to the RST pin of the second SIM card holder, and the capacitor 85c 34, one end of the capacitor C33 is connected with the USIM _ VDD pin of the line concentration communicator U5A, and the other end of the capacitor C33 is grounded; the CLK pins of the first and second SIM card holders are connected between a resistor R29 and a capacitor C35.
In this embodiment, the communication method between the security lock terminal and the locator terminal includes the following steps:
Step one, when a data collection unit of the safety lock collects the change of the state of the lock body, collecting a state data packet, and matching and connecting the state data packet with a second Bluetooth chip of the positioner in a Bluetooth communication manner;
secondly, transmitting the state data packet and the equipment model information of the safety lock to a second Bluetooth chip by using the first Bluetooth chip, and storing the state data packet and the equipment model information of the safety lock in a data storage unit;
and thirdly, sending the state data packet and the equipment model of the safety lock to a background server by using the wireless communication unit, and updating the data stored in the data storage unit. In this embodiment, whether a background storage success message is received is judged, and if the storage success message is received, the locator terminal invokes the data deleting unit to delete the data stored in the storage unit; otherwise, after a certain time period, the transmission is carried out again.
In this embodiment, according to the information synchronization system provided by the present invention, the lock terminal is used as a sending end, and when the lock state changes, for example, the lock is opened, the lock is closed, and the lock is destroyed, the model information and the synchronization packet of the lock terminal are finally sent; a locator terminal is used as a receiving end, receives the synchronous data packet and the model information, analyzes a data packet adding time tag, stores the data packet adding time tag in a local data storage unit, and then sends the data packet adding time tag to a background server; the scheme does not need manual operation, is high in convenience and richness, and can meet the data synchronization requirement when a user monitors the terminal.
The above-mentioned embodiments are only preferred embodiments of the present invention, and do not limit the scope of the present invention, but all the modifications made by the principles of the present invention and the non-inventive efforts based on the above-mentioned embodiments shall fall within the scope of the present invention.

Claims (5)

1. A communication method between an Internet of things terminal and a terminal is used for communication between a positioner and a safety lock on the same container and transmitting the communication to a background server, and is characterized in that the safety lock comprises a lock body, a data collection unit, a data conversion unit and a first Bluetooth chip; the locator comprises a communication module, a data interaction module and a positioning module; the communication module comprises a second Bluetooth chip and a wireless communication unit; the data interaction module comprises a data receiving unit, a data conversion unit, a data storage unit and a data deletion unit;
the communication method between the terminal of the Internet of things and the terminal comprises the following steps:
step S1, when the data collection unit of the safety lock collects the state change of the lock body, collecting a state data packet, and matching and connecting the state data packet with a second Bluetooth chip of the positioner in a Bluetooth communication way;
step S2, the first Bluetooth chip is used for transmitting the state data packet and the device model information of the safety lock to a second Bluetooth chip and storing the state data packet and the device model information in a data storage unit;
Step S3, the wireless communication unit is used for sending the state data packet and the equipment model of the safety lock to a background server, and the data stored in the data storage unit is updated;
the safety lock comprises a lock body (101) and a lock rope fixing device (201) which are fixed on a door of the container in a one-to-one correspondence manner, a lock head (104) which is inserted into the lock body (101) and is detachably connected with the lock body (101), a lock rope (105) which is arranged between the lock head (104) and the lock rope fixing device (201) and is fixedly connected with the lock rope fixing device (201), and a battery (106), a circuit board and a lock head driving mechanism which are arranged in the lock body (101) and are electrically connected with each other; the lock head driving mechanism is detachably connected with the lock head (104);
the lock head driving mechanism comprises a lock cylinder (128), a motor (125) which is connected with the lock cylinder (128) and used for driving the lock cylinder (128), and a lock head detection sensor (129) which is arranged on the lock cylinder (128) and used for detecting the state that the lock head (104) is inserted into the lock cylinder (128);
the lock core (128) comprises an L-shaped lock core shell, a lock chamber (141) which is arranged in the lock core shell and is used for inserting the lock head (104), a first pipeline and a second pipeline which are arranged in the lock core shell and are vertically communicated with the lock chamber (141), lock head detection steel balls (139) which are arranged in the first pipeline, ejector pins (137) which are arranged in the first pipeline and one ends of which are in contact connection with the lock head detection steel balls (139), lock head detection ejector pin baffles (135) which are arranged outside the lock core shell and are connected with the other ends of the ejector pins (137) and are used for ejecting a lock head detection sensor (129), lock head locking steel balls (140) which are arranged at the front end of the second pipeline and are in contact with the lock chamber (141), lock tongues (138) one ends of which are in extrusion contact with the lock head locking steel balls (140) and are arranged in the second pipeline, lock tongues (138) which are in meshing connection with the other ends of bearings of the motor (125), The device comprises a motor gear (143) for driving a bolt (138) to move along a second pipeline, a bolt baffle (133) which is arranged at the rear end of the second pipeline and used for plugging the second pipeline, and a bolt spring (136) of which one end is arranged in the bolt (138) and the other end is extruded on the bolt baffle (133);
A locking groove (1041) which is in extrusion contact with the locking steel ball (140) is formed in the locking head (104);
the diameter of the position where the first pipeline is communicated with the lock chamber (141) is smaller than that of the first pipeline, and the diameter of the position where the second pipeline is communicated with the lock chamber (141) is smaller than that of the second pipeline.
2. The communication method between the terminal and the terminal of the internet of things according to claim 1, wherein the lock driving mechanism further comprises a fan-shaped sensor trigger (126) sleeved on a bearing of the motor (125), and an unlocking sensor (123) and a locking sensor (127) which are fixed on two sides of the motor (125) and are in relatively pressing fit with the sensor trigger (126).
3. The communication method between the terminal and the terminal of the internet of things of claim 1, wherein the circuit board is provided with a controller which is electrically connected with a battery (106) and a motor (125) respectively; the controller comprises a Bluetooth chip U2 with the model number of nRF52832 and a VDD pin connected with a battery (106), a capacitor C10, a capacitor C11 and a capacitor C16 which are connected with the VDD pin of the Bluetooth chip U2 at one end and grounded at the other end after being connected in parallel, a motor unlocking driving circuit connected with a serial port P0.03 of the Bluetooth chip U2, a motor locking driving circuit connected with a serial port P0.04 of the Bluetooth chip U2, a locking head insertion detection circuit connected with a serial port P0.05 of the Bluetooth chip U2 and used for acquiring a signal of a locking head detection sensor (129), a locking head acquisition circuit connected with a serial port P0.13 of the Bluetooth chip U2 and used for acquiring a signal of a locking sensor (127), and an unlocking acquisition circuit connected with a serial port P0.14 of the Bluetooth chip U2 and used for acquiring a signal of an unlocking sensor (123).
4. The method as claimed in claim 1, wherein the locator includes a housing, a fixedly mounted housing, a controller disposed in the housing, and a battery disposed in the housing and electrically connected to the controller; the controller includes a hub communicator U5A, model 720UH, a Bluetooth chip U2, model nRF52832, a triode Q6 having a collector connected to the LCDCS _ IO3 pin of the hub communicator U5A, an emitter connected to the serial port P0.03 of the Bluetooth chip U2, and a base connected to the VDDIV I pin of the hub communicator U5A via a capacitor C20 and a resistor R18 in parallel, a triode Q8 having a collector connected to the serial port P0.02 of the Bluetooth chip U2, an emitter connected to the LCDCS _ IO2 pin of the hub communicator U5A, and a base connected to the pins of the hub communicator U5 IV8 of the hub communicator U5A via a capacitor C19 and a resistor R17 in parallel, a GPS positioning module interface circuit connected to the HOST _ RXD pin and the pins of the Bluetooth communicator U A and the Bluetooth module 368745, a GPS positioning module interface circuit connected between the pins of the Bluetooth chip U2 and the serial port P0.04 pin of the hub communicator U3753, a Bluetooth chip U3646, and a Bluetooth chip RF sensor 3646, and a SIM circuit connected to the hub communicator U5A; the line concentration communicator U5A, the Bluetooth chip U2, the acceleration sensor U3, the GPS positioning module interface circuit and the power supply control circuit are all connected with the storage battery.
5. A method of communicating between an Internet of things terminal and a terminal as claimed in claim 4, wherein the GPS positioning module interface circuit comprises a transistor Q3 having an emitter connected to a HOST _ TXD pin of the line concentration communicator U5A via a resistor R40, a base connected to a VDDIV8 pin of the line concentration communicator U5A via a capacitor C14 and a resistor R7 connected in parallel, a transistor Q4 having a collector connected to a HOST _ RXD pin of the line concentration communicator U5A via a resistor R37, a base connected to a HOST _ RXD pin of the line concentration communicator U5A via a capacitor C15 and a resistor R9 connected in parallel, a resistor R93 12 8 having a base connected to a pin LCDFMASRK of the line concentration communicator U5A via a resistor R44, a grounded emitter Q12, a resistor R48 having a base connected to the base of the transistor Q386 and a grounded end, a gate connected to a drain of the transistor Q42 via a resistor R42, a field effect transistor Q11 connected to the accumulator, a gate of the field effect transistor Q6474 connected to the accumulator and a gate of the accumulator R41, a resistor R31 connected between the source of the field effect transistor Q11 and the collector of the triode Q4, a resistor R33 connected between the source of the field effect transistor Q11 and the emitter of the triode Q3, and a positioning module interface of GAM-2525 type connected with the collector of the triode Q4 and the emitter of the triode Q3; the positioning module interface is externally connected with a GAM-2525 module.
CN202010936578.3A 2020-09-08 2020-09-08 Internet of things terminal and communication method between terminals Active CN112055312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010936578.3A CN112055312B (en) 2020-09-08 2020-09-08 Internet of things terminal and communication method between terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010936578.3A CN112055312B (en) 2020-09-08 2020-09-08 Internet of things terminal and communication method between terminals

Publications (2)

Publication Number Publication Date
CN112055312A CN112055312A (en) 2020-12-08
CN112055312B true CN112055312B (en) 2022-06-28

Family

ID=73610670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010936578.3A Active CN112055312B (en) 2020-09-08 2020-09-08 Internet of things terminal and communication method between terminals

Country Status (1)

Country Link
CN (1) CN112055312B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205150624U (en) * 2015-09-08 2016-04-13 张立新 Multi -functional intelligent thing flow box
CN106022680A (en) * 2016-05-16 2016-10-12 深圳深若科技有限公司 Smart lock system positioned on the basis of LBS and control method thereof
CN106661902A (en) * 2015-07-09 2017-05-10 莱南科技私人有限公司 Padlock
CN206827925U (en) * 2017-05-08 2018-01-02 天津港国际物流发展有限公司 A kind of container front crane driving control system
CN207763783U (en) * 2018-01-11 2018-08-24 无锡思博思奇科技有限公司 A kind of Bluetooth electronic scale
CN109285251A (en) * 2018-09-12 2019-01-29 深圳市视美泰技术股份有限公司 Intelligent and safe lock and logistic transportation supervision system
CN109760700A (en) * 2019-02-27 2019-05-17 上海电机学院 A kind of vehicle-mounted container smart lock
JP2019177228A (en) * 2019-07-23 2019-10-17 株式会社大一商会 Game machine
CN211293708U (en) * 2020-03-03 2020-08-18 北京东方鸿泰科技有限公司 Intelligent lock

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106661902A (en) * 2015-07-09 2017-05-10 莱南科技私人有限公司 Padlock
CN205150624U (en) * 2015-09-08 2016-04-13 张立新 Multi -functional intelligent thing flow box
CN106022680A (en) * 2016-05-16 2016-10-12 深圳深若科技有限公司 Smart lock system positioned on the basis of LBS and control method thereof
CN206827925U (en) * 2017-05-08 2018-01-02 天津港国际物流发展有限公司 A kind of container front crane driving control system
CN207763783U (en) * 2018-01-11 2018-08-24 无锡思博思奇科技有限公司 A kind of Bluetooth electronic scale
CN109285251A (en) * 2018-09-12 2019-01-29 深圳市视美泰技术股份有限公司 Intelligent and safe lock and logistic transportation supervision system
CN109760700A (en) * 2019-02-27 2019-05-17 上海电机学院 A kind of vehicle-mounted container smart lock
JP2019177228A (en) * 2019-07-23 2019-10-17 株式会社大一商会 Game machine
CN211293708U (en) * 2020-03-03 2020-08-18 北京东方鸿泰科技有限公司 Intelligent lock

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Study on positioning use cases";3GPP;《3GPP TR 22.872 V0.3.0》;20171207;全文 *
面向物流运输远程监控的智能终端***;周受钦等;《交通信息与安全》;20130220(第01期);全文 *

Also Published As

Publication number Publication date
CN112055312A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US6097308A (en) Pager to computer link apparatus
US20120035804A1 (en) Diagnostic Tool with Recessed Connector
CN106661902A (en) Padlock
CN101305404A (en) Hand-held electric tool and battery set for the same
CN112055312B (en) Internet of things terminal and communication method between terminals
CN109883260B (en) Gun-mounted multi-dimensional sensing assembly, automatic firearm state identification system and method
CN106741341A (en) A kind of battery-operated motor cycle burglary-resisting system
CN107389132A (en) Cable work well intelligent monitoring system based on Internet of Things
CN212837185U (en) Automatic locking device, automatic lock and automatic door
CN201600775U (en) Portable logistics-information sensing terminal apparatus
CN201372630Y (en) Automotive keyless entering system
CN111915772B (en) Remote unlocking method
CN111815824B (en) Unlocking method based on Bluetooth identification
CN105957297A (en) Warning device and application thereof on the turnover box
CN213234593U (en) Controller of intelligent lock of container
TWM458039U (en) Vehicular interpreter integration device capable of automatically detecting and driving the connection of On-Board Diagnostic II communication protocol and performing Active Packet Forwarding and wireless transmission
CN102777090B (en) Intelligent bin lock
TWI473930B (en) Integrated multi mode electronic seal
CN209976205U (en) Electronic lock and electronic lock system
CN213058589U (en) Locator controller of intelligent container
US20080252458A1 (en) Electronic device
CN112160676A (en) Theftproof intelligent cabinet based on RFID function
CN214058517U (en) Intelligent lock for cold chain incubator
CN219668138U (en) Automobile remote control key charging device and automobile
CN219224561U (en) Infrared carbon dioxide detection device

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
TA01 Transfer of patent application right

Effective date of registration: 20220302

Address after: 610000 room 2708, 27 / F, building 2, No. 1199, north section of Tianfu Avenue, high tech Zone, Chengdu, Sichuan

Applicant after: Sichuan Railway Information Technology Co.,Ltd.

Address before: 620800, 3 places, 1-3 / F, building 3, No. 487, Qinglong Avenue, Qinglong Town, Pengshan District, Meishan City, Sichuan Province

Applicant before: Sichuan Tieji Gonglian Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant