CN114666081A - Early warning message output method, early warning message distribution device and related equipment - Google Patents

Early warning message output method, early warning message distribution device and related equipment Download PDF

Info

Publication number
CN114666081A
CN114666081A CN202011536910.3A CN202011536910A CN114666081A CN 114666081 A CN114666081 A CN 114666081A CN 202011536910 A CN202011536910 A CN 202011536910A CN 114666081 A CN114666081 A CN 114666081A
Authority
CN
China
Prior art keywords
warning message
early warning
public key
issuing
certificate
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.)
Pending
Application number
CN202011536910.3A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011536910.3A priority Critical patent/CN114666081A/en
Publication of CN114666081A publication Critical patent/CN114666081A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The application provides an early warning message output method, an early warning message distribution device and related equipment, wherein the early warning message output method comprises the following steps: receiving an early warning message sent by network equipment, wherein the early warning message is an early warning message signed by early warning message issuing equipment by using a private key; acquiring a block chain certificate of the early warning message issuing equipment from a alliance chain, and acquiring a public key of the early warning message issuing equipment based on the block chain certificate; using the public key to carry out signature verification on the early warning message; and outputting the early warning message when the signature verification is passed. The method and the device can improve the safety of issuing the early warning message.

Description

Early warning message output method, early warning message distribution device and related equipment
Technical Field
The present application relates to the field of block chain technologies, and in particular, to an early warning message output method, an early warning message distribution device, and related devices.
Background
Before an emergent public event occurs, an emergent public event early warning message issuing department issues an early warning message to the public in a mobile phone short message mode, informs that the emergent public event is about to come and informs public preventive measures, and therefore life and property loss brought by the event is reduced. The early warning message is generally sent by a cell broadcast short message mode, and the characteristics of the early warning message include: the method can send messages to millions of users at near real-time according to the language required by the designated area, all the early warning messages are signed by the early warning message management center, but if the early warning messages are tampered when being transmitted to the early warning message management center, the responsibility attribution is difficult to determine, and therefore the safety of sending the early warning messages is poor.
Disclosure of Invention
The embodiment of the application provides an early warning message output method, an early warning message distribution device and related equipment, and aims to solve the problem of poor safety of issuing of early warning messages.
To solve the above problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an early warning message output method, which is executed by a terminal, and the method includes:
receiving an early warning message sent by network equipment, wherein the early warning message is an early warning message signed by early warning message issuing equipment by using a private key;
acquiring a block chain certificate of the early warning message issuing equipment from a alliance chain, and acquiring a public key of the early warning message issuing equipment based on the block chain certificate;
using the public key to carry out signature verification on the early warning message;
and outputting the early warning message when the signature verification is passed.
In a second aspect, an embodiment of the present application provides an early warning message distribution method, which is executed by an early warning message issuing device, and includes:
signing the early warning message by using a private key;
distributing the signed early warning message;
and the public key corresponding to the private key is contained in a block chain certificate, and the block chain certificate is managed through a alliance chain formed by the early warning message issuing equipment and the supervision equipment corresponding to the supervision department.
In a third aspect, an embodiment of the present application further provides an early warning message output device, including:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an early warning message sent by network equipment, and the early warning message is signed by early warning message issuing equipment by using a private key;
the first acquisition module is used for acquiring a block chain certificate of the early warning message issuing equipment from a alliance chain and acquiring a public key of the early warning message issuing equipment based on the block chain certificate;
the verification module is used for performing signature verification on the early warning message by using the public key;
and the output module is used for outputting the early warning message under the condition that the signature verification is passed.
In a fourth aspect, an embodiment of the present application further provides an early warning message distribution apparatus, including:
the signature module is used for signing the early warning message by using a private key;
a distribution module for distributing the signed early warning message;
and the public key corresponding to the private key is contained in a block chain certificate, and the block chain certificate is managed through a alliance chain formed by the early warning message issuing equipment and the supervision equipment corresponding to the supervision department.
In a fifth aspect, an embodiment of the present application further provides a communication device, including: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; wherein the processor is configured to read a program in the memory to implement the steps of the method according to the first aspect; or, a step in a method as described in the second aspect above.
In a sixth aspect, embodiments of the present application further provide a readable storage medium for storing a program, where the program, when executed by a processor, implements the steps in the method according to the foregoing first aspect, or implements the steps in the method according to the foregoing second aspect.
In the embodiment of the application, the block chain certificate of the early warning message issuing equipment is acquired from a alliance chain, the public key of the early warning message issuing equipment is acquired based on the block chain certificate, the public key is used for carrying out signature verification on the early warning message, the early warning message is output under the condition that the signature verification is passed, the identity of the early warning message issuing equipment and the integrity of the early warning message can be verified, the uncertain responsibility attribution caused by tampering the early warning message in the transmission process is avoided, and therefore the issuing safety of the early warning message is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an early warning message output method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an early warning message distribution method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an early warning message output system to which an embodiment of the present application is applicable;
fig. 4 is a schematic structural diagram of an early warning message output device according to an embodiment of the present disclosure;
fig. 5 is a second schematic structural diagram of an early warning message output device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an early warning message distribution apparatus according to an embodiment of the present application;
fig. 7 is a second schematic structural diagram of an early warning message distribution apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication device provided in this application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms "first," "second," and the like in the embodiments of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Further, as used herein, "and/or" means at least one of the connected objects, e.g., a and/or B and/or C, means 7 cases including a alone, B alone, C alone, and both a and B present, B and C present, both a and C present, and A, B and C present.
Referring to fig. 1, fig. 1 is a schematic flowchart of an early warning message output method provided in an embodiment of the present application. The warning message output method shown in fig. 1 may be performed by a terminal.
As shown in fig. 1, the warning message output method may include the steps of:
step 101, receiving an early warning message sent by a network device, wherein the early warning message is an early warning message signed by an early warning message issuing device by using a private key.
The terminal (also referred to as User Equipment (UE)) may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or a vehicle-mounted Device. The network device may be a base station, an Access and Mobility Management Function (AMF), a relay, an Access point, or other network elements.
The early warning message issuing equipment may be equipment used by a Cell Broadcast Entity (CBE) for issuing early warning messages, and the early warning message issuing Entity (for example, a meteorological office, an earthquake office, etc.) may be responsible for initiating a Cell Broadcast service, inputting a Cell Broadcast message, sending, querying, deleting, setting a priority of a Broadcast short message, controlling a Broadcast area, and the like. The network device may be deployed in an operator network as a CBC (Cell Broadcast Center), which is a component of a mobile network and managed by a basic telecommunications operator, and is responsible for managing information related to the layout of all base stations, managing base station loads, mapping geographical information to valid radio cells, and sending short messages generated by the CBE to UEs through a radio access network.
The signature of the early warning message may be a result obtained by the early warning message issuing device performing hash on the content of the early warning message by using a hash algorithm and then signing a hash value.
And 102, acquiring a block chain certificate of the early warning message issuing equipment from a alliance chain, and acquiring a public key of the early warning message issuing equipment based on the block chain certificate.
The federation chain may be a blockchain managed by several mechanisms, for example: the early warning message issuing equipment can be designated as an accounting node in the alliance chain, the generation of each block is jointly determined by all the preselected nodes by using a consensus mechanism, and other access nodes can read the information on the chain but do not participate in the accounting process. The alliance chain uses a distributed ledger and a distributed consensus technology to form a distributed database with data being not falsifiable, and therefore the multi-party trust problem is solved. The early warning message issuing equipment serving as the accounting node can issue the public key of the early warning message issuing equipment on the alliance chain, and the terminal can access the alliance chain to acquire the public key of the early warning message issuing equipment.
In addition, the step 101 and the step 102 are not executed in order, for example: step 101 may be executed first, and the corresponding warning message issuing device is obtained through the received warning message, so that the block chain certificate of the warning message issuing device is searched in a alliance chain, and the public key of the warning message issuing device is obtained, or step 102 may also be executed first, the alliance chain may be cached in advance by the terminal, and the public keys of all the warning message issuing devices are obtained, or the public key of the corresponding warning message issuing device is obtained from the online alliance chain after the warning message is received, which is not limited in this application.
And 103, performing signature verification on the early warning message by using the public key.
And 104, outputting the early warning message under the condition that the signature verification is passed.
The output of the warning message may be a prompt for the warning message on the terminal, for example: voice broadcast, vibration, ringing, message popup, short message prompt and the like. And under the condition that the signature passes the verification, the integrity of the early warning message and the identity of the early warning message issuing equipment can be ensured.
In the embodiment of the application, the block chain certificate of the early warning message issuing equipment is acquired from a alliance chain, the public key of the early warning message issuing equipment is acquired based on the block chain certificate, the public key is used for carrying out signature verification on the early warning message, the early warning message is output under the condition that the signature verification is passed, the identity of the early warning message issuing equipment and the integrity of the early warning message can be verified, and if the early warning message is tampered in the transmission process, the reason that responsibility attribution is ambiguous is avoided, so that the issuing safety of the early warning message is improved.
In addition, the public key is used for carrying out signature verification on the early warning message which is received and signed by the early warning message issuing equipment through the private key, and the early warning message is output under the condition that the signature verification is passed, so that the early warning message can be directly signed and issued from the early warning message issuing equipment, the condition that the early warning message cannot be issued in time due to the fact that the early warning message management center has problems when the early warning message management center issues the signature is avoided, and the timeliness of the early warning message can be improved.
Optionally, the warning message may include a name of a warning message issuing department corresponding to the warning message issuing device;
in step 102, the obtaining a block chain certificate of the warning message issuing device from a federation chain, and obtaining a public key of the warning message issuing device based on the block chain certificate may include:
and acquiring a block chain certificate of the early warning message issuing equipment in a alliance chain according to the name, and acquiring a public key of the early warning message issuing equipment based on the block chain certificate.
The name of the early warning message issuing equipment and the public key can be in a corresponding relation, the early warning message issuing equipment can serve as a billing node in a alliance chain to write the public key of the early warning message issuing equipment into the alliance chain through a consensus mechanism, and a terminal can access the alliance chain to find the corresponding public key according to the name of the early warning message issuing equipment, so that signature verification of the early warning message is achieved. The access users of the federation chain may be all terminals in a preset area, for example: even if the user terminal leaves the service area registered by the user terminal, the user terminal moving to another service area can access the alliance chain, obtain the public key of the early warning message issuing equipment and use the public key to carry out signature verification on the received early warning message.
In this embodiment, the public key of the early warning message issuing device is acquired in a alliance chain by the name of an early warning message issuing department corresponding to the early warning message issuing device, and the public key of the early warning message issuing device can be acquired by accessing the alliance chain, so that the condition that the early warning message can be output after signature verification can only be performed by a terminal pre-installed with the public key can be avoided, and the number of terminals successfully issuing the early warning message is increased.
Optionally, the obtaining, according to the name, a blockchain certificate of the warning message issuing device in a federation chain, and obtaining, based on the blockchain certificate, a public key of the warning message issuing device include:
and searching a block chain certificate of the early warning message issuing equipment in a plurality of block chain certificates included in a alliance chain, wherein the block chain certificate comprises a name and a public key of an early warning message issuing department.
The block chain certificate may be searched for a name of an early warning message issuing department, for example: the federation chain can be cached in advance, block chain certificates of all early warning message issuing departments are obtained, so that public keys of all the early warning message issuing departments are obtained, and then the public keys of the early warning message issuing departments corresponding to the early warning message issuing equipment are obtained according to the names in the early warning messages; or, after receiving the warning message, obtaining a blockchain certificate of a corresponding warning message issuing department on a alliance chain according to the name in the warning message, so as to obtain a public key of the warning message issuing department corresponding to the warning message issuing device, which is not limited in this embodiment.
The block chain certificate may be an x.509 certificate based on a self-signature, or may be a certificate based on a custom format. In any certificate format, the blockchain certificate should include the public key of the warning message issuing device, the name of the warning message issuing department corresponding to the warning message issuing device, the validity period of the certificate, the state of the certificate, and the like. And the early warning message issuing equipment generates the block chain certificate, marks the block chain certificate as valid, and then takes the block chain certificate as an accounting node to initiate a transaction, and the node with the accounting right on the alliance chain uses a consensus mechanism to write the block chain certificate into the alliance chain.
In this embodiment, the public key of the warning message issuing device is acquired in a alliance chain by the name of the warning message issuing department corresponding to the warning message issuing device, so that the terminal can acquire the public key of the warning message issuing department corresponding to the warning message issuing device by accessing the alliance chain, signature verification of the warning message is realized, the signature verification of the warning message can be completed by the terminal in the warning message issuing area, the condition that the warning message cannot be verified by a roaming user in another service area is avoided, and the success rate of issuing the warning message to the terminal can be improved.
Optionally, the warning message further includes a count of message sending and a timestamp of message sending;
before the signature verification is performed on the warning message by using the public key in step 103, the warning message output method may further include the following steps:
and acquiring the name of an early warning message issuing department corresponding to the early warning message issuing equipment under the condition that the timestamp accords with a preset range and the count is greater than the count of the early warning message output last time by the terminal.
The early warning message is determined to be replay attack if the time interval is too far, and the early warning message can be determined to be replay attack if the count of the message sending is compared with the count of the early warning message output last time by the terminal, and the early warning message can also be determined to be replay attack if the count of the early warning message at this time is less than or equal to the count of the early warning message output last time, and the early warning message of the replay attack is not output.
In this embodiment, before signature verification is performed on the warning message by using the public key, a timestamp and a count of the warning message are verified, and when the timestamp meets a preset range and the count is greater than a count of the warning message output last time by the terminal, a name of a warning message issuing department corresponding to the warning message issuing device is acquired, and then the public key of the warning message issuing device is acquired according to the name, so that the warning message is verified through the timestamp and the count sent by the message, and replay attack of an attacker can be prevented.
Referring to fig. 2, fig. 2 is a schematic flowchart of an early warning message distribution method provided in an embodiment of the present application. The warning message distribution method shown in fig. 2 may be performed by the warning message issuing apparatus.
As shown in fig. 2, the warning message distribution method may include the following steps:
step 201, signing the early warning message by using a private key.
Step 202, distributing the signed early warning message;
and the public key corresponding to the private key is contained in a block chain certificate, and the block chain certificate is managed through a alliance chain formed by the early warning message issuing equipment and the supervision equipment corresponding to the supervision department.
Optionally, the warning message may include a name of a warning message issuing department corresponding to the warning message issuing device.
Optionally, the method for distributing the early warning message may further include the following steps:
and generating a block chain certificate, and issuing the block chain certificate to a alliance chain, wherein the block chain certificate comprises the name and the public key of an early warning message issuing department corresponding to the early warning message issuing equipment.
Optionally, the warning message may further include a count of message transmissions and a timestamp of message transmissions.
It should be noted that, this embodiment is implemented as an early warning message issuing device corresponding to the foregoing method embodiment, so that reference may be made to relevant descriptions in the foregoing method embodiment, and the same beneficial effects may be achieved. To avoid repetition of the description, the description is omitted.
The various optional implementations described in the embodiments of the present application may be implemented in combination with each other or implemented separately without conflicting with each other, and the embodiments of the present application are not limited to this.
For ease of understanding, examples are illustrated below:
referring to fig. 3, fig. 3 is a block diagram of an alert message output system to which an embodiment of the present application is applicable, and as shown in fig. 3, includes an alert message issuing device 31, an operator network 32, and a user terminal 33.
The plurality of warning message issuing devices 31 have respective corresponding warning message issuing departments.
The warning message output method may include the following processes:
each early warning message issuing device 31 directly uses its own private key to sign the early warning message and sends the early warning message with the signature to the operator network 32, the operator network 32 selects the base station in the corresponding area to perform cell broadcast according to the sending requirement received in the early warning message, and the user terminal 33 performs signature verification on the signed early warning message according to the public key of the early warning message issuing device.
Wherein the transmission requirement is obtainable by the content of the received signed early warning message. For example: the early warning message issuing equipment uses a private key of the equipment to sign the content of the early warning message, and the format of the early warning message issuing equipment is as follows:
MESSAGE|COUNT|TIMESTAMP|NAME|AREA|HASH ALG ID|SIGN ALG ID;
here, | denotes concatenation of information, MESSAGE denotes an alert MESSAGE, COUNT denotes a COUNT of MESSAGE transmission, TIMESTAMP denotes a timestamp when a MESSAGE is transmitted, NAME denotes a NAME of an alert MESSAGE issuing department, AREA denotes a broadcast AREA of an alert MESSAGE, HASH ALG ID denotes a hash algorithm used, SIGN ALG ID denotes a signature algorithm used, the signed alert MESSAGE is as follows:
MESSAGE|COUNT|TIMESTAMP|NAME|AREA|HASH ALG ID|SIGN ALG ID|SIGNATURE;
the SIGNATURE indicates a result obtained by hashing the content to be signed by using a hash algorithm and then signing the hash value.
The broadcast AREA of the warning message indicated by AREA may be understood as a transmission requirement that the operator network 32 selects a base station of a corresponding AREA for cell broadcast.
The signature verification of the signed early warning message by the user terminal 33 according to the public key of the early warning message issuing device 31 may specifically include the following processes: after receiving the signed warning message, the user terminal 33 first verifies whether the timestamp is within an acceptable range, and if so, determines whether the counter is higher than the counter of the warning message received last time, and if so, determines that the warning message is not a replay message; the user terminal 33 then searches the locally stored alliance chain, determines whether the name of the early warning message issuing department can be found, if the name can not be found, the alliance chain is updated from the network, if the name of the early warning message issuing department is found in the updated alliance chain, a corresponding public key can be found, the public key is used for checking and signing the early warning message, if the name is successful, the early warning message is displayed, otherwise, the early warning message is not displayed; and if the name of the early warning message issuing department cannot be found in the updated alliance chain, the early warning message is not displayed. Therefore, the early warning messages can be verified through the matching of the time stamp and the counter, the early warning messages determined as replay messages are not displayed, and an attacker is prevented from replaying the replay attack of the previous round of early warning messages.
The alliance chain may be composed of the warning message issuing device 31 of the warning message issuing department and the supervision device of the supervision department. The public key of the warning message issuing device 31 is written into the alliance chain through an consensus mechanism of the alliance chain in a block chain certificate-based manner, and the user terminal 33 can obtain the public key of the warning message issuing department by accessing the alliance chain, so that the warning message is verified. The warning message issuing device 31 needs to generate a blockchain certificate and mark the blockchain certificate as valid, the warning message issuing device 31 serves as an accounting node to initiate a transaction, and a node with accounting right on the alliance chain uses a consensus mechanism to write the blockchain certificate into the alliance chain. In addition, the user terminal 33 may further include a user terminal registered in another service area, and for a roaming user terminal located in the broadcast area of the warning message, the public key of the warning message publishing device may also be acquired through an access federation chain, so as to implement signature verification on the warning message.
In this embodiment, the warning message issuing device 31 directly uses its own private key to sign the warning message, and sends the signed warning message to the operator network 32, the operator network 32 selects a base station in a corresponding area according to the received broadcast area of the warning message to perform cell broadcast, and the user terminal 33 checks the sign of the warning message according to the public key of the warning message issuing device 31; the public key of the early warning message issuing device 31 is written into the alliance chain through an consensus mechanism of the alliance chain in a block chain certificate-based mode, the user terminal 33 can obtain the public key of the early warning message issuing device 31 through accessing the alliance chain, signature verification of the early warning message is achieved, the identity of the early warning message issuing device and the integrity of the early warning message are determined, a special early warning message management center is not needed to be arranged, and the problems of single point failure and poor responsibility in the prior art can be solved.
Referring to fig. 4, fig. 4 is a block diagram of an early warning message output apparatus according to an embodiment of the present disclosure. As shown in fig. 4, the warning message output apparatus 400 includes:
a receiving module 401, configured to receive an early warning message sent by a network device, where the early warning message is an early warning message signed by an early warning message issuing device using a private key;
a first obtaining module 402, configured to obtain a public key of the early warning message publishing device from a federation chain;
a verification module 403, configured to perform signature verification on the early warning message by using the public key;
an output module 404, configured to output the warning message when the signature verification passes.
Optionally, the warning message includes a name of a warning message issuing department corresponding to the warning message issuing device;
the first obtaining module 402 may be specifically configured to:
and acquiring the public key of the early warning message issuing equipment in a alliance chain according to the name.
Optionally, the obtaining the public key of the warning message publishing device in the federation chain according to the name may include:
and searching a block chain certificate of the early warning message issuing equipment in a plurality of block chain certificates included in a alliance chain, wherein the block chain certificate comprises a name and a public key of an early warning message issuing department.
Optionally, the warning message further includes a count of message sending and a timestamp of message sending;
as shown in fig. 5, the warning message output apparatus 400 may further include:
a second obtaining module 405, configured to obtain a name of the target warning message issuing department when the timestamp meets a preset range and the count is greater than the count of the warning message output last time by the terminal.
The warning message output device 400 can implement each process of the method embodiment in fig. 1 in the embodiment of the present application, and achieve the same beneficial effects, and is not described herein again to avoid repetition.
The warning message output device 500 can implement each process of the method embodiment in fig. 1 in the embodiment of the present application, and achieve the same beneficial effects, and for avoiding repetition, the details are not repeated here.
Referring to fig. 6, fig. 6 is a structural diagram of an early warning message distribution apparatus according to an embodiment of the present application. As shown in fig. 6, the warning message distribution apparatus 600 includes:
the signature module 601 is configured to sign the early warning message by using a private key;
a distribution module 602, configured to distribute the signed early warning message;
wherein the public key corresponding to the private key is contained in the federation chain.
Optionally, the warning message includes a name of a warning message issuing department corresponding to the warning message issuing device.
Optionally, as shown in fig. 7, the warning message distribution apparatus 600 may further include:
a generating module 603, configured to generate a blockchain certificate, and issue the blockchain certificate to a federation chain, where the blockchain certificate includes a name and a public key of an early warning message issuing department corresponding to the early warning message issuing device.
Optionally, the warning message may further include a count of message transmissions and a timestamp of message transmissions.
The early warning message distribution device 600 can implement each process of the method embodiment of fig. 2 in the embodiment of the present application, and achieve the same beneficial effects, and is not described herein again to avoid repetition.
The embodiment of the application also provides communication equipment. Referring to fig. 8, a communication device may include a processor 801, a memory 802, and a program 8021 stored on the memory 802 and executable on the processor 801.
When the communication device is a terminal, the program 8021 may implement any steps in the method embodiment corresponding to fig. 1 and achieve the same beneficial effects when being executed by the processor 801, and is not described herein again.
When the communication device is an early warning message issuing device, the program 8021 may implement any steps in the method embodiment corresponding to fig. 2 and achieve the same beneficial effects when being executed by the processor 801, and is not described herein again.
Those skilled in the art will appreciate that all or part of the steps of the method according to the above embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a readable medium. An embodiment of the present application further provides a readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, any step in the method embodiment corresponding to fig. 1 or fig. 2 may be implemented, and the same technical effect may be achieved, and in order to avoid repetition, details are not repeated here.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the foregoing is directed to the preferred embodiment of the present application, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the principles of the disclosure, and it is intended that such changes and modifications be considered as within the scope of the disclosure.

Claims (12)

1. An early warning message output method is executed by a terminal, and is characterized by comprising the following steps:
receiving an early warning message sent by network equipment, wherein the early warning message is an early warning message signed by early warning message issuing equipment by using a private key;
acquiring a block chain certificate of the early warning message issuing equipment from a alliance chain, and acquiring a public key of the early warning message issuing equipment based on the block chain certificate;
using the public key to perform signature verification on the early warning message;
and outputting the early warning message when the signature verification is passed.
2. The method of claim 1, wherein the warning message includes a name of a warning message issuing department corresponding to the warning message issuing device;
the acquiring a blockchain certificate of the early warning message issuing device from a federation chain and acquiring a public key of the early warning message issuing device based on the blockchain certificate include:
and acquiring the block chain certificate of the early warning message issuing equipment in a alliance chain according to the name, and acquiring the public key of the early warning message issuing equipment based on the block chain certificate.
3. The method of claim 2, wherein the obtaining the blockchain certificate of the warning message issuing device in a federation chain according to the name and obtaining the public key of the warning message issuing device based on the blockchain certificate comprises:
and searching a block chain certificate of the early warning message issuing equipment in a plurality of block chain certificates included in a alliance chain, wherein the block chain certificate comprises a name and a public key of an early warning message issuing department.
4. The method of claim 2, wherein the early warning message further includes a count of message transmissions and a timestamp of message transmissions;
before signature verification of the warning message by using the public key, the method further comprises:
and acquiring the name of an early warning message issuing department corresponding to the early warning message issuing equipment under the condition that the timestamp accords with a preset range and the count is greater than the count of the early warning message output last time by the terminal.
5. An early warning message distribution method executed by an early warning message issuing device, comprising:
signing the early warning message by using a private key;
distributing the signed early warning message;
and the public key corresponding to the private key is contained in a block chain certificate, and the block chain certificate is managed through a alliance chain formed by the early warning message issuing equipment and the supervision equipment corresponding to the supervision department.
6. The method of claim 5, wherein the warning message includes a name of a warning message issuing department to which the warning message issuing device corresponds.
7. The method of claim 6, wherein the method further comprises:
and generating a block chain certificate, and issuing the block chain certificate to a alliance chain, wherein the block chain certificate comprises the name and the public key of an early warning message issuing department corresponding to the early warning message issuing equipment.
8. The method of claim 6, wherein the early warning message further comprises a count of message transmissions and a timestamp of message transmissions.
9. An early warning message output apparatus, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an early warning message sent by network equipment, and the early warning message is signed by early warning message issuing equipment by using a private key;
the first acquisition module is used for acquiring a block chain certificate of the early warning message issuing equipment from a alliance chain and acquiring a public key of the early warning message issuing equipment based on the block chain certificate;
the verification module is used for performing signature verification on the early warning message by using the public key;
and the output module is used for outputting the early warning message under the condition that the signature verification is passed.
10. An early warning message distribution apparatus, comprising:
the signature module is used for signing the early warning message by using a private key;
a distribution module for distributing the signed early warning message;
wherein the public key corresponding to the private key is contained in the federation chain.
11. A communication device, comprising: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; the processor is configured to read a program in a memory to implement the steps in the warning message output method according to any one of claims 1 to 4 or the steps in the warning message distribution method according to any one of claims 5 to 8.
12. A readable storage medium storing a program, wherein the program, when executed by a processor, implements the steps in the warning message output method according to any one of claims 1 to 4 or implements the steps in the warning message distribution method according to any one of claims 5 to 8.
CN202011536910.3A 2020-12-23 2020-12-23 Early warning message output method, early warning message distribution device and related equipment Pending CN114666081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011536910.3A CN114666081A (en) 2020-12-23 2020-12-23 Early warning message output method, early warning message distribution device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011536910.3A CN114666081A (en) 2020-12-23 2020-12-23 Early warning message output method, early warning message distribution device and related equipment

Publications (1)

Publication Number Publication Date
CN114666081A true CN114666081A (en) 2022-06-24

Family

ID=82024313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011536910.3A Pending CN114666081A (en) 2020-12-23 2020-12-23 Early warning message output method, early warning message distribution device and related equipment

Country Status (1)

Country Link
CN (1) CN114666081A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180181739A1 (en) * 2015-08-27 2018-06-28 Alibaba Group Holding Limited Identity authentication using biometrics
CN110601853A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Block chain private key generation method and equipment
CN110677376A (en) * 2018-07-03 2020-01-10 中国电信股份有限公司 Authentication method, related device and system and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180181739A1 (en) * 2015-08-27 2018-06-28 Alibaba Group Holding Limited Identity authentication using biometrics
CN110677376A (en) * 2018-07-03 2020-01-10 中国电信股份有限公司 Authentication method, related device and system and computer readable storage medium
CN110601853A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Block chain private key generation method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王乃洲;金连文;高兵;金晓峰;: "基于区块链技术的身份认证与存储方法研究", 现代信息科技, no. 08, 25 April 2020 (2020-04-25) *

Similar Documents

Publication Publication Date Title
Wang et al. An improved authentication scheme for internet of vehicles based on blockchain technology
Zhang et al. PA-CRT: Chinese remainder theorem based conditional privacy-preserving authentication scheme in vehicular ad-hoc networks
CN109451451B (en) Terminal roaming method, device and storage medium
CN108965469B (en) Dynamic management method, device, equipment and storage medium for members of block chain network
CN101102190A (en) Method for generating local interface secret key
CN109345245A (en) Short-message verification method, equipment, network and storage medium based on block chain
CN109525983B (en) Information processing method and device, and storage medium
CN108924167B (en) Block chain-based network question setting and answering method incapable of being tampered
US20190342382A1 (en) Method and electronic device for supporting artificial participation in decision-making of blockchain
CN104579662B (en) Mobile terminal authentication method and system based on WPKI and timestamp
CN105357242A (en) Method and system for accessing wireless local area network, short message push platform and portal system
CN109845185A (en) A kind of data transmission method, terminal, node device and system
CN111866042B (en) Method and device for synchronizing telecommunication account number change
CN109634615A (en) Dissemination method, verification method and the device of application installation package
CN109905874A (en) The method and system of the autonomous number of selecting based on block chain
CN111182497A (en) V2X anonymous authentication method, device and storage medium
CN111464536B (en) Block chain cross-chain method and device
CN109873881A (en) The method and system of the autonomous number of selecting based on block chain
US20090025062A1 (en) Verifying authenticity of conference call invitees
US9799085B2 (en) Method for producing electronic contracts certified by a user of a telecommunications operator
CN112910663B (en) Method, device, equipment and storage medium for message broadcasting and terminal registration
CN114239072A (en) Block chain node management method and block chain network
CN106230860A (en) The method and apparatus sending Streaming Media
CN109756518B (en) Anti-counterfeiting method based on block chain, terminal and block chain
CN114666081A (en) Early warning message output method, early warning message distribution device and related equipment

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