TWI723525B - Alarm method, device and system - Google Patents
Alarm method, device and system Download PDFInfo
- Publication number
- TWI723525B TWI723525B TW108131636A TW108131636A TWI723525B TW I723525 B TWI723525 B TW I723525B TW 108131636 A TW108131636 A TW 108131636A TW 108131636 A TW108131636 A TW 108131636A TW I723525 B TWI723525 B TW I723525B
- Authority
- TW
- Taiwan
- Prior art keywords
- alarm
- data
- business order
- order
- blockchain
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR 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; CALCULATING OR 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—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase 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
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
本發明一個或多個實施例提供了一種報警方法、裝置及系統,該方法包括:接收用戶終端發送的報警請求;確定與該報警請求對應的業務訂單的明文資料;將確定出的報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入該區塊鏈的接警終端基於該明文資料回應該報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。One or more embodiments of the present invention provide an alarm method, device, and system. The method includes: receiving an alarm request sent by a user terminal; determining the plaintext data of a business order corresponding to the alarm request; and corresponding to the determined alarm request The plaintext data of the business order is stored in the blockchain, so that the alarm terminal connected to the blockchain can respond to the alarm request based on the plaintext data. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
Description
本發明一個或多個涉及電腦通信領域,尤其涉及一種報警方法、裝置及系統。One or more of the present invention relates to the field of computer communication, in particular to an alarm method, device and system.
目前,隨著網際網路技術的快速發展,透過網際網路進行線上交易已成為人們日常生活中的一部分,例如,透過網際網路實現線上叫車、線上點餐、線上購物等等,既給人們帶來了便利性,同時還可能存在欺詐行為,例如,買家被不良賣家所欺騙,給買家帶來一定的經濟損失,同時也可能存在著安全性問題,例如,車主的不良行為對叫車用戶的安全造成一定威脅。 其中,當用戶遇險時,需要向警方進行報警,當前用戶主要透過撥打警方電話進行報警,報警時,需要還描述自身當前處境和報警需求等等,必要時,警方還可能需要向第三方平臺進行核實,來確定是否出警、如何出警,在此過程中,存在報警效率低,不便於警方及時、快速出警,從而可能將給用戶帶來不必要的麻煩。 因此,需要提供一種及時、高效地針對遇險事件的報警方法。At present, with the rapid development of Internet technology, online transactions through the Internet have become a part of people’s daily lives. For example, online ride-hailing, online ordering, online shopping, etc., are realized through the Internet. People bring convenience, and there may also be fraudulent behaviors. For example, buyers are deceived by bad sellers, which brings certain economic losses to buyers. At the same time, there may also be security problems. For example, the bad behavior of car owners The safety of ride-hailing users poses a certain threat. Among them, when a user is in distress, he needs to report to the police. The current user mainly calls the police to report to the police. When calling the police, he needs to describe his current situation and alarm requirements. If necessary, the police may also need to report to a third-party platform. Check to determine whether and how to issue the police. In this process, the alarm efficiency is low, which is not convenient for the police to issue the police in time and quickly, which may cause unnecessary trouble to the user. Therefore, it is necessary to provide a timely and efficient warning method for distress events.
本發明一個或多個實施例的目的是提供一種報警方法、裝置及系統,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 為解決上述技術問題,本發明一個或多個實施例是這樣實現的: 本發明一個或多個實施例提供了一種報警方法,應用於接入區塊鏈的報警終端,所述方法包括: 接收用戶終端發送的報警請求; 確定與所述報警請求對應的業務訂單的明文資料; 將所述報警請求對應的業務訂單的明文資料儲存至所述區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請求。 本發明一個或多個實施例提供了一種報警方法,應用於接入區塊鏈的接警終端,所述方法包括: 監測所述區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料; 若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單; 基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 本發明一個或多個實施例提供了一種報警裝置,設置於接入區塊鏈的報警終端,所述裝置包括: 報警請求接收模組,用於接收用戶終端發送的報警請求; 訂單明文確定模組,用於確定與所述報警請求對應的業務訂單的明文資料; 訂單明文儲存模組,用於將所述報警請求對應的業務訂單的明文資料儲存至所述區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請求。 本發明一個或多個實施例提供了一種報警裝置,設置於接入區塊鏈的接警終端,所述裝置包括: 訂單資料監測模組,用於監測所述區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料; 業務訂單確定模組,用於若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單; 報警請求回應模組,用於基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 本發明一個或多個實施例提供了一種報警系統,包括:報警終端和接警終端;所述報警終端和所述接警終端均接入區塊鏈; 所述報警終端,用於接收用戶終端發送的報警請求;確定與所述報警請求對應的業務訂單的明文資料;以及將所述報警請求對應的業務訂單的明文資料儲存至所述區塊鏈; 所述接警終端,用於監測所述區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料;若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單;以及基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 本發明一個或多個實施例提供了一種報警設備,包括:處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器: 接收用戶終端發送的報警請求; 確定與所述報警請求對應的業務訂單的明文資料; 將所述報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請求。 本發明一個或多個實施例提供了一種報警設備,包括:處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器: 監測區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料; 若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單; 基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 本發明一個或多個實施例提供了一種儲存介質,用於儲存電腦可執行指令,所述可執行指令在被執行時實現以下流程: 接收用戶終端發送的報警請求; 確定與所述報警請求對應的業務訂單的明文資料; 將所述報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請求。 本發明一個或多個實施例提供了一種儲存介質,用於儲存電腦可執行指令,所述可執行指令在被執行時實現以下流程: 監測區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料; 若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單; 基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 本發明一個或多個實施例中的報警方法、裝置及系統,接收用戶終端發送的報警請求;確定與該報警請求對應的業務訂單的明文資料;將確定出的報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入該區塊鏈的接警終端基於該明文資料回應該報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。The purpose of one or more embodiments of the present invention is to provide an alarm method, device, and system. Both the alarm terminal and the alarm terminal are connected to the blockchain, and the alarm terminal stores the clear text data of the business order corresponding to the alarm request at the first time To the blockchain, it can ensure that the alarm terminal connected to the blockchain at the same time can view the plaintext data in time, and realize the immediate 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 order will be alerted in time, which improves the efficiency of the alarm and thus improves the safety of users. To solve the above technical problems, one or more embodiments of the present invention are implemented as follows: One or more embodiments of the present invention provide an alarm method, which is applied to an alarm terminal connected to a blockchain, and the method includes: Receive the alarm request sent by the user terminal; 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. One or more embodiments of the present invention provide an alarm method, which is applied to an alarm terminal connected to a blockchain, and the method includes: Monitor the order data of the business order stored in the blockchain, where the order data includes: the cipher text data of the business order and/or the plain text data of the business order; If it is monitored that 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; Responding to the alarm request based on the plaintext data of the business order corresponding to the alarm request. One or more embodiments of the present invention provide an alarm device, which is set 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; The order plain text determination module is used to determine the plain text 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 can respond to the alarm request based on the plaintext data . One or more embodiments of the present invention provide an alarm device, which is set in 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, where the order data includes: the ciphertext data of the business order and/or the plaintext data of the business order; The business order determination module is configured to determine that the business order of the clear text data is the business order corresponding to the alarm request if it is monitored that the clear text data of the business order is stored in the blockchain; The alarm request response module is used to respond to the alarm request based on the plaintext data of the business order corresponding to the alarm request. One or more embodiments of the present invention provide an alarm system, including: an alarm terminal and an alarm terminal; both the alarm terminal and the alarm terminal are connected to a blockchain; The alarm terminal is configured to receive an alarm request sent by a user terminal; determine the plaintext data of the service order corresponding to the alarm request; and store the plaintext data of the service 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, where the order data includes: the cipher text data of the business order and/or the plain text data of the business order; 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 based on the plaintext data of the business order corresponding to the alarm request, the alarm request is responded to. One or more embodiments of the present invention provide an alarm device, including: a processor; and A memory arranged to store computer-executable instructions that, when executed, cause the processor to: Receive the alarm request sent by the user terminal; 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. One or more embodiments of the present invention provide an alarm device, including: a processor; and A memory arranged to store computer-executable instructions that, when executed, cause the processor to: Monitor the order data of the business order stored in the blockchain, where the order data includes: the cipher text data of the business order and/or the plain text data of the business order; If it is monitored that 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; Responding to the alarm request based on the plaintext data of the business order corresponding to the alarm request. One or more embodiments of the present invention provide a storage medium for storing computer-executable instructions that, when executed, implement the following processes: Receive the alarm request sent by the user terminal; 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. One or more embodiments of the present invention provide a storage medium for storing computer-executable instructions that, when executed, implement the following processes: Monitor the order data of the business order stored in the blockchain, where the order data includes: the cipher text data of the business order and/or the plain text data of the business order; If it is monitored that 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; Responding to the alarm request based on the plaintext data of the business order corresponding to the alarm request. The alarm method, device and system in one or more embodiments of the present invention receive an alarm request sent by a user terminal; determine the plaintext data of the business order corresponding to the alarm request; and set the plaintext 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 plaintext data. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
為了使本技術領域的人員更好地理解本發明一個或多個中的技術方案,下面將結合本發明一個或多個實施例中的圖式,對本發明一個或多個實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一個或多個一部分實施例,而不是全部的實施例。基於本發明一個或多個中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明一個或多個保護的範圍。 本發明一個或多個實施例提供了一種報警、裝置及系統,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 圖1為本發明一個或多個實施例提供的報警方法的應用場景示意圖,如圖1所示,該系統包括:多個報警終端和多個接警終端,其中,該報警終端可以是提供業務服務的商家伺服器,例如,提供叫車服務的伺服器、提供點餐服務的伺服器等等,該接警終端可以是公檢法機構的後臺伺服器,其中,報警的具體過程為: (1)報警終端接收用戶終端發送的報警請求,其中,當用戶遇險時,用戶終端基於用戶對顯示介面上報警觸發控制項的觸控操作產生報警請求,用戶終端向報警終端發送該報警請求,其中,該報警請求中可以攜帶有訂單標識; (2)報警終端在接收到報警請求後,確定與該報警請求對應的業務訂單的明文資料,其中,該明文資料可以是報警終端對預先上傳至區塊鏈上的密文資料解密得到的,也可以是在本地資料庫中查詢與報警請求對應的業務訂單的明文資料得到的,圖1中以直接對上傳至區塊鏈的密文資料進行解密得到明文資料為例,報警終端直接對與報警請求對應的預先上傳至區塊鏈的密文資料進行解密處理,得到明文資料; (3)報警終端將確定出的與報警請求對應的業務訂單的明文資料儲存至區塊鏈,其中,針對報警終端對預先上傳至區塊鏈上的密文資料解密得到的明文資料的情況,解密完成即明文資料儲存至區塊鏈,另外,該區塊鏈中還接入有多個接警終端,每個接警終端作為該區塊鏈中的一個節點; (4)接警終端即時監測區塊鏈中儲存的業務訂單的訂單資料,其中,該訂單資料為報警終端儲存至區塊鏈的資料,該訂單資料可以是報警終端上鏈的業務訂單的密文資料,還可以是當接收到報警請求時儲存至區塊鏈的與報警請求對應的業務訂單的明文資料,由於報警終端與接警終端均接入同一區塊鏈中,對於接警終端而言,也能夠即時查看到該區塊鏈中儲存的訂單資料; (5)接警終端若監測到區塊鏈中儲存有業務訂單的明文資料,則將該明文資料的業務訂單確定為報警請求對應的業務訂單,其中,由於業務訂單的明文資料為需要接警終端進行處理的,且業務訂單的密文資料對於接警終端而言無法識別出來,從而獲取監測到的業務訂單的明文資料; (6)接警終端基於獲取到的與報警請求對應的業務訂單的明文資料,回應用戶終端的報警請求,具體的,接警終端可以根據獲取到的報警請求對應的業務訂單的明文資料,判斷對應的報警請求是否屬於其出警範圍,若是,則產生相應的報警資訊,展示該報警資訊或者基於該報警資訊發出警報,以便警方第一時間執行出警動作,提高了報警效率,從而提高了用戶的安全性。 圖2為本發明一個或多個實施例提供的報警方法的第一種流程示意圖,圖2中的方法能夠由圖1中的接入區塊鏈的報警終端執行,如圖2所示,該方法至少包括以下步驟: S201,接收用戶終端發送的報警請求,其中,針對線上叫車業務而言,該用戶終端可以是租車終端、也可以是車主終端;針對線上點餐業務而言,該用戶終端可以是訂餐終端、也可以是送餐終端;針對線上購物業務而言,該用戶終端可以是買家終端、也可以是賣家終端;具體的,當使用用戶終端的用戶遇險時,用戶可以一鍵觸控用戶終端的顯示介面上的報警觸發控制項,此時用戶終端在檢測到用戶的觸控操作後,基於該觸控操作產生報警請求,用戶終端向報警終端(即提供業務服務的商家伺服器)發送該報警請求,其中,該報警請求中可以攜帶有需要請求報警的業務訂單的訂單標識。 In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of the present invention, the following will combine the drawings in one or more embodiments of the present invention to compare the technical solutions in one or more embodiments of the present invention. For a clear and complete description, it is obvious that the described embodiments are only a part of one or more embodiments of the present invention, rather than all of the embodiments. Based on one or more embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of one or more of the present invention. One or more embodiments of the present invention provide an alarm, device, and system. 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 in the area as soon as possible. Block chain, which can ensure that the alarm terminal connected to the block chain at the same time can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can obtain the business order based on the alarm request obtained by the alarm terminal. The clear text information is sent to the police in a timely manner, which improves the efficiency of the alarm, thereby improving the safety of the user. Figure 1 is a schematic diagram of an application scenario of an alarm method provided by one or more embodiments of the present invention. As shown in Figure 1, the system includes: multiple alarm terminals and multiple alarm receiving terminals, where the alarm terminal may provide business services The merchant server of, for example, a server that provides car-hailing service, a server that provides meal-ordering services, etc. The alarm terminal can be a back-end server of a public security, prosecution, and legal agency. The specific process of alarming is: (1) The alarm terminal receives the alarm request sent by the user terminal. When the user is in distress, the user terminal generates an alarm request based on the user's touch operation of the alarm trigger control item on the display interface, and the user terminal sends the alarm request to the alarm terminal. Among them, the alarm request may carry an order identifier; (2) 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 can 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. In Figure 1, the plaintext data is obtained by directly decrypting the ciphertext data uploaded to the blockchain as an example. The alarm terminal directly The ciphertext data uploaded to the blockchain corresponding to the alarm request is decrypted to obtain the plaintext data; (3) The alarm terminal stores the determined plaintext data of the business order corresponding to the alarm request to the blockchain, where the alarm terminal decrypts the plaintext data obtained by decrypting the ciphertext data uploaded to the blockchain in advance, After the decryption is completed, the plaintext data is stored in the blockchain. In addition, multiple alarm terminals are connected to the blockchain, and each alarm terminal serves as a node in the blockchain; (4) 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 on the blockchain by the alarm terminal, and the order data can be the cipher text of the business order on the chain of the alarm terminal The data can also be the plaintext data of the business order corresponding to the alarm request that is stored on the blockchain when the alarm request is received. Since the alarm terminal and the alarm terminal are both connected to the same blockchain, for the alarm terminal, it is also Be able to view the order data stored in the blockchain in real time; (5) If the alarm terminal detects that the clear text data of the business order is stored in the blockchain, the business order of the clear text data is determined as the business order corresponding to the alarm request. Among them, the clear text data of the business order requires the alarm terminal to perform Processed and the ciphertext data of the business order cannot be recognized by the alarm terminal, so as to obtain the plaintext data of the monitored business order; (6) The alarm 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 terminal can determine the corresponding information based on the obtained plain text data of the business order corresponding to the alarm request. Whether the alarm request belongs to its alarm range, if so, the corresponding alarm information is generated, the alarm information is displayed or an alarm is issued based on the alarm information, so that the police can execute the alarm action in the first time, improve the alarm efficiency, and improve the safety of the user . Figure 2 is a schematic diagram of the first flow of the alarm method provided by one or more embodiments of the present invention. The method in Figure 2 can be executed by the alarm terminal connected to the blockchain in Figure 1, as shown in Figure 2. The method includes at least the following steps: S201. Receive an alarm request sent by a user terminal. For online car-hailing services, the user terminal may be a car rental terminal or a car owner terminal; for online food ordering services, the user terminal may be a meal ordering terminal, It can also be a food delivery terminal; for online shopping business, the user terminal can be a buyer’s terminal or a seller’s terminal; specifically, when the user using the user terminal is in distress, the user can touch the user terminal with one touch. The alarm trigger control item on the display interface. At this time, after the user terminal detects the user's touch operation, it generates an alarm request based on the touch operation, and the user terminal sends the alarm to the alarm terminal (that is, the merchant server that provides business services) Request, wherein the alarm request may carry the order identifier of the business order that needs to request an alarm.
S202,確定與接收到的報警請求對應的業務訂單的明文資料,具體的,報警終端在接收到報警請求後,可以直接對其預先上傳至區塊鏈上的與報警請求對應的業務訂單的密文資料進行解密得到明文資料,也可以在本地資料庫中查詢報警請求對應的業務訂單的明文資料,其中,報警終端可以採用下單上鏈或報警上鏈任一種方式,對業務訂單資料上傳至區塊鏈,較佳地,採用下單上鏈的方式,即將產生的業務訂單資料均雜湊上傳至區塊鏈中,這樣能夠保證業務訂單資料的可追溯性,後續需要使用任一業務訂單資料,對區塊鏈中對應的業務訂單的密文資料進行解密即可獲得明文資料;S203,將確定出的報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入該區塊鏈的接警終端基於該明文資料回應用戶終端的報警請求;具體的,針對對預先上鏈的密文資料進行解密得到明文資料的情況,報警終端直接在區塊鏈上解密即自動儲存至區塊鏈,而針對在本地資料庫中查找明文資料的情況, 報警終端需要將查找到的明文資料上傳至區塊鏈;其中,由於針對接入同一個區塊鏈的多個節點,無論哪個節點將目標資料上傳到區塊鏈中,接入該區塊鏈的各節點均能夠獲取到該目標資料,因此,需要預先將報警終端和接警終端均接入區塊鏈中,具體為:報警終端接收區塊連接入請求;並回應於該區塊連接入請求接入區塊鏈,這樣該報警終端將成為區塊鏈中的一個節點;以及接警終端也接收區塊連接入請求;並回應於該區塊連接入請求接入區塊鏈,這樣該接警終端也將成為區塊鏈中的一個節點;在報警終端將報警請求對應的業務訂單的明文資料儲存至區塊鏈後,接入該區塊鏈的接警終端能夠自動獲取到該報警請求對應的業務訂單的明文資料,進而接警終端可以根據獲取到的報警請求對應的業務訂單的明文資料,判斷對應的報警請求是否屬於其出警範圍,若是,則產生相應的報警資訊,展示該報警資訊或者基於該報警資訊發出警報,以便警方第一時間執行出警動作。 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 secret of the business order corresponding to the alarm request on the blockchain in advance. The text data is decrypted to obtain the plain text data, and the plain text data of the business order corresponding to the alarm request can also be queried in the local database. Among them, the alarm terminal can upload the business order data to Blockchain, preferably, the way of placing an order on the chain, the business order data that will be generated are all hashed and uploaded to the blockchain, which can ensure the traceability of the business order data, and any business order data needs to be used in the future , Decrypt the ciphertext data of the corresponding business order in the blockchain to obtain the plaintext data; S203, store the plaintext data of the business order corresponding to the determined alarm request to the blockchain, so that the block can be accessed The alarm terminal of the chain responds to the alarm request of the user terminal based on the plaintext data; specifically, for the case of decrypting the pre-chained ciphertext data to obtain the plaintext data, the alarm terminal is directly decrypted on the blockchain and automatically stored in the block. Chain, and for the case of finding plaintext data in the local database, The alarm terminal needs to upload the found plaintext data to the blockchain; among them, because of multiple nodes connected to the same blockchain, no matter which node uploads the target data to the blockchain, access to the blockchain Each node of the can obtain the target data. Therefore, it is necessary to connect the alarm terminal and the alarm terminal to the block chain in advance, specifically: the alarm terminal receives the block connection request; and responds to the block connection request Connect to the block chain, so that the alarm terminal will become a node in the block chain; and the alarm terminal also receives the block connection request; and responds to the block connection request to access the block chain, so that the alarm terminal It will also become a node in the blockchain; after the alarm terminal stores the plaintext data of the business order corresponding to the alarm request to the blockchain, the alarm terminal connected to the blockchain can automatically obtain the service corresponding to the alarm request According to the plaintext data of the order, the alarm terminal can determine whether the corresponding alarm request belongs to its alarm range based on the obtained plaintext data of the business order corresponding to the alarm request. If so, it will generate the corresponding alarm information and display the alarm information or based on it. The alarm information sends out an alarm so that the police can execute the police action as soon as possible.
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 進一步的,考慮到同一區塊鏈中可能接入多個節點,其中兩個節點之間可能存在競爭關係,為了保證商家的正常業務訂單資料的保密性,以及由於接警終端對密文資料是無法識別的,為了實現便於接警終端快速識別出報警請求對應的業務訂單的資料,因此,可以對業務訂單的明文資料進行加密後再上傳,一旦某一業務訂單變為報警請求對應的業務訂單後,再對該業務訂單對應的密文資料進行解密,得到相應的明文資料,基於此,如圖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,基於獲取到的報警請求對應的業務訂單的明文資料,回應用戶終端的報警請求,具體的,接警終端可以根據獲取到的報警請求對應的業務訂單的明文資料,判斷對應的報警請求是否屬於其出警範圍,若是,則產生相應的報警資訊,展示該報警資訊或者基於該報警資訊發出警報,以便警方第一時間執行出警動作,提高了報警效率,從而提高了用戶的安全性。 本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 其中,由於針對接入同一個區塊鏈的多個節點,無論哪個節點將目標資料上傳到區塊鏈中,接入該區塊鏈的各節點均能夠獲取到該目標資料,因此,需要預先將報警終端和接警終端均接入區塊鏈中,具體為:報警終端接收區塊連接入請求;並回應於該區塊連接入請求接入區塊鏈,這樣該報警終端將成為區塊鏈中的一個節點;以及接警終端也接收區塊連接入請求;並回應於該區塊連接入請求接入區塊鏈,這樣該接警終端也將成為區塊鏈中的一個節點;在報警終端將報警請求對應的業務訂單的明文資料儲存至區塊鏈後,接入該區塊鏈的接警終端能夠自動獲取到該報警請求對應的業務訂單的明文資料,進而接警終端可以根據獲取到的報警請求對應的業務訂單的明文資料,判斷對應的報警請求是否屬於其出警範圍,若是,則產生相應的報警資訊,展示該報警資訊或者基於該報警資訊發出警報,以便警方第一時間執行出警動作。 In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety. Further, considering that multiple nodes may be connected to the same blockchain, there may be a competitive relationship between the two nodes, in order to ensure the confidentiality of the normal business order data of the merchant, and because the alarm terminal cannot handle the ciphertext data In order to facilitate the alarm terminal to quickly identify the data of the business order corresponding to the alarm request, the plaintext data of the business order can be encrypted and then uploaded. Once a certain 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. Based on this, as shown in Figure 3, before S201 receives the alarm request sent by the user terminal, it also includes: 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 services provided by the merchant platform to the user. Assign a unique order ID to the business order; Specifically, when the alarm terminal determines that the business order data meets the chain conditions, it encrypts the business data, and can use the public key 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; S205: Upload the encrypted data of the business order to the blockchain, in which, considering that the data stored in the blockchain is non-tamperable and traceable, in order to facilitate subsequent traceability of any business order , The alarm terminal can use the method of placing an order on the chain, that is, encrypting all business order data and uploading it to the blockchain. In one or more embodiments of the present invention, for the situation where the merchant uploads the business order data to the blockchain by placing an order on the chain, 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. After receiving the alarm request from the user terminal, 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 information of the business order corresponding to the alarm request. Further, considering that there may be a situation where the plaintext data of a business order includes at least one time-related attribute data, for example, for a business order generated for an online ride-hailing business, correspondingly, the plaintext data of a business order contains a driving trajectory, And the driving trajectory is constantly improved 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. Based on this, as shown in Figure 4 As shown, the above-mentioned S204 encrypts the plaintext data of the business order to obtain the ciphertext data of the business order, which specifically includes: S2041: Determine the target preset condition corresponding to the business order according to the type of the business order, where the preset condition includes at least one of: the business order is generated for the first time, the order execution time reaches the preset threshold, and the business order is completed; specifically, The corresponding relationship between the business order type and the target preset conditions can be set; S2042: Determine whether the current order execution status of the business order meets the target preset condition corresponding to the business order; Specifically, the target preset condition corresponding to the business order can be determined first according to the type of the business order, and then it can be judged whether the current order execution status of the business order meets the target preset condition, for example, the plaintext data for the business order includes at least one Item and time-related attribute data, the target preset conditions of the business order include: the business order is generated for the first time, the order execution time reaches the preset threshold, and the business order is completed, that is, when the current order execution status of the business order meets the When the order execution time reaches the preset threshold, that is, when the business order data is sent and changed, it is also necessary to upload the encrypted ciphertext data of the business order to the blockchain; If the judgment result is yes, execute S2043 to encrypt the plaintext data of the business order to obtain the ciphertext data of the business order; Specifically, for the case where the plaintext data of the business order includes at least one time-related attribute data, not only the first-generation business order data needs to be uploaded to the blockchain, but also the time and time in the business order data need to be continuously updated. Related attribute information; If the judgment result is no, it is judged whether the business order is completed and the ciphertext data of the business order is uploaded to the chain. If the order is not completed, step S2042 is continued. Among them, for the alarm terminal to determine the plaintext data of the business order corresponding to the alarm request, it can be directly uploaded to the blockchain in advance to decrypt the ciphertext data of the business order corresponding to the alarm request to obtain the plaintext data, or Query the plaintext data of the business order corresponding to the alarm request in the local database. Specifically, for the plaintext data obtained by decrypting the ciphertext data of the business order corresponding to the alarm request directly uploaded to the blockchain in advance The situation, specifically: As shown in Figure 5a, the above S202 determines the plaintext data of the business order corresponding to the received alarm request, which specifically includes: S2021: Search the ciphertext data of the business order corresponding to the received alarm request in the blockchain accessed by the alarm terminal; Among them, because the alarm terminal has uploaded the encrypted ciphertext data of the business order to the blockchain when generating the business order, when the user terminal initiates an alarm request for a certain business order, it will automatically find and receive the alarm request The ciphertext data of the corresponding business order, specifically, because when the alarm terminal uploads the ciphertext data to the blockchain, the business order data needs to be hashed and uploaded, 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, search for the ciphertext data of the business order corresponding to the alarm request; S2022: Decrypt the ciphertext data of the business order corresponding to the found alarm request to obtain the plaintext data of the business order corresponding to the alarm request; specifically, after finding the ciphertext data of the business order corresponding to the alarm request , Use the private key to decrypt the ciphertext data to obtain the corresponding plaintext data. Specifically, for the case of querying the plaintext data of the business order corresponding to the alarm request in the local database, the specifics are as follows: As shown in Figure 5b, the above S202 determines the plaintext data of the business order corresponding to the received alarm request, which specifically includes: S2023: Determine the order identifier of the business order carried in the received alarm request; S2024: Search for the plaintext data corresponding to the determined order identifier of the business order in the local database; specifically, determine the found plaintext data as the plaintext data of the business order corresponding to the received alarm request. If the local storage area of the alarm terminal has the plaintext data of the business order corresponding to the alarm request, the corresponding plaintext data can be directly inquired and uploaded to the blockchain. In one or more embodiments of the present invention, considering that the data stored in the blockchain is encrypted and non-tamperable, it is preferable to directly upload the information to the business order corresponding to the alarm request on the blockchain in advance. The ciphertext data is decrypted to obtain the plaintext data, which can ensure the accuracy of the plaintext data transmitted to the alarm terminal. Wherein, the plaintext data for the business order includes: at least one item of time-related attribute data, for example, for a business order generated for an online ride-hailing business, the plaintext data of the business order contains a driving trajectory, and the driving trajectory is Continuously improving 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; In the process of encrypting the plaintext data of the business order, when the current order execution status of the business order meets the order execution time and reaches the preset threshold, the plaintext data of the business order is encrypted. Therefore, when the business order data is sent changes It is also necessary to upload the encrypted data of the business order to the blockchain; Correspondingly, the above-mentioned S205 uploads the encrypted data of the business order to the blockchain, which specifically includes: According to the preset time interval, upload the latest ciphertext data for the same business order to the blockchain. Correspondingly, when the service order is being executed, if an alarm request from the user terminal for the service order is received, it is necessary to determine the plaintext data of the service order corresponding to the received alarm request at a preset time interval, that is, as long as the area The ciphertext data of the business order corresponding to the alarm request exists on the block chain, and the ciphertext data needs to be decrypted to obtain the plaintext data; Correspondingly, the above S203 stores the plaintext data of the business order corresponding to the determined alarm request to the blockchain, which specifically includes: According to the preset time interval, the latest plaintext data of the business order corresponding to the determined alarm request is stored in the blockchain. Further, considering that the plaintext data of all business orders on the blockchain are visible to the alarm terminal, the alarm terminal needs to select the alarm information that belongs to its management. Therefore, in order to reduce the alarm terminal, it is necessary to exclude too many items that do not belong to its jurisdiction. Alarm information, based on this, if the service area of the alarm terminal connected to the blockchain is the first service area, and the service area of the alarm terminal connected to the blockchain is the second service area; Correspondingly, the preset location relationship between the first service area and the second service area is satisfied. Preferably, the first service area is the same as the second service area. For example, a merchant server connected to the blockchain provides business services for The user's area is Beijing, so at the same time, the back-end server of the public security agency in Beijing is connected to the blockchain. In a specific embodiment, taking the service order corresponding to the alarm request of the user terminal as the service order generated by the online car-hailing service as an example, the alarm request triggers the process of obtaining alarm information by the police agency, which is specifically: As shown in Figure 6, the alarm terminals connected to the blockchain include: merchant terminals that provide online shopping services 1, merchant terminals that provide online food ordering services 2, and merchant terminals that provide online ride-hailing services 3, etc. The alarm terminal of the blockchain includes: police terminal; (1) For the process of order data on the chain, specifically including: After generating a business order, each merchant terminal encrypts the plaintext data of the business order, obtains the ciphertext data of the business order, and uploads the ciphertext data of the business order to the blockchain; Among them, the plaintext data of the business order generated by the merchant terminal 2 may include: delivery person identity information, user identity information, order time, delivery address, current location information of the delivery person, current location information of the user, etc.; merchant terminal 3 The plain text data of the generated business order may include: driver identity information, user identity information, vehicle registration information, order time, destination, vehicle current geographic location information, and vehicle trajectory information; In addition, for the merchant terminal 3, the current geographic location information of the vehicle and the vehicle trajectory information change over time. Therefore, it is necessary to upload the latest ciphertext data for the same business order to the blockchain at a preset time interval. . (2) The process of determining the plaintext data of the business order includes: 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 cipher text data of the business order corresponding to the alarm request in the blockchain based on the hash value; The ciphertext data of the business order corresponding to the found alarm request is decrypted, and the plaintext data of the business order corresponding to the alarm request is obtained. (3) The process of obtaining plaintext information for the police terminal includes: The police terminal monitors the order data of the business order stored in the blockchain in real time. If it detects that the plaintext data of the business order is stored in the blockchain, the business order with the plaintext data is determined as the business order corresponding to the alarm request, where, Since the plaintext data stored in the blockchain needs to be processed by the police terminal, and the ciphertext data of the business order cannot be identified by the police terminal, the plaintext data of the monitored business order is retained; The police terminal responds to the alarm request of the user terminal based on the plaintext data of the business order corresponding to the acquired alarm request. Specifically, the police terminal can determine whether the corresponding alarm request belongs to the plaintext data of the business order corresponding to the acquired alarm request. If the alarm range is true, corresponding alarm information is generated, the alarm information is displayed or an alarm is issued based on the alarm information, so that the police can execute the alarm action in the first time, improve the alarm efficiency, and improve the safety of the user. The alarm method in one or more embodiments of the present invention receives an alarm request sent by a user terminal; determines the plaintext data of the business order corresponding to the alarm request; stores the plaintext data of the business order corresponding to the determined alarm request in the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plaintext data. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety. Corresponding to the alarm method described in FIGS. 2 to 6 above, based on the same technical concept, one or more embodiments of the present invention also provide an alarm method. FIG. 7 is a flow chart of the alarm method provided by one or more embodiments of the present invention. As a schematic diagram, the method in Fig. 7 can be executed by an alarm terminal connected to the blockchain. As shown in Fig. 7, the method at least includes the following steps: S701, monitoring the order data of the business order stored in the blockchain, where the order data includes: the ciphertext data of the business order and/or the plaintext data of the business order; Specifically, the aforementioned order information can be the cipher text data of the business order on the chain of the alarm terminal connected to the blockchain, or the business order corresponding to the alarm request that the alarm terminal stores on the blockchain when the alarm request is received. Because the alarm terminal and the alarm terminal are both connected to the same blockchain, the alarm terminal can also instantly view the order data stored in the blockchain. Among them, the business order corresponding to the alarm request In other words, in the blockchain, only the plain text data of the business order corresponding to the alarm request can be stored, and the plain text data and the cipher text 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 For the business order requested by the alarm, only the ciphertext data of the business order is stored in the blockchain; S702: If it is detected that 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; Among them, because the clear text data of the business order corresponding to the alarm request needs to be processed by the alarm terminal, and the cipher text data of the business order cannot be recognized by the alarm terminal, when the alarm terminal scans the clear text data of the business order, the plain text The business order of the data is determined as the business order corresponding to the alarm request, so as to obtain the plaintext data of the business order corresponding to the alarm request; S703: Based on the obtained plaintext data of the business order corresponding to the alarm request, respond to the alarm request of the user terminal. Specifically, the alarm receiving terminal may determine whether the corresponding alarm request belongs to the plaintext data of the business order corresponding to the obtained alarm request. If the alarm range is true, corresponding alarm information is generated, the alarm information is displayed or an alarm is issued based on the alarm information, so that the police can execute the alarm action in the first time, improve the alarm efficiency, and improve the safety of the user. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety. Among them, since for multiple nodes connected to the same blockchain, no matter which node uploads the target data to the blockchain, each node connected to the blockchain can obtain the target data, therefore, it is necessary to Connect both the alarm terminal and the alarm terminal to the block chain, specifically: the alarm terminal receives the block connection request; and responds to the block connection request to connect to the block chain, so that the alarm terminal will become the block chain And the alarm terminal also receives the block connection request; and responds to the block connection request to access the blockchain, so that the alarm terminal will also become a node in the blockchain; the alarm terminal will After the plaintext data of the business order corresponding to the alarm request is stored in the blockchain, the alarm terminal connected to the blockchain can automatically obtain the plaintext data of the business order corresponding to the alarm request, and then the alarm terminal can follow the obtained alarm request According to the plaintext data of the corresponding business order, it is determined whether the corresponding alarm request belongs to its alarm range, and if so, the corresponding alarm information is generated, the alarm information is displayed or an alarm is issued based on the alarm information, so that the police can execute the alarm action as soon as possible.
其中,考慮到由於儲存至區塊鏈中的資料具有不可篡改、可追溯性,並且報警終端在產生業務訂單時採用下單上鏈的方式,即將業務訂單資料均加密上傳至區塊鏈,這樣後續當公檢法機關需要獲取某一業務訂單的明文資料時,能夠直接觸發對應的報警終端對區塊鏈上的密文資料進行解密處理,得到相應的明文資料,因此,能夠實現對任一業務訂單進行追溯,具體的,在S703基於獲取到的報警請求對應的業務訂單的明文資料,回應用戶終端的報警請求之後,還包括: 步驟一,確定針對待追溯事件的解密需求資訊,將該解密需求資訊上傳至區塊鏈,其中,該解密需求資訊可以包括:與待追溯事件相關的業務訂單的訂單標識;步驟二,獲取待追溯事件對應的業務訂單的明文資料,其中,該明文資料是報警終端基於解密需求資訊對區塊鏈中待追溯事件對應的業務訂單的密文資料進行解密處理得到的;針對報警終端而言,獲取接警終端上傳至區塊鏈中的針對待追溯事件的解密需求資訊;以及基於該解密需求資訊對區塊鏈中待追溯事件對應的業務訂單的密文資料進行解密處理得到相應的明文資料,以使接警終端從區塊鏈上讀取待追溯事件對應的業務訂單的明文資料。 Among them, considering that the data stored in the blockchain is non-tamperable and traceable, and the alarm terminal uses the method of placing an order on the chain when generating a business order, that is, encrypting the business order data and uploading it to the blockchain, so Later, when the public security, procuratorate and legal agencies need to obtain the plaintext data of a certain business order, they can directly trigger the corresponding alarm terminal to decrypt the ciphertext data on the blockchain to obtain the corresponding plaintext data. Therefore, it can realize any business order Traceability, specifically, after S703 responds to the alarm request of the user terminal based on the plaintext data of the business order corresponding to the obtained alarm request, it also 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; The plaintext data of the business order corresponding to the traceable event, where the plaintext data is obtained by the alarm terminal by 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 requirement 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 requirement information to obtain the corresponding plaintext data, This allows the alarm terminal to read the plaintext data of the business order corresponding to the event to be traced from the blockchain.
具體的,當將與待追溯事件相關的業務訂單的訂單標識上傳至區塊鏈後,接入該區塊鏈的報警終端獲取該與待追溯事件相關的業務訂單的訂單標識,進而根據該訂單標識確定業務訂單的雜湊值,在區塊鏈中基於該雜湊值查找對應的業務訂單的密文資料,並對查找到的密文資料進行解密處理得到明文資料,以將該明文資料儲存至區塊鏈中,以便接入該區塊鏈的接警終端監測並獲取該明文資料。 Specifically, after uploading the order ID of the business order related to the event to be traced to the blockchain, the alarm terminal connected to the blockchain obtains the order ID of the business order related to the event to be traced, and then according to the order Identify and determine the hash value of the business order, search for 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, so as to store the plaintext data in the district In the block chain, the alarm terminal connected to the block chain can monitor and obtain the plaintext data.
進一步的,考慮到區塊鏈上的所有業務訂單的明文資料對於接警終端而言均可見,需要接警終端選擇歸屬其管理的報警資訊,因此,為了減少接警終端需要排除過多不屬於其管轄範圍的報警資訊,基於此,如果接入區塊鏈的接警終端所負責的服務區域為第一服務區域,接入區塊鏈的報警終端所負責的服務區域為第二服務區域;
對應的,第一服務區域與第二服務區域之間滿足預設位置關係,較佳的,第一服務區域與第二服務區域相同,例如,接入區塊鏈的商家伺服器提供業務服務面向的用戶所在區域為北京市,那麼同時將北京市的公檢法機構的後臺伺服器接入該區塊鏈中。
本發明一個或多個實施例中的報警方法,監測區塊鏈中儲存的業務訂單的訂單資料;若監測到該區塊鏈中儲存有業務訂單的明文資料,則將該明文資料的業務訂單確定為報警請求對應的業務訂單;基於該報警請求對應的業務訂單的明文資料,回應報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。
需要說明的是,本發明中該實施例與本發明中上一實施例基於同一發明構思,因此該實施例的具體實施可以參見前述報警方法的實施,重複之處不再贅述。
對應上述圖2至圖6描述的報警方法,基於相同的技術構思,本發明一個或多個實施例還提供了一種報警裝置,圖8為本發明一個或多個實施例提供的設置於報警終端側的報警裝置的模組組成示意圖,該裝置用於執行圖2至圖6描述的報警方法,如圖8所示,該裝置包括:
報警請求接收模組801,用於接收用戶終端發送的報警請求;
訂單明文確定模組802,用於確定與所述報警請求對應的業務訂單的明文資料;
訂單明文儲存模組803,用於將所述報警請求對應的業務訂單的明文資料儲存至所述區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請求。
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。
可選地,上述裝置還包括:
訂單資料加密模組,用於對業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料;
密文資料上傳模組,用於將所述業務訂單的所述密文資料上傳至所述區塊鏈。
可選地,上述訂單資料加密模組,具體用於:
判斷業務訂單的當前訂單執行狀態是否滿足預設條件,其中,所述預設條件包括:業務訂單首次產生、訂單執行時間達到預設閾值和業務訂單完成中至少一項;若判斷結果為是,則對所述業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料。
Further, considering that the plaintext data of all business orders on the blockchain are visible to the alarm terminal, the alarm terminal needs to select the alarm information that belongs to its management. Therefore, in order to reduce the alarm terminal, it is necessary to exclude too many items that do not belong to its jurisdiction. Alarm information, based on this, if the service area of the alarm terminal connected to the blockchain is the first service area, and the service area of the alarm terminal connected to the blockchain is the second service area;
Correspondingly, the preset location relationship between the first service area and the second service area is satisfied. Preferably, the first service area is the same as the second service area. For example, a merchant server connected to the blockchain provides business services for The user's area is Beijing, so at the same time, the back-end server of the public security agency in Beijing is connected to the blockchain.
The alarm method in one or more embodiments of the present invention monitors the order data of the business order stored in the blockchain; if it is monitored that the plaintext data of the business order is stored in the blockchain, then the business order of the plaintext data is monitored Determine the business order corresponding to the alarm request; respond to the alarm request based on the plaintext data of the business order corresponding to the alarm request. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
It should be noted that this embodiment of the present invention and the previous embodiment of the present invention are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned alarm method, and the repetition will not be repeated.
Corresponding to the alarm method described in FIGS. 2 to 6 above, based on the same technical concept, one or more embodiments of the present invention also provide an alarm device. FIG. 8 is an alarm terminal provided by one or more embodiments of the present invention. A schematic diagram of the module composition of the alarm device on the side. The device is used to implement the alarm method described in Figures 2 to 6. As shown in Figure 8, the device includes:
The alarm
可選地,上述訂單明文確定模組802,具體用於:在所述區塊鏈中,查找與所述報警請求對應的業務訂單的密文資料;對查找到的所述業務訂單的所述密文資料進行解密處理,得到與所述報警請求對應的業務訂單的明文資料。
Optionally, the above-mentioned order
可選地,上述訂單明文確定模組802,還具體用於:確定所述報警請求中攜帶的業務訂單的訂單標識;在本地資料庫中,查找與所述業務訂單的訂單標識對應的明文資料。
Optionally, the above-mentioned order plain
可選地,所述業務訂單的明文資料包括:至少一項與時間相關的屬性資料;對應的,所述密文資料上傳模組,具體用於:按照預設時間間隔,將針對同一業務訂單的最新的所述密文資料上傳至所述區塊鏈。 Optionally, the plaintext data of the business order includes: at least one item of time-related attribute data; correspondingly, the ciphertext data upload module is specifically used to: according to a preset time interval, target the same business order Upload the latest ciphertext data to the blockchain.
對應的,所述訂單明文儲存模組803,具體用於:按照預設時間間隔,將確定出的所述報警請求對應的業務訂單的最新的所述明文資料儲存至區塊鏈。
Correspondingly, the order
可選地,上述裝置還包括:接入請求接收模組,用於接收區塊連接入請求;區塊連接入模組,用於回應於所述區塊連接入請求接 入區塊鏈。 Optionally, the above-mentioned device further includes: an access request receiving module for receiving a block connection request; a block connection module for responding to the block connection request Enter the blockchain.
可選地,接入所述區塊鏈的接警終端所負責的服務區域為第一服務區域,接入所述區塊鏈的報警終端所負責的服務區域為第二服務區域;所述第一服務區域與所述第二服務區域之間滿足預設位置關係。 Optionally, the service area of the alarm terminal connected to the blockchain is the first service area, and the service area of the alarm terminal connected to the blockchain is the second service area; the first A preset location relationship is satisfied between the service area and the second service area.
本發明一個或多個實施例中的報警裝置,接收用戶終端發送的報警請求;確定與該報警請求對應的業務訂單的明文資料;將確定出的報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入該區塊鏈的接警終端基於該明文資料回應該報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 The alarm device in one or more embodiments of the present invention receives the alarm request sent by the user terminal; determines the plaintext data of the business order corresponding to the alarm request; stores the plaintext data of the business order corresponding to the determined alarm request in the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plaintext data. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
需要說明的是,本發明中關於設置於報警終端側的報警裝置的實施例與本發明中關於應用於報警終端側的報警方法的實施例基於同一發明構思,因此該實施例的具體實施可以參見前述對應的報警方法的實施,重複之處不再贅述。 It should be noted that the embodiment of the alarm device provided on the alarm terminal side in the present invention is based on the same inventive concept as the embodiment of the alarm method applied to the alarm terminal side in the present invention. Therefore, the specific implementation of this embodiment can be found in The implementation of the aforementioned corresponding alarm method will not be repeated here.
對應上述圖7描述的報警方法,基於相同的技術構
思,本發明一個或多個實施例還提供了一種報警裝置,圖9為本發明一個或多個實施例提供的設置於接警終端側的報警裝置的模組組成示意圖,該裝置用於執行圖7描述的報警方法,如圖9所示,該裝置包括:訂單資料監測模組901,用於監測區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料;業務訂單確定模組902,用於若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單;報警請求回應模組903,用於基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。
Corresponding to the alarm method described in Figure 7 above, based on the same technical structure
Thinking, one or more embodiments of the present invention also provide an alarm device. Figure 9 is a schematic diagram of the module composition of the alarm device provided on the side of the alarm terminal provided by one or more embodiments of the present invention. The device is used to execute the diagram. The alarm method described in 7, as shown in Figure 9, the device includes: an order
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
可選地,上述裝置還包括:解密需求確定模組,用於確定針對待追溯事件的解密需求資訊,將所述解密需求資訊上傳至所述區塊鏈;追溯資料獲取模組,用於獲取所述待追溯事件對應的業務訂單的明文資料,其中,所述明文資料是報警終端基 於所述解密需求資訊對所述區塊鏈中所述待追溯事件對應的業務訂單的密文資料進行解密處理得到的。 Optionally, the above-mentioned device further includes: a decryption requirement determination module for determining decryption requirement information for the event to be traced, and uploading the decryption requirement information to the blockchain; and a traceability data acquisition module for acquiring The plaintext data of the business order corresponding to the event to be traced, wherein the plaintext data is the alarm terminal base The decryption requirement information is obtained by decrypting the ciphertext data of the business order corresponding to the event to be traced in the blockchain.
可選地,上述裝置還包括:接入請求接收模組,用於接收區塊連接入請求;區塊連接入模組,用於回應於所述區塊連接入請求接入區塊鏈。 Optionally, the above-mentioned device further includes: an access request receiving module for receiving a block connection request; a block connection module for responding to the block connection request to access the blockchain.
可選地,接入所述區塊鏈的接警終端所負責的服務區域為第一服務區域,接入所述區塊鏈的報警終端所負責的服務區域為第二服務區域;所述第一服務區域與所述第二服務區域之間滿足預設位置關係。 Optionally, the service area of the alarm terminal connected to the blockchain is the first service area, and the service area of the alarm terminal connected to the blockchain is the second service area; the first A preset location relationship is satisfied between the service area and the second service area.
本發明一個或多個實施例中的報警裝置,監測區塊鏈中儲存的業務訂單的訂單資料;若監測到該區塊鏈中儲存有業務訂單的明文資料,則將該明文資料的業務訂單確定為報警請求對應的業務訂單;基於該報警請求對應的業務訂單的明文資料,回應報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 The alarm device in one or more embodiments of the present invention monitors the order data of the business order stored in the blockchain; if it is monitored that the plain text data of the business order is stored in the blockchain, the business order of the plain text data is monitored Determine the business order corresponding to the alarm request; respond to the alarm request based on the plaintext data of the business order corresponding to the alarm request. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
需要說明的是,本發明中關於設置於接警終端側的報警裝置的實施例與本發明中關於應用於報警終端側的報警方法的實施例基於同一發明構思,因此該實施例的具體實施可以參見前述對應的報警方法的實施,重複之處不再贅述。
對應上述圖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等。
在一個具體的實施例中,報警設備包括有記憶體,以及一個或一個以上的程式,其中一個或者一個以上程式儲存於記憶體中,且一個或者一個以上程式可以包括一個或一個以上模組,且每個模組可以包括對報警設備中的一系列電腦可執行指令,且經配置以由一個或者一個以上處理器執行該一個或者一個以上套裝程式含用於進行以下電腦可執行指令:
接收用戶終端發送的報警請求;
確定與所述報警請求對應的業務訂單的明文資料;
將所述報警請求對應的業務訂單的明文資料儲存至所述區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請。
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。
可選地,電腦可執行指令在被執行時,還包含用於進行以下電腦可執行指令:
在接收用戶終端發送的報警請求之前,還包括:
對業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料;
將所述業務訂單的所述密文資料上傳至所述區塊鏈。
可選地,電腦可執行指令在被執行時,所述對業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料,包括:
判斷業務訂單的當前訂單執行狀態是否滿足預設條件,其中,所述預設條件包括:業務訂單首次產生、訂單執行時間達到預設閾值和業務訂單完成中至少一項;
若判斷結果為是,則對所述業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料。
可選地,電腦可執行指令在被執行時,所述確定與所述報警請求對應的業務訂單的明文資料,包括:
在所述區塊鏈中,查找與所述報警請求對應的業務訂單的密文資料;
對查找到的所述業務訂單的所述密文資料進行解密處理,得到與所述報警請求對應的業務訂單的明文資料。
可選地,電腦可執行指令在被執行時,所述確定與所述報警請求對應的業務訂單的明文資料,包括:
確定所述報警請求中攜帶的業務訂單的訂單標識;
在本地資料庫中,查找與所述業務訂單的訂單標識對應的明文資料。
可選地,電腦可執行指令在被執行時,所述業務訂單的明文資料包括:至少一項與時間相關的屬性資料;
所述將所述業務訂單的所述密文資料上傳至所述區塊鏈,包括:按照預設時間間隔,將針對同一業務訂單的最新的所述密文資料上傳至所述區塊鏈。
It should be noted that the embodiment of the alarm device provided on the alarm terminal side in the present invention is based on the same inventive concept as the embodiment of the alarm method applied to the alarm terminal side in the present invention. Therefore, the specific implementation of this embodiment can be found in The implementation of the aforementioned corresponding alarm method will not be repeated here.
Corresponding to the alarm method described in FIG. 7, based on the same technical concept, one or more embodiments of the present invention also provide an alarm device. FIG. 9 is an alarm provided on the side of the alarm terminal provided by one or more embodiments of the present invention. A schematic diagram of the module composition of the device. The device is used to implement the alarm method described in FIG. 7. As shown in FIG. 9, the device includes:
The order
可選地,電腦可執行指令在被執行時,所述將所述報警請求對應的業務訂單的所述明文資料儲存至所述區塊鏈,包括:按照預設時間間隔,將確定出的所述報警請求對應的業務訂單的最新的所述明文資料儲存至區塊鏈。 Optionally, when the computer-executable instruction is executed, the storing the plaintext data of the business order corresponding to the alarm request to the blockchain includes: storing all determined data at a preset time interval. The latest plaintext data of the business order corresponding to the alarm request is stored in the blockchain.
可選地,電腦可執行指令在被執行時,還包含用於進行以下電腦可執行指令:在接收用戶終端發送的報警請求之前,還包括:接收區塊連接入請求;回應於所述區塊連接入請求接入區塊鏈。 Optionally, when the computer-executable instructions are executed, they also include the following computer-executable instructions: before receiving the alarm request sent by the user terminal, it also includes: receiving a block connection request; responding to the block Connect to request access to the blockchain.
可選地,電腦可執行指令在被執行時,接入所述區塊鏈的接警終端所負責的服務區域為第一服務區域,接入所述區塊鏈的報警終端所負責的服務區域為第二服務區域;所述第一服務區域與所述第二服務區域之間滿足預設位置關係。 Optionally, when the computer-executable instructions are executed, the service area of the alarm terminal connected to the blockchain is the first service area, and the service area of the alarm terminal connected to the blockchain is The second service area; the first service area and the second service area meet a preset location relationship.
本發明一個或多個實施例中的報警設備,接收用戶終端發送的報警請求;確定與該報警請求對應的業務訂單的明文資料;將確定出的報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入該區塊鏈的接警終端基於該明文資料回應該報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈, 這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 The alarm device in one or more embodiments of the present invention receives the alarm request sent by the user terminal; determines the plaintext data of the business order corresponding to the alarm request; stores the plaintext data of the business order corresponding to the determined alarm request in the area Block chain, so that the alarm terminal connected to the block chain responds to the alarm request based on the plaintext data. In one or more embodiments of the present invention, both the alarm terminal and the alarm terminal are connected to the blockchain, and the alarm terminal immediately stores the plaintext data of the business order corresponding to the alarm request to the blockchain, This can ensure that the alarm terminal connected to the blockchain at the same time can view the plaintext data in time, and realize the real-time transmission of the user's alarm request to the alarm terminal, so that the police can timely obtain the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal When the alarm is issued, the efficiency of the alarm is improved, thereby improving the safety of the user.
在另一個具體的實施例中,報警設備包括有記憶體,以及一個或一個以上的程式,其中一個或者一個以上程式儲存於記憶體中,且一個或者一個以上程式可以包括一個或一個以上模組,且每個模組可以包括對報警設備中的一系列電腦可執行指令,且經配置以由一個或者一個以上處理器執行該一個或者一個以上套裝程式含用於進行以下電腦可執行指令:監測區塊鏈中儲存的業務訂單的訂單資料,其中,所述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料;若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單;基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 In another specific embodiment, the alarm device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules , And each module can include a series of computer-executable instructions for the alarm device, and is configured to be executed by one or more processors. The one or more package programs contain the following computer-executable instructions: monitoring The order data of the business order stored in the blockchain, where the order data includes: the ciphertext data of the business order and/or the plaintext data of the business order; if it is detected that the plaintext of the business order is stored in the blockchain 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.
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用 戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, so that it can be used The user’s alarm request is instantly transmitted to the alarm terminal, so that the police can promptly issue an alarm based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves the alarm efficiency and improves the security of the user.
可選地,電腦可執行指令在被執行時,還包含用於進行以下電腦可執行指令: 在基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求之後,還包括:確定針對待追溯事件的解密需求資訊,將所述解密需求資訊上傳至所述區塊鏈;獲取所述待追溯事件對應的業務訂單的明文資料,其中,所述明文資料是報警終端基於所述解密需求資訊對所述區塊鏈中所述待追溯事件對應的業務訂單的密文資料進行解密處理得到的。 Optionally, when the computer-executable instructions are executed, they also include the following computer-executable instructions: After responding to the alarm request based on the plaintext data of the business order corresponding to the alarm request, the method further includes: determining the decryption requirement information for the event to be traced, uploading the decryption requirement information to the blockchain; The plaintext data of the business order corresponding to the event to be traced, wherein the plaintext data is that the alarm terminal decrypts the ciphertext data of the business order corresponding to the event to be traced in the blockchain based on the decryption demand information owned.
可選地,電腦可執行指令在被執行時,還包含用於進行以下電腦可執行指令:在監測區塊鏈中儲存的業務訂單的訂單資料之前,還包括:接收區塊連接入請求;回應於所述區塊連接入請求接入區塊鏈。 Optionally, when the computer-executable instructions are executed, they also include the following computer-executable instructions: before monitoring the order data of the business order stored in the blockchain, it also includes: receiving a block connection request; responding Connect to the block to request access to the block chain.
可選地,電腦可執行指令在被執行時,接入所述區塊鏈的接警終端所負責的服務區域為第一服務區域,接入所述區塊鏈的報警終端所負責的服務區域為第二服務區域;所述第一服務區域與所述第二服務區域之間滿足預設位置關係。 Optionally, when the computer-executable instructions are executed, the service area of the alarm terminal connected to the blockchain is the first service area, and the service area of the alarm terminal connected to the blockchain is The second service area; the first service area and the second service area meet a preset location relationship.
本發明一個或多個實施例中的報警設備,監測區塊鏈中儲存的業務訂單的訂單資料;若監測到該區塊鏈中儲存有業務訂單的明文資料,則將該明文資料的業務訂單確定為報警請求對應的業務訂單;基於該報警請求對應的業務訂單的明文資料,回應報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 The alarm device in one or more embodiments of the present invention monitors the order data of the business order stored in the blockchain; if it is monitored that the plaintext data of the business order is stored in the blockchain, then the business order of the plaintext data Determine the business order corresponding to the alarm request; respond to the alarm request based on the plaintext data of the business order corresponding to the alarm request. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
進一步地,對應上述圖1至圖7所示的方法,基於相同的技術構思,本發明一個或多個實施例還提供了一種儲存介質,用於儲存電腦可執行指令,一種具體的實施例中,該儲存介質可以為USB隨身碟、光碟、硬碟等,該儲存介質儲存的電腦可執行指令在被處理器執行時,能實現以下流程:接收用戶終端發送的報警請求;確定與所述報警請求對應的業務訂單的明文資料;將所述報警請求對應的業務訂單的明文資料儲存至所述區塊鏈,以使接入所述區塊鏈的接警終端基於所述明文資料回應所述報警請。 Further, corresponding to the methods shown in FIG. 1 to FIG. 7, based on the same technical concept, one or more embodiments of the present invention also provide a storage medium for storing computer executable instructions. In a specific embodiment , The storage medium can be a USB flash drive, optical disk, hard disk, etc., when the computer executable instructions stored in the storage medium are executed by the processor, the following process can be realized: receiving the alarm request sent by the user terminal; confirming the alarm Request the plaintext data of the corresponding business order; 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 based on the plaintext data please.
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,還實現以下流程: 在接收用戶終端發送的報警請求之前,還包括: 對業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料; 將所述業務訂單的所述密文資料上傳至所述區塊鏈。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,所述對業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料,包括: 判斷業務訂單的當前訂單執行狀態是否滿足預設條件,其中,所述預設條件包括:業務訂單首次產生、訂單執行時間達到預設閾值和業務訂單完成中至少一項; 若判斷結果為是,則對所述業務訂單的明文資料進行加密處理,得到所述業務訂單的密文資料。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,所述確定與所述報警請求對應的業務訂單的明文資料,包括: 在所述區塊鏈中,查找與所述報警請求對應的業務訂單的密文資料; 對查找到的所述業務訂單的所述密文資料進行解密處理,得到與所述報警請求對應的業務訂單的明文資料。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,所述確定與所述報警請求對應的業務訂單的明文資料,包括: 確定所述報警請求中攜帶的業務訂單的訂單標識; 在本地資料庫中,查找與所述業務訂單的訂單標識對應的明文資料。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,所述業務訂單的明文資料包括:至少一項與時間相關的屬性資料; 所述將所述業務訂單的所述密文資料上傳至所述區塊鏈,包括: 按照預設時間間隔,將針對同一業務訂單的最新的所述密文資料上傳至所述區塊鏈。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,所述將所述報警請求對應的業務訂單的所述明文資料儲存至所述區塊鏈,包括: 按照預設時間間隔,將確定出的所述報警請求對應的業務訂單的最新的所述明文資料儲存至區塊鏈。 可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,還實現以下流程: 在接收用戶終端發送的報警請求之前,還包括:接收區塊連接入請求;回應於所述區塊連接入請求接入區塊鏈。 In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety. Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the following processes are also implemented: Before receiving the alarm request sent by the user terminal, it also includes: Encrypting the plaintext data of the business order to obtain the ciphertext data of the business order; Uploading the ciphertext data of the business order to the blockchain. Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the encrypting the plaintext data of the business order to obtain the ciphertext data of the business order includes: Determine whether the current order execution status of the business order meets a preset condition, where the preset condition includes at least one of: the business order is generated for the first time, the order execution time reaches a preset threshold, and the business order is completed; If the judgment result is yes, then encrypt the plain text data of the business order to obtain the cipher text data of the business order. Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the determination of the plaintext data of the business order corresponding to the alarm request includes: In the blockchain, search for the ciphertext data of the business order corresponding to the alarm request; Decryption processing is performed on the ciphertext data of the found business order to obtain the plaintext data of the business order corresponding to the alarm request. Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the determination of the plaintext data of the business order corresponding to the alarm request includes: Determining the order identifier of the business order carried in the alarm request; In the local database, search for plaintext data corresponding to the order identifier of the business order. Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the plaintext data of the business order includes: at least one item of time-related attribute data; The uploading the ciphertext data of the business order to the blockchain includes: According to a preset time interval, upload the latest ciphertext data for the same business order to the blockchain. Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, storing the plaintext data of the business order corresponding to the alarm request to the blockchain includes: According to a preset time interval, the latest clear text data of the business order corresponding to the determined alarm request is stored in the blockchain. Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the following processes are also implemented: Before receiving the alarm request sent by the user terminal, the method further includes: receiving a block connection request; and responding to the block connection request to access the block chain.
可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,接入所述區塊鏈的接警終端所負責的服務區域為第一服務區域,接入所述區塊鏈的報警終端所負責的服務區域為第二服務區域;所述第一服務區域與所述第二服務區域之間滿足預設位置關係。 Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the service area of the alarm terminal connected to the blockchain is the first service area, and the alarm of the blockchain is accessed The service area that the terminal is responsible for is the second service area; the first service area and the second service area satisfy a preset location relationship.
本發明一個或多個實施例中的儲存介質儲存的電腦可執行指令在被處理器執行時,接收用戶終端發送的報警請求;確定與該報警請求對應的業務訂單的明文資料;將確定出的報警請求對應的業務訂單的明文資料儲存至區塊鏈,以使接入該區塊鏈的接警終端基於該明文資料回應該報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 When the computer executable instructions stored in the storage medium in one or more embodiments of the present invention are executed by the processor, they receive the alarm request sent by the user terminal; 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 can respond to the alarm request based on the plaintext data. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
在另一個具體的實施例中,該儲存介質可以為USB隨身碟、光碟、硬碟等,該儲存介質儲存的電腦可執行指令在被處理器執行時,能實現以下流程:監測區塊鏈中儲存的業務訂單的訂單資料,其中,所 述訂單資料包括:業務訂單的密文資料和/或業務訂單的明文資料;若監測到所述區塊鏈中儲存有業務訂單的明文資料,則將所述明文資料的業務訂單確定為報警請求對應的業務訂單;基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求。 In another specific embodiment, the storage medium may be a USB flash drive, optical disk, hard disk, etc., when the computer executable instructions stored in the storage medium are executed by the processor, the following process can be realized: monitoring the blockchain Order data of stored business orders, where all The order data includes: the ciphertext data of the business order and/or the plaintext data of the business order; if it is monitored that the plaintext data of the business order is stored in the blockchain, the business order with the plaintext data is determined as an alarm request Corresponding business order; responding to the alarm request based on the plaintext data of the business order corresponding to the alarm request.
本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安全性。 In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving user safety.
可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,還實現以下流程:在基於所述報警請求對應的業務訂單的明文資料,回應所述報警請求之後,還包括:確定針對待追溯事件的解密需求資訊,將所述解密需求資訊上傳至所述區塊鏈;獲取所述待追溯事件對應的業務訂單的明文資料,其中,所述明文資料是報警終端基於所述解密需求資訊對所述區塊鏈中所述待追溯事件對應的業務訂單的密文資料進行解密處理得到的。 Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the following process is further implemented: after responding to the alarm request based on the plaintext data of the business order corresponding to the alarm request, the method further includes: determining For the decryption demand information of the event to be traced, upload the decryption demand information to the blockchain; obtain the plaintext data of the business order corresponding to the traceable event, wherein the plaintext data is the alarm terminal based on the decryption The demand information is obtained by decrypting the ciphertext data of the business order corresponding to the event to be traced in the blockchain.
可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,還實現以下流程:在監測區塊鏈中儲存的業務訂單的訂單資料之前,還包括:接收區塊連接入請求;回應於所述區塊連接入請求接入區塊鏈。 Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the following process is also implemented: before monitoring the order data of the business order stored in the blockchain, it also includes: receiving a block connection request; Responding to the block connection request to access the block chain.
可選地,該儲存介質儲存的電腦可執行指令在被處理器執行時,接入所述區塊鏈的接警終端所負責的服務區域為第一服務區域,接入所述區塊鏈的報警終端所負責的服務區域為第二服務區域;所述第一服務區域與所述第二服務區域之間滿足預設位置關係。 Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the service area of the alarm terminal connected to the blockchain is the first service area, and the alarm of the blockchain is accessed The service area that the terminal is responsible for is the second service area; the first service area and the second service area satisfy a preset location relationship.
本發明一個或多個實施例中的儲存介質儲存的電腦可執行指令在被處理器執行時,監測區塊鏈中儲存的業務訂單的訂單資料;若監測到該區塊鏈中儲存有業務訂單的明文資料,則將該明文資料的業務訂單確定為報警請求對應的業務訂單;基於該報警請求對應的業務訂單的明文資料,回應報警請求。本發明一個或多個實施例中,將報警終端和接警終端均接入區塊鏈中,報警終端第一時間將報警請求對應的業務訂單的明文資料儲存至該區塊鏈,這樣能夠保證同時接入該區塊鏈的接警終端及時查看到該明文資料,實現將用戶的報警請求即時傳輸至接警終端,以便警方基於接警終端獲取到的報警請求對應的業務訂單的明文資料及時出警,提高了報警效率,從而提高了用戶的安 全性。 When the computer executable instructions stored in the storage medium in one or more embodiments of the present invention are executed by the processor, it monitors the order data of the business order stored in the blockchain; if it is monitored that there is a business order stored in the blockchain The business order of the plaintext data is determined as the business order corresponding to the alarm request; based on the plaintext data of the business order corresponding to the alarm request, the alarm request is responded to. In one or more embodiments of the present invention, 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 as soon as possible, so as to ensure that at the same time The alarm terminal connected to the blockchain can view the plaintext data in time, and realize the instant transmission of the user's alarm request to the alarm terminal, so that the police can promptly issue the police based on the plaintext data of the business order corresponding to the alarm request obtained by the alarm terminal, which improves Alarm efficiency, thereby improving the user’s safety Fullness.
在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、光學記憶體等)上實施的電腦程式產品的形式。 本發明一個或多個可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、元件、資料結構等等。也可以在分散式運算環境中實踐本發明一個或多個,在這些分散式運算環境中,由透過通信網路而被連接的遠端處理設備來執行任務。在分散式運算環境中,程式模組可以位於包括存放裝置在內的本地和遠端電腦儲存介質中。 本發明中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。 以上所述僅為本發明一個或多個的實施例而已,並不用於限制本發明一個或多個。對於本領域技術人員來說,本發明一個或多個可以有各種更改和變化。凡在本發明一個或多個的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本發明一個或多個的申請專利範圍的範圍之內。In the 1990s, the improvement of a technology can be clearly distinguished from the improvement of the hardware (for example, the improvement of the circuit structure of diodes, transistors, switches, etc.) or the improvement of the software (for the process of the method). Improve). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always 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 the hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is designed by the designer to "integrate" a digital system on a PLD without having to ask the chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized by using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation must also be written in a specific programming language, which is called Hardware Description Language (HDL), and HDL is not only one, but there are many, such as 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) Etc., the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that only a little logic programming of the method flow using the above hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit that implements the logic method flow. The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (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: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable code, it is entirely possible to design the method steps by logic programming to enable the controller to be controlled by logic gates, switches, dedicated integrated circuits, and programmable logic. The same function can be realized in the form of a controller and embedded microcontroller. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure in the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component. The systems, devices, modules, or units explained in the above embodiments may be implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a notebook 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, and a wearable device. Or a combination of any of these devices. For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing one or more of the present invention, the functions of each unit can be implemented in one or more software and/or hardware. Those skilled in the art should understand that one or more embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, one or more of the present invention may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, one or more of the present invention can be implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. The form of the program product. One or more of the present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to one or more embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processors of the computer or other programmable data processing equipment A device for realizing the functions specified in one flow or multiple flows in the flowchart and/or one block or multiple blocks in the block diagram is generated. These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram. These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operating steps are performed on the computer or other programmable equipment to generate computer-implemented processing, so that the computer or other programmable equipment The instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram. In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. Memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media. Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, 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), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital multi-function Optical discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves. It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or they also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element. Those skilled in the art should understand that one or more embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, one or more of the present invention may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, one or more of the present invention can be implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. The form of the program product. One or more of the present invention can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more of the present invention can also be practiced in a distributed computing environment. In these distributed computing environments, remote processing devices connected through a communication network perform tasks. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices. The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment. The above description is only one or more embodiments of the present invention, and is not used to limit one or more of the present invention. For those skilled in the art, one or more of the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more of the present invention should be included in the scope of the patent application of one or more of the present invention.
S201-S703:步驟 801:報警請求接收模組 802:訂單明文確定模組 803:訂單明文儲存模組 901:訂單資料監測模組 902:業務訂單確定模組 903:報警請求回應模組 10:報警終端 20:接警終端 1101:處理器 1102:記憶體 1103:電源 1104:有線或無線網路介面 1105:輸入輸出介面 1106:鍵盤 S201-S703: steps 801: Alarm request receiving module 802: Order plaintext confirmation module 803: Order plaintext storage module 901: Order data monitoring module 902: Business Order Confirmation Module 903: Alarm request response module 10: Alarm terminal 20: Alarm terminal 1101: processor 1102: memory 1103: Power 1104: Wired or wireless network interface 1105: Input and output interface 1106: keyboard
為了更清楚地說明本發明一個或多個實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本發明一個或多個中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些圖式獲得其他的圖式。 圖1為本發明一個或多個實施例提供的報警方法的應用場景示意圖; 圖2為本發明一個或多個實施例提供的應用於報警終端側的報警方法的第一種流程示意圖; 圖3為本發明一個或多個實施例提供的應用於報警終端側的報警方法的第二種流程示意圖; 圖4為本發明一個或多個實施例提供的應用於報警終端側的報警方法的第三種流程示意圖; 圖5a為本發明一個或多個實施例提供的應用於報警終端側的報警方法的第四種流程示意圖; 圖5b為本發明一個或多個實施例提供的應用於報警終端側的報警方法的第五種流程示意圖; 圖6為本發明一個或多個實施例提供的報警方法的實現原理示意圖; 圖7為本發明一個或多個實施例提供的應用於接警終端側的報警方法的流程示意圖; 圖8為本發明一個或多個實施例提供的設置於報警終端的報警裝置的模組組成示意圖; 圖9為本發明一個或多個實施例提供的設置於接警終端的報警裝置的模組組成示意圖; 圖10為本發明一個或多個實施例提供的報警系統的結構組成示意圖; 圖11為本發明一個或多個實施例提供的報警設備的結構示意圖。In order to more clearly explain one or more embodiments of the present invention or technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description The formulas are only some of the embodiments recorded in one or more of the present invention. For those of ordinary skill in the art, without creative labor, other schemas can be obtained based on these schemas. FIG. 1 is a schematic diagram of an application scenario of an alarm method provided by one or more embodiments of the present invention; 2 is a schematic diagram of the first flow chart of the alarm method applied to the alarm terminal side according to one or more embodiments of the present invention; FIG. 3 is a schematic flowchart of a second type of alarm method applied to the alarm terminal side according to one or more embodiments of the present invention; 4 is a schematic diagram of a third process of the alarm method applied to the alarm terminal side according to one or more embodiments of the present invention; FIG. 5a is a schematic flowchart of a fourth type of alarm method applied to the alarm terminal side according to one or more embodiments of the present invention; FIG. 5b is a schematic diagram of a fifth flow chart of the alarm method applied to the alarm terminal side according to one or more embodiments of the present invention; 6 is a schematic diagram of the implementation principle of the alarm method provided by one or more embodiments of the present invention; FIG. 7 is a schematic flowchart of an alarm method applied to an alarm terminal side according to one or more embodiments of the present invention; 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 the present invention; 9 is a schematic diagram of the module composition of the alarm device provided at the alarm terminal provided by one or more embodiments of the present invention; Figure 10 is a schematic diagram of the structural composition of an alarm system provided by one or more embodiments of the present invention; Fig. 11 is a schematic structural diagram of an alarm device provided by one or more embodiments of the present invention.
Claims (19)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811434538.8A CN109493564B (en) | 2018-11-28 | 2018-11-28 | Alarm method, device and system |
CN201811434538.8 | 2018-11-28 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202020816A TW202020816A (en) | 2020-06-01 |
TWI723525B true TWI723525B (en) | 2021-04-01 |
Family
ID=65698043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108131636A TWI723525B (en) | 2018-11-28 | 2019-09-03 | Alarm method, device and system |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN109493564B (en) |
TW (1) | TWI723525B (en) |
WO (1) | WO2020108145A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493564B (en) * | 2018-11-28 | 2020-06-16 | 阿里巴巴集团控股有限公司 | Alarm method, device and system |
CN110266644B (en) * | 2019-05-20 | 2021-04-06 | 创新先进技术有限公司 | Receipt storage method and node combining code marking and transaction types |
CN110365685A (en) * | 2019-07-18 | 2019-10-22 | 恒生电子股份有限公司 | A kind of data processing method, device, equipment and computer readable storage medium |
CN110601891B (en) * | 2019-09-16 | 2021-12-28 | 腾讯科技(深圳)有限公司 | Alarm processing method and related device |
CN110798807B (en) * | 2019-11-06 | 2020-12-22 | 北京海益同展信息科技有限公司 | Method, apparatus, computer device and medium for recording vehicle trajectory |
CN112101289A (en) * | 2020-09-25 | 2020-12-18 | 北京市商汤科技开发有限公司 | Service providing method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM248672U (en) * | 2003-07-22 | 2004-11-01 | Wen-Li Jang | Dispatch and anti-thief system for automobile |
US6989742B2 (en) * | 2001-12-25 | 2006-01-24 | Matsushita Electric Industrial Co., Ltd. | Device and system for detecting abnormality |
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 |
CN107294709A (en) * | 2017-06-27 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of block chain data processing method, apparatus and system |
CN108777703A (en) * | 2018-05-15 | 2018-11-09 | 维沃移动通信有限公司 | A kind of abnormal behaviour processing method and system based on block chain |
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 |
CN102117532B (en) * | 2009-12-31 | 2014-03-19 | 厦门雅迅网络股份有限公司 | Method for pre-alarming illegal gathering of taxis based on GPS (global positioning system) |
US11176519B2 (en) * | 2016-11-11 | 2021-11-16 | International Business Machines Corporation | Smart contract admission check and fault tolerance in a blockchain |
CN107122838B (en) * | 2017-04-21 | 2021-06-25 | 杭州趣链科技有限公司 | Intelligent network car booking system and method based on block chain technology |
CN107358301A (en) * | 2017-05-27 | 2017-11-17 | 上海与德科技有限公司 | A kind of net about car monitoring method and system, vehicle-mounted monitoring equipment |
CN108648079A (en) * | 2018-05-02 | 2018-10-12 | 北京阿尔山金融科技有限公司 | Block chain node monitoring method, apparatus and system |
CN108734931A (en) * | 2018-05-22 | 2018-11-02 | 海能达通信股份有限公司 | A kind of police strength sends method, apparatus and equipment |
CN109493564B (en) * | 2018-11-28 | 2020-06-16 | 阿里巴巴集团控股有限公司 | Alarm method, device and system |
-
2018
- 2018-11-28 CN CN201811434538.8A patent/CN109493564B/en active Active
-
2019
- 2019-09-03 TW TW108131636A patent/TWI723525B/en active
- 2019-10-16 WO PCT/CN2019/111522 patent/WO2020108145A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6989742B2 (en) * | 2001-12-25 | 2006-01-24 | Matsushita Electric Industrial Co., Ltd. | Device and system for detecting abnormality |
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 |
CN107294709A (en) * | 2017-06-27 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of block chain data processing method, apparatus and system |
CN108777703A (en) * | 2018-05-15 | 2018-11-09 | 维沃移动通信有限公司 | A kind of abnormal behaviour processing method and system based on block chain |
Also Published As
Publication number | Publication date |
---|---|
WO2020108145A1 (en) | 2020-06-04 |
CN109493564B (en) | 2020-06-16 |
CN109493564A (en) | 2019-03-19 |
TW202020816A (en) | 2020-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI723525B (en) | Alarm method, device and system | |
TWI723261B (en) | Data storage method, data query method and device | |
TWI695290B (en) | Login information processing method and equipment | |
WO2021103708A1 (en) | Data query method, apparatus, device and system based on privacy information protection | |
CN112818380B (en) | Backtracking processing method, device, equipment and system for business behaviors | |
WO2020238242A1 (en) | Method and system for personal data service based on secure computation | |
TWI686071B (en) | Key management method, device and equipment | |
TWI709093B (en) | Page access method, device and system based on scanning code operation | |
WO2022022245A1 (en) | Method, apparatus and device for generating digital document of title | |
WO2021204067A1 (en) | Forwarding and acquisition of verifiable claim | |
CN111461623B (en) | Block chain-based warehouse bill creating method, device and equipment | |
WO2021017424A1 (en) | Data preprocessing method and apparatus, ciphertext data obtaining method and apparatus, and electronic device | |
US11120160B2 (en) | Distributed personal data storage and encrypted personal data service based on secure computation | |
CN114547078A (en) | Federal cross-feature query method, device, medium and equipment based on privacy computation | |
CN105580005A (en) | Contextual content translation system | |
CN114091062A (en) | Occupational data processing method and device | |
CN110992039B (en) | Transaction processing method, device and equipment | |
JP2019074956A (en) | Information processing system and program | |
CN110011807B (en) | Key information maintenance method and system | |
WO2024087312A1 (en) | Database access method, computing device and server | |
CN117974141A (en) | Block chain wallet protection method and device, storage medium and electronic equipment | |
CN115951835A (en) | Space data access system and method | |
CN118094591A (en) | Privacy-protecting data query method, device and system |