CN112383895B - System networking method, anti-theft system and freight equipment - Google Patents
System networking method, anti-theft system and freight equipment Download PDFInfo
- Publication number
- CN112383895B CN112383895B CN202011271534.XA CN202011271534A CN112383895B CN 112383895 B CN112383895 B CN 112383895B CN 202011271534 A CN202011271534 A CN 202011271534A CN 112383895 B CN112383895 B CN 112383895B
- Authority
- CN
- China
- Prior art keywords
- networking
- sensor
- main controller
- association
- identity
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/40—Transportation
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y20/00—Information sensed or collected by the things
- G16Y20/20—Information sensed or collected by the things relating to the thing itself
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/10—Detection; Monitoring
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/50—Safety; Security of things, users, data or systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Operations Research (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Burglar Alarm Systems (AREA)
- Telephonic Communication Services (AREA)
- Alarm Systems (AREA)
Abstract
The application relates to a system networking method, an anti-theft system and freight equipment. The system networking method comprises the following steps: the method comprises the steps that a main controller distributes network numbers to sensors, the sensors are installed on target bases included in a plurality of bases, and networking applications carry first identification marks of the sensors and second identification marks of the target bases; the sensor establishes a communication channel with the main controller through a network number, so as to complete the association networking with the main controller; after the main controller completes the association networking with at least one sensor installed on all the bases in the container, the main controller sends an association application to the server, wherein the association application carries a first identity mark of the at least one sensor and a second identity mark corresponding to the base, so that the server completes the association networking of the container, the main controller and the at least one sensor according to the first identity mark of the at least one sensor and the second identity mark corresponding to the base. The system networking method can improve the utilization rate of the main controller and the sensors.
Description
Technical Field
The application relates to the technical field of freight safety monitoring, in particular to a system networking method, an anti-theft system and freight equipment.
Background
Along with the continuous development of international import and export trade, containers become freight carriers widely adopted by various suppliers due to the advantages of large freight capacity, low transportation cost and the like, and meanwhile, the safety requirements of various suppliers on the container freight process are higher and higher. Among the most important safety requirements are: the container needs to be always in a safe state in the process of freight from the origin packaging to the receiving and unsealing, and based on the safe state, an anti-theft system applied to the container is generated to ensure that the container needs to be always in the safe state in the process of freight from the origin packaging to the receiving and unsealing.
The anti-theft system generally comprises a main controller and a plurality of sensors, wherein in the working process of the anti-theft system, environmental data collected by the plurality of sensors are required to be sent to a server through the main controller and then analyzed through the server. Therefore, before the anti-theft system enters a working state, the freight equipment, the main controller and the plurality of sensors need to be associated and networked in advance, after the association and networking, the plurality of sensors can send the collected environment data to the main controller and then to the server through the main controller, and then the server can analyze and determine the safety condition of the container according to the identity of the container with the association relation with the main controller and the plurality of sensors in advance.
In the prior art, a networking method of an anti-theft system generally sets at least two of a container, a main controller and a plurality of sensors in one-to-one correspondence, for example, before shipping the container, the main controller and the container are configured into a set of equipment through a plurality of bases arranged inside a container body, and for example, before shipping the container, the main controller and the plurality of sensors are configured into a set of equipment. The networking method has the problem that the components configured into one set of equipment can only be applied to the set of equipment and cannot be matched with the components included in other sets of equipment, so that the utilization rate of a main controller and a plurality of sensors in the anti-theft system is low.
Disclosure of Invention
The present application is directed to a system networking method, an anti-theft system and a freight device, so as to solve the above problems.
In a first aspect, a system networking method provided by an embodiment of the present application is applied to an anti-theft system, where the anti-theft system includes a plurality of bases disposed inside a container, and a sensor detachably connected to the bases, and the anti-theft system further includes a main controller, where the system networking method includes:
after entering a networking state and receiving a networking application sent by a sensor, the main controller distributes a network number to the sensor, the sensor is arranged on a target base which is included in a plurality of bases, and the networking application carries a first identity mark of the sensor and a second identity mark of the target base;
The sensor receives the network number to establish a communication channel with the main controller through the network number, so as to complete the association networking with the main controller;
after the main controller completes the association networking with the sensors installed on the at least one base arranged in the container, the main controller sends an association application to the server, wherein the association application carries the first identity of the at least one sensor and the second identity of the corresponding base, so that the server completes the association networking of the container, the main controller and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base.
In the implementation process of the system networking method provided by the embodiment of the application, the used container, the main controller and any two of the plurality of sensors are not associated in one-to-one correspondence, but in the networking process, after the main controller enters a networking state and receives a networking application sent by the sensors, network numbers are allocated to the sensors, the sensors are installed on target bases included in the plurality of bases, the networking application carries a first identity identifier of the sensors and a second identity identifier of the target base, afterwards, the sensors receive the network numbers, so that a communication channel between the sensors and the main controller is established through the network numbers, and the associated networking with the main controller is completed, finally, after the associated networking with the sensors installed on at least one base arranged in the container is completed, the main controller sends an associated application to the server, and the associated application carries a first identity identifier of the at least one sensor and a second identity identifier of the corresponding base. Therefore, by applying the networking method provided by the embodiment of the application, the main controller and the sensors do not need to be associated in advance, any unused sensor can be associated with any main controller for networking, and any unused main controller can also be associated with any container for networking, and finally, the portability of the main controller and the sensors in the anti-theft system is enhanced, namely, the utilization rate of the main controller and the sensors in the anti-theft system is improved.
With reference to the first aspect, the embodiment of the present application further provides a first optional implementation manner of the first aspect, where the system networking method further includes:
any of the at least one sensor sends a networking application to the host controller upon detecting that it is mounted on any of the at least one base.
In the above embodiment, the system networking method further includes: any of the at least one sensor sends a networking application to the host controller upon detecting that it is mounted on any of the at least one base. Therefore, the implementation difficulty of the system networking method can be reduced, and the networking efficiency of the anti-theft system is improved.
With reference to the first optional implementation manner of the first aspect, the embodiment of the present application further provides a second optional implementation manner of the first aspect, wherein a hall sensor is disposed inside the sensor, a magnetic element is disposed in a mounting socket of the base, and when the sensor detects that the sensor is mounted on any base in the at least one base, the sensor sends a networking application to the main controller, including:
when the sensors detect that installation completion instructions are generated, networking application is sent to the main controller, and the installation completion instructions are generated when the Hall sensors arranged in the sensors detect magnetic pieces so as to represent that the sensors are installed on any base in at least one base.
In the above embodiment, the sensor is provided with the hall sensor inside, is provided with the magnetic part in the installation socket of base, and the sensor is when detecting to be installed on arbitrary base in at least one base, sends the networking application to main control unit, includes: when the sensor detects that the installation completion instruction is generated, a networking application is sent to the main controller, the installation completion instruction is generated when the Hall sensor arranged in each sensor detects the magnetic part, so that the sensor is characterized by being installed on any base in at least one base.
With reference to the first aspect, an embodiment of the present application further provides a third optional implementation manner of the first aspect, where before the main controller sends the association application to the server, the system networking method further includes:
the method comprises the steps that a main controller detects whether terminal networking completion indication information is generated or not, wherein the terminal networking completion indication information is used for representing that the main controller has completed the association networking with a plurality of sensors installed on all bases arranged in a container;
And when detecting that the terminal networking completion indication information is generated, the main controller executes the step of sending the association application to the server.
In the above embodiment, the system networking method further includes: the main controller detects whether the terminal networking completion indication information is generated or not to perform the step of transmitting the association application to the server when the terminal networking completion indication information is detected to be generated, and the terminal networking completion indication information is used for characterizing that the main controller has completed the association networking with the plurality of sensors installed on all the bases arranged in the container, that is, the step of transmitting the association application to the server is performed only after the main controller completes the association networking with the plurality of sensors installed on all the bases arranged in the container, thereby completing the association networking of the plurality of sensors installed on all the bases arranged in the freight equipment, the main controller and the container at one time to improve the networking efficiency of the anti-theft system.
With reference to the third optional implementation manner of the first aspect, the embodiment of the present application further provides a fourth optional implementation manner of the first aspect, where a networking control key is disposed on the main controller, and the system networking method further includes:
When the main controller monitors that the networking control key is triggered and the triggering time is in a first time interval, generating terminal networking completion indication information.
In the above embodiment, the terminal networking completion instruction information is generated by: the main controller generates when the networking control key is triggered and the triggering time is located in a first time interval. Because the networking control key is triggered, and the triggering time is located in the first time interval and is controlled by the user, the controllability of the networking method of the system can be improved, and particularly, the time node of the associated application can be accurately sent to the server.
With reference to the third optional implementation manner of the first aspect, the embodiment of the present application further provides a fifth optional implementation manner of the first aspect, and the system networking method further includes:
after each time the main controller completes the association networking with any sensor in at least one sensor, counting the sensors which have completed the association networking, and obtaining a second count value;
and when the second count value reaches a preset value, the main controller generates terminal networking completion indication information.
In the above embodiment, after each time the main controller completes the association networking with any sensor in the at least one sensor, the main controller counts the sensors that have completed the association networking to obtain the second count value, so when the second count value reaches the preset value, it can be determined that the main controller has completed the association networking with the at least one sensor, thereby automatically generating the terminal networking completion indication information, and improving the automation degree of the system networking method.
With reference to the first aspect, an embodiment of the present application further provides a sixth optional implementation manner of the first aspect, after the server completes the association networking of the container, the main controller, and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base, a system networking method further includes:
the main controller receives base numerical values which are sent by the server and used for representing the number of the bases in the container;
after each time the main controller completes the association networking with any sensor in the rest sensor set, counting the sensors which complete the association networking to obtain a first count value, wherein the rest sensor set comprises all sensors arranged in the container, and the other sensors except at least one sensor which complete the association networking with the container and the main controller;
when the base value and the first count value meet the target difference value, the main controller sends an association application to the server, wherein the association application carries first identity identifiers of all sensors included in the residual sensor set and second identity identifiers corresponding to the base, so that the server can complete association networking of the container, the main controller and at least one sensor according to the first identity identifiers of all the sensors included in the residual sensor set and the second identity identifiers corresponding to the base.
In the foregoing embodiment, after receiving the base number value sent by the server and used for characterizing the number of bases in the container, the main controller may count the sensors that have completed the association networking after each time the association networking with any sensor in the remaining sensor set is completed, to obtain a first count value, where the remaining sensor set includes other sensors except for at least one sensor that has completed the association networking with the container and the main controller, and thereafter, when the base number value and the first count value satisfy the target difference value, the main controller sends an association application to the server, where the association application carries the first identity identifiers of all sensors included in the remaining sensor set and the second identity identifiers of the corresponding bases, so that the server completes the association networking of the container, the main controller, and the at least one sensor according to the first identity identifiers of all sensors included in the remaining sensor set and the second identity identifiers of the corresponding bases, thereby improving the degree of automation of the system networking method.
The embodiment of the first aspect or any one of the foregoing optional implementation manners of the first aspect, further provides a seventh optional implementation manner of the first aspect, where the system networking method further includes, before the allocating, by the main controller, a network number to the sensor:
The master controller sends a network number application request to the server, so that the server distributes the network number to the master controller after receiving the network number application request.
In the above embodiment, the master controller allocates the network number to the sensor only after entering the networking state and receiving the networking application sent by the sensor, that is, the server sends the network number application request to the server, so that the server allocates the network number to the master controller after receiving the network number application request, and therefore, only when the anti-theft system applying the networking method of the system is in use, the allocated network number is occupied, and the waste of network resources is not caused.
The embodiment of the first aspect or any one of the foregoing optional implementation manners of the first aspect further provides an eighth optional implementation manner of the first aspect, where the system networking method further includes:
after entering a networking state and receiving a networking application sent by a sensor, the master controller generates a networking number, and distributes the networking number to the sensor so that the sensor can establish a communication channel with the master controller through the network number and the networking number after receiving the network number and the networking number, thereby completing the association networking with the master controller.
If the main controller enters a networking state and receives a networking application sent by a sensor, and the network number which is applied to the server in advance is allocated to the sensor which sends the networking application, and meanwhile, the networking application is not allocated to the sensor which sends the networking application together with the network number, then the sensor receives the network number allocated by the main controller and stores the network number, and then a communication channel between the network number and the main controller is actually required to be established through the network number and a first identity mark of the sensor, so that the association networking with the main controller is completed. Based on this, in the above embodiment, the first identity identifier of the sensor is replaced by the group device number, so that the sensor receives the network number and the group device number, and then a communication channel is established between the network number and the group device number and the main controller, so that the data transmission pressure can be reduced by completing the association networking with the main controller, thereby improving the execution efficiency of the system networking method.
The embodiment of the first aspect or any one of the foregoing optional implementation manners of the first aspect further provides a ninth optional implementation manner of the first aspect, and the system networking method further includes:
when the main controller monitors that the networking control instruction is generated, the main controller enters a networking state;
and after entering a networking state, the main controller receives a networking application sent by the sensor.
In the above embodiment, the master controller enters the networking state only after detecting that the networking control command is generated, and starts to accept the networking application sent by the sensor, so as to improve the controllability of the networking method of the system, and specifically, the time node of the master controller entering the networking state can be accurately controlled.
With reference to the ninth optional implementation manner of the first aspect, the embodiment of the present application further provides a tenth optional implementation manner of the first aspect, where a networking control key is disposed on the main controller, and the system networking method further includes:
when the main controller monitors that the networking control key is triggered and the triggering time length is positioned in the second time length interval, a networking control instruction is generated.
In the above embodiment, the method for generating the networking control command includes: when the main controller monitors that the networking control key is triggered and the triggering time length is positioned in the second time length interval, a networking control instruction is generated. Because the networking control key is triggered, and the triggering time is located in the second time interval and is controlled by the user, the controllability of the networking method of the system can be further improved.
In a second aspect, an anti-theft system provided by an embodiment of the present application is applied to a container, the anti-theft system includes a plurality of bases disposed inside the container, and a sensor detachably connected to the bases, and the anti-theft system further includes a main controller:
the main controller is used for distributing network numbers to the sensors after entering a networking state and receiving networking application sent by the sensors, the sensors are installed on target bases included in the plurality of bases, and the networking application carries a first identity mark of the sensors and a second identity mark of the target base;
the sensor is used for receiving the network number to establish a communication channel with the main controller through the network number so as to complete the association networking with the main controller;
the main controller is used for sending an association application to the server after the association networking of the sensor installed on at least one base arranged in the container is completed, wherein the association application carries a first identity mark of the at least one sensor and a second identity mark corresponding to the base, so that the server completes the association networking of the container, the main controller and the at least one sensor according to the first identity mark of the at least one sensor and the second identity mark corresponding to the base.
The anti-theft system provided in the embodiment of the present application has the same advantages as the system networking method provided in the first aspect or any optional implementation manner of the first aspect, which is not described herein.
In a third aspect, an embodiment of the present application provides a cargo transportation device including a container and an anti-theft system provided in the second aspect, wherein a plurality of bases and a plurality of sensors included in the anti-theft system are disposed inside the container, and a main controller included in the anti-theft system is connected to the plurality of sensors.
The freight device provided in the embodiment of the present application has the same advantages as the anti-theft system provided in the second aspect, and will not be described herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an arrangement mode of freight equipment according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a setting mode of a base in a container according to an embodiment of the present application.
Fig. 3 is a cross-sectional view taken along the direction A-A of fig. 2.
Fig. 4 is a schematic block diagram of an anti-theft system according to an embodiment of the present application.
Fig. 5 is a flowchart of steps of a system networking method according to an embodiment of the present application.
Fig. 6 is an auxiliary explanatory diagram of a generation manner of an installation completion instruction provided in the embodiment of the present application.
Fig. 7 is an auxiliary explanatory diagram of a specific implementation process of the system networking method provided in the embodiment of the present application.
Reference numerals: 10-freight equipment; 100-container; 200-an anti-theft system; 210-a base; 211-magnetic member; 220-a sensor; a 221-hall sensor; 230-master controller.
Detailed Description
For the purposes, technical solutions and advantages of the embodiments of the present application, the technical solutions of the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Furthermore, it should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
First embodiment:
referring to fig. 1, 2 and 3, in the embodiment of the present application, the freight device 10 includes a container 100 and an anti-theft system 200, and in addition, referring to fig. 4, in the embodiment of the present application, the anti-theft system 200 includes a plurality of bases 210 disposed inside the container 100, and a plurality of sensors 220 detachably connected to the bases 210, that is, the plurality of sensors 200 may be disposed as well, and the anti-theft system 200 further includes a main controller 230.
In this embodiment, the container 100 may be a component tool that can be used for shipping, or for long-distance land transportation, with or without packaging, and that facilitates handling by mechanical equipment. Structurally, the container 100 includes a case body, which may include a top plate, a bottom plate, and three side plates enclosed between the top plate and the bottom plate, and a door disposed between the top plate and the bottom plate to cooperate with the top plate, the bottom plate, and the three side plates to form a closable space for accommodating goods, that is, a "inside of the container 100" described in the embodiment of the present application.
A plurality of bases 210 and a plurality of sensors 220 included in the anti-theft system 200 are provided inside the container 100, and a main controller 230 included in the anti-theft system 200 is connected to the plurality of sensors 220. Based on the above-mentioned composition structure of the container 100, for the setting positions of the plurality of bases 210, in this embodiment of the present application, the setting positions of the plurality of bases 210 may be distributed on three side plates of the container 100, and in actual implementation, the setting positions of the plurality of bases 210 may also need to be determined according to an actual transportation environment or a stacking rule of goods, which is not particularly limited in this embodiment of the present application. In addition, it should be noted that, in the embodiment of the present application, the number of the setting bases 210 may be 5, 10, or 20, and the specific numerical values thereof may be set according to the actual design requirement and the user requirement, which is not limited in particular in the embodiment of the present application, and the number of the setting bases 220 needs to be less than or equal to the number of the setting bases 210 due to the limitation of the number of the setting bases 210, and the specific number of the setting bases needs to be set according to the actual design requirement and the user requirement, which is also not limited in particular in the embodiment of the present application. In the embodiment of the present application, for a specific description of the anti-theft system 200, reference may be made to the third embodiment, which is not described herein.
Second embodiment:
referring to fig. 5, a flow chart of a system networking method provided in an embodiment of the present application is shown, and the method is applied to an anti-theft system described in a third embodiment, where the anti-theft system includes a plurality of bases disposed inside a container, and a sensor detachably connected to the bases, and the anti-theft system further includes a main controller. It should be noted that, the system networking method provided in the embodiment of the present application is not limited by the sequence shown in fig. 5 and the following, and the specific flow and steps of the system networking method are described below with reference to fig. 5.
Step S100, after entering networking mode and receiving networking application sent by a sensor, the main controller distributes network numbers to the sensor, the sensor is installed on a target base included in a plurality of bases, and the networking application carries a first identity mark of the sensor and a second identity mark of the target base.
In this embodiment of the present application, after entering a networking state and receiving a networking application sent by a sensor, the master controller needs to allocate a network number that is applied to a server in advance to the sensor that sends the networking application. For convenience of description, in this embodiment, the sensor for sending the networking application is installed on a target base included in the multiple bases, and the networking application carries, in addition to a first message for communication authentication, a first identity of the sensor and a second identity of the target base, and after receiving the networking application sent by the sensor, the main controller stores the first identity of the sensor and the second identity of the target base. It should be noted that, in the embodiment of the present application, since the networking application carries the first message, before the sensor completes the association networking with the main controller, the communication between the sensor and the main controller will carry the first message, so that the main controller will not receive other communication data that does not carry the first message.
In addition, in the embodiment of the present application, after entering a networking state and receiving a networking application sent by a sensor, the master controller may generate a networking device number while allocating a network number that is applied to the server in advance to the sensor that sends the networking application, and allocate the networking device number to the sensor that sends the networking application, for example, after receiving the networking application sent by the sensor, the network number and the networking device number may be allocated to the sensor that sends the networking application together.
Based on the above description, the system networking method provided in the embodiment of the present application may further include step S001 before executing step S100.
In step S001, the master controller sends a network number application request to the server, so that the server distributes the network number to the master controller after receiving the network number application request.
In the embodiment of the present application, as a first optional implementation manner, the main controller may switch on/off control keys, and when the main controller is in a power-off state, if the switch on/off control keys are triggered, the main controller indicates that there is a power-on operation, responds to the power-on operation, and sends a request for requesting a network number to the server, so that the server distributes the network number to the main controller after receiving the request for requesting the network number.
For the time node in which the master controller sends the network number application request to the server in step S001, in this embodiment of the present application, as a second optional implementation manner, after the network application sent by the sensor is received for the first time, the master controller may automatically send the network number application request to the server, so that the server distributes the network number to the master controller after receiving the network number application request. However, since the process of applying the network number to the server by the main controller is usually implemented through the mobile communication network, a certain communication time is required to be consumed, and therefore, in this embodiment of the present application, for example, before receiving the networking application sent by the sensor, which is provided in the first optional implementation manner, the main controller characterizes that there is a start-up operation if the on-off control key is triggered in the off state, and responds to the start-up operation, and sends a network number application request to the server.
Further, it may be understood that in the embodiment of the present application, after receiving the network number application request, the server may select an arbitrary network number from the network numbers in the unused state, and assign the arbitrary network number to the main controller.
The master controller only enters a networking state and after receiving a networking application sent by the sensor, allocates a network number to the sensor, namely, sends a network number application request to the server so that the server allocates the network number to the master controller after receiving the network number application request, therefore, the allocated network number is occupied only when the anti-theft system applying the networking method of the system is in the use process, and the waste of network resources is not caused. Specifically, the master controller sends a network number application request to the server after each start-up, or the master controller sends a network number application request to the server after receiving a networking application sent by the sensor for the first time, so that the server distributes the network number to the master controller after receiving the network number application request, and therefore, only when an anti-theft system applying the system networking method is in a use process, the distributed network number is occupied, and the waste of network resources is avoided.
Further, in order to reduce implementation difficulty of the system networking method and thus improve networking efficiency of the anti-theft system, in the embodiment of the present application, a specific implementation manner may be provided through step S002 for when and in what manner the sensor sends a networking application to the main controller.
Step S002, for any sensor of the at least one sensor, the sensor sends a networking application to the main controller when detecting that the sensor is mounted on any base of the at least one base.
Referring to fig. 6, in this embodiment, as an optional implementation manner, a hall sensor 221 may be disposed inside the sensor 220, and a magnetic member 210 is disposed in a mounting socket of the base 210, so a specific implementation manner of step S002 may include: the sensors 220 send a networking application to the main controller when detecting the generation of an installation completion instruction, and the installation completion instruction is generated when the hall sensor 221 provided inside each sensor 220 detects the magnetic member 210, so as to characterize that the sensor 220 has been installed on any base 210 of the at least one base 210. It should be noted that, in the embodiment of the present application, when the sensor 220 is installed on any base 210 in the at least one base 210, the base 210 is used as a target base, the second identity of the target base is read, and the first identity of the sensor and the second identity of the target base are carried in the networking application and then sent to the main controller. In addition, it should be noted that, in the embodiment of the present application, the sensor 220 may communicate with the host controller through a pre-allocated network-dedicated network number to send a network-application to the host controller.
Since the hall sensor 221 can withstand high vibration and at the same time, has contamination resistance and corrosion resistance, it has high stability, and can improve the reliability of the installation completion instruction.
Further, in order to improve the controllability of the system networking method, in the embodiment of the present application, for the main controller entering the networking state, a specific implementation manner may be provided through step S003 and step S004.
In step S003, the main controller enters a networking state when detecting that a networking control command is generated.
Step S004, after entering a networking state, the main controller receives a networking application sent by the sensor.
According to step S003 and step S004, it can be understood that in the embodiment of the present application, the main controller enters the networking state only after detecting that the networking control command is generated, and starts to accept the networking application sent by the sensor, so as to improve the controllability of the networking method of the system, and specifically, can accurately control the time node of the main controller entering the networking state.
In addition, in the embodiment of the present application, a networking control key may be set on the main controller, and based on this, for a networking control instruction, the generating method may be: when the main controller monitors that the networking control key is triggered and the triggering time length is positioned in the second time length interval, a networking control instruction is generated. The networking control key may be a physical key set on the main controller, for example, a mechanical key, or may be a virtual key set displayed on a touch display included in the main controller. In this embodiment of the present application, the second duration interval may be (0,1S) or (0,2S), and specific values thereof may be set according to actual design requirements and user requirements, which is also not limited in this embodiment of the present application.
Because the networking control key is triggered, and the triggering time is located in the second time interval and is controlled by the user, the controllability of the networking method of the system can be further improved.
In step S200, the sensor receives the network number to establish a communication channel with the host controller through the network number, thereby completing the association networking with the host controller.
In this embodiment of the present application, after receiving the network number allocated by the master controller, the sensor stores the network number, so as to establish a communication channel with the master controller through the network number, thereby completing the association networking with the master controller. And the master controller considers that the association networking with the sensor is completed after assigning the network number to the sensor. In addition, it should be noted that in the embodiment of the present application, the network number carries the second message for communication authentication, so after the sensor receives the network number to establish a communication channel with the main controller through the network number, and the association networking with the main controller is completed, each communication between the sensor and the main controller needs to carry the second message, so the main controller does not receive other communication data sent by other sensors that do not complete the association networking with the sensor.
It should be further noted that, in the actual association networking process of the sensor and the master controller, if the master controller enters the networking mode and receives the networking application sent by the sensor, the network number applied to the server in advance is allocated to the sensor sending the networking application, and meanwhile, the networking equipment number is not allocated to the sensor sending the networking application together, then the sensor receives the network number allocated by the master controller and stores the network number, and then, a communication channel between the sensor and the master controller is actually required to be established through the network number and the first identity identifier of the sensor, so that the association networking with the master controller is completed.
However, since the first identity identifier of the sensor is usually a character string with a larger character, that is, the character string has a longer length, if the sensor establishes a communication channel with the host controller through the network number and the first identity identifier of the sensor, the sensor completes the association networking with the host controller, the data transmission amount is often increased, that is, the data transmission pressure is increased, and finally the execution efficiency of the system networking method is affected.
Step S300, after finishing the association networking with the sensor installed on at least one base arranged in the container, the main controller sends an association application to the server, wherein the association application carries a first identity of the at least one sensor and a second identity of the corresponding base, so that the server can complete the association networking of the container, the main controller and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base.
It can be appreciated that, in the embodiment of the present application, for step S300, if the "at least one base" is all the bases disposed in the container, then if step S300 is to be performed, the main controller needs to determine that the association networking with at least one sensor installed on all the bases disposed in the container is completed. Based on this, the system networking method provided in the embodiment of the present application may further include step S005 and step S006.
Step S005, the main controller detects whether terminal networking completion indication information is generated, wherein the terminal networking completion indication information is used for representing that the main controller has completed the association networking with a plurality of sensors installed on all bases arranged in the container.
Step S006, when detecting that the terminal networking completion instruction information is generated, the main controller executes a step of sending an association application to the server.
It can be understood from step S005 and step S006 that in this embodiment of the present application, the step of sending the association application to the server is only performed after the main controller completes the association networking with the plurality of sensors installed on all the bases provided in the container, that is, the step of sending the association application to the server is only performed after the main controller completes the association networking with the plurality of sensors installed on all the bases provided in the container, thereby completing the association networking with the plurality of sensors installed on the plurality of bases provided in the shipping equipment, the main controller and the container at one time to improve the networking efficiency of the anti-theft system.
Of course, in actual implementation, after the main controller finishes the association networking with the sensor installed on one base set in the container, the main controller may send an association application to the server, where the association application carries the first identity identifier of the sensor and the second identity identifier of the corresponding base, so that the server finishes the association networking of the container, the main controller and the sensor according to the first identity identifier of the sensor and the second identity identifier of the corresponding base, and thus the target number is repeated for several times, and the association networking of a plurality of sensors installed on all bases set in the freight equipment, the main controller and the container can also be finished. In addition, it should be noted that, for the target number, in this embodiment of the present application, after the server obtains the second identity, the container corresponding to the second identity may be determined, and then the number of bases set on the container is searched, and then the number of bases is directly used as the target number. Based on this, it is also understood that the correspondence relationship between the container and the number of the base settings is stored in the server in advance.
In this embodiment of the present application, a networking control key may be set on the main controller, based on this, for the terminal networking completion indication information mentioned in step S005 and step S006, in this embodiment of the present application, as a first optional implementation manner, the generating method may be: when the main controller monitors that the networking control key is triggered and the triggering time is in a first time interval, generating terminal networking completion indication information. The networking control key may be a physical key set on the main controller, for example, a mechanical key, or may be a virtual key set displayed on a touch display included in the main controller.
In addition, it should be noted that, in the embodiment of the present application, the first time period is an arbitrary time period different from the second time period, for example, when the second time period is (0,1S), the first time period may be (0,2S), and for example, when the second time period is (0,2S), the first time period may be (0,1S), and the specific value of the first time period may be set according to the actual design requirement and the user requirement, which is also not specifically limited in the embodiment of the present application.
Because the networking control key is triggered, and the triggering time is located in the first time interval and is controlled by the user, the controllability of the networking method of the system can be improved, and particularly, the time node of the associated application can be accurately sent to the server.
In addition, in order to consider the aspect of improving the automation degree of the system networking method, in the embodiment of the present application, the terminal networking completion instruction information mentioned in step S005 and step S006 may also be generated through step S0051 and step S0052.
Step S0051, after each time the association networking with any sensor of the plurality of sensors is completed, the main controller counts the sensors for which the association networking is completed, and obtains a second count value.
Step S0052, when the second count value reaches the preset value, the main controller generates terminal networking completion indication information.
In this embodiment of the present application, the preset value may be input in advance and stored in the main controller, and in addition, it may be understood that in this embodiment of the present application, the preset value is the total number of sensors that are planned in advance and need to be installed in the anti-theft system.
For example, if the preset value is 10, the main controller counts the sensors that have completed the association networking after completing the association networking with the first sensor to obtain a second count value 1, and thereafter, counts the sensors that have completed the association networking after completing the association networking with the second sensor to obtain a second count value 2, and so on, counts the sensors that have completed the association networking after completing the association networking with the tenth sensor to obtain a second count value 10, and generates the terminal networking completion instruction information.
It can be appreciated that, according to step S0051 and step S0052, in this embodiment of the present application, after each time the association networking with any sensor in the at least one sensor is completed, the main controller counts the sensors that have completed the association networking to obtain a second count value, so when the second count value reaches a preset value, it can be determined that the main controller has completed the association networking with the at least one sensor, thereby automatically generating terminal networking completion indication information, so as to improve the automation degree of the system networking method.
Of course, in this embodiment of the present application, for step S300, if the "at least one base" is actually 1 base, 2 bases, or any other value smaller than the number of all bases set in the container, then step S300 is performed to enable the server to complete the association networking of the container, the main controller, and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base, and then step S400, step S500, and step S600 are further included in the system networking method provided in this embodiment of the present application, so as to ensure the comprehensiveness and integrity of the system networking. Step S400, the main controller receives the base number value which is sent by the server and used for representing the number of the bases in the container.
In this embodiment of the present application, after completing the association networking of the container, the main controller, and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base, the server may obtain a base value for characterizing the number of bases in the container, and send the base value to the main controller. It should be noted that, in the embodiment of the present application, the number of the bases may be the number of all bases set in the container, or may be the total number of other sensors except for at least one sensor that has completed the association networking with the container and the main controller, which is not particularly limited in the embodiment of the present application.
Step S500, after each time the association networking with any sensor in the rest sensor set is completed, the main controller counts the sensors which have completed the association networking to obtain a first count value, and the rest sensor set comprises other sensors except at least one sensor which has completed the association networking with the container and the main controller in all the sensors arranged in the container.
Step S600, when the base value and the first count value meet the target difference value, the main controller sends an association application to the server, wherein the association application carries first identity identifiers of all sensors included in the rest sensor set and second identity identifiers corresponding to the base, so that the server completes association networking of the container, the main controller and at least one sensor according to the first identity identifiers of all sensors included in the rest sensor set and the second identity identifiers corresponding to the base.
In this embodiment of the present application, if the base number is the number of all bases set in the container, the target difference value is a specific number of at least one sensor that has completed the association networking with the container and the main controller, and if the base number is the total number of other sensors than the at least one sensor that has completed the association networking with the container and the main controller among all the sensors set in the container, the target difference value is 0.
Finally, it should be noted that, in the embodiment of the present application, for the network number applied to the server by the master controller through step S001, if the server does not receive the association application sent by the master controller within the preset networking duration, the server will withdraw the network number allocated to the master controller, so as to further avoid the waste of network resources.
In addition, it should be noted that, in the embodiment of the present application, the main controller may include a processor and a communication device.
The processor is configured to perform conventional control or logic processing, for example, control the communication device to send a signal (e.g., a control signal or data information) to the sensor or the server, and for example, in the process of executing step S0051, count the sensors that have completed the association networking, to obtain a count value. The processor may be an integrated circuit chip with signal processing capabilities or a general-purpose processor, for example, a digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), discrete gate or transistor logic, discrete hardware components, for implementing or executing the logic blocks disclosed in the embodiments of the present application, or a microprocessor or any conventional processor, etc.
The communication device is used for sending signals to the sensor or the server under the control of the processor, and in the embodiment of the application, the communication device can be a GPRS communication module, a wireless data transmission radio communication module or a Modem communication module.
For the sensor, in the embodiment of the present application, since the anti-theft system mainly functions for anti-theft monitoring, the sensor may include at least one of a brightness sensor, an infrared sensor, and a sound detector. For example, the sensor may include only the luminance sensor, may include both the luminance sensor and the infrared sensor, and may include both the luminance sensor, the infrared sensor, and the sound detector.
In the embodiment of the present application, the server may be a network server or a database server, which is not particularly limited in this embodiment of the present application.
In the following, a specific implementation procedure of the system networking method provided in the embodiment of the present application will be described by taking the total number of sensors to be installed, which are planned in advance in the anti-theft system, as 5 as an example with reference to fig. 7. For the purpose of the description, 5 sensors are defined as a first sensor, a second sensor, a third sensor, a fourth sensor, and a fifth sensor, respectively.
(1) The main controller responds to the starting operation to start operation, and sends a network number application request to the server, and the server distributes the network number to the main controller after receiving the network number application request.
(2) The main controller monitors that the networking control key is triggered, the triggering time length is in a second time length interval to generate a networking control instruction, and then the main controller enters a networking state to start waiting for receiving a networking application sent by the sensor.
(3) When the first sensor is installed on a first base arranged in the container, a Hall sensor arranged inside the first sensor detects that a magnetic piece is arranged in an installation socket of the first base, after that, the first sensor generates an installation completion instruction, and meanwhile, reads a second identity of the first base, carries the first identity of the first sensor and the second identity of the first base into a networking application, and sends the second identity and the second identity to the main controller.
(4) The method comprises the steps that a main controller receives a networking application sent by a first sensor, distributes a network number and a generated first group of equipment numbers to the first sensor, and records a first identity mark of the first sensor and a second identity mark of a first base, wherein the first identity mark of the first sensor and the second identity mark of the first base are included in the networking application sent by the first sensor.
(5) The first sensor receives the network number and the first group of equipment numbers, and stores the network number and the first group of equipment numbers so as to establish a communication channel with the main controller through the network number and the first group of equipment numbers, thereby completing the association networking with the main controller.
And (3) after that, according to the networking methods of the sensors and the main controller provided in the step (3), the step (4) and the step (5), respectively completing the association networking of the second sensor and the main controller, the association networking of the third sensor and the main controller, the association networking of the fourth sensor and the main controller and the association networking of the fifth sensor and the main controller.
(6) After the main controller completes the association networking with the first sensor, the second sensor, the third sensor, the fourth sensor and the fifth sensor, the user triggers a networking control key, the triggering time is in a first time interval, the main controller generates terminal networking completion indication information, sends an association application to a server, the association application carries a first identity mark of the first sensor, a second identity mark of a first base for installing the first sensor, a first identity mark of the second sensor, a second identity mark of a second base for installing the second sensor, a first identity mark of the third sensor, a second identity mark of a third base for installing the third sensor, a first identity mark of the fourth sensor and a second identity mark of a fourth base for installing the fourth sensor, and the first identity of the fifth sensor, the second identity of the fifth base of the fifth sensor are arranged, so that the server completes the association networking of the container, the main controller and the plurality of sensors according to the first identity of the first sensor, the second identity of the first base of the first sensor, the first identity of the second sensor, the second identity of the second base of the second sensor, the first identity of the third sensor, the second identity of the third base of the third sensor, the first identity of the fourth sensor, the second identity of the fourth base of the fourth sensor and the first identity of the fifth sensor and the second identity of the fifth base of the fifth sensor.
In summary, in the system networking method provided in the embodiment of the present application, in the implementation process, the container, the main controller and any two of the plurality of sensors used in the system networking method are not associated one by one in advance, but in the networking process, after the main controller enters a networking state and receives a networking application sent by the sensors, a network number is allocated to the sensors, the sensors are installed on target bases included in the plurality of bases, the networking application carries a first identity identifier of the sensors and a second identity identifier of the target bases, after that, the sensors receive the network number, so that a communication channel between the sensors and the main controller is established through the network number, and association networking with the main controller is completed, and finally, after the association networking with the sensors installed on at least one base set in the container is completed, the main controller sends an association application to the server, and the association application carries a first identity identifier of at least one sensor and a second identity identifier of the corresponding base. Therefore, by applying the networking method provided by the embodiment of the application, the main controller and the sensors do not need to be associated in advance, any unused sensor can be associated with any main controller for networking, and any unused main controller can also be associated with any container for networking, and finally, the portability of the main controller and the sensors in the anti-theft system is enhanced, namely, the utilization rate of the main controller and the sensors in the anti-theft system is improved.
Third embodiment:
referring to fig. 4 again, for a schematic block diagram of an anti-theft system 200 provided in an embodiment of the present application, the anti-theft system 200 provided in the embodiment of the present application is applied to a container, the anti-theft system 200 includes a plurality of bases disposed inside the container, and a sensor 220 detachably connected to the bases, and the anti-theft system 200 further includes a main controller 230.
The main controller 230 is configured to assign a network number to the sensor 220 after entering a networking state and receiving a networking application sent by the sensor 220, where the sensor 220 is installed on a target base included in the multiple bases, and the networking application carries a first identity identifier of the sensor 220 and a second identity identifier of the target base.
The sensor 220 is configured to receive the network number to establish a communication channel with the main controller 230 through the network number, thereby completing the association networking with the main controller 230.
The main controller 230 is configured to send an association application to the server after completing association networking with at least one sensor 220 installed on at least one base set in the container, where the association application carries a first identity of the at least one sensor 220 and a second identity of a corresponding base, so that the server completes association networking of the container, the main controller 230, and the at least one sensor 220 according to the first identities of the at least one individual sensor 220 and the second identities of the corresponding bases.
Since the anti-theft system 200 provided in the embodiment of the present application and the system networking method provided in the second embodiment have the same inventive concept, the detailed description of each of the main controller 230 and the sensor 220 in the anti-theft system 200, and other settings of the anti-theft system 200 can be referred to the related description in the system networking method provided in the second embodiment, which is not repeated here.
In summary, in the system networking method provided in the embodiment of the present application, in the implementation process, the container, the main controller and any two of the plurality of sensors used in the system networking method are not associated one by one in advance, but in the networking process, after the main controller enters a networking state and receives a networking application sent by the sensor, a network number is allocated to the sensor, the sensor is installed on a target base included in the plurality of bases, the networking application carries a first identity identifier of the sensor and a second identity identifier of the target base, afterwards, the sensor receives the network number, so that a communication channel between the sensor and the main controller is established through the network number, and association networking with the main controller is completed, finally, after the association networking with the sensor installed on at least one base set in the container is completed, the main controller sends an association application to the server, and the association application carries a first identity identifier of the at least one sensor and a second identity identifier of the corresponding base. Therefore, by applying the networking method provided by the embodiment of the application, the main controller and the sensors do not need to be associated in advance, any unused sensor can be associated with any main controller for networking, and any unused main controller can also be associated with any container for networking, and finally, the portability of the main controller and the sensors in the anti-theft system is enhanced, namely, the utilization rate of the main controller and the sensors in the anti-theft system is improved.
The anti-theft system and the freight equipment provided by the embodiment of the application have the same beneficial effects as those of the networking method of the system, and are not repeated here.
In the above embodiments, it should be understood that the disclosed method may be implemented in other manners. Furthermore, in the above-described embodiments, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Furthermore, the functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this, it is understood that the technical solution of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. Further, the aforementioned storage medium includes: a usb disk, a removable hard disk, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Further, in the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "connected," "configured," and "mounted" are to be construed broadly, and may be, for example, mechanically fixed, detachably, or integrally connected, electrically connected, or communicatively connected, wherein the communications connection may be, in turn, a wired communications connection or a wireless communications connection, and further may be directly connected, or may be indirectly connected through an intermediate medium, or may be communication between two elements, and it will be understood by those skilled in the art that the specific meaning of the terms in this application may be understood as appropriate. Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
The foregoing is only a few examples of the present application and is not intended to limit the present application, and various modifications and variations may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims (10)
1. The networking method of the system is characterized in that the networking method of the system is applied to an anti-theft system, the anti-theft system comprises a plurality of bases arranged inside a container, and a sensor detachably connected with the bases, the anti-theft system further comprises a main controller, and the networking method of the system comprises the following steps:
after entering a networking state and receiving a networking application sent by a sensor, the main controller distributes a network number to the sensor, wherein the sensor is arranged on a target base which is included in the plurality of bases, and the networking application carries a first identity mark of the sensor and a second identity mark of the target base;
the sensor receives the network number to establish a communication channel with the main controller through the network number so as to complete the association networking with the main controller;
After the main controller completes the association networking with the sensors installed on at least one base arranged in the container, the main controller sends an association application to a server, wherein the association application carries a first identity of at least one sensor and a second identity of a corresponding base, so that the server completes the association networking of the container, the main controller and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base.
2. The system networking method of claim 1, wherein the system networking method further comprises:
and any sensor in the at least one sensor sends a networking application to the main controller when detecting that the sensor is installed on any base in the at least one base.
3. The system networking method of claim 1, wherein the master controller, prior to sending the association application to the server, further comprises:
the main controller detects whether terminal networking completion indication information is generated or not, wherein the terminal networking completion indication information is used for representing that the main controller has completed the association networking with a plurality of sensors installed on all bases arranged in the container;
And when the main controller detects that the terminal networking completion indication information is generated, executing the step of sending the association application to the server.
4. The system networking method according to claim 3, wherein the main controller is provided with a networking control key, and the system networking method further comprises:
and when the main controller monitors that the networking control key is triggered and the triggering time is in a first time interval, generating the terminal networking completion indication information.
5. The system networking method of claim 1, wherein the server completes the association networking of the container, the master controller and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base, the system networking method further comprising:
the main controller receives base values which are sent by the server and used for representing the number of the bases in the container;
after each time the main controller completes the association networking with any sensor in the residual sensor set, counting the sensors which complete the association networking, and obtaining a first count value, wherein the residual sensor set comprises other sensors except for the at least one sensor which complete the association networking with the container and the main controller;
And when the base value and the first count value meet a target difference value, the main controller sends an association application to a server, wherein the association application carries first identity identifiers of all sensors included in the residual sensor set and second identity identifiers corresponding to the base, so that the server completes association networking of the container, the main controller and at least one sensor according to the first identity identifiers of all sensors included in the residual sensor set and the second identity identifiers corresponding to the base.
6. The system networking method of any one of claims 1 to 5, wherein the master controller, prior to assigning a network number to the sensor, further comprises:
and the master controller sends a network number application request to the server so that the server distributes a network number to the master controller after receiving the network number application request.
7. The system networking method of any one of claims 1 to 5, further comprising:
after entering a networking state and receiving a networking application sent by a sensor, the master controller generates a networking device number, and distributes the networking device number to the sensor so that the sensor can establish a communication channel with the master controller through the network number and the networking device number after receiving the network number and the networking device number, thereby completing the association networking with the master controller.
8. The system networking method of any one of claims 1 to 5, further comprising:
the main controller enters a networking state when monitoring that a networking control instruction is generated;
and after entering a networking state, the main controller receives a networking application sent by the sensor.
9. An anti-theft system, characterized in that it is applied to the container, the anti-theft system includes a plurality of bases that set up in the container inside, and with the sensor of base detachable connection, the anti-theft system still includes main control unit:
the main controller is used for distributing network numbers to the sensors after entering a networking state and receiving networking application sent by the sensors, the sensors are installed on target bases included in the plurality of bases, and the networking application carries a first identity identifier of the sensors and a second identity identifier of the target bases;
the sensor is used for receiving the network number to establish a communication channel with the main controller through the network number so as to complete the association networking with the main controller;
The main controller is used for sending an association application to the server after the association networking of the sensor installed on at least one base arranged in the container is completed, wherein the association application carries a first identity of the at least one sensor and a second identity of the corresponding base, so that the server completes the association networking of the container, the main controller and the at least one sensor according to the first identity of the at least one sensor and the second identity of the corresponding base.
10. A freight device comprising a container and the anti-theft system according to claim 9, wherein a plurality of bases and a plurality of sensors included in the anti-theft system are provided inside the container, and a main controller included in the anti-theft system is connected to the plurality of sensors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011271534.XA CN112383895B (en) | 2020-11-13 | 2020-11-13 | System networking method, anti-theft system and freight equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011271534.XA CN112383895B (en) | 2020-11-13 | 2020-11-13 | System networking method, anti-theft system and freight equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112383895A CN112383895A (en) | 2021-02-19 |
CN112383895B true CN112383895B (en) | 2023-07-28 |
Family
ID=74582399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011271534.XA Active CN112383895B (en) | 2020-11-13 | 2020-11-13 | System networking method, anti-theft system and freight equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112383895B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1513149A (en) * | 2001-03-27 | 2004-07-14 | �¶����ظ��ټ����ɷ�����˾ | Container surveilance system and related method |
CN1823493A (en) * | 2003-05-15 | 2006-08-23 | 全套海运安全公司 | Method and system for monitoring containers to maintain the security thereof |
CN208248999U (en) * | 2018-04-13 | 2018-12-18 | 天津星恒智联技术有限公司 | A kind of container |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100778623B1 (en) * | 2003-01-14 | 2007-11-22 | 유나이티드 테크놀로지스 코포레이션 | Shipping container and method of using same |
-
2020
- 2020-11-13 CN CN202011271534.XA patent/CN112383895B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1513149A (en) * | 2001-03-27 | 2004-07-14 | �¶����ظ��ټ����ɷ�����˾ | Container surveilance system and related method |
CN1823493A (en) * | 2003-05-15 | 2006-08-23 | 全套海运安全公司 | Method and system for monitoring containers to maintain the security thereof |
CN208248999U (en) * | 2018-04-13 | 2018-12-18 | 天津星恒智联技术有限公司 | A kind of container |
Also Published As
Publication number | Publication date |
---|---|
CN112383895A (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100750770B1 (en) | Resource managing system, resource managing method and computer readable recording medium having resource managing program recorded therein | |
CN110474896A (en) | Data communications method and relevant device based on Modbus consensus standard | |
CN113066202A (en) | Vehicle unlocking method and device | |
CN102104883A (en) | Method and system for defining information in machine-to-machine (M2M) platform and M2M platform | |
CN106681799B (en) | It is inserted into the methods, devices and systems of disk | |
CN110784538B (en) | Household appliance configuration file generation method and device, household appliance and storage medium | |
CN109634813A (en) | Electronic device, cloud platform exception confirmation method and storage medium | |
WO2009051336A1 (en) | Apparatus and method for managing terminal users | |
CN115242752B (en) | Address allocation method, device, equipment and medium of battery management system | |
CN111340587A (en) | Virtual commodity management method and related device | |
CN111475825B (en) | Role authority setting method and device | |
CN113965904B (en) | Device registration method, device and storage medium | |
CN112383895B (en) | System networking method, anti-theft system and freight equipment | |
CN114363293A (en) | Device management method, system, readable storage medium and computer device | |
CN102150090A (en) | Method for providing control information for a distributed operation in an automation system, computer program and automation system | |
CN112948194A (en) | Communication protocol testing method and device | |
JP2009134722A (en) | Method and system for providing electric wave identification application interface | |
CN103077032A (en) | Operation method for application program and application program client-side | |
CN104423612A (en) | Key-identifying method, device and electronic equipment | |
CN113628392B (en) | Time management method, device and storage medium | |
CN104615539A (en) | Measurement parameter processing method and system | |
CN107155164A (en) | NFC electric power controllers and method | |
CN112527668A (en) | Applet safety debugging method and device, mobile terminal and storage medium | |
CN107766232A (en) | A kind of plug-in management method and device | |
CN113010377A (en) | Method and device for collecting operation logs of operation |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230307 Address after: 519085 No. 68, Jinhong 7th Road, High-tech Zone, Zhuhai City, Guangdong Province Applicant after: ZHUHAI UNITECH POWER TECHNOLOGY Co.,Ltd. Address before: 519000 1 E301-17, 1 Harbin Industrial Road, Tangjia Bay, Zhuhai high tech Zone, Guangdong Applicant before: ZHUHAI UTAIOT TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |