CN110062336A - Broadcasting method, device, electronic equipment and the storage medium of anti-air-raid and disaster-preventing alarm - Google Patents

Broadcasting method, device, electronic equipment and the storage medium of anti-air-raid and disaster-preventing alarm Download PDF

Info

Publication number
CN110062336A
CN110062336A CN201910312883.2A CN201910312883A CN110062336A CN 110062336 A CN110062336 A CN 110062336A CN 201910312883 A CN201910312883 A CN 201910312883A CN 110062336 A CN110062336 A CN 110062336A
Authority
CN
China
Prior art keywords
data
precautions against
against natural
natural calamities
taking precautions
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
CN201910312883.2A
Other languages
Chinese (zh)
Other versions
CN110062336B (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.)
Hunan Ke Da Tianhe Communications Ltd By Share Ltd
Original Assignee
Hunan Ke Da Tianhe Communications Ltd By Share 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 Hunan Ke Da Tianhe Communications Ltd By Share Ltd filed Critical Hunan Ke Da Tianhe Communications Ltd By Share Ltd
Priority to CN201910312883.2A priority Critical patent/CN110062336B/en
Publication of CN110062336A publication Critical patent/CN110062336A/en
Application granted granted Critical
Publication of CN110062336B publication Critical patent/CN110062336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Alarm Systems (AREA)

Abstract

This application discloses broadcasting method, device, electronic equipment and the storage mediums of a kind of anti-air-raid and disaster-preventing alarm, are related to anti-air-raid and disaster-preventing alerting techniques.Wherein, this method comprises: receiving the information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent, and according to the first content check code being calculated, content verification is carried out to the information data of taking precautions against natural calamities;When the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted;Blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities;Send the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, iterative cycles execute described the step of sending the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, until reaching preset stop condition.This method take precautions against natural calamities the transmitting of information data with method for digitizing, greatly improves the notice effect of anti-air-raid and disaster-preventing alarm.

Description

Broadcasting method, device, electronic equipment and the storage medium of anti-air-raid and disaster-preventing alarm
Technical field
This application involves anti-air-raid and disaster-preventing alerting techniques, more particularly to a kind of broadcasting method of anti-air-raid and disaster-preventing alarm, device, Electronic equipment and storage medium.
Background technique
Anti-air-raid and disaster-preventing alert device is the important component of urban air defense disaster resistant engineering, usually for fighting calamities and providing relief and dashing forward Forecast of natural calamity and urgent notification, wartime in the case of hair accident are used for people's air defence, are that people's governments at all levels implement people's air defence Commander, the basic means of establishment officer's evacuation.
Existing anti-air-raid and disaster-preventing alert device is to carry out sound covering to city by public address equipment, since sound can pass The information reached is simple and single, and when air strike or disaster occur, the notice effect of anti-air-raid and disaster-preventing alarm is poor.
Summary of the invention
In view of this, the main purpose of the application is to provide broadcasting method, device, the electronics of a kind of anti-air-raid and disaster-preventing alarm Equipment and storage medium, this method overcome existing anti-air-raid and disaster-preventing alert device only to transmit anti-air-raid and disaster-preventing warning information by sound Defect, taken precautions against natural calamities information data using the transmitting of digitized means, greatly improve the notice effect of anti-air-raid and disaster-preventing alarm.
In order to achieve the above object, the technical solution that the application proposes are as follows:
In a first aspect, the embodiment of the present application provides a kind of broadcasting method of anti-air-raid and disaster-preventing alarm, comprising:
Receive the information data of taking precautions against natural calamities sent of anti-air-raid and disaster-preventing server, and according to the first content check code being calculated, Content verification is carried out to the information data of taking precautions against natural calamities;
When the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted;
Blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities;
Sends the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, described in iterative cycles execution with The step of high-power and small-power sends the Bluetooth signal for carrying the blue-teeth data respectively, until reaching preset stopping item Part.
In a kind of possible embodiment, executes described the carrying bluetooth is sent respectively with high-power and small-power every time After the Bluetooth signal of data, further includes:
Before next time sends the blue-teeth data, preset time interval is waited.
In a kind of possible embodiment, the blue-teeth data, comprising: in bluetooth title data or Bluetooth broadcast data extremely Few one kind.
In a kind of possible embodiment, in the case where the blue-teeth data is bluetooth title data, the basis adds The step of information data of taking precautions against natural calamities after close generates blue-teeth data, comprising:
The second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;
By encrypted take precautions against natural calamities information data and the second content authentication code splicing, as bluetooth title data.
In a kind of possible embodiment, in the case where the blue-teeth data is Bluetooth broadcast data, the basis adds The step of information data of taking precautions against natural calamities after close generates blue-teeth data, comprising:
The encrypted information data of taking precautions against natural calamities is divided at least one data frame;Wherein, in each data frame at most Include preset quantity byte;
And for each data frame be added frame number, frame end mark and byte quantity information, using each data frame as The Bluetooth broadcast data.
In a kind of possible embodiment, frame number, frame end mark and byte quantity is added for each data frame described After information, described the step of blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities further include:
The second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;
The second content authentication code is added in the first data frame of the Bluetooth broadcast data.
In a kind of possible embodiment, in the process for generating blue-teeth data according to encrypted information data of taking precautions against natural calamities In, further includes:
A unique duplicate removal identification code is generated for each encrypted information data of taking precautions against natural calamities;
The duplicate removal identification code is added in the first data frame of the Bluetooth broadcast data.
In a kind of possible embodiment, the preset stop condition, are as follows:
Receive the new information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent.
In a kind of possible embodiment, the preset stop condition, are as follows:
The number that iteration executes reaches preset frequency threshold value.
Second aspect, the embodiment of the present application also provide a kind of broadcast device of anti-air-raid and disaster-preventing alarm, comprising:
Receiving module, the information data of taking precautions against natural calamities sent for receiving anti-air-raid and disaster-preventing server;
Authentication module, for carrying out content to the information data of taking precautions against natural calamities according to the first content check code being calculated Verifying;
Encrypting module, for being carried out to the information data of taking precautions against natural calamities when the message data content verifying of taking precautions against natural calamities is correct Encryption;
Data generation module, for generating blue-teeth data according to encrypted information data of taking precautions against natural calamities,
Sending module, for sending the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, repeatedly Circulation executes described the step of sending the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, until reaching Preset stop condition.
In conclusion a kind of broadcasting method for anti-air-raid and disaster-preventing alarm that the application proposes, device, electronic equipment and storage are situated between Matter by the mobile terminal in anti-air-raid and disaster-preventing alert notification to coverage area, and is passed through using Bluetooth signal as casting means The power of bluetooth power amplifier is adjusted, covering without dead angle for Bluetooth signal transmission is realized, to realize with method for digitizing The transmitting for information data of taking precautions against natural calamities, greatly improves the notice effect of anti-air-raid and disaster-preventing alarm.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present application;
Fig. 2 is the flow diagram for the method that the embodiment of the present application one provides;
Fig. 3 is the system architecture diagram when method that the embodiment of the present application one provides is applied to anti-air-raid and disaster-preventing system;
Fig. 4 is the flow diagram of the broadcasting method for the anti-air-raid and disaster-preventing alarm that the embodiment of the present application two provides;
Fig. 5 is the flow diagram of the broadcasting method for the anti-air-raid and disaster-preventing alarm that the embodiment of the present application three provides;
Fig. 6 is the structural schematic diagram for the Bluetooth broadcast data that the embodiment of the present application three provides;
Fig. 7 is the flow diagram of the broadcasting method for the anti-air-raid and disaster-preventing alarm that the embodiment of the present application four provides;
Fig. 8 is the structural schematic diagram of the broadcast device for the anti-air-raid and disaster-preventing alarm that the embodiment of the present application five provides;
Fig. 9 is the structural schematic diagram for the anti-air-raid and disaster-preventing alert device that the embodiment of the present application six provides;
Figure 10 is the structural schematic diagram for the anti-air-raid and disaster-preventing alert device that the embodiment of the present application seven provides;
Figure 11 is the system architecture diagram when anti-air-raid and disaster-preventing alert device that the embodiment of the present application seven provides is applied in systems.
Specific embodiment
Anti-air-raid and disaster-preventing alert device is the important component of urban air defense disaster resistant engineering, and existing anti-air-raid and disaster-preventing alarm is set Standby is to carry out sound covering to city by public address equipment, since the information that sound can be conveyed is simple and single, in air strike or When disaster occurs, the notice effect of anti-air-raid and disaster-preventing alarm is poor.
In view of this, the core of the broadcasting method of anti-air-raid and disaster-preventing alarm provided by the embodiments of the present application is following side Face:
1, since common Bluetooth transmission needs to match connection, pairing process is unable to satisfy the timeliness of anti-air-raid and disaster-preventing alarm Demand.Therefore, the transmission of anti-air-raid and disaster-preventing alarm is carried out using bluetooth title data and/or Bluetooth broadcast data.
If it is 2, higher using Bluetooth technology transmission data general-purpose, but safety is lower, due to people's air defense application field Particularity, it is high to communication security requirements, therefore, it is necessary to carry out encryption and content verification, security risk is taken precautions against in possible trouble.
3, due to the demand of far and near distance all standing, the transmission power of bluetooth module, which needs to recycle, to be turned up and turns down, and is Completely carry out data transmission, continuous iterative cycles is needed to send blue-teeth data.
As shown in Figure 1, the embodiment of the present application is applied to the broadcast device 101 of the anti-air-raid and disaster-preventing alarm with bluetooth module In, the embodiment of the present application passes through the broadcast device 101 of anti-air-raid and disaster-preventing alarm, receives information of taking precautions against natural calamities from anti-air-raid and disaster-preventing server 102 Data, and using Bluetooth signal as casting means, anti-air-raid and disaster-preventing alarm can be sent to any one and have bluetooth module Mobile device 103, such as mobile phone, tablet computer, palm PC, television set, home alarm terminal, car multimedia screen etc..It adopts It uses Bluetooth signal as casting means, by the mobile terminal in anti-air-raid and disaster-preventing alert notification to coverage area, and passes through adjusting The power of bluetooth power amplifier realizes covering without dead angle for Bluetooth signal transmission, to take precautions against natural calamities with method for digitizing The transmitting of information data greatly improves the notice effect of anti-air-raid and disaster-preventing alarm.
It is right below in conjunction with the accompanying drawings and the specific embodiments to keep the purposes, technical schemes and advantages of the application clearer The application is described in further detail.
Embodiment one
Fig. 2 is a kind of flow diagram of the broadcasting method for anti-air-raid and disaster-preventing alarm that the embodiment of the present application one provides, such as Fig. 2 Shown, which specifically includes that
S201: the information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, and according to the first content school being calculated Code is tested, content verification is carried out to the information data of taking precautions against natural calamities.
Here, as shown in figure 3, anti-air-raid and disaster-preventing server may include that anti-air-raid and disaster-preventing alarm delivery system, wisdom people's air defense are more In media propaganda and education delivery system, multimedia publication and digital (wisdom) civil defense system and people's air defense earth mat integrated information system at least It is a kind of.In calamity and wartime, civilian network is usually insecure, needs in the case where people's air defense multimode communicates private network mode, in time into The casting of row anti-air-raid and disaster-preventing alarm and the evacuation or masking of personnel, therefore, it is necessary to receive anti-air-raid and disaster-preventing clothes by special network The information data of taking precautions against natural calamities that business device is sent.In general, when anti-air-raid and disaster-preventing server is anti-air-raid and disaster-preventing alarm delivery system, the net that uses Network includes: that ultrashort wave radio set, TD-LTE 230MHz meet an enemy attack and command private network, dialing communication (Public Switched At least one of Telephone Network, PSTN) and Big Dipper short message etc..Anti-air-raid and disaster-preventing server is that wisdom people's air defense is more When media propaganda and education delivery system and/or multimedia publication and digital (wisdom) civil defense system, the network used is the ether of encryption Net special line.When the anti-air-raid and disaster-preventing server anti-earth mat integrated information system of behaviour, the network used is wired people's air defense private network.
After receiving and taking precautions against natural calamities information data, hash operations are executed to received information data of taking precautions against natural calamities to check data Correctness, hash function are the one-way operations of a value that the data character string of random length is converted to short regular length. Any two character string should not have identical hashed value, that is to say, that it is different that any two character string, which has " very big possibility ", , and artificially to create to carry out the identical character string of two hashed values and should be difficult.Later by received biography Transmission of data executes hash operations to check the correctness of data.Calculated hashed value, which is brought and takes precautions against natural calamities, to be carried in information data Hashed value compare.If two values are identical, illustrate that the data of transmission are completely errorless, was not tampered.Therefore, it receives Anti-air-raid and disaster-preventing server is carried in information data of taking precautions against natural calamities according to the content authentication code for information data generation of taking precautions against natural calamities, and is taken precautions against natural calamities in reception It after information data, is calculated according to the information data of taking precautions against natural calamities received, obtains first content check code, if first content school Testing code, according to taking precautions against natural calamities, the content authentication code of information data generation is identical, then information data of taking precautions against natural calamities passes through interior with anti-air-raid and disaster-preventing server Hold verifying, message data content of taking precautions against natural calamities is correct;Otherwise information data of taking precautions against natural calamities does not pass through content verification, takes precautions against natural calamities message data content not Correctly.
The information data of taking precautions against natural calamities that the embodiment of the present application is supported, may include the text of anti-air-raid and disaster-preventing alarm, voice broadcast information Sheet, people's air defense information, evacuation guidance information, masking guidance information etc..
S202: when the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted.
Take precautions against natural calamities using Bluetooth signal information data transmission when, which exists by inflight acquisition, and also having can Communication protocol can be caused to leak by the decompiling for blue-teeth data, so that unauthorized person be allowed to upset anti-air-raid and disaster-preventing alarm And information push was both orderly, and alarm occurs and misses ring event, or even exists and transmits illegal information etc. by Bluetooth signal Great group security risk, therefore the embodiment of the present application encrypts the information data of taking precautions against natural calamities, and prevents the hidden danger.
Preferably, the information data of taking precautions against natural calamities can be encrypted using asymmetric encryption techniques.Asymmetric encryption skill Art needs two keys to be encrypted and decrypted, the two code keys are public-key cryptography (public key, hereinafter referred to as public key) With private cipher key (private key, hereinafter referred to as private key), added between the transmitting terminal and receiving end of Bluetooth signal using asymmetric Close mode completes the safe transmission of information, and the transmitting terminal of Bluetooth signal generates a pair of secret keys, including public key and private key, and will be public Key is disclosed to other sides, obtain the public key Bluetooth signal receiving end encrypted using the cipher key pair information after be then forwarded to indigo plant Tooth signal sending end, Bluetooth signal transmitting terminal are decrypted with the information after the private key pair encryption of oneself preservation again.Bluetooth signal Receiving end can only be decrypted with private key by the information after corresponding public key encryption.
S203: blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities.
S204: sending the Bluetooth signal for carrying the blue-teeth data with high-power and small-power respectively, and iterative cycles execute The described the step of Bluetooth signal for carrying the blue-teeth data is sent respectively with high-power and small-power, stop until reaching preset Only condition.
The transmission of blue-teeth data is that one byte of a byte carries out, and is connect in order to facilitate receiving end to blue-teeth data It receives, is sent in each blue-teeth data, before next time sends blue-teeth data, wait preset time interval, such as 100ms.
Current bluetooth devices most of on the market are apart from short, building penetration power is poor, indoor normal transmission range Within 10 meters, building penetration power is poor, if spreading out according to existing Bluetooth technology, construction cost is high, is unable to satisfy anti-air defence The broadcasting demand of calamity alarm.The anti-air-raid and disaster-preventing alarm device that the embodiment of the present application uses uses the indigo plant with bluetooth power amplifier The broadcasting for the anti-air-raid and disaster-preventing alarm that tooth module carries out, bluetooth module can be placed in building roof or basement, pass through bluetooth Power amplifier amplifies transmission power, can be realized outdoor 500 meters, 100 meters of broadcasting area in basement.Anti-air-raid and disaster-preventing alarm Device needs whole city to cover, and installation addresses more difficult operation, and it is more that actual implementation has obstruction, and the embodiment of the present application is used to provide Method anti-air-raid and disaster-preventing alarm device, may be implemented outdoor 500 meters, 100 meters of broadcasting area in basement, and can be in secondary base The covering of indoor and underground is added on plinth, realizes that whole city is covered without dead angle.
In addition, the broadcast device for the anti-air-raid and disaster-preventing alarm that the embodiment of the present application uses is as shown in figure 3, can use general Plug and play interface, external or be embedded into the existing various communications in people's air defense field and information equipment, construction cost is low, can also be with Other responding agencies are applied to by " emergency cooperative platform ", avoid the repeated construction in terms of usually emergency.Specifically, this Shen Please the anti-air-raid and disaster-preventing alarm device that uses of embodiment can be external or be embedded into following people's air defense terminal: air defence warning communication is eventually End, multimedia propaganda and education terminal, independent Bluetooth broadcast terminal, open air/interior large-size screen monitors propaganda and education box, civil air defense constructions and installations oral area information screen, Monitor terminal is observed in civil air defense constructions and installations Multifunctional alarm terminal, important economic target monitor terminal, meteorological model acquisition terminal, coring Deng.
Due to, after the coverage area for amplifying Bluetooth signal by bluetooth power amplifier, powerful Bluetooth signal pair Short distance coverage effect is bad.In order to realize far and near all standing, the embodiment of the present application is led to when needing to broadcast anti-air-raid and disaster-preventing alarm It crosses bluetooth module and sends the Bluetooth signal for carrying the blue-teeth data, low power Bluetooth signal respectively with high-power and small-power Closely, powerful Bluetooth signal covering is remote for covering, realizes and covers without dead angle.
Iterative cycles send the Bluetooth signal until reaching preset stop condition with high-power and small-power respectively.This In, in a kind of possible embodiment, above-mentioned preset stop condition can be new for receive that anti-air-raid and disaster-preventing server send It takes precautions against natural calamities information data.That is the information data of taking precautions against natural calamities that this is received is broadcasted always, until receiving letter of taking precautions against natural calamities next time Terminate when ceasing data.Alternatively possible embodiment exists, and the number that above-mentioned preset stop condition can execute for iteration reaches To preset frequency threshold value.In third in possible embodiment, above-mentioned preset stop condition can be transmission Bluetooth signal Duration reach preset duration threshold value.
Embodiment two
Existing bluetooth equipment usually requires to establish after pairing connection, just can be carried out data communication, is unable to satisfy air defense The timeliness demand of disaster prevention warning, and establishing pairing connection can be double in the transmitting terminal of anti-air-raid and disaster-preventing alarm and receiving end progress To communication, there are serious security risks, therefore, carry out anti-air-raid and disaster-preventing using bluetooth title data and/or Bluetooth broadcast data The transmission of alarm can evade problem above.The embodiment of the present application two, which gives, carries out anti-air-raid and disaster-preventing using bluetooth title data The method of alarm casting.
As shown in figure 4, the embodiment of the present application two provides the broadcasting method of anti-air-raid and disaster-preventing alarm, comprising:
S401: the information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, and is taken precautions against natural calamities in information data progress to described Hold verifying;When the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted.
S402: the second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;It will be described encrypted anti- Calamity information data and the second content authentication code splicing, as bluetooth title data.
Bluetooth title longest may include 16 bytes, if the length of encrypted take precautions against natural calamities information data and the second content authentication code Degree summation is less than 16 bytes, can carry out broadcasting for anti-air-raid and disaster-preventing alarm directly by way of modifying the title of bluetooth module Report.
Here the generation of the second content authentication code, can also be by the way of hash operations.Although also, being all made of The mode of hash operations, but divulging a secret in order to avoid calibration technology, the method that the second content authentication code used here generates, with The method that content verification is carried out to information data of taking precautions against natural calamities after the information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, not phase Together.
In order to guarantee the response cycle in anti-air-raid and disaster-preventing alarm, no matter remote or short distance mobile device can be connect Anti-air-raid and disaster-preventing alarm is received, therefore, in entire respective cycle, Bluetooth signal carries out broadcast (sites) in turn, and circulation will each time Bluetooth signal emits in two times, emits a Bluetooth signal with higher-wattage, then emit a Bluetooth signal with lower-wattage.And And if Bluetooth signal covers two cells of adjacent A, B, when mobile terminal is in high-speed motion state, it is possible in sound It answers and crosses over two cells, even more cells in the period.The anti-air-raid and disaster-preventing alarm repeatedly broadcasting broadcasted in order to prevent, can Think that each encrypted information data of taking precautions against natural calamities generates a unique duplicate removal identification code;The duplicate removal identification code is added to indigo plant In tooth name data.
S403: sending the Bluetooth signal for carrying the blue-teeth data with high-power and small-power respectively, and iterative cycles execute The described the step of Bluetooth signal for carrying the blue-teeth data is sent respectively with high-power and small-power, stop until reaching preset Only condition.
Iterative cycles send above-mentioned bluetooth title data with high-power and small-power respectively, until reaching preset duration threshold Value, or until receiving the new information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server sends.
Embodiment three
The embodiment of the present application three gives the method for carrying out anti-air-raid and disaster-preventing alarm casting using Bluetooth broadcast data.Such as Fig. 5 Shown, the embodiment of the present application three provides the broadcasting method of anti-air-raid and disaster-preventing alarm, comprising:
S501: the information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, and is taken precautions against natural calamities in information data progress to described Hold verifying;When the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted.
S502: the encrypted information data of taking precautions against natural calamities is divided at least one data frame;Wherein, in each data frame Contain up to preset quantity byte.
In order to guarantee that each data frame can be received completely, for each data frame be added frame number, frame end mark and Byte quantity information.Also, it, can be by total frame in order to guarantee that entire encrypted information data of taking precautions against natural calamities can be received completely Number is stored in first data frame.
In a kind of possible embodiment, it is also necessary to generate the second content according to the encrypted information data of taking precautions against natural calamities Check code;The second content authentication code is added in the first data frame of the Bluetooth broadcast data.
In addition, the anti-air-raid and disaster-preventing alarm repeatedly broadcasting broadcasted in order to prevent, equally can be each encrypted Information data of taking precautions against natural calamities generates a unique duplicate removal identification code;The duplicate removal identification code is added to the Bluetooth broadcast data In first data frame.
S503: using each data frame as the Bluetooth broadcast data.
As shown in fig. 6, including at least one data frame in Bluetooth broadcast data, if only including one in Bluetooth broadcast data A data frame, commonly referred to as single frames content, the embodiment of the present application iterative cycles send carrying with high-power and small-power respectively should The Bluetooth signal of single frames content.If only comprising more than two data frames, commonly referred to as multiframe content in Bluetooth broadcast data, originally Apply for that embodiment since first data frame, recycles the indigo plant for sending respectively with high-power and small-power and carrying the multiframe content repeatedly Tooth signal.
S504: sending the Bluetooth signal for carrying the blue-teeth data with high-power and small-power respectively, and iterative cycles execute The described the step of Bluetooth signal for carrying the blue-teeth data is sent respectively with high-power and small-power, stop until reaching preset Only condition.
Iterative cycles send above-mentioned Bluetooth broadcast data with high-power and small-power respectively, until reaching preset duration threshold Value, or until receiving the new information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server sends.
Example IV
The embodiment of the present application four gives to be broadcast using bluetooth title data and the progress anti-air-raid and disaster-preventing alarm of Bluetooth broadcast data The method of report.As shown in fig. 7, the embodiment of the present application four provides the broadcasting method of anti-air-raid and disaster-preventing alarm, comprising:
S701: the information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, and is taken precautions against natural calamities in information data progress to described Hold verifying;When the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted.
S702: the encrypted information data of taking precautions against natural calamities is divided, is divided into bluetooth title data portion and bluetooth is wide Multicast data part.
By Bluetooth broadcast data portion, it is divided at least one data frame;Wherein, it contains up to preset in each data frame Quantity byte.
In order to guarantee that each data frame can be received completely, for each data frame be added frame number, frame end mark and Byte quantity information.Also, it, can be by total frame in order to guarantee that entire encrypted information data of taking precautions against natural calamities can be received completely Number is stored in first data frame.
S703: the second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities, by second content school Code is tested to be added in the first data frame and/or bluetooth title data portion of the Bluetooth broadcast data.
S704: duplicate removal identification code is generated, the second content authentication code is added to the first of the Bluetooth broadcast data In data frame and/or bluetooth title data portion.
The anti-air-raid and disaster-preventing alarm repeatedly broadcasting broadcasted in order to prevent can be each encrypted Information Number of taking precautions against natural calamities According to one unique duplicate removal identification code of generation;The duplicate removal identification code is added to the first data frame of the Bluetooth broadcast data Or in bluetooth title data portion.
S705: the Bluetooth signal for carrying the blue-teeth data is sent respectively with high-power and small-power.
S706: iterative cycles send above-mentioned bluetooth title data portion and Bluetooth broadcast number with high-power and small-power respectively According to part, until reaching preset duration threshold value, or the new information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received Until.
Based on identical design concept, the embodiment of the present application also provides a kind of broadcast device of anti-air-raid and disaster-preventing alarm and sets It is standby.
Embodiment five
As shown in figure 8, the embodiment of the present application five provides a kind of broadcast device 800 of anti-air-raid and disaster-preventing alarm, comprising:
Receiving module 801, the information data of taking precautions against natural calamities sent for receiving anti-air-raid and disaster-preventing server;
Authentication module 802, for being taken precautions against natural calamities in information data progress to described according to the first content check code being calculated Hold verifying;
Encrypting module 803, for it is described take precautions against natural calamities message data content verifying it is correct when, to it is described take precautions against natural calamities information data into Row encryption;
Data generation module 804, for generating blue-teeth data according to encrypted information data of taking precautions against natural calamities,
Sending module 805, for sending the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, instead Multiple circulation executes described the step of sending the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, until reaching To preset stop condition.
In a kind of possible embodiment, sending module 805 is also used to: before next time sends the blue-teeth data, etc. To preset time interval.
In a kind of possible embodiment, the blue-teeth data, comprising: in bluetooth title data or Bluetooth broadcast data extremely Few one kind.
In a kind of possible embodiment, data generation module 804 is specifically used for:
The second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;
By encrypted take precautions against natural calamities information data and the second content authentication code splicing, as bluetooth title data.
In a kind of possible embodiment, data generation module 804 is specifically used for:
The encrypted information data of taking precautions against natural calamities is divided at least one data frame;Wherein, in each data frame at most Include preset quantity byte;
And for each data frame be added frame number, frame end mark and byte quantity information, using each data frame as The Bluetooth broadcast data.
In a kind of possible embodiment, data generation module 804 is also used to:
The second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;
The second content authentication code is added in the first data frame of the Bluetooth broadcast data.
In a kind of possible embodiment, data generation module 804 is also used to:
A unique duplicate removal identification code is generated for each encrypted information data of taking precautions against natural calamities;
The duplicate removal identification code is added in the blue-teeth data.
In a kind of possible embodiment, sending module 805 is also used to:
Receive that anti-air-raid and disaster-preventing server sends it is new take precautions against natural calamities information data when, stop sending Bluetooth signal.
In a kind of possible embodiment, sending module 805 is also used to:
The duration for sending the Bluetooth signal reaches preset duration threshold value, stops sending Bluetooth signal.
Embodiment six
As shown in figure 9, the embodiment of the present application six provides a kind of anti-air-raid and disaster-preventing alert device 900, specifically include that
It generates blue-teeth data and controls the control module 901 of bluetooth power booster output, sent and prevented using blue-teeth data The bluetooth module 902 of calamity information and the bluetooth power amplifier 903 of adjustable power;
Control module 901 is connect with bluetooth module 902, and bluetooth module 902 is connect with bluetooth power amplifier 903.
Bluetooth equipment on the market does not provide physical connection interface generally, is attached with control module 901 logical with data The difficulty of letter is larger.
Therefore, it in a kind of possible embodiment, is carried out between control module 901 and bluetooth module 902 by serial ports Data communication connects data communication.Specifically, can realize control by UART TX and UART the RX interface of connection serial port module Two-way communication between molding block 901 and bluetooth module 902.Here, serial ports is mainly used to carry out control module 901 and bluetooth mould The communication of business datum between block 902, it is specific for example, anti-air-raid and disaster-preventing alarm text information can be carried out together, masking is drawn Lead the transmission of the information datas of taking precautions against natural calamities such as information, evacuation guidance information.
Also, it can be communicatively coupled by bridge mode between control module 901 and bluetooth module 902 and pass through bridge joint Pattern communication, that is, the communication for data penetration transmission being carried out between control module 901 and bluetooth module 902.
Therefore, the connection relationship between control module 901 and bluetooth module 902 further includes being connected with:
Power supply signal connection, enable signal connection, data request signal connection.Wherein, power supply signal includes power supply line VCC With ground wire GND, for being powered for bluetooth module 902;Enable signal includes control module 901 and bluetooth module 902 makes Line between energy end EN, for controlling bluetooth module 902, when enable end EN is effective, bluetooth module 902 starts work Make, conversely, bluetooth module 902 does not work;Data request signal includes the port BRTS of control module 901 Yu bluetooth module 902 The line between the port BCTS, for controlling the communication of the bridge mode carried out between control module 901 and bluetooth module 902.
Most of bluetooth devices are apart from short, building penetration power is poor on the market, and indoor normal transmission range is 10 Within rice, since the bluetooth module 902 of this equipment is generally positioned in building roof or basement, in order to overcome bluetooth equipment The problem short apart from coverage distance is generally faced, transmission power is amplified by bluetooth power amplifier 903, Bluetooth signal is covered Lid range is expanded to outdoor 500 meters, 100 meters of range in basement.Also, in a kind of possible embodiment, bluetooth function The power of rate amplifier 903 is adjustable.When carrying out the broadcast of anti-air-raid and disaster-preventing alarm, amplifies in turn and reduce bluetooth power and put The power of big device 903, realizes Bluetooth signal high or low power polled transmission, and low power Bluetooth signal covering is closely, high-power Bluetooth signal covering it is remote, ensure far and near all standing.
Since Bluetooth data transfer needs to match connection, the timeliness that pairing process is unable to satisfy anti-air-raid and disaster-preventing alarm is needed Ask, and general bluetooth equipment is established after connection, can two-way communication, the safety of anti-air-raid and disaster-preventing warning system can be jeopardized.For It solves the problems, such as this, following three kinds of possible embodiments can be used:
A: in a kind of possible embodiment, bluetooth module 902, the bluetooth module with broadcasting mode.It is blue Tooth module 902 has broadcasting mode.The casting that anti-air-raid and disaster-preventing alarm is carried out using Bluetooth broadcast mode, as long as into bluetooth The coverage area of signal will all receive broadcasted content.And the broadcasting mode of bluetooth module 902 is one-way communication, can To ensure the safety of anti-air-raid and disaster-preventing warning system.
B: in alternatively possible embodiment, bluetooth module 902 carries out bluetooth by way of modifying bluetooth title The transmission of data.As long as bluetooth title can be received into the coverage area of Bluetooth signal, it can also receive bluetooth title and take The blue-teeth data of band, also, search for bluetooth title process be it is unidirectional, can ensure the safety of anti-air-raid and disaster-preventing warning system.
C: in alternatively possible embodiment, bluetooth module 902, the bluetooth module with broadcasting mode. Bluetooth module 902 had not only carried out the transmission of blue-teeth data by way of modifying bluetooth title, but also was carried out using Bluetooth broadcast mode The casting of anti-air-raid and disaster-preventing alarm.
In a kind of possible embodiment, micro-control unit (Microcontroller is can be used in control module 901 Unit, MCU) it realizes.
Embodiment seven
Figure 10 is the structural schematic diagram of the embodiment of the present application seven, and as shown in Figure 10, the anti-air-raid and disaster-preventing which provides is alert Equipment 1000 is reported, is specifically included that
It generates blue-teeth data and controls the control module 1001 of bluetooth power booster output, sent and prevented using blue-teeth data The bluetooth module 1002 of calamity information and the bluetooth power amplifier 1003 of adjustable power;
Control module 1001 is connect with bluetooth module 1002, and bluetooth module 1002 is connect with bluetooth power amplifier 1003.
Also, the bluetooth module 1002 in anti-air-raid and disaster-preventing alert device 1000, passes through Bluetooth signal and mobile device 1004 Between be communicatively coupled.Bluetooth module 1002 is sent to movement by the blue-teeth data of the custom protocol information data that will take precautions against natural calamities Equipment 1004.
In addition, control module 1001 is it is also possible that pass through cummunication for people's airdefence private network and air defense in anti-air-raid and disaster-preventing alert device 1000 Server 1005 of taking precautions against natural calamities connection.The information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, and will be prevented by interfaces such as serial ports Calamity information data is transmitted to bluetooth module 1002.Further, bluetooth module 1002 take precautions against natural calamities based on the received information data generation Blue-teeth data is simultaneously sent.
The power of bluetooth power amplifier 1003 is adjustable.When carrying out the broadcast of anti-air-raid and disaster-preventing alarm, amplify in turn With the power for reducing bluetooth power amplifier 1003, Bluetooth signal high or low power polled transmission, low power Bluetooth signal are realized Closely, powerful Bluetooth signal covering is remote for covering, ensures that mobile device 1004 can be without dead angle Land cover.
When the anti-air-raid and disaster-preventing alert device 1000 that the embodiment of the present application seven provides when as shown in figure 11, is applied in systems System architecture diagram.Control module 1001 receives information data of taking precautions against natural calamities from anti-air-raid and disaster-preventing server 1005, and by interface by its It is sent to bluetooth module 1002, for example, the information data that can will take precautions against natural calamities by serial ports is sent to bluetooth module 1002.Bluetooth module 1002 generate blue-teeth data by customized Bluetooth protocol, and are sent to blue-teeth data by bluetooth power amplifier 1003 Mobile device 1004, mobile device receive blue-teeth data, execute the instruction carried in blue-teeth data, play and/or show and is blue The information data of taking precautions against natural calamities carried in tooth data.
In conclusion being not intended to limit the protection scope of the application the above is only the preferred embodiment of the application. Within the spirit and principles of this application, any modification, equivalent replacement, improvement and so on should be included in the application's Within protection scope.

Claims (10)

1. a kind of broadcasting method of anti-air-raid and disaster-preventing alarm characterized by comprising
The information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent is received, and according to the first content check code being calculated, to institute It states information data of taking precautions against natural calamities and carries out content verification;
When the message data content verifying of taking precautions against natural calamities is correct, the information data of taking precautions against natural calamities is encrypted;
Blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities;
Send the Bluetooth signal for carrying the blue-teeth data respectively with high-power and small-power, iterative cycles execute described with big function Rate and small-power send the step of Bluetooth signal for carrying the blue-teeth data respectively, until reaching preset stop condition.
2. the method according to claim 1, wherein being sent respectively described in executing every time with high-power and small-power After the Bluetooth signal for carrying the blue-teeth data, further includes:
Before next time sends the blue-teeth data, preset time interval is waited.
3. the method according to claim 1, wherein the blue-teeth data, comprising: bluetooth title data or bluetooth At least one of broadcast data.
4. according to the method described in claim 3, it is characterized in that, the case where the blue-teeth data is bluetooth title data Under, described the step of blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities, comprising:
The second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;
By encrypted take precautions against natural calamities information data and the second content authentication code splicing, as bluetooth title data.
5. according to the method described in claim 3, it is characterized in that, the case where the blue-teeth data is Bluetooth broadcast data Under, described the step of blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities, comprising:
The encrypted information data of taking precautions against natural calamities is divided at least one data frame;Wherein, it is contained up in each data frame Preset quantity byte;
And frame number, frame end mark and byte quantity information is added for each data frame, using each data frame as described in Bluetooth broadcast data.
6. according to the method described in claim 5, it is characterized in that, frame number, frame end mark is added for each data frame described After knowledge and byte quantity information, described the step of blue-teeth data is generated according to encrypted information data of taking precautions against natural calamities further include:
The second content authentication code is generated according to the encrypted information data of taking precautions against natural calamities;
The second content authentication code is added in the first data frame of the Bluetooth broadcast data.
7. described in any item methods according to claim 1, which is characterized in that described according to encrypted information data of taking precautions against natural calamities During generating blue-teeth data, further includes:
A unique duplicate removal identification code is generated for each encrypted information data of taking precautions against natural calamities;
The duplicate removal identification code is added in the blue-teeth data.
8. the method according to claim 1, wherein the preset stop condition, are as follows:
Receive the new information data of taking precautions against natural calamities that anti-air-raid and disaster-preventing server is sent.
9. the method according to claim 1, wherein the preset stop condition, are as follows:
The duration for sending the Bluetooth signal reaches preset duration threshold value.
10. a kind of broadcast device of anti-air-raid and disaster-preventing alarm characterized by comprising
Receiving module, the information data of taking precautions against natural calamities sent for receiving anti-air-raid and disaster-preventing server;
Authentication module, for carrying out content verification to the information data of taking precautions against natural calamities according to the first content check code being calculated;
Encrypting module, for being encrypted to the information data of taking precautions against natural calamities when the message data content verifying of taking precautions against natural calamities is correct;
Data generation module, for generating blue-teeth data according to encrypted information data of taking precautions against natural calamities,
Sending module, for sending the Bluetooth signal for carrying the blue-teeth data, iterative cycles respectively with high-power and small-power The described the step of Bluetooth signal for carrying the blue-teeth data is sent respectively with high-power and small-power is executed, until reaching default Stop condition.
CN201910312883.2A 2019-04-18 2019-04-18 Broadcasting method and device for air defense and disaster prevention alarm, electronic equipment and storage medium Active CN110062336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910312883.2A CN110062336B (en) 2019-04-18 2019-04-18 Broadcasting method and device for air defense and disaster prevention alarm, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910312883.2A CN110062336B (en) 2019-04-18 2019-04-18 Broadcasting method and device for air defense and disaster prevention alarm, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110062336A true CN110062336A (en) 2019-07-26
CN110062336B CN110062336B (en) 2022-03-18

Family

ID=67319390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910312883.2A Active CN110062336B (en) 2019-04-18 2019-04-18 Broadcasting method and device for air defense and disaster prevention alarm, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110062336B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559649A (en) * 2013-11-01 2014-02-05 国家电网公司 Power grid disaster early-warning method and system
US8750797B2 (en) * 2008-07-22 2014-06-10 Nissaf Ketari Proximity access and alarm apparatus
CN105075154A (en) * 2013-02-27 2015-11-18 索尼公司 A relay device, method and computer program
CN207233144U (en) * 2017-08-10 2018-04-13 福州中优奕信息技术服务有限公司 Bluetooth management terminal, wireless fire disaster detector and detection device
CN108091114A (en) * 2016-11-23 2018-05-29 杭州海康威视***技术有限公司 A kind of method and apparatus for showing alert information
CN108898247A (en) * 2018-06-22 2018-11-27 国网湖南省电力有限公司 A kind of power grid Rainfall Disaster Risk Forecast Method, system and storage medium
US10181256B2 (en) * 2016-03-18 2019-01-15 Linctronix Ltd. Multiple target locating and alarming system
CN109541543A (en) * 2019-01-09 2019-03-29 深圳市民明科技有限公司 A kind of fire-fighting Field Force positioning system, localization method and detection positioning device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8750797B2 (en) * 2008-07-22 2014-06-10 Nissaf Ketari Proximity access and alarm apparatus
CN105075154A (en) * 2013-02-27 2015-11-18 索尼公司 A relay device, method and computer program
CN103559649A (en) * 2013-11-01 2014-02-05 国家电网公司 Power grid disaster early-warning method and system
US10181256B2 (en) * 2016-03-18 2019-01-15 Linctronix Ltd. Multiple target locating and alarming system
CN108091114A (en) * 2016-11-23 2018-05-29 杭州海康威视***技术有限公司 A kind of method and apparatus for showing alert information
CN207233144U (en) * 2017-08-10 2018-04-13 福州中优奕信息技术服务有限公司 Bluetooth management terminal, wireless fire disaster detector and detection device
CN108898247A (en) * 2018-06-22 2018-11-27 国网湖南省电力有限公司 A kind of power grid Rainfall Disaster Risk Forecast Method, system and storage medium
CN109541543A (en) * 2019-01-09 2019-03-29 深圳市民明科技有限公司 A kind of fire-fighting Field Force positioning system, localization method and detection positioning device

Also Published As

Publication number Publication date
CN110062336B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
US20160098915A1 (en) System, method and apparata for secure communications using an electrical grid network
WO2007089280A2 (en) Centralized event warning notification system for individual entities
FI20000444A (en) Method for checking the amount of transmitted data
CN102610048B (en) Wireless infrared electronic fence and working method thereof
CN104661171A (en) Small data secure-transmission method and system for MTC device group
CN101931561A (en) Remote control network equipment management system and management end and network equipment operation method
CN105898750A (en) WiFi access point equipment and WiFi access authentication method and device
CN106789845A (en) A kind of method of network data security transmission
CN102637332A (en) Illegal invasion detection system and illegal invasion detection method
CN107204872A (en) Automatic method, device and the network equipment for changing network equipment information
CN110062336A (en) Broadcasting method, device, electronic equipment and the storage medium of anti-air-raid and disaster-preventing alarm
EP2874423B1 (en) Data transmission method, access point and station
CN101783932B (en) Remote control monitoring system and monitoring method
CN203950420U (en) A kind of one-touch warning system based on computer network
CN106788868A (en) signal shielding system, signal shielding system control method
CN111953373B (en) Broadcast type message communication device based on 433MHz
CN207216797U (en) A kind of intelligent seal system with alarm module
CN209657470U (en) A kind of anti-air-raid and disaster-preventing alert device
CN109286892A (en) A kind of employee encrypts localization method and employee's positioning system
CN205377933U (en) Thing networking transmission system based on digit security chip
CN101834862B (en) Method and system for establishing safe connection between nodes
CN109996230B (en) Method for improving Bluetooth mesh network communication safety through MCU serial port communication confusion encryption
CN202305625U (en) Electricity anti-stealing system based on mobile phone short message verification
CN106101065A (en) Portable control end equipment and WiFi access remote authentication method, device
CN106203770A (en) A kind of fire-fighting application 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
GR01 Patent grant
GR01 Patent grant