Summary of the invention
The present invention be solve currently used for ship positioning and management system not enough easily and effectively the technical issues of, provide
A kind of crewman's zone location and management system based on active label bracelet.
The present invention also proposes a kind of crewman's zone location and management method based on active label bracelet.
The technical solution adopted by the present invention is as follows:
A kind of crewman's zone location and management system based on active label bracelet, including:Active label bracelet, it is described to have
Source label bracelet has tag ID, and the active label bracelet is used to acquire the vital sign information and local environment letter of crewman
Breath;Locating base station, the locating base station has base station IDs, when the distance between the active label bracelet and the locating base station
When less than or equal to pre-determined distance, the locating base station and the active label bracelet are described as node composition ZigBee-network
Locating base station receives the tag ID of the active label bracelet, the vital sign information of the crewman by the ZigBee-network
With local environment information;Gateway, the gateway are connected with the locating base station by power line, the gateway by with it is described fixed
Position base station carries out power line carrier, PLC to obtain the base station IDs of the locating base station, the tag ID of the active label bracelet, institute
State the vital sign information and local environment information of crewman;Host computer server, the host computer server and the gateway phase
Even, the host computer server is used to receive the base station IDs of the locating base station, tag ID of the active label bracelet, described
The vital sign information and local environment information of crewman, according to the base station IDs of the locating base station, the active label bracelet
Tag ID, the vital sign information of the crewman and local environment information carry out crewman's vital sign and environmental information monitoring,
Crewman's positioning and crewman's attendance;Bulletin board, the bulletin board are connected with the gateway by power line, the host computer server
Notice information is also sent to the gateway, the bulletin board is described to obtain by carrying out power line carrier, PLC with the gateway
Notice information, and information publication is carried out according to the notice information.
The host computer server is connected with the gateway by serial ports.
The locating base station be it is multiple, including being set at least two locating base stations in disembarkation area of going on board, straight line is arranged in
At least two locating base stations, the array of corridor Close Tunnel are arranged at least two locating base stations and correspondence of deck open area
At least one locating base station being set at least one room in shape cabin room area.
The host computer server includes database, and the database purchase has the location information of each locating base station, when
The host computer server receives the life of base station IDs, the tag ID, crewman of active label bracelet that any locating base station is sent
When ordering sign information and local environment information, the crewman of the active label bracelet is worn according to the tag ID identification received, with
It realizes the monitoring to crewman's vital sign and environmental information, and identifies the locating base station according to the base station IDs received, and
The location information of the locating base station is transferred, from the database to realize the positioning to the crewman.
A locating base station is respectively arranged in the both ends in the disembarkation area of going on board, when the host computer server within a preset time
Receive base station IDs that the locating base station at the both ends in the disembarkation area of going on board sends, the tag ID of active label bracelet, crewman
When vital sign information and local environment information, judges that the crewman for wearing the active label bracelet is according to reception sequence and go on board
State or disembarkation state, to realize the attendance to the crewman.
The active label bracelet and the locating base station include radio-frequency module, when the active label bracelet with it is described
When the distance between locating base station is less than or equal to pre-determined distance, the active label bracelet passes through respective with the locating base station
Radio-frequency module sets up ZigBee-network.
The active label bracelet includes supplying cell, and the active label bracelet is to described in locating base station transmission
The vital sign information of tag ID and the crewman and enter low-power consumption mode in the interval time after local environment information.
The locating base station, the gateway and the bulletin board include power line carrier module, the electricity of the locating base station
Power carrier module is connected with the power line carrier module of the gateway by power line, the power line carrier module of the bulletin board and institute
The power line carrier module for stating gateway is connected by power line, to realize power line carrier, PLC.
The locating base station and the direct grafting power supply of the gateway, to realize to the locating base station and the gateway
Power supply.
A kind of crewman's zone location and management method based on active label bracelet, including:It is adopted by active label bracelet
Collect the vital sign information and local environment information of crewman, wherein the active label bracelet has tag ID;Locating base station connects
Receive the tag ID of the active label bracelet, the vital sign information of the crewman and local environment information, wherein the positioning
Base station has base station IDs;Gateway is by carrying out power line carrier, PLC with the locating base station to obtain the base station of the locating base station
ID, the tag ID of the active label bracelet, the vital sign information of the crewman and local environment information;Host computer server
Receive the base station IDs of the locating base station, the tag ID of the active label bracelet, the vital sign information of the crewman and institute
Locate environmental information, with according to the base station IDs of the locating base station, the tag ID of the active label bracelet, the crewman life
Sign information and local environment information carry out crewman's vital sign and environmental information monitoring, crewman's positioning and crewman's attendance;It is upper
Notice information is sent to the gateway by machine server, and bulletin board is by carrying out power line carrier, PLC with the gateway to obtain
Notice information is stated, and information publication is carried out according to the notice information.
Beneficial effects of the present invention:
The present invention acquires the vital sign information and local environment information of crewman by active label bracelet, by positioning base
Stand receive active label bracelet tag ID, the vital sign information of crewman and local environment information, and by the base station IDs of itself,
The tag ID of active label bracelet, the vital sign information of crewman and local environment information are sent to host computer service by gateway
Device, thus realize the monitoring of vital sign and environmental information, positioning and the attendance to crewman, meanwhile, host computer server can also incite somebody to action
Notice information is sent to bulletin board by gateway and carries out information publication, and gateway and locating base station, bulletin board and gateway pass through electricity
The line of force is communicated, and is solved the problems such as hull steel construction is to radio signal shielding, arrangement dedicated signal lines trouble, as a result, can
It is enough easily and effectively crewman to be positioned and information management.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the crewman's zone location and management system based on active label bracelet of the embodiment of the present invention, including
Active label bracelet 10, locating base station 20, gateway 30, host computer server 40 and bulletin board 50.
Wherein, active label bracelet 10 has tag ID, and active label bracelet 10 is used to acquire the life entity reference of crewman
Breath and local environment information;Locating base station 20 has base station IDs, when the distance between active label bracelet 10 and locating base station 20
When less than or equal to pre-determined distance, locating base station 20 and active label bracelet 10 are as node composition ZigBee-network, locating base station
20 receive tag ID, the vital sign information of crewman and the local environment information of active label bracelet 10 by ZigBee-network;
Gateway 30 is connected with locating base station 20 by power line, and gateway 30 is by carrying out power line carrier, PLC with locating base station 20 to obtain
The base station IDs of locating base station 20, the tag ID of active label bracelet 10, the vital sign information of crewman and local environment information;On
Position machine server 40 is connected with gateway 30, and host computer server 40 is used to receive base station IDs, the active label hand of locating base station 20
The tag ID of ring 10, the vital sign information of crewman and local environment information, according to the base station IDs of locating base station 20, active mark
The tag ID, the vital sign information of crewman and local environment information for signing bracelet 10 carry out crewman's vital sign and environmental information prison
It surveys, crewman positions and crewman's attendance;Bulletin board 50 is connected with gateway 30 by power line, and host computer server 40 also believes bulletin
Breath is sent to gateway 30, and bulletin board 50 is by carrying out power line carrier, PLC with gateway 30 to obtain notice information, and according to bulletin
Information carries out information publication.
Active label bracelet 10 is worn by crewman, in an embodiment of the present invention, each to need to carry out vital sign and ring
Border information monitoring, positioning and the crewman of attendance wear active label bracelet.Mark of the tag ID as active label bracelet, because
And can be used as the mark of crewman, each tag ID is corresponding with each crewman.Active label bracelet 10 can pass through built-in temperature
Sensor, heart rate sensor etc. acquire the vital sign informations such as body temperature, the heart rate of crewman;Active label bracelet 10 can be by built-in
Temperature Humidity Sensor acquisition crewman's local environment the environmental informations such as temperature, humidity.
In one embodiment of the invention, active label bracelet 10 includes supplying cell, passes through built-in supplying cell
It is powered.Active label bracelet 10 further includes radio-frequency module, and concretely AT-MR500M, radio-frequency module can wrap radio-frequency module
Include MG2455 chip, Transmit Receive Unit and the power supply unit of super low-power consumption.Wherein, MG2455 chip minimum system is control core
The heart is mainly used for controlling Transmit Receive Unit, and Transmit Receive Unit, which is mainly responsible for, sends and receivees label information, power supply
The effect of unit is that the power supply provided supplying cell is handled, and provides 5V work electricity with the whole system for radio-frequency module
Pressure.
In one embodiment of the invention, locating base station 20 also include radio-frequency module, the structure of radio-frequency module with it is upper
The structure for stating the radio-frequency module of active label bracelet 10 is identical, and details are not described herein.
When the distance between active label bracelet 10 and locating base station 20 are less than or equal to pre-determined distance, i.e., both distance
When within the communication range in radio-frequency module, active label bracelet 10 is set up with locating base station 20 by respective radio-frequency module
ZigBee-network.After ZigBee-network is set up successfully, active label bracelet 10 can be sent out every interval time to locating base station 20
It send tag ID, the vital sign information of crewman and local environment information, and is sending tag ID and crewman to locating base station 20
Enter low-power consumption mode in interval time after vital sign information and local environment information.
Specifically, the course of work of active label bracelet 10 is as shown in figure 4, include the following steps:
S101, initialization.
S102 sends and network signal is added.
S103 judges to be added whether network succeeds.If so, thening follow the steps S104;If it is not, then return step
S102。
S104 configures Transmit Receive Unit.
S105 defines tag ID.
S106, configurable clock generator interrupt primary for every 3 seconds.
S107 sends data.
S108, into low-power consumption mode.
S109 judges whether that timing arrives.If it is, return step S107;If it is not, then return step S108.
The course of work of locating base station 20 is as shown in figure 3, include the following steps:
S201, initialization.
S202 establishes a new network.
S203, into wireless monitor state.
S204 judges whether wireless signal occur.If so, thening follow the steps S205;If it is not, then return step
S203。
S205 has label that network is added.
S206 distributes a sixteen bit short address to the label.
S207, into reception pattern.
That is, when active label bracelet 10 and locating base station 20 constitute point to point wireless communication, locating base station 20
A sixteen bit short address can be dynamically distributed to active RFID tag bracelet, the sixteen bit short address of locating base station 20 can be fixed as
0x0000.When locating base station 20 is communicated with active label bracelet 10, mutual short address need to be used, active label hand is then given
A fixed unique ID number is arranged in ring 10, matches with the crewman worn.It is set, is launched outward primary according to timer later
Tag ID number, active label bracelet 10 enters low-power consumption mode to reduce label bracelet power consumption later, and sends out again after 3 seconds
Send label information.Active label bracelet 10 also can receive the information sent by locating base station 20 simultaneously.
In one embodiment of the invention, the single-chip microcontroller using STM32F103ZET6 as core chips can be used in gateway 30,
Host computer server 40 may include cloud platform server, and bulletin board 50 may include display screen and loudspeaker.
In one embodiment of the invention, locating base station 20, gateway 30 and bulletin board 50 include power line carrier module,
The power line carrier module of locating base station 20 is connected with the power line carrier module of gateway 30 by power line, and the electric power of bulletin board 50 carries
Wave module is connected with the power line carrier module of gateway 30 by power line, to realize power line carrier, PLC.Locating base station 20 and net
Close 30 can direct grafting power supply, such as 220V AC power source, to realize the power supply to locating base station 20 and gateway 30.
In one embodiment of the invention, host computer server 40 can be directly connected by serial ports with gateway 30.
The major function of gateway 30 is to receive the information from locating base station 20 by power line, and the information received is led to
The serial port unit for crossing itself is sent to host computer server 40.Meanwhile gateway 30 receive come host computer server 40 information, one
Aspect, information return to locating base station 20 by power line, give active label bracelet to finally return that;On the other hand, information
It is sent to the display of bulletin board 50 or casting by power line, reaches the function of information announcement.Gateway 30 is mainly as positioning as a result,
" terminal " of base station 20 and host computer server 40, host computer server 40 and bulletin board 50.
In one embodiment of the invention, power line carrier module uses KQ-130F module, high for single-row 9 needle small size
Performance zero passage carrier data transceiver module is exclusively on 220V is exchanged, and strong jamming is strong to decay, the environment required at a distance
Under, the reliable very high carrier module of cost performance for transmitting data and being specifically designed and developing.KQ-130F module is integrated with KQ-
The subcarrier plate of 330F and peripheral circuit, without other coupling elements, the alternating current for being directly connected to 220V is used.KQ-130F is logical
Believe agreement regulation, it is transparent operation mode and customized operating mode respectively that KQ-130F, which provides two kinds of operating modes,.MODE high
It is transparent operation mode when level (hanging), is customized operating mode when low level (ground connection).Wherein, in transparent operation mode
When (MODE=1, that is, MODE is hanging or meets 5V, it is proposed that hanging), without to module initialization when programming, still, due on power line
Duty factor is more, and harmonic wave caused by electric appliance is coupled on power line in which also just not can avoid, this module is highly sensitive load
Wave module will all the harmonic wave caused by electric appliance be covered on power line when all carrier modules are all in reception state
Lid, at this moment, module will demodulate noise data and export from the end TX, so synchronous code should be introduced to distinguish by sending and receiving data
Really transmission data.In customized operating mode (MODE=0, that is, MODE ground connection), data are transmitted according to the definition of regulation,
It is as follows that one frame transmits data definition:First character section:Transmit the byte number 0-250 (without first character section) of a frame, second
A byte is to (n+1)th byte:The byte data that user need to transmit.
In one embodiment of the invention, host computer server 40 is based on C# technology, and software function includes that data connect
It receives, data are sent and Information Authentication, inquiry.Functional module designed by host computer server 40 mainly has:Login module, crewman
Information management module, data resolution module, data processing module, data inquiry module, function mainly have:System maintenance, equipment
Management, basic information management, data processing, information transmission etc..The system administration of host computer server 40 includes setting operation person
Login password, set Connecting quantity, the database service name address etc. of database, equipment management includes setting messaging parameter end
The operation of slogan, setting including newly-increased, preservation, modification, deletion and is inquired.
In one embodiment of the invention, as shown in figure 4, ship may include go on board disembarkation area, corridor Close Tunnel, deck
The regions such as open area and shape cabin room area.Locating base station 20 is multiple, at least two positioning including being set to disembarkation area of going on board
At least two locating base stations, the array that base station, straight line are arranged in corridor Close Tunnel are arranged in at least two of deck open area
Locating base station and at least one locating base station being correspondingly arranged at least one room in shape cabin room area.
Further, host computer server 40 includes database, and database purchase has the position of each locating base station 20 to believe
Breath, when host computer server 40 receives base station IDs, the tag ID of active label bracelet, crewman that any locating base station 20 is sent
Vital sign information and local environment information when, the active label bracelet 10 can be worn according to the tag ID identification received
Crewman to realize the monitoring to crewman's vital sign and environmental information, and identifies the positioning base according to the base station IDs received
It stands 20, and transfers the location information of the locating base station 20 from database, to realize the positioning to the crewman.Wherein, pass through
The locating base station of corridor Close Tunnel straight line arrangement is, it can be achieved that one-dimensional positioning to crewman, passes through deck open area array and arrange
Locating base station, it can be achieved that two-dimensional localization to crewman, by the locating base station in each room, it can be achieved that cabin to crewman
Room area positioning.
In one embodiment of the invention, a locating base station can be respectively arranged in the go on board both ends in disembarkation area, work as host computer
Server 40 receives base station IDs, the active label bracelet that the locating base station at the both ends in disembarkation area of going on board is sent within a preset time
Tag ID, the vital sign information of crewman and when local environment information, can be judged to wear the active label according to reception sequence
The crewman of bracelet is in state or the disembarkation state of going on board, to realize the attendance to the crewman.For example, the two of disembarkation area is gone on board
The locating base station at end is respectively A and B, wherein A is located at beginning of going on board, and B is located at end of going on board.During crewman goes on board, crewman
Successively pass through locating base station A, B, thus the active label bracelet worn of crewman is first established with locating base station A and communicated to connect, afterwards with
Locating base station B establishes communication connection, connects again as shown in figure 5, host computer server 40 first receives the data that locating base station A is sent
The data that locating base station B is sent are received, reception sequence is denoted as AB, and the state that determines is to go on board;During crewman's disembarkation, Chuan Yuanyi
It is secondary to pass through locating base station B, A, thus the active label bracelet worn of crewman is first established with locating base station B and communicated to connect, afterwards with it is fixed
Position base station A establishes communication connection, receives again as shown in fig. 6, host computer server 40 first receives the data that locating base station B is sent
The data sent to locating base station A, reception sequence are denoted as BA, and the state that determines is disembarkation.
Crewman's zone location and management system according to an embodiment of the present invention based on active label bracelet, passes through active mark
The vital sign information and local environment information for signing bracelet acquisition crewman, the label of active label bracelet is received by locating base station
ID, the vital sign information of crewman and local environment information, and by the base station IDs of itself, the tag ID of active label bracelet, ship
The vital sign information and local environment information of member is sent to host computer server by gateway, to realize the life to crewman
Sign and environmental information monitoring, positioning and attendance, meanwhile, notice information can be also sent to public affairs by gateway by host computer server
It accuses plate and carries out information publication, gateway passes through power line with gateway with locating base station, bulletin board and communicated, and solves hull steel
The problems such as structure is to radio signal shielding, arrangement dedicated signal lines trouble, thereby, it is possible to easily and effectively position to crewman
And information management.
Corresponding above-described embodiment, the present invention also proposes a kind of based on crewman's zone location of active label bracelet and manager
Method.
The crewman's zone location and management method based on active label bracelet of the embodiment of the present invention, including:By active
The vital sign information and local environment information of label bracelet acquisition crewman, wherein active label bracelet has tag ID;Positioning
Tag ID, the vital sign information of crewman and the local environment information of base station reception active label bracelet, wherein locating base station tool
There are base station IDs;Gateway is by carrying out power line carrier, PLC with locating base station to obtain base station IDs, the active label hand of locating base station
The tag ID of ring, the vital sign information of crewman and local environment information;The base station IDs of host computer server reception locating base station,
The tag ID of active label bracelet, the vital sign information of crewman and local environment information, with according to the base station IDs of locating base station,
The tag ID of active label bracelet, the vital sign information of crewman and local environment information carry out crewman's vital sign and environment letter
Breath monitoring, crewman's positioning and crewman's attendance;Notice information is sent to gateway by host computer server, bulletin board by with gateway into
Row power line carrier, PLC carries out information publication according to notice information to obtain notice information.
More specific embodiment can refer to above-mentioned crewman's zone location based on active label bracelet and management system
Related embodiment, to avoid redundancy, details are not described herein.
Crewman's zone location and management method according to an embodiment of the present invention based on active label bracelet, passes through active mark
The vital sign information and local environment information for signing bracelet acquisition crewman, the label of active label bracelet is received by locating base station
ID, the vital sign information of crewman and local environment information, and by the base station IDs of itself, the tag ID of active label bracelet, ship
The vital sign information and local environment information of member is sent to host computer server by gateway, to realize the life to crewman
Sign and environmental information monitoring, positioning and attendance, meanwhile, notice information can be also sent to public affairs by gateway by host computer server
It accuses plate and carries out information publication, gateway passes through power line with gateway with locating base station, bulletin board and communicated, and solves hull steel
The problems such as structure is to radio signal shielding, arrangement dedicated signal lines trouble, thereby, it is possible to easily and effectively position to crewman
And information management.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.