Invention content
In view of this, the present invention provides a kind of long-range sending method of bridge tunnel monitoring information based on Internet of Things.
A kind of long-range sending method of bridge tunnel monitoring information based on Internet of Things, includes the following steps:
S0, different bridges, the firmware of tunnel harvester and corresponding firmware code are configured in first server;And match
It sets firmware and issues activation condition, establish the mapping relations that harvester, firmware code and firmware issue activation condition;It is described solid
Part in harvester for carrying out load and as the digital independent interface of encryption section in harvester;
S1, the type and attribute that bridge, tunnel monitoring information are configured in second server, and according to monitoring information
The corresponding safety level information of type configuration monitoring information, according to the corresponding sender of attribute configuration monitoring information of monitoring information
Formula and sending cycle;The corresponding safety level information of monitoring information, sending method and sending cycle are synchronized to corresponding
Harvester;
S2, corresponding user terminal cluster is configured according to the location information of harvester;
S3, harvester, which are monitored bridge, tunnel, to be obtained monitoring information and detection information is stored in harvester
Encryption section in, judge to monitoring information monitor whether reach sending cycle, step is jumped to when reaching sending cycle
S4;
S4, harvester select the corresponding sending method of monitoring information according to sending method;Belonging to the first sending method
When jump to step S5;Step S6 is jumped to when belonging to the second sending method;
S5, harvester verify user terminal, and harvester sends to user terminal and acquires after being verified
Device information;User terminal sends activation request to first server, and corresponding harvester information is carried in the activation request,
First server judges that activation request issues whether activation condition matches with firmware, and in matching, first server obtains acquisition dress
It sets corresponding firmware and is issued to corresponding harvester;Harvester is installed and is run corresponding firmware and sent to user terminal and monitored
Information, and terminate;
S6, harvester select the cipher mode of information according to corresponding safety level information, at monitoring information
It is sent to second server after reason, and terminates.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things, the step S5 packets
It includes:
S51, user terminal initiate authentication request to second server, and it is whole to carry user in the authentication request
The corresponding identifier in end;
Whether S52, second server correspond to identifier according to user terminal and judge the user terminal for initiating request in user
In terminal cluster, second server will be verified information and be sent to harvester when in user terminal cluster;Harvester
Pass through by verifying and sending harvester information to user terminal according to validation of information user is verified;
S53, second server, which are generated according to sending cycle with terminable authorized order, and by authorized order, is sent to use
Family terminal;Authorized order is sent to harvester by user terminal by NFC modes;Harvester tests authorized order
Card, jumps to step S54 after authorized order is verified;
S54, user terminal send activation request to first server, and corresponding harvester letter is carried in the activation request
Breath, first server judge that activation request issues whether activation condition matches with firmware, and in matching, first server, which obtains, adopts
Acquisition means correspond to firmware and are issued to corresponding harvester;
Monitoring information is sent to user terminal by S55, harvester by NFC modes.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things, the step S6 packets
It includes:
S61, superposition encryption routed path and information fractionation that monitoring information is remotely sent are configured in second server
Table, described information split table include the original fractionation factor, split factor update rule and split rule;It will by line under type
The original fractionation factor splits factor update rule, superposition encryption routed path and splits in Policy Updates to harvester;No
The monitoring information of same type corresponds to different superposition encryption routed paths, and the superposition encryption routed path is used for splitting information
Spliced routing encrypted transmission is carried out according to different routed paths;
S62, harvester determine the corresponding encryption intensity of monitoring information according to the corresponding safety level information of monitoring information
Encryption Algorithm;
S63, harvester are encrypted to obtain encrypted by the Encryption Algorithm of corresponding encryption intensity to monitoring information
Monitoring information, the corresponding label number of the type comprising monitoring information in the encrypted monitoring information;
S64, harvester according to the original fractionation factor and split the factor update rule generation fractionation factor;Pass through fractionation
The factor and fractionation rule are split to obtain to encrypted monitoring information splits information;
S65, harvester select corresponding superposition to encrypt routed path according to the type of monitoring information;
S66, harvester encrypt routed path to splitting information according to different roads by the superposition selected in step S65
Spliced routing encrypted transmission is carried out to second server by routed path;
S67, second server are encrypted routed path by superposition to the information that the step S66 received is sent and are decrypted
Recovery obtains splitting information;
S68, second server by the original fractionation factor and split the factor update rule generation fractionation factor, by tearing open
Divide therefore and split rule and is restored to obtain encrypted monitoring information to splitting information;
S69, second server parse the corresponding label number of monitoring information type from encrypted monitoring information, and select
The decipherment algorithm for selecting the corresponding encryption intensity of type of monitoring information is decrypted monitoring information to obtain monitoring information.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things,
The monitoring information of the step S1 Bridges includes:Deformation data, information of vehicle flowrate, metal fatigue information.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things,
In matching, first server acquisition harvester corresponds to firmware and is issued to corresponding acquisition dress in the step S54
Set including:
In matching, first server obtains harvester and corresponds to firmware, and generates firmware and correspond to Viability, by firmware
And firmware corresponds to Viability and is issued to corresponding harvester;
Correspondingly, harvester corresponds in Viability in firmware through the side NFC after installing firmware in the step S55
Monitoring information is sent to user terminal by formula.
Advantageous effects:The long-range sending method of bridge tunnel monitoring information based on Internet of Things of the present invention is relative to existing
There is technology, can realize:The corresponding sending method of monitoring information is selected according to sending method by harvester;Belonging to first
Monitoring information is sent after harvester verifies user terminal identity when sending method, and is terminated;Belonging to the second transmission
Harvester selects the cipher mode of information according to corresponding safety level information when mode, is sent out after handling monitoring information
It is sent to second server, and is terminated;It can realize the classification for distinguishing monitoring information, select different information sender formulas and add
Close mode ensure that the safety in bridge, tunnel monitoring information transmission process.
Specific implementation mode
In embodiments of the present invention, a kind of long-range sending method of bridge tunnel monitoring information based on Internet of Things, including such as
Lower step:
S0, different bridges, the firmware of tunnel harvester and corresponding firmware code are configured in first server;And match
It sets firmware and issues activation condition, establish the mapping relations that harvester, firmware code and firmware issue activation condition;It is described solid
Part in harvester for carrying out load and as the digital independent interface of encryption section in harvester.By setting up first separately
Server, second server so that after any server is cracked, can still ensure the safety of information transmission.
S1, the type and attribute that bridge, tunnel monitoring information are configured in second server, and according to monitoring information
The corresponding safety level information of type configuration monitoring information, according to the corresponding sender of attribute configuration monitoring information of monitoring information
Formula and sending cycle;The corresponding safety level information of monitoring information, sending method and sending cycle are synchronized to corresponding
Harvester.
Optionally, tunnel in the step S1, bridge monitoring information include:Bridge, tunnel deformation data, vehicle flowrate letter
Breath, metal fatigue information etc..Various monitoring informations are different due to the sensitivity being related to, it is therefore desirable to configure corresponding peace
Congruent grade, for example it is divided into high, normal, basic, it can also be divided in more detail.In addition, the attribute due to monitoring information is different,
Than if any information may data volume it is smaller, some monitoring information data volumes are bigger, for example are video formatted datas, therefore
The transmission method of different modes can be taken;And since the demand to different monitoring informations is different, some need obtains in real time
Take, what is had can obtain within a longer time period, therefore can configure the corresponding sending method of monitoring information and
Sending cycle.Harvester monitors various monitoring informations, and is sent with data, data processing function.
S2, corresponding user terminal cluster is configured according to the location information of harvester;
The meaning for implementing this step is:When sending monitoring information by short distance, user terminal can be tested
Card.It, could be in the monitoring information for receiving short distance transmission when being only in user terminal cluster.Short distance herein refers to pair
In any harvester, far and near according to distance divides a user terminal cluster.
S3, harvester, which are monitored bridge, tunnel, to be obtained monitoring information and detection information is stored in harvester
Encryption section in, judge to monitoring information monitor whether reach sending cycle, step is jumped to when reaching sending cycle
S4;
The meaning for implementing this step is:By being combined with step S1, could only be sent when meeting sending cycle
Monitoring information so that other unauthorized persons can not obtain monitoring information except sending cycle.
S4, harvester select the corresponding sending method of monitoring information according to sending method;Belonging to the first sending method
When jump to step S5;Step S6 is jumped to when belonging to the second sending method;
First sending method is short distance sending method, and short-range range can independently be set, for example be transmitted by NFC
Mode.Second sending method is the transmission mode of wireless relay, such as by way of 4G wireless network transmissions.
S5, harvester verify user terminal, and harvester sends to user terminal and acquires after being verified
Device information;User terminal sends activation request to first server, and corresponding harvester information is carried in the activation request,
First server judges that activation request issues whether activation condition matches with firmware, and in matching, first server obtains acquisition dress
It sets corresponding firmware and is issued to corresponding harvester;Harvester is installed and is run corresponding firmware and sent to user terminal and monitored
Information, and terminate;
S6, harvester select the cipher mode of information according to corresponding safety level information, at monitoring information
It is sent to second server after reason, and terminates.
By implementing the present embodiment, the corresponding sending method of monitoring information is selected according to sending method by harvester;
Monitoring information is sent after harvester verifies user terminal identity when belonging to the first sending method, and is terminated;Belonging to
When the second sending method harvester according to corresponding safety level information select information cipher mode, to monitoring information into
It is sent to second server after row processing, and is terminated;It can realize the classification for distinguishing monitoring information, different information is selected to send
Mode and cipher mode ensure that the safety in message transmitting procedure.
As shown in Figure 1, in the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things, institute
Stating step S5 includes:
S51, user terminal initiate authentication request to second server, and it is whole to carry user in the authentication request
The corresponding identifier in end;
Whether S52, second server correspond to identifier according to user terminal and judge the user terminal for initiating request in user
In terminal cluster, second server will be verified information and be sent to harvester when in user terminal cluster;Harvester
Pass through by verifying and sending harvester information to user terminal according to validation of information user is verified;
S53, second server, which are generated according to sending cycle with terminable authorized order, and by authorized order, is sent to use
Family terminal;Authorized order is sent to harvester by user terminal by NFC modes;Harvester tests authorized order
Card, jumps to step S54 after authorized order is verified;
S54, user terminal send activation request to first server, and corresponding harvester letter is carried in the activation request
Breath, first server judge that activation request issues whether activation condition matches with firmware, and in matching, first server, which obtains, adopts
Acquisition means correspond to firmware and are issued to corresponding harvester;
Monitoring information is sent to user terminal by S55, harvester by NFC modes.
In the present embodiment, whether correspond to identifier by user terminal judges the user terminal for initiating request at user's end
It holds in cluster, has played the effect of first layer verification;And by the authorized order for being provided with the time limit so that can only with
It could be by the way that monitoring information be sent to user terminal by NFC modes, further during the authorized order in time limit is effective
The safety of information transmission is ensured.And it generates first with terminable authorized order and is to fit to sending cycle, and by
Second server generates, and ensure that the safety generated with terminable authorized order by the two limitations." carrying here
The specific duration in time limit " can independently be set.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things, the step S6 packets
It includes:
S61, superposition encryption routed path and information fractionation that monitoring information is remotely sent are configured in second server
Table, described information split table include the original fractionation factor, split factor update rule and split rule;It will by line under type
The original fractionation factor splits factor update rule, superposition encryption routed path and splits in Policy Updates to harvester;No
The monitoring information of same type corresponds to different superposition encryption routed paths, and the superposition encryption routed path is used for splitting information
Spliced routing encrypted transmission is carried out according to different routed paths;
In the present embodiment, can by it is original fractionation the factor and split the factor update rule generate for the first time split when
Split the factor;When subsequently needing to split again, the fractionation factor that the last time is obtained is carried out by splitting factor update rule
Update can be obtained by the fractionation factor of needs.The newest fractionation factor is only kept every time, by splitting factor update rule
It is updated.Second server and harvester can realize the update for splitting the factor by above-mentioned rule.It is noticeable
It is that, for splitting the factor and splitting rule, the present invention does not do specific restriction, can realize for being split to monitoring information
.In a kind of fairly simple embodiment, the original fractionation factor is set as 2, splitting factor update rule is:It is each
" adding 2 " is carried out when secondary update.For example it is 4 that the factor is split when updating for the first time, it is 6 that the factor is split when updating next time;Correspondingly,
Rule is split to obtain monitoring information divided by the fractionation factor to split information.It can also be updated by the way of increasingly complex
And fractionation.The meaning of this step is, is monitored when information is split rule every time not necessarily, though other people certain once obtain
The information of fractionation may be unexpected by how splitting next time.
S62, harvester determine the corresponding encryption intensity of monitoring information according to the corresponding safety level information of monitoring information
Encryption Algorithm;
By implementing this step, the lower encryption of encryption intensity can be selected to calculate for the lower information of some safe classes
Method reduces operand.
S63, harvester are encrypted to obtain encrypted by the Encryption Algorithm of corresponding encryption intensity to monitoring information
Monitoring information, the corresponding label number of the type comprising monitoring information in the encrypted monitoring information;
S64, harvester according to the original fractionation factor and split the factor update rule generation fractionation factor;Pass through fractionation
The factor and fractionation rule are split to obtain to encrypted monitoring information splits information;
S65, harvester select corresponding superposition to encrypt routed path according to the type of monitoring information;
The meaning of the superposition encryption routed path of setting is, will split information and is route according to different routed paths
It is superimposed encrypted transmission, ensure that the safety of transmission.Encryption Algorithm does not limit in this step.It is encrypted as at each
Relay node carries out one-time pad encryption, and next relay node encrypts the encrypted result of a upper relay node again.Tool
Body, in the case where harvester is multiple, can select using other detection devices as relay node.
S66, harvester encrypt routed path to splitting information according to different roads by the superposition selected in step S65
Spliced routing encrypted transmission is carried out to second server by routed path;
S67, second server are encrypted routed path by superposition to the information that the step S66 received is sent and are decrypted
Recovery obtains splitting information;
S68, second server by the original fractionation factor and split the factor update rule generation fractionation factor, by tearing open
Divide therefore and split rule and is restored to obtain encrypted monitoring information to splitting information;
S69, second server parse the corresponding label number of monitoring information type from encrypted monitoring information, and select
The decipherment algorithm for selecting the corresponding encryption intensity of type of monitoring information is decrypted monitoring information to obtain monitoring information.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things,
The monitoring information of the step S1 Bridges includes:Deformation data, information of vehicle flowrate, metal fatigue information.
In the bridge tunnel monitoring information long-range sending method of the present invention based on Internet of Things,
In matching, first server acquisition harvester corresponds to firmware and is issued to corresponding acquisition dress in the step S54
Set including:
In matching, first server obtains harvester and corresponds to firmware, and generates firmware and correspond to Viability, by firmware
And firmware corresponds to Viability and is issued to corresponding harvester;
Correspondingly, harvester corresponds in Viability in firmware through the side NFC after installing firmware in the step S55
Monitoring information is sent to user terminal by formula.
Advantageous effects:The long-range sending method of bridge tunnel monitoring information based on Internet of Things of the present invention is relative to existing
There is technology, can realize:The corresponding sending method of monitoring information is selected according to sending method by harvester;Belonging to first
Monitoring information is sent after harvester verifies user terminal identity when sending method, and is terminated;Belonging to the second transmission
Harvester selects the cipher mode of information according to corresponding safety level information when mode, is sent out after handling monitoring information
It is sent to second server, and is terminated;It can realize the classification for distinguishing monitoring information, select different information sender formulas and add
Close mode ensure that the safety in bridge, tunnel monitoring information transmission process.
It is understood that for those of ordinary skill in the art, can be conceived with the technique according to the invention and be done
Go out various other corresponding changes and deformation, and all these changes and deformation should all belong to the protection model of the claims in the present invention
It encloses.