WO2020108145A1 - 一种报警方法、装置及系统 - Google Patents
一种报警方法、装置及系统 Download PDFInfo
- Publication number
- WO2020108145A1 WO2020108145A1 PCT/CN2019/111522 CN2019111522W WO2020108145A1 WO 2020108145 A1 WO2020108145 A1 WO 2020108145A1 CN 2019111522 W CN2019111522 W CN 2019111522W WO 2020108145 A1 WO2020108145 A1 WO 2020108145A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- alarm
- data
- blockchain
- business order
- business
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Managing shopping lists, e.g. compiling or processing purchase lists
- G06Q30/0635—Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Definitions
- One or more of this specification relates to the field of computer communications, and in particular, to an alarm method, device, and system.
- the police when the user is in danger, they need to call the police.
- the current user mainly calls the police to call the police.
- the police When calling the police, they need to describe their current situation and alarm needs, etc., if necessary, the police may also need to call the third party platform Verify to determine whether and how to alarm, in this process, there is low alarm efficiency, which is not convenient for the police to promptly and quickly alarm, which may cause unnecessary trouble to users.
- the purpose of one or more embodiments of this specification is to provide an alarm method, device, and system that connect both the alarm terminal and the alarm receiving terminal to the blockchain, and the alarm terminal will send the alarm request the plaintext data of the corresponding business order at the first time Stored in the blockchain, this can ensure that the alarm terminal that accesses the blockchain at the same time can view the plain text data in real time, and realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can respond to the alarm request obtained by the alarm terminal
- the clear text data of the business orders are used to alarm in time, which improves the efficiency of the alarm and thus improves the safety of users.
- One or more embodiments of this specification provide an alarm method, which is applied to an alarm terminal connected to a blockchain.
- the method includes:
- the plain text data of the business order corresponding to the alarm request is stored to the blockchain, so that the alarm receiving terminal connected to the blockchain responds to the alarm request based on the plain text data.
- One or more embodiments of this specification provide an alarm method, which is applied to an alarm terminal connected to a blockchain.
- the method includes:
- Order data includes: ciphertext data of business orders and/or plaintext data of business orders;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request;
- One or more embodiments of this specification provide an alarm device, which is provided in an alarm terminal connected to a blockchain, and the device includes:
- the alarm request receiving module is used to receive the alarm request sent by the user terminal;
- An order plaintext determination module used to determine plaintext data of the business order corresponding to the alarm request
- the order plaintext storage module is used to store the plaintext data of the business order corresponding to the alarm request to the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request based on the plaintext data.
- One or more embodiments of this specification provide an alarm device, which is provided at an alarm terminal connected to a blockchain, and the device includes:
- the order data monitoring module is used to monitor the order data of the business order stored in the blockchain, wherein the order data includes: cipher text data of the business order and/or plain text data of the business order;
- the business order determination module is used to determine the business order of the plain text data as the business order corresponding to the alarm request if the plain text data of the business order is stored in the blockchain;
- the alarm request response module is configured to respond to the alarm request based on the plain text data of the business order corresponding to the alarm request.
- One or more embodiments of this specification provide an alarm system, including: an alarm terminal and an alarm receiving terminal; both the alarm terminal and the alarm receiving terminal are connected to a blockchain;
- the alarm terminal is used to receive an alarm request sent by a user terminal; determine the plain text data of the business order corresponding to the alarm request; and store the plain text data of the business order corresponding to the alarm request to the blockchain;
- the alarm terminal is used to monitor the order data of the business order stored in the blockchain, wherein the order data includes: ciphertext data of the business order and/or plaintext data of the business order; if the monitoring is detected If the plaintext data of the business order is stored in the blockchain, the business order of the plaintext data is determined as the business order corresponding to the alarm request; and the plaintext data of the business order corresponding to the alarm request is responded to in response to the alarm request.
- One or more embodiments of this specification provide an alarm device, including: a processor; and
- a memory arranged to store computer-executable instructions, which when executed, causes the processor to:
- the plain text data of the business order corresponding to the alarm request is stored in the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request based on the plain text data.
- One or more embodiments of this specification provide an alarm device, including: a processor; and
- a memory arranged to store computer-executable instructions, which when executed, causes the processor to:
- Order data includes: ciphertext data of business orders and/or plaintext data of business orders;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request;
- One or more embodiments of this specification provide a storage medium for storing computer-executable instructions. When the executable instructions are executed, the following processes are implemented:
- the plain text data of the business order corresponding to the alarm request is stored in the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request based on the plain text data.
- One or more embodiments of this specification provide a storage medium for storing computer-executable instructions, which, when executed, implement the following process:
- Order data includes: ciphertext data of business orders and/or plaintext data of business orders;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request;
- the alarm method, device, and system in one or more embodiments of this specification receive an alarm request sent by a user terminal; determine the plain text data of the business order corresponding to the alarm request; and identify the plain text of the business order corresponding to the determined alarm request
- the data is stored in the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request based on the plain text data.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- FIG. 1 is a schematic diagram of an application scenario of an alarm method provided by one or more embodiments of this specification;
- FIG. 2 is a first schematic flowchart of an alarm method applied to an alarm terminal side provided by one or more embodiments of this specification;
- FIG. 3 is a second schematic flowchart of an alarm method applied to an alarm terminal side provided by one or more embodiments of this specification;
- FIG. 4 is a third schematic flowchart of an alarm method applied to an alarm terminal side provided by one or more embodiments of this specification;
- 5a is a fourth schematic flowchart of an alarm method applied to an alarm terminal side provided by one or more embodiments of this specification;
- 5b is a fifth schematic flowchart of an alarm method applied to an alarm terminal side provided by one or more embodiments of this specification;
- FIG. 6 is a schematic diagram of an implementation principle of an alarm method provided by one or more embodiments of this specification.
- FIG. 7 is a schematic flowchart of an alarm method applied to an alarm terminal side provided by one or more embodiments of this specification;
- FIG. 8 is a schematic diagram of the module composition of an alarm device provided in an alarm terminal provided by one or more embodiments of this specification;
- FIG. 9 is a schematic diagram of a module composition of an alarm device provided in an alarm terminal provided by one or more embodiments of this specification.
- FIG. 10 is a schematic structural composition diagram of an alarm system provided by one or more embodiments of this specification.
- FIG. 11 is a schematic structural diagram of an alarm device provided by one or more embodiments of the present specification.
- One or more embodiments of this specification provide an alarm, device, and system. Both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the Block chain, which can ensure that the alarm terminal that accesses the blockchain at the same time can view the plain text data in real time, and realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can obtain the business order corresponding to the alarm request obtained by the alarm terminal
- the plaintext data of the alarm is timely, which improves the efficiency of the alarm and thus improves the safety of the user.
- FIG. 1 is a schematic diagram of an application scenario of an alarm method provided by one or more embodiments of the present specification.
- the system includes: multiple alarm terminals and multiple alarm receiving terminals, where the alarm terminal may provide business services
- the merchant's server for example, a server that provides a taxi service, a server that provides an order service, etc.
- the alarm terminal may be a background server of a public prosecution agency, where the specific process of the alarm is:
- the alarm terminal receives the alarm request sent by the user terminal, wherein when the user is in distress, the user terminal generates an alarm request based on the user's touch operation on the alarm trigger control on the display interface, and the user terminal sends the alarm request to the alarm terminal, where ,
- the alarm request can carry the order identification
- the alarm terminal After receiving the alarm request, the alarm terminal determines the plaintext data of the business order corresponding to the alarm request, where the plaintext data may be obtained by the alarm terminal decrypting the ciphertext data uploaded to the blockchain in advance, It can also be obtained by querying the plaintext data of the business order corresponding to the alarm request in the local database.
- the alarm terminal taking the decryption of the ciphertext data uploaded to the blockchain to obtain the plaintext data as an example, the alarm terminal directly responds to the alarm Request the corresponding ciphertext data uploaded to the blockchain in advance to be decrypted to obtain plaintext data;
- the alarm terminal stores the identified plaintext data of the business order corresponding to the alarm request to the blockchain, where the alarm terminal decrypts the ciphertext data uploaded to the blockchain in advance to obtain the plaintext data, After the decryption is completed, the plaintext data is stored in the blockchain.
- multiple alarm terminals are connected to the blockchain, and each alarm terminal serves as a node in the blockchain;
- the alarm terminal monitors the order data of the business order stored in the blockchain in real time, where the order data is the data stored in the blockchain by the alarm terminal, and the order data can be the ciphertext of the business order on the alarm terminal chain
- the data can also be the plain text data of the business order corresponding to the alarm request stored in the blockchain when the alarm request is received. Since the alarm terminal and the alarm receiving terminal are both connected to the same blockchain, for the alarm receiving terminal, Able to view the order data stored in the blockchain in real time;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request.
- the plaintext data of the business order is required for the alarm terminal Processed, and the cipher text data of the business order cannot be recognized by the alarm terminal, so as to obtain the plain text data of the monitored business order;
- the alarm receiving terminal responds to the alarm request of the user terminal based on the obtained plain text data of the business order corresponding to the alarm request. Specifically, the alarm receiving terminal can judge the corresponding plain text data of the business order corresponding to the acquired alarm request Whether the alarm request belongs to its alarming range, if it is, generate corresponding alarming information, display the alarming information or issue an alarm based on the alarming information, so that the police can execute the alarming action at the first time, which improves the efficiency of the alarm and thus improves the safety of the user .
- FIG. 2 is a first schematic flowchart of an alarm method provided by one or more embodiments of the present specification.
- the method in FIG. 2 can be executed by an alarm terminal connected to the blockchain in FIG. 1, as shown in FIG. 2,
- the method includes at least the following steps:
- the user terminal may be a car rental terminal or a car owner terminal;
- the user terminal may be a meal ordering terminal Or it can be a food delivery terminal;
- the user terminal can be a buyer terminal or a seller terminal;
- the user can touch the alarm trigger control on the display interface of the user terminal with one touch, and then the user terminal generates an alarm based on the touch operation after detecting the user's touch operation
- the user terminal sends the alarm request to an alarm terminal (ie, a merchant server that provides business services), where the alarm request may carry the order identifier of the business order that requires the alarm.
- an alarm terminal ie, a merchant server that provides business services
- S202 Determine the plaintext data of the business order corresponding to the received alarm request. Specifically, after receiving the alarm request, the alarm terminal can directly upload the password of the business order corresponding to the alarm request to the blockchain in advance. The plaintext data can be decrypted to obtain the plaintext data, and the plaintext data of the business order corresponding to the alarm request can also be queried in the local database.
- the alarm terminal can use either order placing or alarm uploading to upload the business order data to Blockchain, preferably, adopts the method of placing an order and uploading the chain, that is, the generated business order data is hashed and uploaded to the blockchain, so that the traceability of the business order data can be guaranteed, and any business order needs to be used later Data, you can obtain the plaintext data by decrypting the ciphertext data of the corresponding business order in the blockchain;
- S203 Store the plaintext data of the business order corresponding to the determined alarm request to the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request of the user terminal based on the plaintext data;
- the alarm terminal directly decrypts on the blockchain, that is, automatically stores to the blockchain, and for the case of searching for plaintext data in the local database, the alarm The terminal needs to upload the found plaintext data to the blockchain;
- each node accessing the blockchain can obtain the target data.
- Connect the alarm terminal and the alarm terminal to the blockchain specifically:
- the alarm terminal receives the block link-in request; and responds to the block link-in request to access the blockchain, so that the alarm terminal will become a node in the block chain;
- the alarm terminal also receives the block link-in request; and responds to the block link-in request to access the blockchain, so that the alarm terminal will also become a node in the blockchain;
- the alarm receiving terminal connected to the blockchain can automatically obtain the plain text data of the business order corresponding to the alarm request, and then the alarm receiving terminal can obtain The plaintext data of the business order corresponding to the received alarm request, to determine whether the corresponding alarm request belongs to its alarm range, if so, generate the corresponding alarm information, display the alarm information or issue an alarm based on the alarm information, so that the police can execute it in the first time Alarm action.
- both the alarm terminal and the alarm terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal.
- Alarm efficiency thereby improving user safety.
- the plain text data of the business order can be encrypted and then uploaded.
- a business order becomes the business order corresponding to the alarm request, Then decrypt the ciphertext data corresponding to the business order to obtain the corresponding plaintext data.
- S204 Encrypt the plaintext data of the business order to obtain the ciphertext data of the business order.
- the plaintext data of the business order is generated based on the business service provided by the merchant platform to the user.
- the business order is assigned a unique order identifier;
- the alarm terminal when it determines that the business order data satisfies the on-chain conditions, it encrypts the business data.
- the public key can be used to encrypt the plaintext data of the business order. If the plaintext data of the business order needs to be used later, then Use the private key corresponding to the public key to decrypt the ciphertext data of the business order to obtain the plaintext data of the business order;
- the plaintext data of the business order can be encrypted first, and then the encrypted business The ciphertext data of the order is uploaded to the blockchain.
- the ciphertext data of the business order corresponding to the alarm request in the blockchain is decrypted to obtain the plaintext data, which can guarantee The confidentiality of normal business orders can also facilitate the alarm terminal to quickly identify the business order data corresponding to the alarm request.
- the plain text data of the business order includes at least one time-related attribute data, for example, a business order generated for an online taxi service
- the plain text data of the business order includes a driving trajectory
- the driving trajectory is constantly improved over time.
- the driving trajectory is the driving route from the starting position to the destination. Therefore, the driving trajectory in the business order data needs to be updated in real time.
- the above S204 encrypts the plaintext data of the business order to obtain the ciphertext data of the business order, which specifically includes:
- S2041 Determine target preset conditions corresponding to the business order according to the type of the business order, where the preset conditions include: at least one of the first generation of the business order, the execution time of the order reaching a preset threshold, and the completion of the business order; specifically, You can set the correspondence between business order types and target preset conditions;
- S2042 Determine whether the current order execution status of the business order meets the target preset condition corresponding to the business order;
- the target preset condition corresponding to the business order can be determined according to the type of the business order, and then whether the current order execution status of the business order meets the target preset condition can be determined.
- the plaintext data for the business order includes at least one
- the target preset conditions of the business order include: the first generation of the business order, the execution time of the order reaches the preset threshold, and the completion of the business order, that is, when the current order execution status of the business order meets When the order execution time reaches the preset threshold, that is, when the business order data transmission changes, the encrypted ciphertext data of the business order needs to be uploaded to the blockchain;
- the plaintext data of the business order includes at least one time-related attribute data
- the first-time generated business order data needs to be uploaded to the blockchain, but also the time in the business order data needs to be constantly updated Related attribute data
- step S2042 is continued.
- the ciphertext data of the business order corresponding to the alarm request that was uploaded to the blockchain directly can be decrypted to obtain the plaintext data, or Query the plaintext data of the business order corresponding to the alarm request in the local database.
- the ciphertext data of the business order corresponding to the alarm request directly uploaded to the blockchain in advance is decrypted to obtain the plaintext data .
- the above S202 determines the plain text data of the business order corresponding to the received alarm request, which specifically includes:
- the alarm terminal has uploaded the encrypted ciphertext data of the business order to the blockchain when generating the business order
- the user terminal initiates an alarm request for a business order
- it automatically finds and receives the alarm request
- the ciphertext data of the corresponding business order Specifically, when uploading the ciphertext data to the blockchain on the alarm terminal, the business order data needs to be uploaded by hash, so that each business order corresponds to a unique hash value. Therefore, in the blockchain, based on the hash value of the business order corresponding to the alarm request, find the ciphertext data of the business order corresponding to the alarm request;
- the above S202 determines the plaintext data of the business order corresponding to the received alarm request, which specifically includes:
- the data stored in the blockchain is encrypted and cannot be tampered with, it is preferable to use the password of the business order corresponding to the alarm request directly uploaded to the blockchain in advance.
- the plaintext data is decrypted to obtain plaintext data, which can ensure the accuracy of the plaintext data transmitted to the alarm terminal.
- the plain text data for the business order includes: at least one case of time-related attribute data, for example, for the business order generated by the online taxi service, the plain text data of the business order contains the driving trajectory, and the driving trajectory is Continuous improvement over time, when the order is completed, the driving trajectory is the driving route from the starting position to the destination. Therefore, the driving trajectory in the business order data needs to be updated in real time;
- the plaintext data of the business order is encrypted, so when the business order data is sent to change It is also necessary to upload the encrypted ciphertext data of the business order to the blockchain;
- the above S205 uploads the encrypted ciphertext data of the business order to the blockchain, which specifically includes:
- the latest ciphertext data for the same business order is uploaded to the blockchain.
- the user terminal when the business order is being executed, if the user terminal receives an alarm request for the business order, it is necessary to determine the plaintext data of the business order corresponding to the received alarm request at a preset time interval, that is, as long as the area If there is ciphertext data of the business order corresponding to the alarm request on the block chain, it is necessary to decrypt the ciphertext data to obtain plaintext data;
- the above S203 stores the plaintext data of the business order corresponding to the determined alarm request to the blockchain, which specifically includes:
- the latest plaintext data of the business order corresponding to the determined alarm request is stored to the blockchain.
- the alarm terminal needs to select the alarm information belonging to its management. Therefore, in order to reduce the alarm terminal, it is necessary to exclude too many out of its jurisdiction Based on this, if the service area responsible for the alarm terminal connected to the blockchain is the first service area, the service area responsible for the alarm terminal connected to the blockchain is the second service area;
- the first service area and the second service area satisfy the preset positional relationship.
- the first service area and the second service area are the same, for example, the merchant server connected to the blockchain provides business services to users The area is Beijing, so at the same time, connect the back-end server of Beijing’s public prosecution agency to the blockchain.
- the process of triggering the public security organ to obtain the alarm information for the alarm request is specifically:
- the alarm terminals connected to the blockchain include: a merchant terminal that provides online shopping service 1, a merchant terminal 2 that provides online order service, and a merchant terminal 3 that provides online taxi service, etc.
- the alarm terminals connected to the blockchain include: public security terminals;
- each merchant terminal After generating business orders, each merchant terminal encrypts the plaintext data of the business order to obtain the ciphertext data of the business order, and uploads the ciphertext data of the business order to the blockchain;
- the plaintext data of the business order generated by the merchant terminal 2 may include: delivery person identity information, user identity information, order receiving time, delivery address, delivery person current geographic location information, user current geographic location information, etc.; merchant terminal 3
- the generated plaintext data of the business order may include: driver identity information, user identity information, vehicle registration information, order reception time, destination, current geographic location information of the vehicle, and vehicle trajectory information;
- the current geographic location information and vehicle trajectory information of the vehicle change with time. Therefore, the latest ciphertext data for the same business order needs to be uploaded to the blockchain at a preset time interval .
- the merchant terminal 3 After receiving the alarm request sent by the user terminal, the merchant terminal 3 determines the hash value of the business order corresponding to the alarm request, and searches the ciphertext data of the business order corresponding to the alarm request based on the hash value in the blockchain;
- the process of obtaining clear text data for public security terminals includes:
- the public security terminal monitors the order data of the business orders stored in the blockchain in real time, and if it is detected that the plaintext data of the business orders is stored in the blockchain, the business order of the plaintext data is determined as the business order corresponding to the alarm request, where, Since the plaintext data stored in the blockchain is processed by the public security terminal, and the ciphertext data of the business order cannot be recognized by the public security terminal, the plaintext data of the monitored business order is retained;
- the public security terminal responds to the alarm request of the user terminal based on the obtained plain text data of the business order corresponding to the alarm request. Specifically, the public security terminal can determine whether the corresponding alarm request belongs to the plain text data of the business order corresponding to the acquired alarm request The alarm range, if it is, generate corresponding alarm information, display the alarm information or issue an alarm based on the alarm information, so that the police can perform the alarm action at the first time, which improves the efficiency of the alarm and thus improves the safety of the user.
- the alarm method in one or more embodiments of this specification receives the alarm request sent by the user terminal; determines the plain text data of the business order corresponding to the alarm request; stores the plain text data of the business order corresponding to the determined alarm request to the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plain text data.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- FIG. 7 is an example of the alarm method provided by one or more embodiments of this specification. Schematic diagram of the process. The method in FIG. 7 can be executed by an alarm terminal connected to the blockchain. As shown in FIG. 7, the method includes at least the following steps:
- S701 monitoring the order data of the business order stored in the blockchain, wherein the order data includes: ciphertext data of the business order and/or plaintext data of the business order;
- the above order data may be ciphertext data of a business order on the alarm terminal connected to the blockchain, or a business order corresponding to the alarm request stored in the blockchain by the alarm terminal when the alarm request is received
- the plaintext data of the alarm is connected to the same blockchain as the alarm terminal and the alarm terminal.
- the order data stored in the blockchain can also be viewed in real time.
- the plaintext data of the business order corresponding to the alarm request can be stored in the blockchain, and the plaintext data and ciphertext data of the business order corresponding to the alarm request can also be stored at the same time; for normal business orders, that is, for unsent As far as the business order of the alarm request is concerned, only the ciphertext data of the business order is stored in the blockchain;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request;
- the plaintext data of the business order corresponding to the alarm request is processed by the alarm terminal, and the ciphertext data of the business order cannot be recognized by the alarm terminal, when the alarm terminal scans the plaintext data of the business order, the plaintext The business order of the data is determined as the business order corresponding to the alarm request, thereby obtaining the plain text data of the business order corresponding to the alarm request;
- the alarm receiving terminal may determine whether the corresponding alarm request belongs to the plain text data of the business order corresponding to the acquired alarm request.
- the alarm range if it is, generate corresponding alarm information, display the alarm information or issue an alarm based on the alarm information, so that the police can perform the alarm action at the first time, which improves the efficiency of the alarm and thus improves the safety of the user.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can issue alarms in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal Alarm efficiency, thereby improving user safety.
- each node accessing the blockchain can obtain the target data.
- Connect the alarm terminal and the alarm terminal to the blockchain specifically:
- the alarm terminal receives the block link-in request; and responds to the block link-in request to access the blockchain, so that the alarm terminal will become a node in the block chain;
- the alarm terminal also receives the block link-in request; and responds to the block link-in request to access the blockchain, so that the alarm terminal will also become a node in the blockchain;
- the alarm receiving terminal connected to the blockchain can automatically obtain the plain text data of the business order corresponding to the alarm request, and then the alarm receiving terminal can obtain The plaintext data of the business order corresponding to the received alarm request, to determine whether the corresponding alarm request belongs to its alarm range, if so, generate the corresponding alarm information, display the alarm information or issue an alarm based on the alarm information, so that the police can execute it in the first time Alarm action.
- the alarm terminal adopts the method of placing an order and uploading the chain when generating business orders, that is, encrypting and uploading business order data to the blockchain.
- the public prosecution law agency needs to obtain the plaintext data of a business order, it can directly trigger the corresponding alarm terminal to decrypt the ciphertext data on the blockchain to obtain the corresponding plaintext data. Therefore, any business order can be realized.
- the method further includes:
- Step 1 Determine the decryption demand information for the event to be traced, and upload the decryption demand information to the blockchain, where the decryption demand information may include: the order identifier of the business order related to the event to be traced;
- Step 2 Obtain the plaintext data of the business order corresponding to the event to be traced, wherein the plaintext data is obtained by the alarm terminal decrypting the ciphertext data of the business order corresponding to the event to be traced in the blockchain based on the decryption demand information;
- For the alarm terminal obtain the decryption demand information for the event to be traced uploaded by the alarm terminal to the blockchain; and decrypt the ciphertext data of the business order corresponding to the event to be traced in the blockchain based on the decryption demand information Obtain the corresponding plain text data, so that the alarm terminal reads the plain text data of the business order corresponding to the event to be traced from the blockchain.
- the alarm terminal connected to the blockchain After uploading the order identifier of the business order related to the event to be traced to the blockchain, the alarm terminal connected to the blockchain obtains the order identifier of the business order related to the event to be traced, and then according to the order Identify the hash value of the business order, find the ciphertext data of the corresponding business order based on the hash value in the blockchain, and decrypt the ciphertext data found to obtain the plaintext data to store the plaintext data Into the blockchain, so that the alarm terminal connected to the blockchain can monitor and obtain the plaintext data.
- the alarm terminal needs to select the alarm information belonging to its management. Therefore, in order to reduce the alarm terminal, it is necessary to exclude too many out of its jurisdiction Based on this, if the service area responsible for the alarm terminal connected to the blockchain is the first service area, the service area responsible for the alarm terminal connected to the blockchain is the second service area;
- the first service area and the second service area satisfy the preset positional relationship.
- the first service area and the second service area are the same, for example, the merchant server connected to the blockchain provides business services to users The area is Beijing, so at the same time, connect the back-end server of Beijing’s public prosecution agency to the blockchain.
- the alarm method in one or more embodiments of this specification monitors the order data of business orders stored in the blockchain; if the plain text data of the business orders stored in the blockchain is detected, the business order of the plain text data Determine the business order corresponding to the alarm request; respond to the alarm request based on the plain text data of the business order corresponding to the alarm request.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- FIG. 8 provides an alarm device provided by one or more embodiments of this specification.
- a schematic diagram of the module composition of the alarm device on the terminal side is used to execute the alarm method described in FIGS. 2 to 6, as shown in FIG. 8, the device includes:
- the alarm request receiving module 801 is used to receive the alarm request sent by the user terminal;
- the order plaintext determination module 802 is used to determine the plaintext data of the business order corresponding to the alarm request;
- the order plaintext storage module 803 is configured to store the plaintext data of the business order corresponding to the alarm request to the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request based on the plaintext data .
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the above device further includes:
- the order data encryption module is used to encrypt the plaintext data of the business order to obtain the ciphertext data of the business order;
- a ciphertext data uploading module is used to upload the ciphertext data of the business order to the blockchain.
- the above order data encryption module is specifically used for:
- the preset condition includes: at least one of the first generation of the business order, the execution time of the order reaching a preset threshold, and the completion of the business order;
- the plaintext data of the business order is encrypted to obtain the ciphertext data of the business order.
- the above order clear text determination module 802 is specifically used to:
- the above order clear text determination module 802 is also specifically used for:
- the plaintext data of the business order includes: at least one time-related attribute data;
- the ciphertext data upload module is specifically used for:
- the latest ciphertext data for the same business order is uploaded to the blockchain.
- the order plaintext storage module 803 is specifically used for:
- the latest clear text data of the business order corresponding to the determined alarm request is stored to the blockchain.
- the above device further includes:
- Access request receiving module used to receive block link entry request
- the block link-in module is used to access the blockchain in response to the block link-in request.
- the service area responsible for the alarm terminal accessing the blockchain is the first service area, and the service area responsible for the alarm terminal accessing the blockchain is the second service area;
- a preset position relationship is satisfied between the first service area and the second service area.
- the alarm device in one or more embodiments of this specification receives the alarm request sent by the user terminal; determines the plain text data of the business order corresponding to the alarm request; stores the plain text data of the business order corresponding to the determined alarm request to the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plain text data.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- FIG. 9 is provided on the side of the alarm terminal provided by one or more embodiments of this specification A schematic diagram of the module composition of the alarm device.
- the device is used to execute the alarm method described in FIG. 7. As shown in FIG. 9, the device includes:
- the order data monitoring module 901 is used to monitor the order data of the business orders stored in the blockchain, wherein the order data includes: ciphertext data of the business order and/or plaintext data of the business order;
- the business order determination module 902 is configured to determine the business order of the plain text data as the business order corresponding to the alarm request if the plain text data of the business order is stored in the blockchain;
- the alarm request response module 903 is configured to respond to the alarm request based on the plain text data of the business order corresponding to the alarm request.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the above device further includes:
- a decryption demand determination module used to determine the decryption demand information for the event to be traced, and upload the decryption demand information to the blockchain;
- the traceability data acquisition module is used to obtain the plaintext data of the business order corresponding to the event to be traced, wherein the plaintext data is an alarm terminal corresponding to the event to be traced in the blockchain based on the decryption demand information
- the ciphertext data of the business order is obtained by decryption processing.
- the above device further includes:
- Access request receiving module used to receive block link entry request
- the block link-in module is used to access the blockchain in response to the block link-in request.
- the service area responsible for the alarm terminal accessing the blockchain is the first service area, and the service area responsible for the alarm terminal accessing the blockchain is the second service area;
- a preset position relationship is satisfied between the first service area and the second service area.
- the alarm device in one or more embodiments of this specification monitors the order data of the business order stored in the blockchain; if it is detected that the plaintext data of the business order is stored in the blockchain, the plaintext data business order Determine the business order corresponding to the alarm request; respond to the alarm request based on the plain text data of the business order corresponding to the alarm request.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- FIG. 10 is an example of an alarm system provided by one or more embodiments of this specification. Schematic diagram of the structure and composition. The device is used to execute the alarm method described in FIGS. 1 to 7. As shown in FIG. 10, the system includes: an alarm terminal 10 and an alarm terminal 20; the alarm terminal 10 and the alarm terminal 20 are both connected to the block chain;
- the alarm terminal 10 is used to receive an alarm request sent by a user terminal; determine the plain text data of the business order corresponding to the alarm request; and store the plain text data of the business order corresponding to the alarm request to the blockchain;
- the above alarm terminal 20 is used to monitor the order data of the business order stored in the blockchain, wherein the order data includes: the ciphertext data of the business order and/or the plaintext data of the business order; if it is monitored and stored in the blockchain If there is plain text data of the business order, the business order of the plain text data is determined as the business order corresponding to the alarm request; and based on the plain text data of the business order corresponding to the alarm request, the alarm request is responded to.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the user terminal when the user is in distress, the user terminal generates an alarm request based on the user's touch operation on the alarm trigger control on the display interface, and the user terminal sends the alarm request to the alarm terminal, where the alarm request may carry an order identifier;
- the alarm terminal After receiving the alarm request, the alarm terminal determines the plaintext data of the business order corresponding to the alarm request, where the plaintext data may be obtained by the alarm terminal decrypting the ciphertext data uploaded to the blockchain in advance, or It is obtained by querying the plaintext data of the business order corresponding to the alarm request in the local database.
- the plaintext data obtained by directly decrypting the ciphertext data uploaded to the blockchain is taken as an example.
- the alarm terminal directly responds to the alarm request.
- the ciphertext data uploaded to the blockchain in advance is decrypted to obtain plaintext data;
- the alarm terminal stores the determined plaintext data of the business order corresponding to the alarm request to the blockchain, where the decryption is completed when the alarm terminal decrypts the plaintext data uploaded to the blockchain in advance.
- the plaintext data is stored in the blockchain.
- multiple alarm terminals are connected to the blockchain, and each alarm terminal serves as a node in the blockchain;
- the alarm terminal monitors the order data stored in the blockchain in real time, where the order data is the data stored in the blockchain by the alarm terminal.
- the order data can be the ciphertext data of the business order on the alarm terminal, or it can be The plain text data of the business order corresponding to the alarm request stored in the blockchain when the alarm request is received. Since both the alarm terminal and the alarm terminal are connected to the same blockchain, the alarm terminal can also view the area in real time. Order data stored in the blockchain;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request. Among them, since the plaintext data of the business order needs to be processed by the alarming terminal, And the ciphertext data of the business order cannot be recognized by the terminal receiving the alarm, so as to obtain the plaintext data of the monitored business order;
- the alarm receiving terminal responds to the alarm request of the user terminal based on the obtained plain text data of the business order corresponding to the alarm request. Specifically, the alarm receiving terminal can determine whether the corresponding alarm request is based on the plain text data of the business order corresponding to the acquired alarm request It belongs to the scope of its alarm. If it is, it generates corresponding alarm information, displays the alarm information or issues an alarm based on the alarm information, so that the police can perform the alarm action at the first time, which improves the efficiency of the alarm and thus improves the safety of the user.
- the alarm system in one or more embodiments of this specification receives the alarm request sent by the user terminal; determines the plain text data of the business order corresponding to the alarm request; stores the plain text data of the business order corresponding to the determined alarm request to the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plain text data.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- one or more embodiments of this specification also provide an alarm device, which is used to perform the above alarm method, as shown in FIG. 11 As shown.
- the alarm device may have a relatively large difference due to different configurations or performance, and may include one or more processors 1101 and a memory 1102, and the memory 1102 may store one or more stored application programs or data.
- the memory 1102 may be short-term storage or persistent storage.
- the application program stored in the memory 1102 may include one or more modules (not shown), and each module may include a series of computer-executable instructions to the alarm device.
- the processor 1101 may be configured to communicate with the memory 1102 and execute a series of computer-executable instructions in the memory 1102 on the alarm device.
- the alarm device may also include one or more power supplies 1103, one or more wired or wireless network interfaces 1104, one or more input and output interfaces 1105, one or more keyboards 1106, and so on.
- the alarm device includes a memory and one or more programs, where one or more programs are stored in the memory, and one or more programs may include one or more modules, and each The module may include a series of computer-executable instructions to the alarm device and is configured to be executed by one or more processors.
- the one or more programs include computer-executable instructions for:
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the computer-executable instructions are further included:
- the user terminal Before receiving the alarm request sent by the user terminal, it also includes:
- the encryption of the plaintext data of the business order to obtain the ciphertext data of the business order includes:
- the preset condition includes: at least one of the first generation of the business order, the execution time of the order reaching a preset threshold, and the completion of the business order;
- the plaintext data of the business order is encrypted to obtain the ciphertext data of the business order.
- the clear text data of the business order corresponding to the alarm request includes:
- the clear text data of the business order corresponding to the alarm request includes:
- the plaintext data of the business order includes: at least one item of time-related attribute data;
- the uploading of the ciphertext data of the business order to the blockchain includes:
- the latest ciphertext data for the same business order is uploaded to the blockchain.
- the storing of the plaintext data of the business order corresponding to the alarm request to the blockchain includes:
- the latest clear text data of the business order corresponding to the determined alarm request is stored to the blockchain.
- the computer-executable instructions are further included:
- the user terminal Before receiving the alarm request sent by the user terminal, it also includes:
- the service area responsible for the alarm terminal accessing the blockchain is the first service area, and the service area responsible for the alarm terminal accessing the blockchain is Second service area;
- a preset position relationship is satisfied between the first service area and the second service area.
- the alarm device in one or more embodiments of this specification receives the alarm request sent by the user terminal; determines the plain text data of the business order corresponding to the alarm request; stores the plain text data of the business order corresponding to the determined alarm request to the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plain text data.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the alarm device includes a memory and one or more programs, where one or more programs are stored in the memory, and one or more programs may include one or more modules, and each Each module may include a series of computer-executable instructions to the alarm device, and is configured to be executed by one or more processors.
- the one or more programs include the following computer-executable instructions:
- Order data includes: ciphertext data of business orders and/or plaintext data of business orders;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request;
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the computer-executable instructions are further included:
- the method After responding to the alarm request based on the plain text data of the business order corresponding to the alarm request, the method further includes:
- the plaintext data is the ciphertext data of the business order corresponding to the event to be traced in the blockchain based on the decryption demand information by the alarm terminal Decrypted processing.
- the computer-executable instructions are further included:
- the service area responsible for the alarm terminal accessing the blockchain is the first service area, and the service area responsible for the alarm terminal accessing the blockchain is Second service area;
- a preset position relationship is satisfied between the first service area and the second service area.
- the alarm device in one or more embodiments of this specification monitors the order data of the business order stored in the blockchain; if it is detected that the plaintext data of the business order is stored in the blockchain, the plaintext data business order Determine the business order corresponding to the alarm request; respond to the alarm request based on the plain text data of the business order corresponding to the alarm request.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- one or more embodiments of this specification also provide a storage medium for storing computer-executable instructions, a specific implementation
- the storage medium may be a U disk, an optical disk, a hard disk, etc.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can issue alarms in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal Alarm efficiency, thereby improving user safety.
- the user terminal Before receiving the alarm request sent by the user terminal, it also includes:
- the plaintext data of the business order is encrypted to obtain the ciphertext data of the business order, including:
- the preset condition includes: at least one of the first generation of the business order, the execution time of the order reaching a preset threshold, and the completion of the business order;
- the plaintext data of the business order is encrypted to obtain the ciphertext data of the business order.
- the clear text data that determines the business order corresponding to the alarm request includes:
- the clear text data that determines the business order corresponding to the alarm request includes:
- the plaintext data of the business order includes: at least one item of time-related attribute data;
- the uploading of the ciphertext data of the business order to the blockchain includes:
- the latest ciphertext data for the same business order is uploaded to the blockchain.
- the storing of the plaintext data of the business order corresponding to the alarm request to the blockchain includes:
- the latest clear text data of the business order corresponding to the determined alarm request is stored to the blockchain.
- the user terminal Before receiving the alarm request sent by the user terminal, it also includes:
- the service area responsible for the alarm terminal that accesses the blockchain is the first service area, and accesses the alarm of the blockchain
- the service area responsible for the terminal is the second service area
- a preset position relationship is satisfied between the first service area and the second service area.
- the computer-executable instructions stored in the storage medium in one or more embodiments of this specification receive the alarm request sent by the user terminal when executed by the processor; determine the plaintext data of the business order corresponding to the alarm request; The plaintext data of the business order corresponding to the alarm request is stored in the blockchain, so that the alarm terminal connected to the blockchain responds to the alarm request based on the plaintext data.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the storage medium may be a U disk, an optical disk, a hard disk, etc.
- Order data includes: ciphertext data of business orders and/or plaintext data of business orders;
- the business order of the plaintext data is determined as the business order corresponding to the alarm request;
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the method After responding to the alarm request based on the plain text data of the business order corresponding to the alarm request, the method further includes:
- the plaintext data is the ciphertext data of the business order corresponding to the event to be traced in the blockchain based on the decryption demand information by the alarm terminal Decrypted processing.
- the service area responsible for the alarm terminal that accesses the blockchain is the first service area, and accesses the alarm of the blockchain
- the service area responsible for the terminal is the second service area
- a preset position relationship is satisfied between the first service area and the second service area.
- the order data of the business order stored in the blockchain is monitored; if it is detected that the business order is stored in the blockchain
- the plain text data the business order of the plain text data is determined as the business order corresponding to the alarm request; based on the plain text data of the business order corresponding to the alarm request, the alarm request is responded to.
- both the alarm terminal and the alarm receiving terminal are connected to the blockchain, and the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain at the first time, which can ensure the simultaneous
- the alarm terminal connected to the blockchain can view the plain text data in time to realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can send out the alarm in time based on the plain text data of the business order corresponding to the alarm request obtained by the alarm terminal. Alarm efficiency, thereby improving user safety.
- the improvement of a technology can be clearly distinguished from the improvement in hardware (for example, the improvement of circuit structures such as diodes, transistors, and switches) or the improvement in software (the improvement of the process flow).
- the improvement of many methods and processes can be regarded as a direct improvement of the hardware circuit structure.
- Designers almost get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules.
- a programmable logic device Programmable Logic Device, PLD
- PLD Programmable Logic Device
- FPGA Field Programmable Gate Array
- HDL Hardware Description Language
- ABEL Advanced Boolean Expression
- AHDL AlteraHardwareDescriptionLanguage
- Confluence a specific programming language
- CUPL CornellUniversityProgrammingLanguage
- HDCal JHDL (JavaHardwareDescriptionLanguage)
- Lava Lola
- My HDL PALASM
- RHDL RubyLanguageDescription, etc.
- VHDL Very-High-Speed Integrated Circuit Hardware Description
- Verilog Verilog
- the controller may be implemented in any suitable manner, for example, the controller may take a microprocessor or processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor , Logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers and embedded microcontrollers.
- Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory.
- controller in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers and The same function is realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the device for implementing various functions included therein can also be regarded as a structure within the hardware component. Or even, the means for realizing various functions can be regarded as both a software module of an implementation method and a structure within a hardware component.
- the system, device, module or unit explained in the above embodiments may be specifically implemented by a computer chip or entity, or implemented by a product with a certain function.
- a typical implementation device is a computer.
- the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device A combination of any of these devices.
- one or more embodiments of this specification may be provided as a method, system, or computer program product. Therefore, one or more of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more of this specification may employ computer program products implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code form.
- computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device
- These computer program instructions may also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, the instructions
- the device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
- the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
- the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- the memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer-readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
- RAM random access memory
- ROM read only memory
- flash RAM flash random access memory
- Computer-readable media including permanent and non-permanent, removable and non-removable media, can store information by any method or technology.
- the information may be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
- computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
- one or more embodiments of this specification may be provided as a method, system, or computer program product. Therefore, one or more of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, one or more of this specification may employ computer program products implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code form.
- computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
- program modules may also be practiced in a distributed computing environment in which tasks are performed by remote processing devices connected through a communication network.
- program modules may be located in local and remote computer storage media including storage devices.
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Emergency Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Alarm Systems (AREA)
Abstract
一种报警方法、装置及系统,该方法包括:接收用户终端发送的报警请求(S201);确定与该报警请求对应的业务订单的明文数据(S202);将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求(S203)。将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
Description
本说明书一个或多个涉及计算机通信领域,尤其涉及一种报警方法、装置及系统。
目前,随着互联网技术的快速发展,通过互联网进行线上交易已成为人们日常生活中的一部分,例如,通过互联网实现线上打车、线上点餐、线上购物等等,既给人们带来了便利性,同时还可能存在欺诈行为,例如,买家被不良卖家所欺骗,给买家带来一定的经济损失,同时也可能存在着安全性问题,例如,车主的不良行为对打车用户的安全造成一定威胁。
其中,当用户遇险时,需要向警方进行报警,当前用户主要通过拨打警方电话进行报警,报警时,需要还描述自身当前处境和报警需求等等,必要时,警方还可能需要向第三方平台进行核实,来确定是否出警、如何出警,在此过程中,存在报警效率低,不便于警方及时、快速出警,从而可能将给用户带来不必要的麻烦。
因此,需要提供一种及时、高效地针对遇险事件的报警方法。
发明内容
本说明书一个或多个实施例的目的是提供一种报警方法、装置及系统,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
为解决上述技术问题,本说明书一个或多个实施例是这样实现的:
本说明书一个或多个实施例提供了一种报警方法,应用于接入区块链的报警终端,所述方法包括:
接收用户终端发送的报警请求;
确定与所述报警请求对应的业务订单的明文数据;
将所述报警请求对应的业务订单的明文数据存储至所述区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
本说明书一个或多个实施例提供了一种报警方法,应用于接入区块链的接警终端,所述方法包括:
监测所述区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例提供了一种报警装置,设置于接入区块链的报警终端,所述装置包括:
报警请求接收模块,用于接收用户终端发送的报警请求;
订单明文确定模块,用于确定与所述报警请求对应的业务订单的明文数据;
订单明文存储模块,用于将所述报警请求对应的业务订单的明文数据存储至所述区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
本说明书一个或多个实施例提供了一种报警装置,设置于接入区块链的接警终端,所述装置包括:
订单数据监测模块,用于监测所述区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
业务订单确定模块,用于若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
报警请求响应模块,用于基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例提供了一种报警系统,包括:报警终端和接警终端;所述报警终端和所述接警终端均接入区块链;
所述报警终端,用于接收用户终端发送的报警请求;确定与所述报警请求对应的业务订单的明文数据;以及将所述报警请求对应的业务订单的明文数据存储至所述区块 链;
所述接警终端,用于监测所述区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;以及基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例提供了一种报警设备,包括:处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
接收用户终端发送的报警请求;
确定与所述报警请求对应的业务订单的明文数据;
将所述报警请求对应的业务订单的明文数据存储至区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
本说明书一个或多个实施例提供了一种报警设备,包括:处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:
接收用户终端发送的报警请求;
确定与所述报警请求对应的业务订单的明文数据;
将所述报警请求对应的业务订单的明文数据存储至区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令, 所述可执行指令在被执行时实现以下流程:
监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例中的报警方法、装置及系统,接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
为了更清楚地说明本说明书一个或多个实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书一个或多个中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书一个或多个实施例提供的报警方法的应用场景示意图;
图2为本说明书一个或多个实施例提供的应用于报警终端侧的报警方法的第一种流程示意图;
图3为本说明书一个或多个实施例提供的应用于报警终端侧的报警方法的第二种流程示意图;
图4为本说明书一个或多个实施例提供的应用于报警终端侧的报警方法的第三种流程示意图;
图5a为本说明书一个或多个实施例提供的应用于报警终端侧的报警方法的第四种 流程示意图;
图5b为本说明书一个或多个实施例提供的应用于报警终端侧的报警方法的第五种流程示意图;
图6为本说明书一个或多个实施例提供的报警方法的实现原理示意图;
图7为本说明书一个或多个实施例提供的应用于接警终端侧的报警方法的流程示意图;
图8为本说明书一个或多个实施例提供的设置于报警终端的报警装置的模块组成示意图;
图9为本说明书一个或多个实施例提供的设置于接警终端的报警装置的模块组成示意图;
图10为本说明书一个或多个实施例提供的报警系统的结构组成示意图;
图11为本说明书一个或多个实施例提供的报警设备的结构示意图。
为了使本技术领域的人员更好地理解本说明书一个或多个中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一个或多个一部分实施例,而不是全部的实施例。基于本说明书一个或多个中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书一个或多个保护的范围。
本说明书一个或多个实施例提供了一种报警、装置及系统,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
图1为本说明书一个或多个实施例提供的报警方法的应用场景示意图,如图1所示,该系统包括:多个报警终端和多个接警终端,其中,该报警终端可以是提供业务服务的商家服务器,例如,提供打车服务的服务器、提供点餐服务的服务器等等,该接警 终端可以是公检法机构的后台服务器,其中,报警的具体过程为:
(1)报警终端接收用户终端发送的报警请求,其中,当用户遇险时,用户终端基于用户对显示界面上报警触发控件的触控操作生成报警请求,用户终端向报警终端发送该报警请求,其中,该报警请求中可以携带有订单标识;
(2)报警终端在接收到报警请求后,确定与该报警请求对应的业务订单的明文数据,其中,该明文数据可以是报警终端对预先上传至区块链上的密文数据解密得到的,也可以是在本地数据库中查询与报警请求对应的业务订单的明文数据得到的,图1中以直接对上传至区块链的密文数据进行解密得到明文数据为例,报警终端直接对与报警请求对应的预先上传至区块链的密文数据进行解密处理,得到明文数据;
(3)报警终端将确定出的与报警请求对应的业务订单的明文数据存储至区块链,其中,针对报警终端对预先上传至区块链上的密文数据解密得到的明文数据的情况,解密完成即明文数据存储至区块链,另外,该区块链中还接入有多个接警终端,每个接警终端作为该区块链中的一个节点;
(4)接警终端实时监测区块链中存储的业务订单的订单数据,其中,该订单数据为报警终端存储至区块链的数据,该订单数据可以是报警终端上链的业务订单的密文数据,还可以是当接收到报警请求时存储至区块链的与报警请求对应的业务订单的明文数据,由于报警终端与接警终端均接入同一区块链中,对于接警终端而言,也能够实时查看到该区块链中存储的订单数据;
(5)接警终端若监测到区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单,其中,由于业务订单的明文数据为需要接警终端进行处理的,且业务订单的密文数据对于接警终端而言无法识别出来,从而获取监测到的业务订单的明文数据;
(6)接警终端基于获取到的与报警请求对应的业务订单的明文数据,响应用户终端的报警请求,具体的,接警终端可以根据获取到的报警请求对应的业务订单的明文数据,判断对应的报警请求是否属于其出警范围,若是,则生成相应的报警信息,展示该报警信息或者基于该报警信息发出警报,以便警方第一时间执行出警动作,提高了报警效率,从而提高了用户的安全性。
图2为本说明书一个或多个实施例提供的报警方法的第一种流程示意图,图2中的方法能够由图1中的接入区块链的报警终端执行,如图2所示,该方法至少包括以下 步骤:
S201,接收用户终端发送的报警请求,其中,针对线上打车业务而言,该用户终端可以是租车终端、也可以是车主终端;针对线上点餐业务而言,该用户终端可以是订餐终端、也可以是送餐终端;针对线上购物业务而言,该用户终端可以是买家终端、也可以是卖家终端;
具体的,当使用用户终端的用户遇险时,用户可以一键触控用户终端的显示界面上的报警触发控件,此时用户终端在检测到用户的触控操作后,基于该触控操作生成报警请求,用户终端向报警终端(即提供业务服务的商家服务器)发送该报警请求,其中,该报警请求中可以携带有需要请求报警的业务订单的订单标识。
S202,确定与接收到的报警请求对应的业务订单的明文数据,具体的,报警终端在接收到报警请求后,可以直接对其预先上传至区块链上的与报警请求对应的业务订单的密文数据进行解密得到明文数据,也可以在本地数据库中查询报警请求对应的业务订单的明文数据,其中,报警终端可以采用下单上链或报警上链任一种方式,对业务订单数据上传至区块链,优选地,采用下单上链的方式,即将生成的业务订单数据均进行哈希上传至区块链中,这样能够保证业务订单数据的可追溯性,后续需要使用任一业务订单数据,对区块链中对应的业务订单的密文数据进行解密即可获得明文数据;
S203,将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应用户终端的报警请求;
具体的,针对对预先上链的密文数据进行解密得到明文数据的情况,报警终端直接在区块链上解密即自动存储至区块链,而针对在本地数据库中查找明文数据的情况,报警终端需要将查找到的明文数据上传至区块链;
其中,由于针对接入同一个区块链的多个节点,无论哪个节点将目标数据上传到区块链中,接入该区块链的各节点均能够获取到该目标数据,因此,需要预先将报警终端和接警终端均接入区块链中,具体为:
报警终端接收区块链接入请求;并响应于该区块链接入请求接入区块链,这样该报警终端将成为区块链中的一个节点;
以及接警终端也接收区块链接入请求;并响应于该区块链接入请求接入区块链,这样该接警终端也将成为区块链中的一个节点;
在报警终端将报警请求对应的业务订单的明文数据存储至区块链后,接入该区块 链的接警终端能够自动获取到该报警请求对应的业务订单的明文数据,进而接警终端可以根据获取到的报警请求对应的业务订单的明文数据,判断对应的报警请求是否属于其出警范围,若是,则生成相应的报警信息,展示该报警信息或者基于该报警信息发出警报,以便警方第一时间执行出警动作。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
进一步的,考虑到同一区块链中可能接入多个节点,其中两个节点之间可能存在竞争关系,为了保证商家的正常业务订单数据的保密性,以及由于接警终端对密文数据是无法识别的,为了实现便于接警终端快速识别出报警请求对应的业务订单的数据,因此,可以对业务订单的明文数据进行加密后再上传,一旦某一业务订单变为报警请求对应的业务订单后,再对该业务订单对应的密文数据进行解密,得到相应的明文数据,基于此,如图3所示,在S201接收用户终端发送的报警请求之前,还包括:
S204,对业务订单的明文数据进行加密处理,得到该业务订单的密文数据,其中,业务订单的明文数据是基于商家平台对用户提供的业务服务生成的,在生成业务订单时,为每个业务订单分配一个唯一性订单标识;
具体的,报警终端在确定业务订单数据满足上链条件时,对业务数据进行加密处理,可以采用公钥对业务订单的明文数据进行加密处理,后续如果需要使用该业务订单的明文数据时,再利用与公钥对应的私钥对业务订单的密文数据进行解密处理,得到业务订单的明文数据;
S205,将加密得到的业务订单的密文数据上传至区块链,其中,考虑到由于存储至区块链中的数据具有不可篡改、可追溯性,为了便于后续能够对任一业务订单进行追溯,报警终端可以采用下单上链的方式,即将业务订单数据均加密上传至区块链。
本说明书一个或多个实施例中,针对商家采用下单上链的方式,将业务订单数据上传至区块链的情况,可以先对业务订单的明文数据进行加密处理,再将加密得到的业务订单的密文数据上传至区块链中,当接收到用户终端的报警请求后,再对区块链中与报警请求对应的业务订单的密文数据进行解密,得到明文数据,这样既能够保证正常业 务订单的保密性,又能够便于接警终端快速识别出与报警请求对应的业务订单的数据。
进一步的,考虑到可能存在业务订单的明文数据包括至少一项与时间相关的属性数据的情况,例如,针对线上打车业务生成的业务订单,对应的,业务订单的明文数据中包含行驶轨迹,并且该行驶轨迹是随时间不断完善的,当订单完成时行驶轨迹为由起始位置到目的地之间的行驶路线,因此,需要实时更新业务订单数据中的行驶轨迹,基于此,如图4所示,上述S204对业务订单的明文数据进行加密处理,得到该业务订单的密文数据,具体包括:
S2041,根据业务订单的类型确定该业务订单对应的目标预设条件,其中,该预设条件包括:业务订单首次生成、订单执行时间达到预设阈值和业务订单完成中至少一项;具体的,可以设置业务订单类型与目标预设条件之间的对应关系;
S2042,判断业务订单的当前订单执行状态是否满足该业务订单对应的目标预设条件;
具体的,可以先根据业务订单的类型确定该业务订单对应的目标预设条件,再判断该业务订单的当前订单执行状态是否满足目标预设条件,例如,针对在业务订单的明文数据包括至少一项与时间相关的属性数据的情况,该业务订单的目标预设条件包括:业务订单首次生成、订单执行时间达到预设阈值和业务订单完成,也就是说,当业务订单的当前订单执行状态符合订单执行时间达到预设阈值时,即业务订单数据发送变化时也需要将加密后的业务订单的密文数据上传至区块链;
若判断结果为是,则执行S2043,对业务订单的明文数据进行加密处理,得到该业务订单的密文数据;
具体的,针对在业务订单的明文数据包括至少一项与时间相关的属性数据的情况,不仅需要将首次生成的业务订单数据上传至区块链,还需要不断更新该业务订单数据中的与时间相关的属性数据;
若判断结果为否,则判断业务订单是否完成并将业务订单的密文数据上链,若订单未完成,则继续执行步骤S2042。
其中,针对报警终端确定报警请求对应的业务订单的明文数据的过程,可以采用直接对其预先上传至区块链上的与报警请求对应的业务订单的密文数据进行解密得到明文数据,也可以在本地数据库中查询与报警请求对应的业务订单的明文数据,具体的,针对采用直接对其预先上传至区块链上的与报警请求对应的业务订单的密文数据进行 解密得到明文数据的情况,具体为:
如图5a所示,上述S202确定与接收到的报警请求对应的业务订单的明文数据,具体包括:
S2021,在报警终端接入的区块链中,查找与接收到的报警请求对应的业务订单的密文数据;
其中,由于报警终端在生成业务订单时,已将加密后的业务订单的密文数据上传至区块链中,当用户终端针对某一业务订单发起报警请求时,自动查找与接收到的报警请求对应的业务订单的密文数据,具体的,由于在报警终端向区块链上传密文数据时,需要对业务订单数据进行哈希上传,这样每个业务订单对应于一个唯一的哈希值,因此,在区块链中,基于报警请求对应的业务订单的哈希值,查找与该报警请求对应的业务订单的密文数据;
S2022,对查找到的报警请求对应的业务订单的密文数据进行解密处理,得到该报警请求对应的业务订单的明文数据;具体的,在查找到与报警请求对应的业务订单的密文数据后,利用私钥对该密文数据进行解密处理即可得到相应的明文数据。
具体的,针对采用在本地数据库中查询与报警请求对应的业务订单的明文数据的情况,具体为:
如图5b所示,上述S202确定与接收到的报警请求对应的业务订单的明文数据,具体包括:
S2023,确定接收到的报警请求中携带的业务订单的订单标识;
S2024,在本地数据库中,查找与确定出的业务订单的订单标识对应的明文数据;具体的,将查找到的该明文数据确定为与接收到的报警请求对应的业务订单的明文数据,针对报警终端的本地存储有报警请求对应的业务订单的明文数据的情况,可以直接查询到对应的明文数据并将该明文数据上传至区块链。
本说明书一个或多个实施例中,考虑到区块链中存储的数据具有加密、不可篡改性,优选地,采用直接对其预先上传至区块链上的与报警请求对应的业务订单的密文数据进行解密得到明文数据,这样能够保证传输至接警终端的明文数据的准确性。
其中,针对业务订单的明文数据包括:至少一项与时间相关的属性数据的情况,例如,针对线上打车业务生成的业务订单,该业务订单的明文数据中包含行驶轨迹,并 且该行驶轨迹是随时间不断完善的,当订单完成时行驶轨迹为由起始位置到目的地之间的行驶路线,因此,需要实时更新业务订单数据中的行驶轨迹;
在对业务订单的明文数据进行加密的过程中,当业务订单的当前订单执行状态符合订单执行时间达到预设阈值时,均对业务订单的明文数据进行加密处理,因此,业务订单数据发送变化时也需要将加密后的业务订单的密文数据上传至区块链;
对应的,上述S205将加密得到的业务订单的密文数据上传至区块链,具体包括:
按照预设时间间隔,将针对同一业务订单的最新的密文数据上传至区块链。
对应的,当业务订单正在执行过程中,若接收到用户终端针对该业务订单的报警请求,则需要按照预设时间间隔,确定与接收到的报警请求对应的业务订单的明文数据,即只要区块链上存在报警请求对应的业务订单的密文数据,就需要对该密文数据进行解密处理得到明文数据;
对应的,上述S203将确定出的报警请求对应的业务订单的明文数据存储至区块链,具体包括:
按照预设时间间隔,将确定出的报警请求对应的业务订单的最新的明文数据存储至区块链。
进一步的,考虑到区块链上的所有业务订单的明文数据对于接警终端而言均可见,需要接警终端选择归属其管理的报警信息,因此,为了减少接警终端需要排除过多不属于其管辖范围的报警信息,基于此,如果接入区块链的接警终端所负责的服务区域为第一服务区域,接入区块链的报警终端所负责的服务区域为第二服务区域;
对应的,第一服务区域与第二服务区域之间满足预设位置关系,优选的,第一服务区域与第二服务区域相同,例如,接入区块链的商家服务器提供业务服务面向的用户所在区域为北京市,那么同时将北京市的公检法机构的后台服务器接入该区块链中。
在一个具体的实施例中,以与用户终端的报警请求对应的业务订单为线上打车业务生成的业务订单为例,针对该报警请求触发公安机关获取报警信息的过程,具体为:
如图6所示,接入区块链的报警终端包括:提供线上购物服务的商家终端1、提供线上点餐服务的商家终端2、以及提供线上打车服务的商家终端3等等,接入该区块链的接警终端包括:公安终端;
(1)针对订单数据上链的过程,具体包括:
各商家终端在生成业务订单后,对业务订单的明文数据进行加密处理,得到该业务订单的密文数据,并将该业务订单的密文数据上传至区块链;
其中,商家终端2生成的业务订单的明文数据可以包括:配送员身份信息、用户身份信息、接单时间、送货地址、配送员当前地理位置信息、用户当前地理位置信息等等;商家终端3生成的业务订单的明文数据可以包括:司机身份信息、用户身份信息、车辆注册信息、接单时间、目的地、车辆当前地理位置信息、车辆行驶轨迹信息;
另外,对于商家终端3而言,车辆当前地理位置信息、车辆行驶轨迹信息是随时间变化的,因此,需要按照预设时间间隔,将针对同一业务订单的最新的密文数据上传至区块链。
(2)针对业务订单的明文数据的确定过程,具体包括:
商家终端3在接收到用户终端发送的报警请求后,确定该报警请求对应的业务订单的哈希值,在区块链中基于该哈希值,查找报警请求对应的业务订单的密文数据;
对查找到的报警请求对应的业务订单的密文数据进行解密处理,得到与报警请求对应的业务订单的明文数据。
(3)针对公安终端获取明文数据的过程,具体包括:
公安终端实时监测区块链中存储的业务订单的订单数据,若监测到区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单,其中,由于存储在区块链中的明文数据为需要公安终端进行处理的,且业务订单的密文数据对于公安终端而言无法识别出来,因此,保留监测到的业务订单的明文数据;
公安终端基于获取到的报警请求对应的业务订单的明文数据,响应用户终端的报警请求,具体的,公安终端可以根据获取到的报警请求对应的业务订单的明文数据,判断对应的报警请求是否属于其出警范围,若是,则生成相应的报警信息,展示该报警信息或者基于该报警信息发出警报,以便警方第一时间执行出警动作,提高了报警效率,从而提高了用户的安全性。
本说明书一个或多个实施例中的报警方法,接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区 块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
对应上述图2至图6描述的报警方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种报警方法,图7为本说明书一个或多个实施例提供的报警方法的流程示意图,图7中的方法能够由接入区块链的接警终端执行,如图7所示,该方法至少包括以下步骤:
S701,监测区块链中存储的业务订单的订单数据,其中,该订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
具体的,上述订单数据可以是接入区块链的报警终端上链的业务订单的密文数据,还可以是当接收到报警请求时报警终端存储至区块链的与报警请求对应的业务订单的明文数据,由于报警终端与接警终端均接入同一区块链中,对于接警终端而言,也能够实时查看到该区块链中存储的订单数据,其中,针对报警请求对应的业务订单而言,在区块链中可以只存储报警请求对应的业务订单的明文数据,还可以同时存储报警请求对应的业务订单的明文数据和密文数据;对于正常的业务订单而言,即对于未发出报警请求的业务订单而言,在区块链中只存储业务订单的密文数据;
S702,若监测到区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单;
其中,由于报警请求对应的业务订单的明文数据为需要接警终端进行处理的,且业务订单的密文数据对于接警终端而言无法识别出来,当接警终端扫描到业务订单的明文数据,则该明文数据的业务订单确定为报警请求对应的业务订单,从而获取该报警请求对应的业务订单的明文数据;
S703,基于获取到的报警请求对应的业务订单的明文数据,响应用户终端的报警请求,具体的,接警终端可以根据获取到的报警请求对应的业务订单的明文数据,判断对应的报警请求是否属于其出警范围,若是,则生成相应的报警信息,展示该报警信息或者基于该报警信息发出警报,以便警方第一时间执行出警动作,提高了报警效率,从而提高了用户的安全性。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时 接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
其中,由于针对接入同一个区块链的多个节点,无论哪个节点将目标数据上传到区块链中,接入该区块链的各节点均能够获取到该目标数据,因此,需要预先将报警终端和接警终端均接入区块链中,具体为:
报警终端接收区块链接入请求;并响应于该区块链接入请求接入区块链,这样该报警终端将成为区块链中的一个节点;
以及接警终端也接收区块链接入请求;并响应于该区块链接入请求接入区块链,这样该接警终端也将成为区块链中的一个节点;
在报警终端将报警请求对应的业务订单的明文数据存储至区块链后,接入该区块链的接警终端能够自动获取到该报警请求对应的业务订单的明文数据,进而接警终端可以根据获取到的报警请求对应的业务订单的明文数据,判断对应的报警请求是否属于其出警范围,若是,则生成相应的报警信息,展示该报警信息或者基于该报警信息发出警报,以便警方第一时间执行出警动作。
其中,考虑到由于存储至区块链中的数据具有不可篡改、可追溯性,并且报警终端在生成业务订单时采用下单上链的方式,即将业务订单数据均加密上传至区块链,这样后续当公检法机关需要获取某一业务订单的明文数据时,能够直接触发对应的报警终端对区块链上的密文数据进行解密处理,得到相应的明文数据,因此,能够实现对任一业务订单进行追溯,具体的,在S703基于获取到的报警请求对应的业务订单的明文数据,响应用户终端的报警请求之后,还包括:
步骤一,确定针对待追溯事件的解密需求信息,将该解密需求信息上传至区块链,其中,该解密需求信息可以包括:与待追溯事件相关的业务订单的订单标识;
步骤二,获取待追溯事件对应的业务订单的明文数据,其中,该明文数据是报警终端基于解密需求信息对区块链中待追溯事件对应的业务订单的密文数据进行解密处理得到的;
针对报警终端而言,获取接警终端上传至区块链中的针对待追溯事件的解密需求信息;以及基于该解密需求信息对区块链中待追溯事件对应的业务订单的密文数据进行解密处理得到相应的明文数据,以使接警终端从区块链上读取待追溯事件对应的业务订 单的明文数据。
具体的,当将与待追溯事件相关的业务订单的订单标识上传至区块链后,接入该区块链的报警终端获取该与待追溯事件相关的业务订单的订单标识,进而根据该订单标识确定业务订单的哈希值,在区块链中基于该哈希值查找对应的业务订单的密文数据,并对查找到的密文数据进行解密处理得到明文数据,以将该明文数据存储至区块链中,以便接入该区块链的接警终端监测并获取该明文数据。
进一步的,考虑到区块链上的所有业务订单的明文数据对于接警终端而言均可见,需要接警终端选择归属其管理的报警信息,因此,为了减少接警终端需要排除过多不属于其管辖范围的报警信息,基于此,如果接入区块链的接警终端所负责的服务区域为第一服务区域,接入区块链的报警终端所负责的服务区域为第二服务区域;
对应的,第一服务区域与第二服务区域之间满足预设位置关系,优选的,第一服务区域与第二服务区域相同,例如,接入区块链的商家服务器提供业务服务面向的用户所在区域为北京市,那么同时将北京市的公检法机构的后台服务器接入该区块链中。
本说明书一个或多个实施例中的报警方法,监测区块链中存储的业务订单的订单数据;若监测到该区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单;基于该报警请求对应的业务订单的明文数据,响应报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
需要说明的是,本说明书中该实施例与本说明书中上一实施例基于同一构思,因此该实施例的具体实施可以参见前述报警方法的实施,重复之处不再赘述。
对应上述图2至图6描述的报警方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种报警装置,图8为本说明书一个或多个实施例提供的设置于报警终端侧的报警装置的模块组成示意图,该装置用于执行图2至图6描述的报警方法,如图8所示,该装置包括:
报警请求接收模块801,用于接收用户终端发送的报警请求;
订单明文确定模块802,用于确定与所述报警请求对应的业务订单的明文数据;
订单明文存储模块803,用于将所述报警请求对应的业务订单的明文数据存储至所述区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
可选地,上述装置还包括:
订单数据加密模块,用于对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据;
密文数据上传模块,用于将所述业务订单的所述密文数据上传至所述区块链。
可选地,上述订单数据加密模块,具体用于:
判断业务订单的当前订单执行状态是否满足预设条件,其中,所述预设条件包括:业务订单首次生成、订单执行时间达到预设阈值和业务订单完成中至少一项;
若判断结果为是,则对所述业务订单的明文数据进行加密处理,得到所述业务订单的密文数据。
可选地,上述订单明文确定模块802,具体用于:
在所述区块链中,查找与所述报警请求对应的业务订单的密文数据;
对查找到的所述业务订单的所述密文数据进行解密处理,得到与所述报警请求对应的业务订单的明文数据。
可选地,上述订单明文确定模块802,还具体用于:
确定所述报警请求中携带的业务订单的订单标识;
在本地数据库中,查找与所述业务订单的订单标识对应的明文数据。
可选地,所述业务订单的明文数据包括:至少一项与时间相关的属性数据;
对应的,所述密文数据上传模块,具体用于:
按照预设时间间隔,将针对同一业务订单的最新的所述密文数据上传至所述区块链。
对应的,所述订单明文存储模块803,具体用于:
按照预设时间间隔,将确定出的所述报警请求对应的业务订单的最新的所述明文数据存储至区块链。
可选地,上述装置还包括:
接入请求接收模块,用于接收区块链接入请求;
区块链接入模块,用于响应于所述区块链接入请求接入区块链。
可选地,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;
所述第一服务区域与所述第二服务区域之间满足预设位置关系。
本说明书一个或多个实施例中的报警装置,接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
需要说明的是,本说明书中关于设置于报警终端侧的报警装置的实施例与本说明书中关于应用于报警终端侧的报警方法的实施例基于同一构思,因此该实施例的具体实施可以参见前述对应的报警方法的实施,重复之处不再赘述。
对应上述图7描述的报警方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种报警装置,图9为本说明书一个或多个实施例提供的设置于接警终端侧的报警装置的模块组成示意图,该装置用于执行图7描述的报警方法,如图9所示,该装置包括:
订单数据监测模块901,用于监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
业务订单确定模块902,用于若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
报警请求响应模块903,用于基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
可选地,上述装置还包括:
解密需求确定模块,用于确定针对待追溯事件的解密需求信息,将所述解密需求信息上传至所述区块链;
追溯数据获取模块,用于获取所述待追溯事件对应的业务订单的明文数据,其中,所述明文数据是报警终端基于所述解密需求信息对所述区块链中所述待追溯事件对应的业务订单的密文数据进行解密处理得到的。
可选地,上述装置还包括:
接入请求接收模块,用于接收区块链接入请求;
区块链接入模块,用于响应于所述区块链接入请求接入区块链。
可选地,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;
所述第一服务区域与所述第二服务区域之间满足预设位置关系。
本说明书一个或多个实施例中的报警装置,监测区块链中存储的业务订单的订单数据;若监测到该区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单;基于该报警请求对应的业务订单的明文数据,响应报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
需要说明的是,本说明书中关于设置于接警终端侧的报警装置的实施例与本说明 书中关于应用于接警终端侧的报警方法的实施例基于同一构思,因此该实施例的具体实施可以参见前述对应的报警方法的实施,重复之处不再赘述。
对应上述图1至图7描述的报警方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种报警系统,图10为本说明书一个或多个实施例提供的报警系统的结构组成示意图,该装置用于执行图1至图7描述的报警方法,如图10所示,该系统包括:报警终端10和接警终端20;该报警终端10和接警终端20均接入区块链;
上述报警终端10,用于接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;以及将该报警请求对应的业务订单的明文数据存储至上述区块链;
上述接警终端20,用于监测区块链中存储的业务订单的订单数据,其中,该订单数据包括:业务订单的密文数据和/或业务订单的明文数据;若监测到区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单;以及基于该报警请求对应的业务订单的明文数据,响应报警请求。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
具体的,当用户遇险时,用户终端基于用户对显示界面上报警触发控件的触控操作生成报警请求,用户终端向报警终端发送该报警请求,其中,该报警请求中可以携带有订单标识;
报警终端在接收到报警请求后,确定与该报警请求对应的业务订单的明文数据,其中,该明文数据可以是报警终端对预先上传至区块链上的密文数据解密得到的,也可以是在本地数据库中查询与报警请求对应的业务订单的明文数据得到的,图10中以直接对上传至区块链的密文数据进行解密得到明文数据为例,报警终端直接对与报警请求对应的预先上传至区块链的密文数据进行解密处理,得到明文数据;
报警终端将确定出的与报警请求对应的业务订单的明文数据存储至区块链,其中,针对报警终端对预先上传至区块链上的密文数据解密得到的明文数据的情况,解密完成即明文数据存储至区块链,另外,该区块链中还接入有多个接警终端,每个接警终端作为该区块链中的一个节点;
接警终端实时监测区块链中存储的订单数据,其中,该订单数据为报警终端存储至区块链的数据,该订单数据可以是报警终端上链的业务订单的密文数据,还可以是当接收到报警请求时存储至区块链的与报警请求对应的业务订单的明文数据,由于报警终端与接警终端均接入同一区块链中,对于接警终端而言,也能够实时查看到该区块链中存储的订单数据;
接警终端若监测到区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单,其中,由于业务订单的明文数据为需要接警终端进行处理的,且业务订单的密文数据对于接警终端而言无法识别出来,从而获取监测到的业务订单的明文数据;
接警终端基于获取到的与报警请求对应的业务订单的明文数据,响应用户终端的报警请求,具体的,接警终端可以根据获取到的报警请求对应的业务订单的明文数据,判断对应的报警请求是否属于其出警范围,若是,则生成相应的报警信息,展示该报警信息或者基于该报警信息发出警报,以便警方第一时间执行出警动作,提高了报警效率,从而提高了用户的安全性。
本说明书一个或多个实施例中的报警系统,接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
需要说明的是,本说明书中关于报警系统的实施例与本说明书中关于应用于报警终端侧的报警方法和应用于接警终端的实施例基于同一构思,因此该实施例的具体实施可以参见前述对应的报警方法的实施,重复之处不再赘述。
进一步地,对应上述图1至图7所示的方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种报警设备,该设备用于执行上述的报警方法,如图11所示。
报警设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的 处理器1101和存储器1102,存储器1102中可以存储有一个或一个以上存储应用程序或数据。其中,存储器1102可以是短暂存储或持久存储。存储在存储器1102的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对报警设备中的一系列计算机可执行指令。更进一步地,处理器1101可以设置为与存储器1102通信,在报警设备上执行存储器1102中的一系列计算机可执行指令。报警设备还可以包括一个或一个以上电源1103,一个或一个以上有线或无线网络接口1104,一个或一个以上输入输出接口1105,一个或一个以上键盘1106等。
在一个具体的实施例中,报警设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对报警设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
接收用户终端发送的报警请求;
确定与所述报警请求对应的业务订单的明文数据;
将所述报警请求对应的业务订单的明文数据存储至所述区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:
在接收用户终端发送的报警请求之前,还包括:
对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据;
将所述业务订单的所述密文数据上传至所述区块链。
可选地,计算机可执行指令在被执行时,所述对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据,包括:
判断业务订单的当前订单执行状态是否满足预设条件,其中,所述预设条件包括: 业务订单首次生成、订单执行时间达到预设阈值和业务订单完成中至少一项;
若判断结果为是,则对所述业务订单的明文数据进行加密处理,得到所述业务订单的密文数据。
可选地,计算机可执行指令在被执行时,所述确定与所述报警请求对应的业务订单的明文数据,包括:
在所述区块链中,查找与所述报警请求对应的业务订单的密文数据;
对查找到的所述业务订单的所述密文数据进行解密处理,得到与所述报警请求对应的业务订单的明文数据。
可选地,计算机可执行指令在被执行时,所述确定与所述报警请求对应的业务订单的明文数据,包括:
确定所述报警请求中携带的业务订单的订单标识;
在本地数据库中,查找与所述业务订单的订单标识对应的明文数据。
可选地,计算机可执行指令在被执行时,所述业务订单的明文数据包括:至少一项与时间相关的属性数据;
所述将所述业务订单的所述密文数据上传至所述区块链,包括:
按照预设时间间隔,将针对同一业务订单的最新的所述密文数据上传至所述区块链。
可选地,计算机可执行指令在被执行时,所述将所述报警请求对应的业务订单的所述明文数据存储至所述区块链,包括:
按照预设时间间隔,将确定出的所述报警请求对应的业务订单的最新的所述明文数据存储至区块链。
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:
在接收用户终端发送的报警请求之前,还包括:
接收区块链接入请求;
响应于所述区块链接入请求接入区块链。
可选地,计算机可执行指令在被执行时,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;
所述第一服务区域与所述第二服务区域之间满足预设位置关系。
本说明书一个或多个实施例中的报警设备,接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
在另一个具体的实施例中,报警设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对报警设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:
在基于所述报警请求对应的业务订单的明文数据,响应所述报警请求之后,还包括:
确定针对待追溯事件的解密需求信息,将所述解密需求信息上传至所述区块链;
获取所述待追溯事件对应的业务订单的明文数据,其中,所述明文数据是报警终端基于所述解密需求信息对所述区块链中所述待追溯事件对应的业务订单的密文数据进行解密处理得到的。
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:
在监测区块链中存储的业务订单的订单数据之前,还包括:
接收区块链接入请求;
响应于所述区块链接入请求接入区块链。
可选地,计算机可执行指令在被执行时,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;
所述第一服务区域与所述第二服务区域之间满足预设位置关系。
本说明书一个或多个实施例中的报警设备,监测区块链中存储的业务订单的订单数据;若监测到该区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单;基于该报警请求对应的业务订单的明文数据,响应报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
进一步地,对应上述图1至图7所示的方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种存储介质,用于存储计算机可执行指令,一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:
接收用户终端发送的报警请求;
确定与所述报警请求对应的业务订单的明文数据;
将所述报警请求对应的业务订单的明文数据存储至所述区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时 接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:
在接收用户终端发送的报警请求之前,还包括:
对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据;
将所述业务订单的所述密文数据上传至所述区块链。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据,包括:
判断业务订单的当前订单执行状态是否满足预设条件,其中,所述预设条件包括:业务订单首次生成、订单执行时间达到预设阈值和业务订单完成中至少一项;
若判断结果为是,则对所述业务订单的明文数据进行加密处理,得到所述业务订单的密文数据。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述确定与所述报警请求对应的业务订单的明文数据,包括:
在所述区块链中,查找与所述报警请求对应的业务订单的密文数据;
对查找到的所述业务订单的所述密文数据进行解密处理,得到与所述报警请求对应的业务订单的明文数据。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述确定与所述报警请求对应的业务订单的明文数据,包括:
确定所述报警请求中携带的业务订单的订单标识;
在本地数据库中,查找与所述业务订单的订单标识对应的明文数据。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述业务订单的明文数据包括:至少一项与时间相关的属性数据;
所述将所述业务订单的所述密文数据上传至所述区块链,包括:
按照预设时间间隔,将针对同一业务订单的最新的所述密文数据上传至所述区块 链。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述将所述报警请求对应的业务订单的所述明文数据存储至所述区块链,包括:
按照预设时间间隔,将确定出的所述报警请求对应的业务订单的最新的所述明文数据存储至区块链。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:
在接收用户终端发送的报警请求之前,还包括:
接收区块链接入请求;
响应于所述区块链接入请求接入区块链。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;
所述第一服务区域与所述第二服务区域之间满足预设位置关系。
本说明书一个或多个实施例中的存储介质存储的计算机可执行指令在被处理器执行时,接收用户终端发送的报警请求;确定与该报警请求对应的业务订单的明文数据;将确定出的报警请求对应的业务订单的明文数据存储至区块链,以使接入该区块链的接警终端基于该明文数据响应该报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
在另一个具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:
监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;
若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;
基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:
在基于所述报警请求对应的业务订单的明文数据,响应所述报警请求之后,还包括:
确定针对待追溯事件的解密需求信息,将所述解密需求信息上传至所述区块链;
获取所述待追溯事件对应的业务订单的明文数据,其中,所述明文数据是报警终端基于所述解密需求信息对所述区块链中所述待追溯事件对应的业务订单的密文数据进行解密处理得到的。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:
在监测区块链中存储的业务订单的订单数据之前,还包括:
接收区块链接入请求;
响应于所述区块链接入请求接入区块链。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;
所述第一服务区域与所述第二服务区域之间满足预设位置关系。
本说明书一个或多个实施例中的存储介质存储的计算机可执行指令在被处理器执行时,监测区块链中存储的业务订单的订单数据;若监测到该区块链中存储有业务订单的明文数据,则将该明文数据的业务订单确定为报警请求对应的业务订单;基于该报警请求对应的业务订单的明文数据,响应报警请求。本说明书一个或多个实施例中,将报警终端和接警终端均接入区块链中,报警终端第一时间将报警请求对应的业务订单的明 文数据存储至该区块链,这样能够保证同时接入该区块链的接警终端及时查看到该明文数据,实现将用户的报警请求实时传输至接警终端,以便警方基于接警终端获取到的报警请求对应的业务订单的明文数据及时出警,提高了报警效率,从而提高了用户的安全性。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HD Cal、JHDL(Java Hardware Description Language)、Lava、Lola、My HDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等 的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本说明书一个或多个的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书一个或多个是参照根据本说明书一个或多个实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框 图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本说明书一个或多个的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书一个或多个可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任 务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本说明书一个或多个的实施例而已,并不用于限制本说明书一个或多个。对于本领域技术人员来说,本说明书一个或多个可以有各种更改和变化。凡在本说明书一个或多个的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书一个或多个的权利要求范围之内。
Claims (20)
- 一种报警方法,应用于接入区块链的报警终端,所述方法包括:接收用户终端发送的报警请求;确定与所述报警请求对应的业务订单的明文数据;将所述报警请求对应的业务订单的明文数据存储至所述区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
- 根据权利要求1所述的方法,在接收用户终端发送的报警请求之前,还包括:对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据;将所述业务订单的所述密文数据上传至所述区块链。
- 根据权利要求2所述的方法,所述对业务订单的明文数据进行加密处理,得到所述业务订单的密文数据,包括:判断业务订单的当前订单执行状态是否满足预设条件,其中,所述预设条件包括:业务订单首次生成、订单执行时间达到预设阈值和业务订单完成中至少一项;若判断结果为是,则对所述业务订单的明文数据进行加密处理,得到所述业务订单的密文数据。
- 根据权利要求2所述的方法,所述确定与所述报警请求对应的业务订单的明文数据,包括:在所述区块链中,查找与所述报警请求对应的业务订单的密文数据;对查找到的所述业务订单的密文数据进行解密处理,得到与所述报警请求对应的业务订单的明文数据。
- 根据权利要求1所述的方法,所述确定与所述报警请求对应的业务订单的明文数据,包括:确定所述报警请求中携带的业务订单的订单标识;在本地数据库中,查找与所述业务订单的订单标识对应的明文数据。
- 根据权利要求2所述的方法,所述业务订单的明文数据包括:至少一项与时间相关的属性数据;所述将所述业务订单的所述密文数据上传至所述区块链,包括:按照预设时间间隔,将针对同一业务订单的最新的所述密文数据上传至所述区块链。
- 根据权利要求6所述的方法,所述将所述报警请求对应的业务订单的明文数据存储至所述区块链,包括:按照预设时间间隔,将确定出的所述报警请求对应的业务订单的最新的明文数据存 储至区块链。
- 根据权利要求1至7任一项所述的方法,在接收用户终端发送的报警请求之前,还包括:接收区块链接入请求;响应于所述区块链接入请求接入区块链。
- 根据权利要求8所述的方法,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;所述第一服务区域与所述第二服务区域之间满足预设位置关系。
- 一种报警方法,应用于接入区块链的接警终端,所述方法包括:监测所述区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
- 根据权利要求10所述的方法,在基于所述报警请求对应的业务订单的明文数据,响应所述报警请求之后,还包括:确定针对待追溯事件的解密需求信息,将所述解密需求信息上传至所述区块链;获取所述待追溯事件对应的业务订单的明文数据,其中,所述明文数据是报警终端基于所述解密需求信息对所述区块链中所述待追溯事件对应的业务订单的密文数据进行解密处理得到的。
- 根据权利要求10所述的方法,在监测所述区块链中存储的业务订单的订单数据之前,还包括:接收区块链接入请求;响应于所述区块链接入请求接入区块链。
- 根据权利要求12所述的方法,接入所述区块链的接警终端所负责的服务区域为第一服务区域,接入所述区块链的报警终端所负责的服务区域为第二服务区域;所述第一服务区域与所述第二服务区域之间满足预设位置关系。
- 一种报警装置,设置于接入区块链的报警终端,所述装置包括:报警请求接收模块,用于接收用户终端发送的报警请求;订单明文确定模块,用于确定与所述报警请求对应的业务订单的明文数据;订单明文存储模块,用于将所述报警请求对应的业务订单的明文数据存储至所述区 块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
- 一种报警装置,设置于接入区块链的接警终端,所述装置包括:订单数据监测模块,用于监测所述区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;业务订单确定模块,用于若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;报警请求响应模块,用于基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
- 一种报警系统,所述系统包括:报警终端和接警终端;所述报警终端和所述接警终端均接入区块链;所述报警终端,用于接收用户终端发送的报警请求;确定与所述报警请求对应的业务订单的明文数据;以及将所述报警请求对应的业务订单的明文数据存储至所述区块链;所述接警终端,用于监测所述区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;以及基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
- 一种报警设备,所述设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:接收用户终端发送的报警请求;确定与所述报警请求对应的业务订单的明文数据;将所述报警请求对应的业务订单的明文数据存储至区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
- 一种报警设备,所述设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单 确定为报警请求对应的业务订单;基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
- 一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:接收用户终端发送的报警请求;确定与所述报警请求对应的业务订单的明文数据;将所述报警请求对应的业务订单的明文数据存储至区块链,以使接入所述区块链的接警终端基于所述明文数据响应所述报警请求。
- 一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:监测区块链中存储的业务订单的订单数据,其中,所述订单数据包括:业务订单的密文数据和/或业务订单的明文数据;若监测到所述区块链中存储有业务订单的明文数据,则将所述明文数据的业务订单确定为报警请求对应的业务订单;基于所述报警请求对应的业务订单的明文数据,响应所述报警请求。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811434538.8A CN109493564B (zh) | 2018-11-28 | 2018-11-28 | 一种报警方法、装置及系统 |
| CN201811434538.8 | 2018-11-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020108145A1 true WO2020108145A1 (zh) | 2020-06-04 |
Family
ID=65698043
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/111522 Ceased WO2020108145A1 (zh) | 2018-11-28 | 2019-10-16 | 一种报警方法、装置及系统 |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN109493564B (zh) |
| TW (1) | TWI723525B (zh) |
| WO (1) | WO2020108145A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112101289A (zh) * | 2020-09-25 | 2020-12-18 | 北京市商汤科技开发有限公司 | 一种服务提供的方法、装置、计算机设备及存储介质 |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109493564B (zh) * | 2018-11-28 | 2020-06-16 | 阿里巴巴集团控股有限公司 | 一种报警方法、装置及系统 |
| CN110266644B (zh) * | 2019-05-20 | 2021-04-06 | 创新先进技术有限公司 | 结合代码标注与交易类型的收据存储方法和节点 |
| CN110365685A (zh) * | 2019-07-18 | 2019-10-22 | 恒生电子股份有限公司 | 一种数据处理方法、装置、设备及计算机可读存储介质 |
| CN110601891B (zh) * | 2019-09-16 | 2021-12-28 | 腾讯科技(深圳)有限公司 | 一种报警处理的方法以及相关装置 |
| CN110798807B (zh) * | 2019-11-06 | 2020-12-22 | 北京海益同展信息科技有限公司 | 用于记录车辆轨迹的方法、装置、计算机设备和介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107358301A (zh) * | 2017-05-27 | 2017-11-17 | 上海与德科技有限公司 | 一种网约车监控方法及系统、车载监控设备 |
| US20180137465A1 (en) * | 2016-11-11 | 2018-05-17 | International Business Machines Corporation | Smart contract admission check and fault tolerance in a blockchain |
| CN108648079A (zh) * | 2018-05-02 | 2018-10-12 | 北京阿尔山金融科技有限公司 | 区块链节点监控方法、装置及系统 |
| CN108777703A (zh) * | 2018-05-15 | 2018-11-09 | 维沃移动通信有限公司 | 一种基于区块链的异常行为处理方法及系统 |
| CN109493564A (zh) * | 2018-11-28 | 2019-03-19 | 阿里巴巴集团控股有限公司 | 一种报警方法、装置及系统 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2258338C (en) * | 1999-01-11 | 2009-02-24 | Certicom Corp. | Method and apparatus for minimizing differential power attacks on processors |
| JP3996428B2 (ja) * | 2001-12-25 | 2007-10-24 | 松下電器産業株式会社 | 異常検知装置及び異常検知システム |
| TWM248672U (en) * | 2003-07-22 | 2004-11-01 | Wen-Li Jang | Dispatch and anti-thief system for automobile |
| TW200634572A (en) * | 2005-03-17 | 2006-10-01 | Chunghwa Telecom Co Ltd | Central abnormality monitoring and warning method used in satellite positioning taxi dispatching service |
| CN102117532B (zh) * | 2009-12-31 | 2014-03-19 | 厦门雅迅网络股份有限公司 | 一种基于gps系统实现出租车非法聚集预报警的方法 |
| CN107122838B (zh) * | 2017-04-21 | 2021-06-25 | 杭州趣链科技有限公司 | 一种基于区块链技术的智能网约车系统及网约方法 |
| CN107294709A (zh) * | 2017-06-27 | 2017-10-24 | 阿里巴巴集团控股有限公司 | 一种区块链数据处理方法、装置及系统 |
| CN108734931A (zh) * | 2018-05-22 | 2018-11-02 | 海能达通信股份有限公司 | 一种警力调派方法、装置及设备 |
-
2018
- 2018-11-28 CN CN201811434538.8A patent/CN109493564B/zh active Active
-
2019
- 2019-09-03 TW TW108131636A patent/TWI723525B/zh active
- 2019-10-16 WO PCT/CN2019/111522 patent/WO2020108145A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180137465A1 (en) * | 2016-11-11 | 2018-05-17 | International Business Machines Corporation | Smart contract admission check and fault tolerance in a blockchain |
| CN107358301A (zh) * | 2017-05-27 | 2017-11-17 | 上海与德科技有限公司 | 一种网约车监控方法及系统、车载监控设备 |
| CN108648079A (zh) * | 2018-05-02 | 2018-10-12 | 北京阿尔山金融科技有限公司 | 区块链节点监控方法、装置及系统 |
| CN108777703A (zh) * | 2018-05-15 | 2018-11-09 | 维沃移动通信有限公司 | 一种基于区块链的异常行为处理方法及系统 |
| CN109493564A (zh) * | 2018-11-28 | 2019-03-19 | 阿里巴巴集团控股有限公司 | 一种报警方法、装置及系统 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112101289A (zh) * | 2020-09-25 | 2020-12-18 | 北京市商汤科技开发有限公司 | 一种服务提供的方法、装置、计算机设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109493564B (zh) | 2020-06-16 |
| CN109493564A (zh) | 2019-03-19 |
| TW202020816A (zh) | 2020-06-01 |
| TWI723525B (zh) | 2021-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI723525B (zh) | 報警方法、裝置及系統 | |
| CN111539813B (zh) | 业务行为的回溯处理方法、装置、设备及系统 | |
| TWI723261B (zh) | 資料儲存方法、資料查詢方法及裝置 | |
| US11700112B2 (en) | Distributed key caching for encrypted keys | |
| TWI695290B (zh) | 登錄資訊處理方法及設備 | |
| CN114066463B (zh) | 数字物权凭证的生成方法、装置及设备 | |
| WO2021103708A1 (zh) | 基于隐私信息保护的数据查询方法、装置、设备及系统 | |
| TWI686071B (zh) | 密鑰管理方法、裝置及設備 | |
| WO2021209041A1 (zh) | 基于可验证声明的授权处理 | |
| CN111340631A (zh) | 资产转移方法、装置、设备及系统 | |
| WO2021239089A1 (zh) | 交易处理方法、装置、设备及系统 | |
| CN111382980A (zh) | 基于区块链的物流管理方法、装置、设备及系统 | |
| CN110781192B (zh) | 区块链数据的验证方法、装置及设备 | |
| US11120160B2 (en) | Distributed personal data storage and encrypted personal data service based on secure computation | |
| TWI707571B (zh) | 儲存、調用區塊鏈帳戶私鑰的方法及裝置 | |
| US12073705B2 (en) | Separation alerts for notification while traveling | |
| WO2021204067A1 (zh) | 可验证声明的转发、获取 | |
| WO2020052371A1 (zh) | 一种扫码控制方法、装置及系统 | |
| WO2020248602A1 (zh) | 基于区块链的关系绑定方法、装置及设备 | |
| CN111737304A (zh) | 一种区块链数据的处理方法、装置及设备 | |
| US20220385643A1 (en) | End-to-end encryption for location sharing | |
| CN110866274A (zh) | 一种数据融合方法、平台、系统以及数据处理平台 | |
| CN110011807B (zh) | 一种关键信息维护方法及系统 | |
| CN109495464B (zh) | 跟踪应用访问的方法、装置、设备及系统 | |
| CN113792346A (zh) | 一种可信数据处理方法、装置及设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19889152 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19889152 Country of ref document: EP Kind code of ref document: A1 |