CN112383895A - System networking method, anti-theft system and freight equipment - Google Patents

System networking method, anti-theft system and freight equipment Download PDF

Info

Publication number
CN112383895A
CN112383895A CN202011271534.XA CN202011271534A CN112383895A CN 112383895 A CN112383895 A CN 112383895A CN 202011271534 A CN202011271534 A CN 202011271534A CN 112383895 A CN112383895 A CN 112383895A
Authority
CN
China
Prior art keywords
sensor
networking
main controller
container
association
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.)
Granted
Application number
CN202011271534.XA
Other languages
Chinese (zh)
Other versions
CN112383895B (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.)
Zhuhai Unitech Power Technology Co Ltd
Original Assignee
Zhuhai Youte IoT 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 Zhuhai Youte IoT Technology Co Ltd filed Critical Zhuhai Youte IoT Technology Co Ltd
Priority to CN202011271534.XA priority Critical patent/CN112383895B/en
Publication of CN112383895A publication Critical patent/CN112383895A/en
Application granted granted Critical
Publication of CN112383895B publication Critical patent/CN112383895B/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/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/40Transportation
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/20Information sensed or collected by the things relating to the thing itself
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

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 following steps that a main controller distributes a network number to a sensor, the sensor is installed on a target base included in a plurality of bases, and a networking application carries a first identity mark of the sensor and a second identity mark of the target base; the sensor establishes a communication channel with the main controller through the network number to complete the association networking with the main controller; after the main controller completes the association networking of at least one sensor installed on all 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

System networking method, anti-theft system and freight equipment
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
With the continuous development of international import and export trade, the container becomes a freight carrier 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 the various suppliers on the container freight process are higher and higher. Among them, the most important safety requirements are: the container needs to be always in a safe state in the freight process from the initial sealing to the receiving place, and therefore, the anti-theft system applied to the container has come to be used for ensuring that the container needs to be always in the safe state in the freight process from the initial sealing to the receiving place.
The anti-theft system usually comprises a main controller and a plurality of sensors, and in the working process of the anti-theft system, environmental data acquired by the plurality of sensors needs 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 device, the main controller and the plurality of sensors need to be subjected to association networking in advance, after the association networking, the plurality of sensors can send collected environmental data to the main controller, then the environmental data are sent 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 which is in 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 includes setting at least two of a container, a main controller and a plurality of sensors in a one-to-one correspondence relationship, for example, before the container leaves a factory, the main controller and the container are combined into a set of equipment through a plurality of bases arranged inside a container body, and for example, before the container leaves the factory, the main controller and the plurality of sensors are combined into a set of equipment. The networking method has the problem that the components which are configured into a set of equipment can only be applied to the set of equipment, but cannot be matched with components in other sets of equipment for use, so that the utilization rate of a main controller and a plurality of sensors in an anti-theft system is low.
Disclosure of Invention
An object of the present invention is to provide a system networking method, an anti-theft system and a freight device, so as to solve the above problems.
In a first aspect, the system networking method provided in the embodiments 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, and the system networking method includes:
the method comprises the steps that a main controller distributes a network number to a sensor after entering a networking state and receiving a networking application sent by 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;
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 of the sensor 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 identification of the at least one sensor and the second identity identification 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 identification of the at least one sensor and the second identity identification corresponding to the base.
In the implementation process of the system networking method provided by the embodiment of the application, any two of a container, a main controller and a plurality of sensors used by the system networking method are not correspondingly 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 distributed to the sensors, the sensors are installed on target bases included in a plurality of bases, the networking application carries a first identity identification of the sensors and a second identity identification of the target bases, then the sensors receive the network number to establish a communication channel with the main controller through the network number so as to complete the associated networking with the main controller, and finally, after the main controller completes the associated networking with the sensors installed on at least one base arranged in the container, the main controller sends the associated application to a server, carry the first identity sign of at least one sensor and the second identity sign that corresponds the base in the association application, because at least one base has set up in the container, just be equivalent to and correlated with the container in advance, so, the server just can accomplish the association network deployment of container, main control unit and at least one sensor according to the first identity sign of at least one sensor and the second identity sign that corresponds the base, afterwards, the sensor alright with can send the monitoring data to the server through main control unit, thereby obtain the environmental condition that the container corresponds, thereby realize the remote monitoring to the container. Therefore, by applying the networking method provided by the embodiment of the application, a main controller does not need to be associated with a sensor 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, so that finally, the transportability of the main controller and the sensor in the anti-theft system is enhanced, namely, the utilization rate of the main controller and the sensor in the anti-theft system is improved.
With reference to the first aspect, an embodiment of the present application further provides a first optional implementation manner of the first aspect, and the system networking method further includes:
and when any sensor in the at least one sensor detects that the sensor is installed on any base in the at least one base, sending a networking application to the main controller.
In the foregoing embodiment, the system networking method further includes: and when any sensor in the at least one sensor detects that the sensor is installed on any base in the at least one base, sending a networking application to the main controller. 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, an embodiment of the present application further provides a second optional implementation manner of the first aspect, where a hall sensor is disposed inside the sensor, a magnetic member is disposed in the installation socket of the base, and when the sensor detects that the sensor is installed on any base in at least one base, the sensor sends a networking application to the main controller, where the networking application includes:
the sensor sends networking application to the main controller when detecting that an installation completion instruction is generated, and the installation completion instruction is generated when a Hall sensor arranged in each sensor detects a magnetic part so as to represent that the sensor is installed on any base in at least one base.
In the above-mentioned embodiment, sensor inside is provided with hall sensor, 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 network deployment application to main control unit, includes: the sensor sends networking application to the main controller when detecting that the installation completion instruction is generated, and the installation completion instruction is generated when the Hall sensor arranged in each sensor detects the magnetic part so as to represent that the sensor is 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 master 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, and the terminal networking completion indication information is used for representing that the main controller completes the associated networking with a plurality of sensors arranged on all bases arranged in a container;
and the main controller executes the step of sending the association application to the server when detecting that the terminal networking completion indication information is generated.
In the foregoing embodiment, the system networking method further includes: the main controller detects whether terminal networking completion indicating information is generated or not, when the terminal networking completion indicating information is detected to be generated, the step of sending the association application to the server is executed, the terminal networking completion indicating information is used for representing that the main controller completes association networking with the plurality of sensors installed on all the bases arranged in the container, namely, the step of sending the association application to the server is executed only after the main controller completes association networking with the plurality of sensors installed on all the bases arranged in the container, and therefore the association networking of the freight equipment, the main controller and the plurality of sensors installed on all the bases arranged in the container is completed at one time, and the networking efficiency of the anti-theft system is improved.
With reference to the third optional implementation manner of the first aspect, an 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:
and when monitoring that the networking control key is triggered and the trigger time length is in the first time length interval, the main controller generates terminal networking completion indication information.
In the above embodiment, the generation manner of the indication information for completing terminal networking is as follows: the master controller generates when monitoring that the networking control key is triggered and the trigger time length is in the first time length interval. Because the networking control key is triggered, and the triggering time length is positioned in the first time length interval and is controlled by the user, the controllability of the system networking method 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, an embodiment of the present application further provides a fifth optional implementation manner of the first aspect, and the system networking method further includes:
after the master controller completes the association networking with any sensor in the at least one sensor, counting the sensors which complete the association networking to obtain a second count value;
and when the second counting 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 associated networking with any sensor of the at least one sensor, the main controller counts the sensors that have completed the associated networking, and obtains the second count value, so that when the second count value reaches the preset value, it can be determined that the main controller has completed the associated networking with the at least one sensor, thereby automatically generating the indication information that the terminal networking is completed, 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, where after the server completes the associated 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 includes:
the main controller receives a base numerical value which is sent by the server and used for representing the number of bases in the container;
after the main controller completes the association networking with any sensor in the rest sensor sets every time, counting the sensors which have completed the association networking to obtain a first counting value, wherein the rest sensor sets comprise all sensors arranged in the container, and other sensors except at least one sensor which has completed the association networking with the container and the main controller;
and when the base value and the first counting value meet the target difference value, the main controller sends an association application to the server, wherein the association application carries the first identity identifications of all the sensors in the rest sensor set and the second identity identifications 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 identifications of all the sensors in the rest sensor set and the second identity identifications corresponding to the base.
In the above embodiment, after receiving the base number sent by the server and used for representing the number of the bases in the container, the main controller may count the sensors that have completed the associated networking after each completion of the associated networking with any sensor in the remaining sensor set, to obtain a first count value, where the remaining sensor set includes all the sensors arranged in the container except for at least one sensor that has completed the associated networking with the container and the main controller, and after that, when a target difference value is satisfied between the base number and the first count value, the main controller sends an association application to the server, where the association application carries the first identity identifiers of all the sensors included in the remaining sensor set and the second identity identifiers of the corresponding bases, so that the server completes the container according to the first identity identifiers of all the sensors included in the remaining sensor set and the second identity identifiers of the corresponding bases, And the master controller and at least one sensor are associated and networked, so that the automation degree of the system networking method is improved.
In the first aspect or any one of the foregoing optional implementation manners of the first aspect, an embodiment of the present application further provides a seventh optional implementation manner of the first aspect, before the master controller assigns a network number to the sensor, the system networking method further includes:
the main controller sends a network number application request to the server, so that the server distributes a network number to the main controller after receiving the network number application request.
In the above embodiment, the master controller will assign a network number to the sensor only after entering the networking state and receiving the networking application sent by the sensor, that is, will send a network number application request to the server, so that the server assigns the network number to the master controller after receiving the network number application request, and therefore, only when the anti-theft system using the system networking method is in use, the assigned network number will be occupied, and no waste of network resources will be caused.
In the first aspect or any one of the foregoing optional implementation manners of the first aspect, an embodiment of the present application further provides an eighth optional implementation manner of the first aspect, and the system networking method further includes:
the master controller generates a group equipment number after entering a networking state and receiving a networking application sent by the sensor, and distributes the group equipment number to the sensor, so that the sensor establishes a communication channel with the master controller through the network number and the group equipment number after receiving the network number and the group equipment number, and related networking with the master controller is completed.
If the main controller enters a networking state, and after receiving a networking application sent by a sensor, a networking device number is not simultaneously distributed to the sensor sending the networking application when a network number applied to a server in advance is distributed to the sensor sending the networking application, the sensor receives the network number distributed by the main controller and stores the network number, and actually needs to establish a communication channel with the main controller through the network number and a first identity identifier of the sensor to complete the associated networking with the main controller, because the first identity identifier of the sensor is a character string with more characters generally, namely, the character string is longer, if the sensor establishes a communication channel with the main controller through the network number and the first identity identifier of the sensor, the associated networking with the main controller is completed, the data transmission amount is often increased, that is, the data transmission pressure is increased, and the execution efficiency of the system networking method is finally affected. Based on this, in the above embodiment, the group device number replaces the first identity identifier of the sensor, so that the sensor receives the network number and the group device number, and then a communication channel with the main controller is established through the network number and the group device number, so as to complete association networking with the main controller, which can reduce data transmission pressure, thereby improving the execution efficiency of the system networking method.
In the first aspect or any one of the foregoing optional implementation manners of the first aspect, an embodiment of the present application further provides a ninth optional implementation manner of the first aspect, and the system networking method further includes:
when monitoring that a networking control command 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 monitoring generation of the networking control command, and starts to receive the networking application sent by the sensor, so that controllability of the system networking method is improved, and specifically, a time node at which the master controller enters the networking state can be accurately controlled.
With reference to the ninth optional implementation manner of the first aspect, an 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:
and when monitoring that the networking control key is triggered and the triggering time duration is within the second time duration, the main controller generates a networking control instruction.
In the above embodiment, the method for generating the networking control command includes: and when monitoring that the networking control key is triggered and the triggering time duration is within the second time duration, the main controller generates a networking control instruction. Because the networking control key is triggered, and the triggering time length is positioned in the second time length interval and is controlled by the user, the controllability of the system networking method can be further improved.
In a second aspect, the anti-theft system provided by the embodiment of the present application is applied to a container, and the anti-theft system includes a plurality of bases arranged inside the container, and a sensor detachably connected with the bases, and the anti-theft system further includes a main controller:
the main controller is used for distributing a network number to the sensor after entering a networking state and receiving a networking application sent by the sensor, the sensor is installed on a target base 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 is used for receiving the network number so as to establish a communication channel with the main controller through the network number, and thus the association networking with the main controller is completed;
the main controller is used for sending an association application to the server after association networking of the sensor mounted on the 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 can complete 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 by the embodiment of the present application has the same beneficial effects as the system networking method provided by the first aspect or any one of the optional implementation manners of the first aspect, and details are not described here.
In a third aspect, the freight device provided by the embodiment of the present application includes a container and the anti-theft system provided by 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 by the embodiment of the present application has the same beneficial effects as the anti-theft system provided by the second aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used 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 therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic diagram of an arrangement of a shipping apparatus according to an embodiment of the present application.
Fig. 2 is a schematic view of an arrangement manner of a base in a container according to an embodiment of the present application.
Fig. 3 is a sectional view taken along line a-a of fig. 2.
Fig. 4 is a schematic structural block diagram of an anti-theft system according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating steps of a system networking method according to an embodiment of the present disclosure.
Fig. 6 is an auxiliary explanatory diagram of a generation manner of an installation completion instruction according to an embodiment of the present application.
Fig. 7 is an auxiliary explanatory diagram of a specific implementation process of a system networking method according to an embodiment of the present application.
Reference numerals: 10-freight equipment; 100-containers; 200-an anti-theft system; 210-a base; 211-a magnetic member; 220-a sensor; 221-hall sensor; 230 — master controller.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in 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 numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The first embodiment:
referring to fig. 1, fig. 2 and fig. 3, in the embodiment of the present application, the shipping equipment 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, a plurality of sensors 200 may also be disposed, and the anti-theft system 200 further includes a main controller 230.
In the embodiment of the present application, the container 100 may be a component tool that can be transported with or without a package and is convenient for mechanical equipment to load, unload and transport, and may be used for marine transportation or long-distance land transportation. Structurally, the container 100 includes a box body and a door, the box body may include a top plate, a bottom plate, and three side plates enclosed between the top plate and the bottom plate, and the door is disposed between the top plate and the bottom plate to cooperate with the top plate, the bottom plate, and the three side plates to constitute a closable space for accommodating goods, that is, "inside 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 antitheft system 200 are provided inside the container 100, and a main controller 230 included in the antitheft 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 may be distributed on three side plates of the container 100, and in actual implementation, the specific setting positions of the plurality of bases 210 also need to be determined according to an actual transportation environment or a stacking rule of goods, which is not specifically 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 bases 210 may be 5, 10, or 20, and the specific value may be set according to the actual design requirement and the user requirement, which is not specifically limited in the embodiment of the present application, while the number of the sensors 220 is limited by the number of the bases 210, and needs to be less than or equal to the number of the bases 210, and as for the specific number, also needs to 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. In the embodiment of the present application, for specific description of the anti-theft system 200, reference may be made to the third embodiment, which is not described herein again.
Second embodiment:
please refer to fig. 5, which is a flowchart illustrating a system networking method according to an embodiment of the present application, where the method is applied to the anti-theft system described in the third embodiment, the anti-theft system includes a plurality of bases disposed inside a container, a sensor detachably connected to the bases, and 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 specific procedures and steps of the system networking method are described below with reference to fig. 5.
Step S100, after the master controller enters a networking state and receives a networking application sent by a sensor, a network number is distributed 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 the embodiment of the application, after the master controller enters the networking state and receives the networking application sent by the sensor, the master controller needs to allocate the network number applied to the server in advance to the sensor sending the networking application. For convenience of description, it is defined in this embodiment that the sensor that sends the networking application is installed on a target base included in the plurality of bases, and the networking application carries a first identity identifier of the sensor and a second identity identifier of the target base in addition to a first packet for communication authentication, and the main controller stores the first identity identifier of the sensor and the second identity identifier of the target base after receiving the networking application sent by the sensor. It should be noted that, in the embodiment of the present application, since the networking application carries the first packet, before the sensor completes the associated networking with the main controller, the communication between the sensor and the main controller will carry the first packet, and therefore, the main controller will not receive other communication data not carrying the first packet.
In addition, in this embodiment of the application, after entering a networking state and receiving a networking application sent by a sensor, the main controller allocates a network number applied to the server in advance to the sensor sending the networking application, and at the same time, may also generate a group device number and allocate the group device number to the sensor sending the networking application, for example, after receiving the networking application sent by the sensor, may allocate the network number and the group device number to the sensor sending 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 step S100 is executed.
And S001, the main controller sends a network number application request to the server, so that the server distributes a network number to the main controller after receiving the network number application request.
In step S001, the master controller sends the time node of the network number application request to the server, in this embodiment, as a first optional implementation manner, a power on/off control key may be provided on the master controller, and when the master controller is in a power off state, if the power on/off control key is triggered, it is characterized that a power on operation exists, and the master controller responds to the power on operation to run, and sends the network number application request to the server, so that the server allocates a network number to the master controller after receiving the network number application request.
In step S001, the master controller sends the time node of the network number application request to the server, in this embodiment of the application, as a second optional implementation manner, it may automatically send the network number application request to the server after receiving the networking application sent by the sensor for the first time, so that the server allocates the network number to the master controller after receiving the network number application request. However, since the process of the master controller applying for the network number to the server is usually implemented through a mobile communication network, and therefore, a certain communication time is consumed, in this embodiment of the application, before receiving the networking application sent by the sensor, for example, as provided in the first optional implementation, when the master controller is in a power-off state, if the on-off control key is triggered, it is represented that a power-on operation exists, and a response is made to the power-on operation, and a request for applying for the network number is sent to the server.
In addition, it can be understood that, in the embodiment of the present application, after receiving the network number application request, the server may select any network number from the network numbers in the unused state, and allocate the selected network number to the master controller.
The main controller allocates a network number to the sensor only after entering a networking state and receiving a networking application sent by the sensor, namely, the main controller sends a network number application request to the server so that the server allocates the network number to the main controller after receiving the network number application request, therefore, only when an anti-theft system applying the system networking method is in a use process, the allocated network number is occupied, and waste of network resources is avoided. Specifically, the master controller sends a network number application request to the server after each startup, or the master controller sends a network number application request to the server after receiving the networking application sent by the sensor for the first time, so that the server allocates a network number to the master controller after receiving the network number application request, and therefore, only when the anti-theft system applying the system networking method is in use, the allocated network number is occupied without waste of network resources.
Further, in order to reduce the implementation difficulty of the system networking method and thus improve the 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 the sensor sends the networking application to the main controller in what manner.
And step S002, aiming at any sensor in the at least one sensor, when the sensor detects that the sensor is installed on any base in the at least one base, sending a networking application to the main controller.
Referring to fig. 6, in the embodiment of the present application, as an optional implementation manner, a hall sensor 221 may be disposed inside the sensor 220, and a magnetic member 210 is disposed in the mounting socket of the base 210, so that a specific implementation manner of step S002 may include: the sensors 220 send networking applications to the main controller when detecting that an installation completion instruction is generated, and the installation completion instruction is generated when a hall sensor 221 arranged inside each sensor 220 detects the magnetic member 210 to indicate that the sensor 220 is installed on any base 210 of the at least one base 210. It should be noted that, in this embodiment of the application, when the sensor 220 is installed on any base 210 of 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 further noted that in the embodiment of the present application, the sensor 220 may communicate with the main controller through a pre-assigned networking private network number to send a networking application to the main controller.
The hall sensor 221 can withstand high vibration and has anti-contamination and corrosion resistance, so that the hall sensor 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 master controller entering the networking state, a specific implementation may be provided through step S003 and step S004.
And S003, the master controller enters a networking state when monitoring that a networking control command is generated.
And step S004, after the master controller enters a networking state, receiving a networking application sent by the sensor.
According to the step S003 and the step S004, it can be understood that in the embodiment of the present application, only after the master controller monitors generation of the networking control instruction, the master controller enters the networking state and starts to receive the networking application sent by the sensor, so that controllability of the system networking method is improved, and specifically, a time node at which the master controller enters the networking state can be accurately controlled.
In addition, in this embodiment of the application, a networking control key may be set on the main controller, and based on this, for the networking control instruction, the generation method may be: and when monitoring that the networking control key is triggered and the triggering time duration is within the second time duration, the main controller generates a networking control instruction. The networking control key may be a physical key arranged on the main controller, for example, a mechanical key, or may be a virtual key displayed on a touch display included in the main controller, which is not specifically limited in the embodiments of the present application. In this embodiment of the application, the second duration interval may be (0, 1S) or (0, 2S), and a specific value thereof may be set according to an actual design requirement and a user requirement, which is not specifically limited in this embodiment of the application.
Because the networking control key is triggered, and the triggering time length is positioned in the second time length interval and is controlled by the user, the controllability of the system networking method can be further improved.
And step S200, 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.
In the embodiment of the application, after the sensor receives the network number allocated by the main controller, the sensor stores the network number so as to establish a communication channel with the main controller through the network number, thereby completing the association networking with the main controller. And after the master controller assigns the network number to the sensor, the master controller considers that the association networking with the sensor is finished. In addition, it should be noted that in the embodiment of the present application, the network number carries a second packet for communication authentication, and therefore, after the sensor receives the network number to establish a communication channel with the main controller through the network number and complete association networking with the main controller, each communication between the sensor and the main controller needs to carry the second packet, and therefore, the main controller does not receive communication data sent by other sensors that do not complete association networking with the sensor.
It should be further noted that, in the actual associated networking process between the sensor and the main controller, if the main controller enters the networking state and receives a networking application sent by the sensor, after allocating the network number applied to the server in advance to the sensor sending the networking application and simultaneously not allocating the group device number to the sensor sending the networking application, the sensor actually needs to establish a communication channel with the main controller through the network number and the first identity identifier of the sensor after receiving the network number allocated by the main controller and storing the network number, so as to complete the associated networking with the main controller.
However, since the first identity identifier of the sensor is usually a character string with many characters, that is, the character string is long, if the sensor establishes a communication channel with the main controller through the network number and the first identity identifier of the sensor to complete the association networking with the main controller, the data transmission amount is often increased, that is, the data transmission pressure is increased, and the execution efficiency of the system networking method is finally affected, based on this, in the actual association networking process of the sensor and the main controller, the main controller enters a networking state and receives the networking application sent by the sensor, while allocating the network number applied to the server in advance to the sensor sending the networking application, the sensor usually needs to generate the group device number and allocate the group device number and the network number to the sensor sending the networking application, after receiving the network number and the group device number allocated by the main controller, the network number and the group equipment number are stored together, and then a communication channel between the network number and the group equipment number and the main controller is established, so that the associated networking with the main controller is completed.
Step S300, after the master controller completes the association networking with the sensor installed on the at least one base arranged in the container, the master controller sends an association application to the server, wherein the association application carries the first identity identification of the at least one sensor and the second identity identification corresponding to the base, so that the server completes the association networking of the container, the master controller and the at least one sensor according to the first identity identification of the at least one sensor and the second identity identification corresponding to the base.
It is understood that, in the embodiment of the present application, for step S300, if "at least one base" is all bases arranged in the container, then to execute step S300, the main controller needs to first determine that the association networking with at least one sensor installed on all bases arranged 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.
And S005, detecting whether terminal networking completion indication information is generated or not by the main controller, wherein the terminal networking completion indication information is used for representing that the main controller completes the associated networking with a plurality of sensors arranged on all bases arranged in the container.
Step S006, when detecting that the terminal networking completion indication information is generated, the main controller executes a step of sending a correlation application to the server.
According to step S005 and step S006, it can be understood that, in the embodiment of the present application, the step of sending the association application to the server may be executed only after the main controller completes the association networking with the plurality of sensors installed on all the bases arranged in the container, that is, the step of sending the association application to the server may be executed only after the main controller completes the association networking with the plurality of sensors installed on all the bases arranged in the container, so as to complete the association networking of the shipping equipment, the main controller, and the plurality of sensors installed on the plurality of bases arranged in the container at one time, so as to improve the networking efficiency of the anti-theft system.
Certainly, in practical implementation, the main controller may also send an association application to the server after each association networking with the sensor installed on one base set in the container is completed, 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 completes 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 if the target number is repeated, association networking of multiple sensors installed on all bases set in the shipping equipment, the main controller, and the container may also be completed. In addition, it should be noted that, for the target quantity, in this embodiment of the application, after the server acquires the second identity, it may determine the container corresponding to the second identity, and then find out the quantity of the bases set on the container, and directly take the quantity of the bases as the target quantity. Based on this, it can also be understood that the server stores the corresponding relationship between the containers and the number of the bases in advance.
In this embodiment of the present application, a networking control key may be set on the main controller, and based on this, for the terminal networking completion indication information mentioned in step S005 and step S006, as a first optional implementation manner in this embodiment of the present application, the generation method may be: and when monitoring that the networking control key is triggered and the trigger time length is in the first time length interval, the main controller generates terminal networking completion indication information. The networking control key may be a physical key arranged on the main controller, for example, a mechanical key, or may be a virtual key displayed on a touch display included in the main controller, which is not specifically limited in the embodiments of the present application.
In addition, it should be noted that, in this embodiment of the application, the first duration interval is any duration interval different from the second duration interval, for example, when the second duration interval is (0, 1S ], the first duration interval may be (0, 2S), further, for example, when the second duration interval is (0, 2S ], the first duration interval may be (0, 1S), and a specific value of the first duration interval may be set according to an actual design requirement and a user requirement, which is not limited in this embodiment of the application.
Because the networking control key is triggered, and the triggering time length is positioned in the first time length interval and is controlled by the user, the controllability of the system networking method can be improved, and particularly, the time node of the associated application can be accurately sent to the server.
In addition, in order to improve the automation degree of the system networking method, in the embodiment of the present application, the terminal networking completion indication information mentioned in step S005 and step S006 may also be generated in step S0051 and step S0052.
Step S0051, after the master controller completes the association and networking with any sensor in the plurality of sensors, the master controller counts the sensors which have completed the association and networking, and obtains a second count value.
Step S0052, when the second counting value reaches a preset value, the main controller generates terminal networking completion indication information.
In the embodiment of the present application, the preset value may be input in advance and stored in the main controller, and in addition, it can be understood that, in the embodiment of the present application, the preset value is the total number of the sensors to be installed, which is planned in advance in the anti-theft system.
For example, the preset value is 10, then, after completing the association networking with the first sensor, the main controller counts the sensors that have completed the association networking, obtains a second count value 1, after completing the association networking with the second sensor, counts the sensors that have completed the association networking, obtains a second count value 2, and so on, after completing the association networking with the tenth sensor, counts the sensors that have completed the association networking, obtains a second count value 10, and generates terminal networking completion indication information.
According to the step S0051 and the step S0052, it can be understood that, in this embodiment of the application, after each time the master controller completes the associated networking with any sensor of the at least one sensor, the master controller counts the sensors that have completed the associated networking, and obtains a second count value, so that when the second count value reaches a preset value, it can be determined that the master controller has completed the associated networking with the at least one sensor, thereby automatically generating indication information that the terminal networking is completed, and improving the automation degree of the system networking method.
Of course, in this embodiment of the present application, as for step S300, if "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, after step S300 is executed, so that the server completes the associated 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 method for networking a system provided in this embodiment of the present application further includes step S400, step S500, and step S600, so as to ensure the comprehensiveness and integrity of the networking of the system. And S400, the main controller receives a base value which is sent by the server and used for representing the number of the bases in the container.
In the embodiment of the application, after the server completes the association networking of the container, the main controller and the at least one sensor according to the first identity identification of the at least one sensor and the second identity identification of the corresponding base, the base value used for representing the number of the bases in the container can be obtained, and the base value is sent to the main controller. It should be noted that, in the embodiment of the present application, the base number 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 and networking with the container and the master controller, among all sensors set in the container, which is not limited in the embodiment of the present application.
Step S500, after the master controller completes the association networking with any sensor in the remaining sensor set every time, the master controller counts the sensors which have completed the association networking to obtain a first count value, wherein the remaining sensor set comprises all sensors arranged in the container, except at least one sensor which has completed the association networking with the container and the master controller.
Step S600, when the base value and the first counting value meet the target difference value, the main controller sends an association application to the server, wherein the association application carries the first identity identifications of all the sensors and the second identity identifications corresponding to the bases in the remaining sensor set, so that the server can complete association networking of the container, the main controller and at least one sensor according to the first identity identifications of all the sensors and the second identity identifications corresponding to the bases in the remaining sensor set.
In this embodiment of the application, if the base numerical value is the number of all the bases set in the container, the target difference value is a specific numerical value of at least one sensor that has completed the associated networking with the container and the main controller, and if the base numerical value is the total number of other sensors in all the sensors set in the container except for at least one sensor that has completed the associated networking with the container and the main controller, the target difference value is 0.
Finally, it should be noted that, in this embodiment of the application, for the network number that the main controller applies for to the server through step S001, if the server does not receive the association application sent by the main controller within the preset networking time period, the server will withdraw the network number that has been allocated to the main 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 a conventional control or logic process, 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, during the step S0051, count the sensors that have completed the association networking, and obtain a count value. The Processor may be an Integrated Circuit chip having Signal processing capability, or may be a general-purpose Processor, for example, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a discrete gate or transistor logic device, a discrete hardware component, etc. for implementing or executing the logic blocks disclosed in the embodiments of the present Application, or may be a microprocessor or any conventional Processor.
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.
As for the sensor, in the embodiment of the present application, since the antitheft system mainly plays a role in antitheft 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 a brightness sensor, may also include both a brightness sensor and an infrared sensor, and may also include a brightness sensor, an infrared sensor, and a sound detector.
For the server, in the embodiment of the present application, it may be a network server or a database server, and the embodiment of the present application does not specifically limit this.
Hereinafter, a specific implementation procedure of the system networking method provided by the embodiment of the present application will be described with reference to fig. 7, in which the total number of sensors to be installed in the anti-theft system is planned in advance to be 5 as an example. It should be noted that, for the purpose of description, the 5 sensors are defined as a first sensor, a second sensor, a third sensor, a fourth sensor, and a fifth sensor, respectively, in the following.
(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 a network number to the main controller after receiving the network number application request.
(2) And the master controller monitors that the networking control key is triggered, the triggering time duration is within the second time duration interval so as to generate a networking control instruction, and then the master controller enters a networking state and starts to wait for receiving a networking application sent by the sensor.
(3) When installing first sensor on the first base that sets up in the container, the hall sensor that first sensor inside set up sets up the magnetism spare in detecting the installation socket of first base, and afterwards, first sensor generation installation is accomplished the instruction, simultaneously, reads the second identification of first base to carry the network deployment application with the first identification of self and the second identification of first base, give main control unit again.
(4) The master controller receives a networking application sent by the first sensor, allocates the network number and the generated first group of equipment numbers to the first sensor, and records a first identity of the first sensor and a second identity of the first base 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 (4) then, according to the networking method 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 associated networking with the first sensor, the second sensor, the third sensor, the fourth sensor and the fifth sensor, a user triggers a networking control key, the triggering duration is positioned in a first duration interval, the main controller generates terminal networking completion indication information and sends an associated application to a server, wherein the associated 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, a second identity mark of a fourth base for installing the fourth sensor, a first identity mark of the fifth sensor and a second identity mark of a fifth base for installing the fifth sensor, and the server completes the association networking of the container, the main controller and the plurality of sensors according to the first identity identification of the first sensor, the second identity identification of the first base for installing the first sensor, the first identity identification of the second sensor, the second identity identification of the second base for installing the second sensor, the first identity identification of the third sensor, the second identity identification of the third base for installing the third sensor, the first identity identification of the fourth sensor, the second identity identification of the fourth base for installing the fourth sensor, the first identity identification of the fifth sensor and the second identity identification of the fifth base for installing the fifth sensor.
To sum up, in the implementation process of the system networking method provided in the embodiment of the present application, the containers, the main controller, and any two of the plurality of sensors used in the system networking method are not associated one-to-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 assigned to the sensor, the sensor is installed on a target base included in the plurality of bases, the networking application carries a first identity of the sensor and a second identity of the target base, thereafter, the sensor receives the network number to establish a communication channel with the main controller through the network number to complete the associated networking with the main controller, and finally, after the main controller completes the associated networking with the sensor installed on at least one base arranged in the container, the main controller sends the associated application to the server, carry the first identity sign of at least one sensor and the second identity sign that corresponds the base in the association application, because at least one base has set up in the container, just be equivalent to and correlated with the container in advance, so, the server just can accomplish the association network deployment of container, main control unit and at least one sensor according to the first identity sign of at least one sensor and the second identity sign that corresponds the base, afterwards, the sensor alright with can send the monitoring data to the server through main control unit, thereby obtain the environmental condition that the container corresponds, thereby realize the remote monitoring to the container. Therefore, by applying the networking method provided by the embodiment of the application, a main controller does not need to be associated with a sensor 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, so that finally, the transportability of the main controller and the sensor in the anti-theft system is enhanced, namely, the utilization rate of the main controller and the sensor in the anti-theft system is improved.
The third embodiment:
referring to fig. 4 again, a schematic block diagram of an anti-theft system 200 according to an embodiment of the present disclosure is shown, where the anti-theft system 200 according to the embodiment of the present disclosure 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 plurality of bases, and the networking application carries the first identity of the sensor 220 and the second identity of the target base.
The sensor 220 is used for receiving the network number to establish a communication channel with the main controller 230 through the network number, so as to complete association and 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 arranged in the container, where the association application carries a first identity of the at least one sensor 220 and a second identity of the 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 identity of the at least one sensor 220 and the second identity of the corresponding base.
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, specific descriptions of each 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 descriptions in the system networking method provided in the second embodiment, and are not repeated herein.
To sum up, in the implementation process of the system networking method provided in the embodiment of the present application, any two of the used containers, the main controller, and the plurality of sensors are not associated one by one in advance, but in the networking process, after the main controller enters the networking state and receives the networking application sent by the sensors, the sensors are assigned network numbers, the sensors are installed on target bases included in the plurality of bases, the networking application carries the first identity identifier of the sensors and the second identity identifier of the target bases, thereafter, the sensors receive the network numbers to establish a communication channel with the main controller through the network numbers to complete the associated networking with the main controller, and finally, after the main controller completes the associated networking with the sensors installed on at least one base arranged in the container, the main controller sends the associated application to the server, carry the first identity sign of at least one sensor and the second identity sign that corresponds the base in the association application, because at least one base has set up in the container, just be equivalent to and correlated with the container in advance, so, the server just can accomplish the association network deployment of container, main control unit and at least one sensor according to the first identity sign of at least one sensor and the second identity sign that corresponds the base, afterwards, the sensor alright with can send the monitoring data to the server through main control unit, thereby obtain the environmental condition that the container corresponds, thereby realize the remote monitoring to the container. Therefore, by applying the networking method provided by the embodiment of the application, a main controller does not need to be associated with a sensor 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, so that finally, the transportability of the main controller and the sensor in the anti-theft system is enhanced, namely, the utilization rate of the main controller and the sensor 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 the system networking method, and are not repeated herein.
In the above embodiments, it should be understood that the disclosed method may be implemented in other ways. Furthermore, in the above-described embodiments, each block in the flowchart or block diagrams may represent a module, a program segment, or a 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 should be noted that, in the above embodiments, each block in the block diagrams and/or flowchart and the combination of the blocks in the block diagrams and/or flowchart may be implemented by a dedicated hardware-based system for performing a specified function or action, or by a combination of dedicated hardware and computer instructions.
Further, the functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on this, it can be understood that the technical solution of the present application, or portions thereof, which substantially contribute to the prior art, can be embodied in the form of a software product stored in a storage medium, and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in each embodiment of the present application. Furthermore, the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Further, in the description of the present application, it should be noted that, unless otherwise explicitly specified or limited, the terms "connect", "set" and "mount" should be interpreted broadly, for example, they may be mechanically fixed, detachably connected or integrally connected, they may be electrically connected, and they may be communicatively connected, either directly or indirectly through an intermediate medium, or they may be connected internally to two elements. Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
The above description is only a few examples of the present application and is not intended to limit the present application, and those skilled in the art will appreciate that various modifications and variations can be made in the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A system networking method 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 system networking method comprises the following steps:
the method comprises the following steps that after the master controller enters a networking state and receives a networking application sent by a sensor, a network number is distributed 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;
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;
the main controller sends an association application to the server after completing association networking of the sensor installed on the at least one base arranged in the container, 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.
2. The system networking method of claim 1, further comprising:
and when any sensor in the at least one sensor detects that the sensor is installed on any base in the at least one base, sending a networking application to the main controller.
3. The system networking method of claim 1, wherein before the master controller sends the association request to the server, the system networking method 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 completes the associated networking with a plurality of sensors arranged on all bases arranged in the container;
and the main controller executes the step of sending the association application to the server when detecting that the terminal networking completion indication information is generated.
4. The system networking method according to claim 3, wherein a networking control button is provided on the master controller, and the system networking method further comprises:
and the main controller generates the terminal networking completion indication information when monitoring that the networking control key is triggered and the triggering duration is within a first duration interval.
5. The system networking method of claim 1, wherein after the server completes the associated 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 comprises:
the main controller receives a base value which is sent by the server and used for representing the number of bases in the container;
after the master controller completes the association networking with any sensor in the rest sensor sets every time, counting the sensors which complete the association networking to obtain a first count value, wherein the rest sensor sets comprise all sensors arranged in the container, except the at least one sensor which completes the association networking with the container and the master controller;
the main controller is in when satisfying the target difference value between base numerical value with the first count value, send the associated application to the server, carry in the associated application the first identity sign of all sensors that include in the surplus sensor set and the second identity sign that corresponds the base, for the server basis the first identity sign of all sensors that include in the surplus sensor set and the second identity sign that corresponds the base accomplish the container the main controller with the associated network deployment of at least one sensor.
6. The system networking method according to any one of claims 1 to 5, wherein before the master controller assigns a network number to the sensor, the system networking method further comprises:
the main controller sends a network number application request to the server, so that the server distributes a network number to the main controller after receiving the network number application request.
7. The system networking method according to any one of claims 1 to 5, further comprising:
the master controller generates a group equipment number after entering a networking state and receiving a networking application sent by a sensor, and distributes the group equipment number to the sensor, so that the sensor receives the network number and the group equipment number, and then establishes a communication channel between the network number and the group equipment number and completes the associated networking of the master controller.
8. The system networking method according to any one of claims 1 to 5, further comprising:
the master controller enters a networking state when monitoring generation of a networking control command;
and after the master controller enters a networking state, receiving a networking application sent by the sensor.
9. The utility model provides an anti-theft system, its characterized in that, anti-theft system is applied to the container, anti-theft system including set up in the inside a plurality of bases of container, and with the sensor of connection can be dismantled to the base, anti-theft system still includes main control unit:
the main controller is used for allocating a network number to the sensor after entering a networking state and receiving a networking application sent by the sensor, the sensor is installed on a target base 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 is used for receiving the network number so as to establish a communication channel with the main controller through the network number, and thus the association networking with the main controller is completed;
the main controller is used for sending association application to the server after completing association networking of the sensor installed on at least one base arranged in the container, wherein the association application carries a first identity identification of at least one sensor and a second identity identification 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 identification of the at least one sensor and the second identity identification corresponding to the base.
10. A freight device comprising a container and the anti-theft system of claim 9, wherein a plurality of seats and a plurality of sensors included in the anti-theft system are provided inside the container, and wherein a main controller included in the anti-theft system is connected to the plurality of sensors.
CN202011271534.XA 2020-11-13 2020-11-13 System networking method, anti-theft system and freight equipment Active CN112383895B (en)

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 true CN112383895A (en) 2021-02-19
CN112383895B 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1513149A (en) * 2001-03-27 2004-07-14 �¶����ظ��ټ����ɷ����޹�˾ Container surveilance system and related method
US20060164239A1 (en) * 2003-01-14 2006-07-27 Loda David C Shipping container and method of using same
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1513149A (en) * 2001-03-27 2004-07-14 �¶����ظ��ټ����ɷ����޹�˾ Container surveilance system and related method
US20060164239A1 (en) * 2003-01-14 2006-07-27 Loda David C Shipping container and method of using same
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
CN112383895B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN102655532B (en) Distributed heterogeneous virtual resource integration management method and system
CN101741583A (en) Method, device and system for realizing data updating of intelligent household electrical appliance
US20140337829A1 (en) Information processing apparatus, electronic control unit, information processing method, and program
CN109584341B (en) Method and device for drawing on drawing board
CN111756736A (en) Cross-link method and system between heterogeneous block chains, electronic equipment and storage medium
CN105446813A (en) Resource distribution method and device
CN103970559A (en) Device loading method and device on basis of Android
CN105430118A (en) MAC address generation method and apparatus
CN103293466A (en) Method and system for testing communication module on embedded printed circuit board assembly (PCBA)
CN109684073A (en) Electronic device, cloud service resource allocation methods and storage medium
CN106681799B (en) It is inserted into the methods, devices and systems of disk
CN107735802A (en) Electronic unit and the method performed in the electronic unit
CN110753339A (en) Data downloading method and management platform
CN108446171A (en) Electronic device, distributed system execute method for allocating tasks and storage medium
CN108445788B (en) Hotel scene control method and related device
CN112865993B (en) Method and device for switching slave nodes in distributed master-slave system
CN112383895A (en) System networking method, anti-theft system and freight equipment
CN103064702A (en) Application program providing method and management node device
CN101466163A (en) Method and system for processing information and relevant equipment
CN109933435A (en) Control method, device and computer equipment
CN111459510A (en) Cross-network operating system installation method and device, electronic equipment and medium
JP2009134379A (en) Memory management method
CN110191013A (en) Electronic device, the Mock test method of more capital's interfaces and storage medium
CN115858007A (en) Loading method and device of extension assembly, storage medium and electronic device
CN103676892A (en) License plate pressing task management method and system

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: 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.

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