TW201933812A - Data processing method, apparatus and device - Google Patents

Data processing method, apparatus and device Download PDF

Info

Publication number
TW201933812A
TW201933812A TW107144287A TW107144287A TW201933812A TW 201933812 A TW201933812 A TW 201933812A TW 107144287 A TW107144287 A TW 107144287A TW 107144287 A TW107144287 A TW 107144287A TW 201933812 A TW201933812 A TW 201933812A
Authority
TW
Taiwan
Prior art keywords
data block
stored
check value
target
server
Prior art date
Application number
TW107144287A
Other languages
Chinese (zh)
Other versions
TWI700905B (en
Inventor
溫濤
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201933812A publication Critical patent/TW201933812A/en
Application granted granted Critical
Publication of TWI700905B publication Critical patent/TWI700905B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures

Abstract

Disclosed are a data processing method, apparatus and device. The method comprises: receiving a data block to be stored, and acquiring a first check value of the data block to be stored; and if, in stored data blocks, there is a target data block having a check value matching the first check value, and the data block to be stored is different from the target data block, then storing the data block to be stored, and allocating an assisted query identifier different from that of the target data block to the data block to be stored. By means of the embodiments of the present description, when a stored target data block and a data block to be stored have the same check value but different data content, the data block to be stored can be stored, and an assisted query identifier different from that of the target data block is re-allocated to the data block to be stored so as to distinguish the two data blocks having the same check value but different data content, such that the problem that a data block to be stored having the same check value but different data content cannot be stored in a server, thereby preventing the disordering of service scenarios.

Description

資料的處理方法、裝置及設備Data processing method, device and device

本說明書係關於電腦技術領域,尤其關於一種資料的處理方法、裝置及設備。This specification relates to the field of computer technology, and in particular to a method, device and device for processing data.

隨著網路技術和終端技術的不斷發展,資料傳輸和資料儲存已經成為的資料量越來越大。通常,資料儲存的過程中,為了避免資料的重複儲存,通常需要透過某些檢測手段來判斷待儲存的資料(或資料塊)是否已經儲存。校驗值是用於檢測兩個或多個資料之間是否相同的主要手段之一。
通常,如果兩個資料或資料塊的校驗值相同,則表示這兩個資料或資料塊為相同的資料或資料塊,但是,校驗值在一定的範圍內會產生相同數值,即兩個不同的資料塊產生了相同的校驗值,此時,即使待儲存資料塊與已儲存的目標資料塊不同,而僅是兩者的校驗值相同,則伺服器也將無法儲存該待儲存資料塊,從而造成資料或資料塊的漏儲存,甚至可能會造成業務場景的錯亂。
With the continuous development of network technology and terminal technology, data transmission and data storage have become more and more data. Generally, in the process of data storage, in order to avoid repeated storage of data, it is usually necessary to determine whether the data (or data block) to be stored has been stored through some detection means. The check value is one of the primary means for detecting whether the two or more materials are identical.
Generally, if the check values of two data or data blocks are the same, it means that the two data or data blocks are the same data or data blocks, but the check value will produce the same value within a certain range, that is, two Different data blocks generate the same check value. At this time, even if the data block to be stored is different from the stored target data block, but only the check values of the two are the same, the server will not be able to store the data to be stored. Data blocks, resulting in leakage of data or data blocks, may even cause confusion in business scenarios.

本說明書實施例的目的是提供一種資料的處理方法、裝置及設備,以實現對校驗值相同,但資料內容不同的待儲存資料塊的儲存。
為解決上述技術問題,本說明書實施例是這樣實現的:
本說明書實施例提供的一種資料的處理方法,所述方法包括:
接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值;
如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同,則儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識。
可選地,所述目標資料塊中包括多個不同的子資料塊,每個子資料塊設置有相應的輔助查詢標識;
所述接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值之後,所述方法還包括:
如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,則判斷所述待儲存資料塊與所述目標資料塊中的每個子資料塊是否相同;
如果所述待儲存資料塊與所述目標資料塊中的第一子資料塊相同,則輸出所述第一子資料塊的輔助查詢標識和所述第一校驗值。
可選地,所述儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識,包括:
將所述待儲存資料塊和所述待儲存資料塊的輔助查詢標識,以及所述目標資料塊和所述目標資料塊的輔助查詢標識儲存於同一資料塊集合中。
可選地,所述輔助查詢標識為字元或字串。
可選地,所述第一校驗值為雜湊值。
本說明書實施例提供的一種資料的處理方法,所述方法包括:
向伺服器發送待儲存資料塊;
接收所述伺服器發送的所述待儲存資料塊的儲存結果,所述儲存結果是所述伺服器在儲存的資料塊中存在校驗值與所述待儲存資料塊的第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同的情況下生成。
可選地,所述向伺服器發送待儲存資料塊之後,所述方法還包括:
接收所述伺服器發送的所述第一校驗值和目標輔助查詢標識,所述目標輔助查詢標識為校驗值與所述第一校驗值相匹配的目標資料塊中,與所述待儲存資料塊相同的第一子資料塊的輔助查詢標識;
將所述第一校驗值和目標輔助查詢標識發送給風險控制伺服器。
本說明書實施例提供的一種資料的處理裝置,所述裝置包括:
獲取模組,用於接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值;
資料處理模組,用於如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同,則儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識。
可選地,所述目標資料塊中包括多個不同的子資料塊,每個子資料塊設置有相應的輔助查詢標識,所述裝置還包括:
判斷模組,用於如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,則判斷所述待儲存資料塊與所述目標資料塊中的每個子資料塊是否相同;
輸出模組,用於如果所述待儲存資料塊與所述目標資料塊中的第一子資料塊相同,則輸出所述第一子資料塊的輔助查詢標識和所述第一校驗值。
可選地,所述資料處理模組,用於將所述待儲存資料塊和所述待儲存資料塊的輔助查詢標識,以及所述目標資料塊和所述目標資料塊的輔助查詢標識儲存於同一資料塊集合中。
可選地,所述輔助查詢標識為字元或字串。
可選地,所述第一校驗值為雜湊值。
本說明書實施例提供的一種資料的處理裝置,所述裝置包括:
資料發送模組,用於向伺服器發送待儲存資料塊;
結果接收模組,用於接收所述伺服器發送的所述待儲存資料塊的儲存結果,所述儲存結果是所述伺服器在儲存的資料塊中存在校驗值與所述待儲存資料塊的第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同的情況下生成。
可選地,所述裝置還包括:
資訊接收模組,用於接收所述伺服器發送的所述第一校驗值和目標輔助查詢標識,所述目標輔助查詢標識為校驗值與所述第一校驗值相匹配的目標資料塊中,與所述待儲存資料塊相同的第一子資料塊的輔助查詢標識;
資訊發送模組,用於將所述第一校驗值和目標輔助查詢標識發送給風險控制伺服器。
本說明書實施例提供的一種資料的處理設備,所述設備包括:
處理器;以及
被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作:
接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值;
如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同,則儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識。
本說明書實施例提供的一種資料的處理設備,所述設備包括:
處理器;以及
被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作:
向伺服器發送待儲存資料塊;
接收所述伺服器發送的所述待儲存資料塊的儲存結果,所述儲存結果是所述伺服器在儲存的資料塊中存在校驗值與所述待儲存資料塊的第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同的情況下生成。
由以上本說明書實施例提供的技術方案可見,本說明書實施例透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。
The purpose of the embodiments of the present specification is to provide a method, a device, and a device for processing data, so as to implement storage of data blocks to be stored with the same check value but different data contents.
In order to solve the above technical problem, the embodiment of the present specification is implemented as follows:
A method for processing data according to an embodiment of the present disclosure, the method comprising:
Receiving a data block to be stored, and acquiring a first check value of the data block to be stored;
If the stored data block has a target data block whose check value matches the first check value, and the to-be-stored data block is different from the target data block, storing the to-be-stored data block, and And assigning, to the stored data block, an auxiliary query identifier different from the target data block.
Optionally, the target data block includes a plurality of different sub-data blocks, and each of the sub-data blocks is configured with a corresponding auxiliary query identifier;
After the receiving the data block to be stored and acquiring the first check value of the data block to be stored, the method further includes:
If the stored data block has a target data block whose check value matches the first check value, determining whether the to-be-stored data block is the same as each of the target data blocks;
And if the to-be-stored data block is the same as the first sub-data block in the target data block, outputting the auxiliary query identifier of the first sub-data block and the first check value.
Optionally, the storing the to-be-stored data block and allocating the auxiliary query identifier different from the target data block to the to-be-stored data block includes:
And storing the to-be-stored data block and the auxiliary query identifier of the to-be-stored data block, and the target data block and the auxiliary query identifier of the target data block in the same data block set.
Optionally, the auxiliary query identifier is a character or a string.
Optionally, the first check value is a hash value.
A method for processing data according to an embodiment of the present disclosure, the method comprising:
Sending a data block to be stored to the server;
Receiving a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value in the stored data block and a first check value of the to-be-stored data block A matching target data block is generated, and the to-be-stored data block is generated differently from the target data block.
Optionally, after the sending the data block to be saved to the server, the method further includes:
Receiving, by the server, the first check value and the target auxiliary query identifier, where the target auxiliary query identifier is a target data block whose check value matches the first check value, and the Storing an auxiliary query identifier of the first sub-block of the same data block;
Sending the first check value and the target auxiliary query identifier to the risk control server.
A processing device for data according to an embodiment of the present disclosure, the device comprising:
Obtaining a module, configured to receive a data block to be stored, and obtain a first check value of the data block to be stored;
a data processing module, configured to: if there is a target data block in the stored data block that matches the first check value, and the data block to be stored is different from the target data block, the storage device And storing the data block, and assigning the to-be-stored data block with an auxiliary query identifier different from the target data block.
Optionally, the target data block includes a plurality of different sub-data blocks, each of which is provided with a corresponding auxiliary query identifier, and the device further includes:
a determining module, configured to determine, if the stored data block has a target data block whose check value matches the first check value, determine each of the to-be-stored data block and the target data block Whether the blocks are the same;
And an output module, configured to output an auxiliary query identifier of the first sub-block and the first check value if the to-be-stored data block is the same as the first sub-data block in the target data block.
Optionally, the data processing module is configured to store, in the auxiliary data identifier of the to-be-stored data block and the to-be-stored data block, and the auxiliary query identifier of the target data block and the target data block, In the same data block set.
Optionally, the auxiliary query identifier is a character or a string.
Optionally, the first check value is a hash value.
A processing device for data according to an embodiment of the present disclosure, the device comprising:
a data sending module, configured to send a data block to be stored to the server;
a result receiving module, configured to receive a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value and the to-be-stored data block in the stored data block The first check value matches the target data block, and the to-be-stored data block is generated differently from the target data block.
Optionally, the device further includes:
The information receiving module is configured to receive the first check value and the target auxiliary query identifier sent by the server, where the target auxiliary query identifier is a target data whose check value matches the first check value An auxiliary query identifier of the first sub-block of the same as the to-be-stored data block in the block;
The information sending module is configured to send the first check value and the target auxiliary query identifier to the risk control server.
A processing device for data according to an embodiment of the present disclosure, the device includes:
a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to:
Receiving a data block to be stored, and acquiring a first check value of the data block to be stored;
If the stored data block has a target data block whose check value matches the first check value, and the to-be-stored data block is different from the target data block, storing the to-be-stored data block, and And assigning, to the stored data block, an auxiliary query identifier different from the target data block.
A processing device for data according to an embodiment of the present disclosure, the device includes:
a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to:
Sending a data block to be stored to the server;
Receiving a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value in the stored data block and a first check value of the to-be-stored data block A matching target data block is generated, and the to-be-stored data block is generated differently from the target data block.
As can be seen from the technical solutions provided in the foregoing embodiments, the embodiment of the present disclosure receives the data block to be stored, and obtains the first check value of the data block to be stored, and the check value and the first school are stored in the stored data block. If the target data block matches the target data block, and the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored information is saved. For the target data block and the data block to be stored, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored can be stored, and the data block to be stored is redistributed differently from the target data block. The auxiliary query identifier further distinguishes two data blocks with the same check value and different data contents, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and avoids causing The confusion of the business scene.

本說明書實施例提供一種資料的處理方法、裝置及設備。
為了使本技術領域的人員更好地理解本說明書中的技術方案,下面將結合本說明書實施例中的附圖,對本說明書實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本說明書一部分實施例,而不是全部的實施例。基於本說明書中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本說明書保護的範圍。

實施例一
如圖1所示,本說明書實施例提供一種資料的處理方法,該方法的執行主體可以為終端設備或伺服器,其中的終端設備可以是如手機、平板電腦等移動終端設備,還可以是如個人電腦等終端設備,伺服器可以是獨立的一個伺服器,也可以是由多個伺服器組成的伺服器集群。本說明書實施例中為了提高資料的處理效率,該方法的執行主體以伺服器為例進行詳細說明,對於終端設備的情況,可以參照下述伺服器的具體處理執行,在此不再贅述。該方法具體可以包括以下步驟:
在步驟S102中,接收待儲存資料塊,獲取待儲存資料塊的第一校驗值。
其中,待儲存資料塊可以是任意資料塊,其中的待儲存資料塊可以是由一條或多條資料組成,例如用於註冊某網站的一條資料的資料塊,該資料塊中可以包括用戶註冊的用戶名、密碼和電子郵箱地址等。第一校驗值可以是透過校驗值演算法對待儲存資料塊中的資料進行計算得到的校驗值,校驗值演算法可以包括多種,例如奇偶演算法、BCC(Block Check Character,塊校驗碼)異或校驗法、縱向冗餘校驗演算法、迴圈冗餘校驗演算法和資料摘要演算法(或Hash演算法)等。
在實施中,伺服器可以接收其它設備(如用戶的終端設備或商戶的伺服器等)發送的待儲存資料塊,具體可以包括多種方式,例如,用戶在網站上進行註冊時,用戶可以透過該網站的首頁中查找到註冊選項,查找到後,可以點擊該註冊選項,此時,用戶的終端設備可以獲取註冊頁面,用戶可以在該註冊頁面中輸入用戶名、密碼等資訊。輸入完成後,可以點擊註冊頁面中的確定按鍵,終端設備可以獲取用戶在註冊頁面中輸入的資訊,可以將獲取的資訊作為待儲存資料塊,並將該待儲存資料塊發送給伺服器。
再例如,如圖2所示,用戶在購物完成後,到收銀台結帳,並且用戶使用支付卡(如銀行卡或購物卡等)進行支付,商家可以向其收銀設備中輸入用戶的支付卡的卡號等資訊,該收銀設備可以儲存輸入的上述資訊,並可以將該支付卡的卡號作為待儲存資料塊,將該待儲存資料塊發送給支付卡中心的伺服器,伺服器可以接收該待儲存資料塊。
伺服器中可以設置有校驗值演算法,當伺服器接收到終端設備發送的待儲存資料塊時,可以透過預先設置的校驗值演算法計算待儲存資料塊的校驗值(即第一校驗值)。
需要說明的是,伺服器接收其它設備發送的待儲存資料塊的處理方式除了可以包括上述兩種方式外,在實際應用中還可以包括多種可實現方式,本說明書實施例對此不做限定。
在步驟S104中,如果儲存的資料塊中存在校驗值與上述第一校驗值相匹配的目標資料塊,且上述待儲存資料塊與該目標資料塊不同,則儲存待儲存資料塊,並為待儲存資料塊分配與該目標資料塊不同的輔助查詢標識。
其中,輔助查詢標識可以是用戶確定待儲存資料塊是否是已儲存的資料塊時所依據的輔助標識,輔助查詢標識可以包括多種表現形式,輔助查詢標識的具體形式可以根據實際情況設定,具體如由一個或多個數字構成的數字字串,如2或15等,或者,還可以是由一個或多個字母構成的字串,如rl或rk等,再或者,還可以是數字與字母的組合形成的字串,如x1或y2等。本說明書實施例中以輔助查詢標識來說明的校驗值外的輔助標識,在實際應用中,輔助查詢標識還可以存在其它不同的表示形式,例如版本號等。
在實施中,校驗值是用於檢測兩個或多個資料之間是否相同的主要手段之一,通常,如果兩個資料或資料塊的校驗值相同,則表示這兩個資料或資料塊為相同的資料或資料塊,但是,校驗值在一定的範圍內會產生相同數值的情況,即兩個不同的資料塊產生了相同的校驗值。當伺服器接收到待儲存資料塊後,可以計算該待儲存資料塊的第一校驗值,此時,可以獲取預先儲存的各個資料塊的校驗值,可以將第一校驗值分別與儲存的資料塊的校驗值進行對比,如果第一校驗值與儲存的某一個資料塊或多個資料塊(即目標資料塊)的校驗值相同,則基於上述內容可知,可以認為待儲存資料塊應該與目標資料塊相同,此時,即使待儲存資料塊與目標資料塊不同,而僅是兩者的校驗值相同,則伺服器也將無法儲存該待儲存資料塊,從而造成資料或資料塊的漏儲存,而即使透過某些方法將該待儲存資料儲存到伺服器中,最終,由於伺服器中存在同一校驗值的多個不同的資料塊,則伺服器在讀取該第一校驗值的資料塊時,可能不同時刻讀取的資料塊是不同,例如,伺服器第一次讀取的第一校驗值對應的資料塊為上述待儲存資料塊,伺服器第二次再讀取的第一校驗值對應的資料塊為目標資料塊等。為此,本說明書實施例提供一種可選的處理方式,具體可以參見下述相關內容:
伺服器接獲取到待儲存資料的第一校驗值後,可以將預先儲存的每個資料塊的校驗值分別與第一校驗值進行對比,如果儲存的資料塊中包括校驗值與第一校驗值相匹配(如相同),如果儲存的資料塊中包括校驗值與第一校驗值相同的目標資料,則可以分別提取待儲存資料塊和目標資料塊的資料內容,可以將提取的待儲存資料塊的資料內容與目標資料塊的資料內容進行比對,如果待儲存資料塊與目標資料塊的資料內容不同,則可以確定待儲存資料塊與目標資料塊之間具有相同的校驗值,但是資料內容並不相同,則伺服器可以將待儲存資料塊儲存到伺服器中,並且為待儲存資料塊重新分配一個輔助查詢標識。其中,為了將具有相同校驗值的不同資料塊進行區分,可以為具有相同校驗值的不同資料塊分別設置不同的輔助查詢標識,這樣,當伺服器再次接收到新的待儲存資料塊時,可以分別透過校驗值與輔助查詢標識,確定新的待儲存資料塊是否在伺服器中已經儲存,即先透過校驗值進行查詢,如果確定新的待儲存資料塊的校驗值與已儲存資料塊的校驗值相同,則可以對資料內容進行比對,如果新的待儲存資料塊與其中的某一個資料塊相同,則可以確定新的待儲存資料塊與該資料塊為同一個資料塊,否則為不同的資料塊,此時可以再為新的待儲存資料塊分配輔助查詢標識。
例如,待儲存資料塊為“CD”,第一校驗值為“Xfdsafdsfdlasf”,目標資料塊為“AB”,如果伺服器中儲存的目標資料塊“AB”的校驗值為“Xfdsafdsfdlasf”,待儲存資料塊為“CD”,透過上述校驗值演算法計算待儲存資料塊“CD”的第一校驗值為“Xfdsafdsfdlasf”,則待儲存資料塊與目標資料塊的校驗值相同,但是,待儲存資料塊與目標資料塊的資料內容並不相同,此時可以儲存待儲存資料塊“CD”,然後,可以分別為待儲存資料塊與目標資料塊分配不同的輔助查詢標識,例如待儲存資料塊的輔助查詢標識(或版本號等)為1,目標資料塊的輔助查詢標識(或版本號等)為2等。
如圖3所示,本說明書實施例提供一種資料的處理方法,該方法的執行主體可以為電子設備,該電子設備可以是用於向伺服器請求儲存某資料塊的設備,具體如收銀台的電子設備等,其中的電子設備可以是如手機、平板電腦等移動終端設備,還可以是如個人電腦等終端設備。該方法具體可以包括以下步驟:
在步驟S302中,向伺服器發送待儲存資料塊。
在步驟S304中,接收伺服器發送的待儲存資料塊的儲存結果,儲存結果是伺服器在儲存的資料塊中存在校驗值與待儲存資料塊的第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同的情況下生成。
上述步驟S302和步驟S304的具體處理過程可以參見上述步驟S102和步驟S104中的相關內容,在此不再贅述。
本說明書實施例提供一種資料的處理方法,透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。

實施例二
如圖4所示,本說明書實施例提供了一種資料的處理方法,該方法的執行主體可以為電子設備和伺服器,該電子設備可以是用於向伺服器請求儲存某資料塊的設備,具體如收銀台的電子設備等,其中的電子設備可以是如手機、平板電腦等移動終端設備,還可以是如個人電腦等終端設備,伺服器可以是獨立的一個伺服器,也可以是由多個伺服器組成的伺服器集群。該方法具體可以包括以下步驟:
在步驟S402中,伺服器接收待儲存資料塊,獲取待儲存資料塊的第一校驗值。
其中,第一校驗值可以為雜湊值,本說明書實施例中以校驗值為雜湊值為例進行說明。
上述步驟S402的具體處理過程可以參見上述是實施例一中步驟S102的相關內容,在此不再贅述。
在步驟S404中,如果儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,則伺服器判斷待儲存資料塊與目標資料塊中的每個子資料塊是否相同。
在實施中,雜湊值可以是用於檢測資料之間是否相同的主要手段之一,通常,如果兩個資料或資料塊的雜湊值相同,則表示這兩個資料或資料塊為相同的資料或資料塊,但是,雜湊值在一定的範圍內會產生碰撞,即兩個不同的資料塊具有相同的雜湊值。本說明書實施例中,可以設置一個處理資料衝突的裝置,該裝置可以用於解決由於雜湊值碰撞帶來的業務問題,該裝置可以分為兩個主要部分,分別為裝置前置和裝置處理,該裝置前置中預先設置有一個資料儲存模型,該資料儲存模型中,可以包括字串(即待儲存資料塊)、雜湊值和衝突版本(即輔助查詢標識)等三個專案。
當伺服器接收到待儲存資料塊後,該裝置前置可以計算該待儲存資料塊的雜湊值(即第一校驗值),此時,可以獲取預先儲存的各個資料塊的雜湊值,可以將第一校驗值分別與儲存的資料塊的雜湊值進行比對,如果第一校驗值與儲存的目標資料塊的雜湊值相同,則判斷待儲存資料塊與目標資料塊中的每個子資料塊是否相同。
在步驟S406中,如果儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同,則伺服器儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識。
其中,輔助查詢標識可以為字元或字串,其中的字元可以是數字、字母、符號或文字等,字串可以是由多個字元構成,例如R12或5等。
在實施中,如圖2所示,當伺服器接收到待儲存資料塊後,該裝置前置可以計算該待儲存資料塊的雜湊值(即第一校驗值),此時,可以獲取預先儲存的各個資料塊的雜湊值,可以將第一校驗值分別與儲存的資料塊的雜湊值進行比對,如果第一校驗值與儲存的目標資料塊的雜湊值相同,則可以分別提取待儲存資料塊和目標資料塊的資料內容,可以將提取的待儲存資料塊的資料內容與目標資料塊的資料內容進行比對,如果待儲存資料塊與目標資料塊的資料內容不同,則可以確定待儲存資料塊與目標資料塊之間具有相同的雜湊值,但是資料內容不相同,則該裝置前置可以將待儲存資料塊儲存到伺服器中,並且為待儲存資料塊重新分配一個輔助查詢標識。則基於上述實施例一中步驟S104的示例,該裝置前置中的如表1所示。
表1
上述處理過程主要是裝置前置部分需要執行的處理,在實際應用中,裝置處理部分可以對任意查詢雜湊值的操作進行處理,具體地,當重新傳入待儲存資料塊時,該裝置處理部分可以檢測上述資料儲存模型中是否儲存有衝突資料,如果沒有,則執行上述處理過程,如果有,則需要提取出所有的雜湊值相同的資料塊,該裝置處理部分會做一一的判斷,判斷其中的字串的值與重新傳入待儲存資料塊是否相同。
上述儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識的處理,在實際應用中可以包括多種處理方式,除了上述相關內容提供的實現方式外,還可以包括多種可實現方式,具體可以如下:將待儲存資料塊和待儲存資料塊的輔助查詢標識,以及目標資料塊和目標資料塊的輔助查詢標識儲存於同一資料塊集合中。
其中的同一資料塊集合可以如表1所示,這樣,對於上述兩個資料塊的查詢,可以分別透過校驗值和輔助查詢標識綜合確定。
在步驟S408中,如果待儲存資料塊與目標資料塊中的第一子資料塊相同,則伺服器輸出第一子資料塊的輔助查詢標識和第一校驗值。
在實施中,如圖2所示,如果透過對比確定待儲存資料塊與目標資料塊中的第一子資料塊相同,則可以確定待儲存資料塊與第一子資料塊相同,此時,可以將第一子資料塊的校驗值和輔助查詢標識作為待儲存資料塊的校驗值和輔助查詢標識(衝突版本),並可以輸出第一子資料塊的輔助查詢標識和第一校驗值。
在步驟S410中,電子設備接收伺服器發送的待儲存資料塊的儲存結果,該儲存結果是伺服器在儲存的資料塊中存在校驗值與待儲存資料塊的第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同的情況下生成。
在實施中,如圖2所示,伺服器儲存完成待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識後,可以向電子設備發送待儲存資料塊的儲存結果,以提示電子設備,其發送的待儲存資料塊已完成儲存。
為了及時對伺服器中可能存在的資料風險進行控制,可以設置風險控制伺服器,電子設備可以將伺服器每次處理完成的待儲存資料塊的校驗值和輔助查詢標識發送給風險控制伺服器,以便相應的管理人員管理和控制資料儲存可能存在的風險。具體可以參見下述步驟S412和步驟S414的相關內容。
在步驟S412中,電子設備接收伺服器發送的第一校驗值和目標輔助查詢標識,該目標輔助查詢標識為校驗值與第一校驗值相匹配的目標資料塊中,與待儲存資料塊相同的第一子資料塊的輔助查詢標識。
在步驟S414中,電子設備將第一校驗值和目標輔助查詢標識發送給風險控制伺服器。
在實施中,如圖2所示,電子設備可以接收伺服器發送的第一校驗值和目標輔助查詢標識,並可以透過第一校驗值和目標輔助查詢標識生成風控資訊,可以將生成的風控資訊發送給風險控制伺服器。管理人員可以透過風控資訊即時瞭解伺服器中的資料儲存情況。
本說明書實施例提供一種資料的處理方法,透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。

實施例三
以上為本說明書實施例提供的資料的處理方法,基於同樣的思路,本說明書實施例還提供一種資料的處理裝置,如圖5所示。
所述資料的處理裝置包括:獲取模組501和資料處理模組502,其中:
獲取模組501,用於接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值;
資料處理模組502,用於如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同,則儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識。
可選地,本說明書實施例中,所述目標資料塊中包括多個不同的子資料塊,每個子資料塊設置有相應的輔助查詢標識,所述裝置還包括:
判斷模組,用於如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,則判斷所述待儲存資料塊與所述目標資料塊中的每個子資料塊是否相同;
輸出模組,用於如果所述待儲存資料塊與所述目標資料塊中的第一子資料塊相同,則輸出所述第一子資料塊的輔助查詢標識和所述第一校驗值。
可選地,本說明書實施例中,所述資料處理模組502,用於將所述待儲存資料塊和所述待儲存資料塊的輔助查詢標識,以及所述目標資料塊和所述目標資料塊的輔助查詢標識儲存於同一資料塊集合中。
可選地,本說明書實施例中,所述輔助查詢標識為字元或字串。
可選地,本說明書實施例中,所述第一校驗值為雜湊值。
本說明書實施例提供一種資料的處理裝置,透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。

實施例四
以上為本說明書實施例提供的資料的處理方法,基於同樣的思路,本說明書實施例還提供一種資料的處理裝置,如圖6所示。
所述資料的處理裝置包括:資料發送模組601和結果接收模組602,其中:
資料發送模組601,用於向伺服器發送待儲存資料塊;
結果接收模組602,用於接收所述伺服器發送的所述待儲存資料塊的儲存結果,所述儲存結果是所述伺服器在儲存的資料塊中存在校驗值與所述待儲存資料塊的第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同的情況下生成。
可選地,本說明書實施例中,所述裝置還包括:
資訊接收模組,用於接收所述伺服器發送的所述第一校驗值和目標輔助查詢標識,所述目標輔助查詢標識為校驗值與所述第一校驗值相匹配的目標資料塊中,與所述待儲存資料塊相同的第一子資料塊的輔助查詢標識;
資訊發送模組,用於將所述第一校驗值和目標輔助查詢標識發送給風險控制伺服器。
本說明書實施例提供一種資料的處理裝置,透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。

實施例五
基於同樣的思路,本說明書實施例還提供一種資料的處理設備,如圖7所示。
該資料的處理設備可以為上述實施例提供的伺服器等。
資料的處理設備可因配置或性能不同而產生比較大的差異,可以包括一個或一個以上的處理器701和記憶體702,記憶體702中可以儲存有一個或一個以上儲存應用程式或資料。其中,記憶體702可以是短暫儲存或持久儲存。儲存在記憶體702的應用程式可以包括一個或一個以上模組(圖示未示出),每個模組可以包括對資料的處理設備中的一系列電腦可執行指令。更進一步地,處理器701可以設置為與記憶體702通信,在資料的處理設備上執行記憶體702中的一系列電腦可執行指令。資料的處理設備還可以包括一個或一個以上電源703,一個或一個以上有線或無線網路介面704,一個或一個以上輸入輸出介面705,一個或一個以上鍵盤706。
具體在本實施例中,資料的處理設備包括有記憶體,以及一個或一個以上的程式,其中一個或者一個以上程式儲存於記憶體中,且一個或者一個以上程式可以包括一個或一個以上模組,且每個模組可以包括對資料的處理設備中的一系列電腦可執行指令,且經配置以由一個或者一個以上處理器執行該一個或者一個以上套裝程式含用於進行以下電腦可執行指令:
接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值;
如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同,則儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識。
可選地,所述目標資料塊中包括多個不同的子資料塊,每個子資料塊設置有相應的輔助查詢標識;
所述接收待儲存資料塊,獲取所述待儲存資料塊的第一校驗值之後,還包括:
如果儲存的資料塊中存在校驗值與所述第一校驗值相匹配的目標資料塊,則判斷所述待儲存資料塊與所述目標資料塊中的每個子資料塊是否相同;
如果所述待儲存資料塊與所述目標資料塊中的第一子資料塊相同,則輸出所述第一子資料塊的輔助查詢標識和所述第一校驗值。
可選地,所述儲存所述待儲存資料塊,並為所述待儲存資料塊分配與所述目標資料塊不同的輔助查詢標識,包括:
將所述待儲存資料塊和所述待儲存資料塊的輔助查詢標識,以及所述目標資料塊和所述目標資料塊的輔助查詢標識儲存於同一資料塊集合中。
可選地,所述輔助查詢標識為字元或字串。
可選地,所述第一校驗值為雜湊值。
本說明書實施例提供一種資料的處理設備,透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。

實施例六
基於同樣的思路,本說明書實施例還提供一種資料的處理設備,如圖8所示。
該資料的處理設備可以為上述實施例提供的電子設備等。
資料的處理設備可因配置或性能不同而產生比較大的差異,可以包括一個或一個以上的處理器801和記憶體802,記憶體802中可以儲存有一個或一個以上儲存應用程式或資料。其中,記憶體802可以是短暫儲存或持久儲存。儲存在記憶體802的應用程式可以包括一個或一個以上模組(圖示未示出),每個模組可以包括對資料的處理設備中的一系列電腦可執行指令。更進一步地,處理器801可以設置為與記憶體802通信,在資料的處理設備上執行記憶體802中的一系列電腦可執行指令。資料的處理設備還可以包括一個或一個以上電源803,一個或一個以上有線或無線網路介面804,一個或一個以上輸入輸出介面805,一個或一個以上鍵盤806。
具體在本實施例中,資料的處理設備包括有記憶體,以及一個或一個以上的程式,其中一個或者一個以上程式儲存於記憶體中,且一個或者一個以上程式可以包括一個或一個以上模組,且每個模組可以包括對資料的處理設備中的一系列電腦可執行指令,且經配置以由一個或者一個以上處理器執行該一個或者一個以上套裝程式含用於進行以下電腦可執行指令:
向伺服器發送待儲存資料塊;
接收所述伺服器發送的所述待儲存資料塊的儲存結果,所述儲存結果是所述伺服器在儲存的資料塊中存在校驗值與所述待儲存資料塊的第一校驗值相匹配的目標資料塊,且所述待儲存資料塊與所述目標資料塊不同的情況下生成。
可選地,所述向伺服器發送待儲存資料塊之後,還包括:
接收所述伺服器發送的所述第一校驗值和目標輔助查詢標識,所述目標輔助查詢標識為校驗值與所述第一校驗值相匹配的目標資料塊中,與所述待儲存資料塊相同的第一子資料塊的輔助查詢標識;
將所述第一校驗值和目標輔助查詢標識發送給風險控制伺服器。
本說明書實施例提供一種資料的處理設備,透過接收待儲存資料塊,並獲取待儲存資料塊的第一校驗值,在儲存的資料塊中存在校驗值與第一校驗值相匹配的目標資料塊,且待儲存資料塊與目標資料塊不同時,儲存待儲存資料塊,並為待儲存資料塊分配與目標資料塊不同的輔助查詢標識,這樣,對於已儲存的目標資料塊與待儲存資料塊來說,當兩者的校驗值相同,但兩者的資料內容不同時,可以儲存待儲存資料塊,並為待儲存資料塊再重新分配與目標資料塊不同的輔助查詢標識,從而來進一步區分校驗值相同,資料內容不同的兩個資料塊,從而解決了相同校驗值不同資料內容的待儲存資料塊,無法儲存到伺服器中的問題,避免造成業務場景的錯亂。
上述對本說明書特定實施例進行了描述。其它實施例在所附申請專利範圍的範圍內。在一些情況下,在申請專利範圍中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在附圖中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。在某些實施方式中,多工處理和並行處理也是可以的或者可能是有利的。
在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)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、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、光學記憶體等)上實施的電腦程式產品的形式。
本說明書可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、元件、資料結構等等。也可以在分散式運算環境中實踐本申請,在這些分散式運算環境中,由透過通信網路而被連接的遠端處理設備來執行任務。在分散式運算環境中,程式模組可以位於包括存放裝置在內的本地和遠端電腦儲存媒體中。
本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。
以上所述僅為本說明書的實施例而已,並不用於限制本說明書。對於本領域技術人員來說,本說明書可以有各種更改和變化。凡在本說明書的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本說明書的申請專利範圍之內。
The embodiment of the present specification provides a method, device and device for processing data.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the specification. The embodiments are only a part of the embodiments of the specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without departing from the scope of the invention shall fall within the scope of the present disclosure.

Embodiment 1 As shown in FIG. 1 , an embodiment of the present disclosure provides a method for processing data. The execution body of the method may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer. It may be a terminal device such as a personal computer, and the server may be a separate server or a server cluster composed of a plurality of servers. In the embodiment of the present specification, in order to improve the processing efficiency of the data, the execution body of the method is described in detail by using a server as an example. For the case of the terminal device, the specific processing of the server described below may be performed, and details are not described herein again. The method may specifically include the following steps:
In step S102, the data block to be stored is received, and the first check value of the data block to be stored is obtained.
The data block to be stored may be any data block, wherein the data block to be stored may be composed of one or more pieces of data, such as a data block for registering a piece of information of a website, and the data block may include a user registration. User name, password and email address. The first check value may be a check value calculated by the check value algorithm to store data in the data block, and the check value algorithm may include multiple types, such as a parity algorithm, a BCC (Block Check Character) Code verification) XOR check method, vertical redundancy check algorithm, loop redundancy check algorithm and data summary algorithm (or Hash algorithm).
In an implementation, the server may receive the data block to be stored sent by another device (such as the user's terminal device or the server of the merchant, etc.), and may specifically include multiple manners. For example, when the user registers on the website, the user can use the The registration option is found in the homepage of the website. After the search is found, the registration option can be clicked. At this time, the user terminal device can obtain the registration page, and the user can input the user name and password in the registration page. After the input is completed, the confirmation button in the registration page can be clicked, and the terminal device can obtain the information input by the user on the registration page, and can use the obtained information as the data block to be stored, and send the to-be-stored data block to the server.
For another example, as shown in FIG. 2, after the user completes the purchase, the user checks out at the cashier, and the user uses the payment card (such as a bank card or a shopping card, etc.) to make the payment, and the merchant can input the user's payment card into the cash register device. The card number and the like, the cash register device can store the input information, and can use the card number of the payment card as a data block to be stored, and send the to-be-stored data block to the server of the payment card center, and the server can receive the information. Save the data block.
A check value algorithm may be set in the server. When the server receives the data block to be stored sent by the terminal device, the check value of the data block to be stored may be calculated through a preset check value algorithm (ie, the first Check value).
It should be noted that, the processing manner of the data block to be stored by the server to be sent by other devices may include a plurality of achievable manners in addition to the foregoing two methods, which is not limited in the embodiment of the present specification.
In step S104, if there is a target data block whose check value matches the first check value in the stored data block, and the to-be-stored data block is different from the target data block, the data block to be stored is stored, and A supplementary query identifier different from the target data block is allocated to the data block to be stored.
The auxiliary query identifier may be an auxiliary identifier according to whether the data block to be stored is a stored data block, and the auxiliary query identifier may include multiple representation forms, and the specific form of the auxiliary query identifier may be set according to actual conditions, such as A string of numbers consisting of one or more digits, such as 2 or 15, etc., or a string of one or more letters, such as rl or rk, or alternatively, numbers and letters. A string formed by combining, such as x1 or y2. In the embodiment of the present specification, the auxiliary identifiers other than the check value specified by the auxiliary query identifier may be used in the actual application, and the auxiliary query identifier may have other different representation forms, such as a version number.
In the implementation, the check value is one of the main means for detecting whether the two or more materials are identical. Generally, if the check values of the two data or data blocks are the same, the two data or materials are indicated. Blocks are the same data or data block, but the check value will produce the same value within a certain range, that is, two different data blocks produce the same check value. After the server receives the data block to be stored, the first check value of the data block to be stored may be calculated. At this time, the check value of each data block stored in advance may be obtained, and the first check value may be respectively The check value of the stored data block is compared. If the first check value is the same as the stored check value of one of the data blocks or the plurality of data blocks (ie, the target data block), based on the above content, it can be considered that The stored data block should be the same as the target data block. In this case, even if the data block to be stored is different from the target data block, but only the check values of the two are the same, the server will not be able to store the data block to be stored, thereby causing The data or the data block is stored in a leak, and even if the data to be stored is stored in the server by some method, finally, because the server has multiple different data blocks of the same check value, the server is reading. When the data block of the first check value is used, the data blocks that may be read at different times are different. For example, the data block corresponding to the first check value read by the server for the first time is the data block to be stored. Data block of the first check value corresponding to a second time to re-read the target data blocks and the like. To this end, the embodiment of the present specification provides an optional processing manner. For details, refer to the following related content:
After the server obtains the first check value of the data to be stored, the check value of each data block stored in advance may be compared with the first check value, respectively, if the stored data block includes the check value and The first check value is matched (if the same), if the stored data block includes the target data with the same check value and the first check value, the data content of the data block to be stored and the target data block may be separately extracted, Comparing the extracted data content of the data block to be stored with the data content of the target data block, if the data content of the data block to be stored is different from the target data block, it may be determined that the data block to be stored and the target data block have the same The check value, but the data content is not the same, the server can store the data block to be stored in the server, and reallocate an auxiliary query identifier for the data block to be stored. In order to distinguish different data blocks having the same check value, different auxiliary query identifiers may be set for different data blocks having the same check value, so that when the server receives the new data block to be stored again, The check value and the auxiliary query identifier can be respectively used to determine whether the new data block to be stored has been stored in the server, that is, the check value is first used for querying, and if the check value of the new data block to be stored is determined If the check value of the stored data block is the same, the data content can be compared. If the new data block to be stored is the same as one of the data blocks, it can be determined that the new data block to be stored is the same as the data block. The data block, otherwise it is a different data block, in which case the auxiliary query identifier can be assigned to the new data block to be stored.
For example, the data block to be stored is “CD”, the first check value is “Xfdsafdsfdlasf”, and the target data block is “AB”. If the check value of the target data block “AB” stored in the server is “Xfdsafdsfdlasf”, The data block to be stored is “CD”, and the first check value of the to-be-stored data block “CD” is “Xfdsafdsfdlasf” through the above-mentioned check value algorithm, and the check value of the to-be-stored data block and the target data block is the same. However, the data content of the data block to be stored is not the same as the data content of the target data block. At this time, the data block "CD" to be stored may be stored, and then the auxiliary data query block and the target data block may be respectively assigned different auxiliary query identifiers, for example, The auxiliary query identifier (or version number, etc.) of the data block to be stored is 1, and the auxiliary query identifier (or version number, etc.) of the target data block is 2 or the like.
As shown in FIG. 3, the embodiment of the present disclosure provides a method for processing data. The execution body of the method may be an electronic device, and the electronic device may be a device for requesting storage of a data block from a server, such as a checkout counter. The electronic device or the like may be a mobile terminal device such as a mobile phone or a tablet computer, or may be a terminal device such as a personal computer. The method may specifically include the following steps:
In step S302, the data block to be stored is sent to the server.
In step S304, the storage result of the data block to be stored sent by the server is received, and the storage result is a target data block in which the server has a check value matching the first check value of the data block to be stored in the stored data block. And the data block to be stored is generated differently from the target data block.
For the specific processing of the foregoing steps S302 and S304, refer to the related content in the foregoing steps S102 and S104, and details are not described herein again.
The embodiment of the present specification provides a method for processing data, by receiving a data block to be stored, and acquiring a first check value of the data block to be stored, and the check value in the stored data block matches the first check value. The target data block, and when the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored target data block is to be stored. For storing data blocks, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored may be stored, and the auxiliary query identifier different from the target data block may be re-allocated for the data block to be stored. Therefore, the two data blocks with the same check value and different data contents are further distinguished, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and the business scene is not disturbed.

Embodiment 2 As shown in FIG. 4, the embodiment of the present specification provides a method for processing data. The execution body of the method may be an electronic device and a server, and the electronic device may be used to request storage of a data block from a server. The device, such as an electronic device of a cash register, wherein the electronic device may be a mobile terminal device such as a mobile phone or a tablet computer, or may be a terminal device such as a personal computer, and the server may be an independent server or a server. A server cluster consisting of multiple servers. The method may specifically include the following steps:
In step S402, the server receives the data block to be stored, and acquires a first check value of the data block to be stored.
The first check value may be a hash value. In the embodiment of the present specification, the check value is a hash value.
For the specific processing of the foregoing step S402, refer to the related content of step S102 in the first embodiment, and details are not described herein again.
In step S404, if there is a target data block whose check value matches the first check value in the stored data block, the server determines whether the data block to be stored is identical to each of the target data blocks in the target data block.
In practice, the hash value can be one of the main means for detecting whether the data are identical. Generally, if the hash values of the two data or data blocks are the same, it means that the two data or data blocks are the same data or The data block, however, the hash value will collide within a certain range, that is, two different data blocks have the same hash value. In the embodiment of the present specification, a device for processing data conflict may be set, and the device may be used to solve a service problem caused by a hash value collision, and the device may be divided into two main parts, namely device pre-installation and device processing, A data storage model is preset in the device front, and the data storage model may include three items: a string (ie, a data block to be stored), a hash value, and a conflicting version (ie, an auxiliary query identifier).
After the server receives the data block to be stored, the device pre-position can calculate the hash value (ie, the first check value) of the data block to be stored, and at this time, the hash value of each data block stored in advance can be obtained, Comparing the first check value with the hash value of the stored data block respectively, and if the first check value is the same as the hash value of the stored target data block, determining each of the to-be-stored data block and the target data block Whether the data blocks are the same.
In step S406, if there is a target data block in the stored data block that matches the first check value, and the data block to be stored is different from the target data block, the server stores the data block to be stored, and The auxiliary data identifier of the data block to be stored is different from the target data block.
The auxiliary query identifier may be a character or a string, where the characters may be numbers, letters, symbols, or characters, and the string may be composed of multiple characters, such as R12 or 5.
In the implementation, as shown in FIG. 2, after the server receives the data block to be stored, the device pre-position can calculate the hash value (ie, the first check value) of the data block to be stored, and at this time, the pre-acquisition can be obtained. The hash value of each stored data block may be compared with the hash value of the stored data block respectively. If the first check value is the same as the hash value of the stored target data block, the first check value may be separately extracted. The data content of the data block to be stored and the target data block may be compared with the data content of the target data block to be stored, and if the data content of the data block to be stored is different from the target data block, Determining that the data block to be stored and the target data block have the same hash value, but the data content is different, the device front can store the data block to be stored in the server, and reallocate an auxiliary device for the data block to be stored. Query ID. Then, based on the example of step S104 in the first embodiment, the device front is as shown in Table 1.
Table 1
The above processing process is mainly a process that needs to be performed in the front part of the device. In an actual application, the device processing part can process any operation of querying the hash value, specifically, when re-introducing the data block to be stored, the processing part of the device It is possible to detect whether conflict data is stored in the data storage model. If not, execute the above process. If yes, all the data blocks with the same hash value need to be extracted, and the processing part of the device will judge one by one and judge The value of the string is the same as the re-input to the data block to be stored.
The processing of storing the to-be-stored data block and assigning the auxiliary query identifier different from the target data block to the data block to be stored may include multiple processing manners in the actual application, and may include multiple types in addition to the implementation manner provided by the related content. The implementation manner may be specifically as follows: storing the auxiliary data identifier of the data block to be stored and the data block to be stored, and the auxiliary query identifier of the target data block and the target data block in the same data block set.
The same data block set can be as shown in Table 1. In this way, the query for the two data blocks can be comprehensively determined through the check value and the auxiliary query identifier.
In step S408, if the data block to be stored is the same as the first sub-data block in the target data block, the server outputs the auxiliary query identifier and the first check value of the first sub-data block.
In the implementation, as shown in FIG. 2, if it is determined by comparison that the to-be-stored data block is the same as the first sub-data block in the target data block, it may be determined that the to-be-stored data block is the same as the first sub-data block. The check value and the auxiliary query identifier of the first sub-block are used as the check value of the data block to be stored and the auxiliary query identifier (collision version), and the auxiliary query identifier and the first check value of the first sub-block can be output. .
In step S410, the electronic device receives a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value in the stored data block that matches the first check value of the data block to be stored. The target data block is generated if the data block to be stored is different from the target data block.
In the implementation, as shown in FIG. 2, after the server stores the data block to be stored and allocates the auxiliary query identifier different from the target data block for the data block to be stored, the storage result of the data block to be stored may be sent to the electronic device. To prompt the electronic device, the data block to be stored sent by the electronic device has been stored.
In order to timely control the data risks that may exist in the server, a risk control server may be set, and the electronic device may send the check value of the to-be-stored data block and the auxiliary query identifier processed by the server to the risk control server. In order for the corresponding management to manage and control the possible risks of data storage. For details, refer to the related contents of step S412 and step S414 described below.
In step S412, the electronic device receives the first check value sent by the server and the target auxiliary query identifier, where the target auxiliary query identifier is the target data block whose check value matches the first check value, and the data to be stored. Auxiliary query identifier for the first sub-block of the same block.
In step S414, the electronic device transmits the first check value and the target auxiliary query identifier to the risk control server.
In an implementation, as shown in FIG. 2, the electronic device may receive the first check value and the target auxiliary query identifier sent by the server, and generate the wind control information by using the first check value and the target auxiliary query identifier, which may be generated. The wind control information is sent to the risk control server. Managers can instantly learn about the data storage in the server through the wind control information.
The embodiment of the present specification provides a method for processing data, by receiving a data block to be stored, and acquiring a first check value of the data block to be stored, and the check value in the stored data block matches the first check value. The target data block, and when the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored target data block is to be stored. For storing data blocks, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored may be stored, and the auxiliary query identifier different from the target data block may be re-allocated for the data block to be stored. Therefore, the two data blocks with the same check value and different data contents are further distinguished, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and the business scene is not disturbed.

The third embodiment is a processing method for the data provided by the embodiment of the present specification. Based on the same idea, the embodiment of the present specification further provides a data processing device, as shown in FIG. 5 .
The processing device of the data includes: an obtaining module 501 and a data processing module 502, wherein:
The obtaining module 501 is configured to receive a data block to be stored, and obtain a first check value of the data block to be stored.
The data processing module 502 is configured to store, if the stored data block has a target data block whose check value matches the first check value, and the data block to be stored is different from the target data block, And the auxiliary data identifier that is different from the target data block is allocated to the to-be-stored data block.
Optionally, in the embodiment of the present specification, the target data block includes a plurality of different sub-data blocks, and each of the sub-data blocks is provided with a corresponding auxiliary query identifier, and the device further includes:
a determining module, configured to determine, if the stored data block has a target data block whose check value matches the first check value, determine each of the to-be-stored data block and the target data block Whether the blocks are the same;
And an output module, configured to output an auxiliary query identifier of the first sub-block and the first check value if the to-be-stored data block is the same as the first sub-data block in the target data block.
Optionally, in the embodiment of the present specification, the data processing module 502 is configured to: the to-be-stored data block and the auxiliary query identifier of the to-be-stored data block, and the target data block and the target data. The auxiliary query ID of the block is stored in the same data block set.
Optionally, in the embodiment of the present specification, the auxiliary query identifier is a character or a string.
Optionally, in the embodiment of the present specification, the first check value is a hash value.
The embodiment of the present specification provides a data processing device, by receiving a data block to be stored, and acquiring a first check value of the data block to be stored, and the check value in the stored data block is matched with the first check value. The target data block, and when the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored target data block is to be stored. For storing data blocks, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored may be stored, and the auxiliary query identifier different from the target data block may be re-allocated for the data block to be stored. Therefore, the two data blocks with the same check value and different data contents are further distinguished, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and the business scene is not disturbed.

Embodiment 4 The above is the processing method of the data provided by the embodiment of the present specification. Based on the same idea, the embodiment of the present specification further provides a data processing device, as shown in FIG. 6 .
The processing device of the data includes: a data sending module 601 and a result receiving module 602, wherein:
a data sending module 601, configured to send a data block to be stored to the server;
a result receiving module 602, configured to receive a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value and the to-be-stored data in the stored data block. And generating, by the target data block that matches the first check value of the block, and the data block to be stored is different from the target data block.
Optionally, in the embodiment of the present specification, the device further includes:
The information receiving module is configured to receive the first check value and the target auxiliary query identifier sent by the server, where the target auxiliary query identifier is a target data whose check value matches the first check value An auxiliary query identifier of the first sub-block of the same as the to-be-stored data block in the block;
The information sending module is configured to send the first check value and the target auxiliary query identifier to the risk control server.
The embodiment of the present specification provides a data processing device, by receiving a data block to be stored, and acquiring a first check value of the data block to be stored, and the check value in the stored data block is matched with the first check value. The target data block, and when the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored target data block is to be stored. For storing data blocks, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored may be stored, and the auxiliary query identifier different from the target data block may be re-allocated for the data block to be stored. Therefore, the two data blocks with the same check value and different data contents are further distinguished, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and the business scene is not disturbed.

Embodiment 5 Based on the same idea, the embodiment of the present specification further provides a data processing device, as shown in FIG. 7.
The processing device of the data may be the server or the like provided in the above embodiment.
The processing device of the data may vary greatly depending on configuration or performance, and may include one or more processors 701 and memory 702, and one or more storage applications or materials may be stored in the memory 702. The memory 702 can be stored temporarily or permanently. The application stored in memory 702 can include one or more modules (not shown), each of which can include a series of computer executable instructions in a processing device for the data. Still further, the processor 701 can be configured to communicate with the memory 702 to execute a series of computer executable instructions in the memory 702 on the processing device of the material. The processing device of the data may also include one or more power sources 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, one or more keyboards 706.
Specifically, in this embodiment, the data processing device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules. And each module can include a series of computer executable instructions in a processing device for data, and configured to be executed by one or more processors, the one or more package programs for executing the following computer executable instructions :
Receiving a data block to be stored, and acquiring a first check value of the data block to be stored;
If the stored data block has a target data block whose check value matches the first check value, and the to-be-stored data block is different from the target data block, storing the to-be-stored data block, and And assigning, to the stored data block, an auxiliary query identifier different from the target data block.
Optionally, the target data block includes a plurality of different sub-data blocks, and each of the sub-data blocks is configured with a corresponding auxiliary query identifier;
After receiving the to-be-stored data block and acquiring the first check value of the to-be-stored data block, the method further includes:
If the stored data block has a target data block whose check value matches the first check value, determining whether the to-be-stored data block is the same as each of the target data blocks;
And if the to-be-stored data block is the same as the first sub-data block in the target data block, outputting the auxiliary query identifier of the first sub-data block and the first check value.
Optionally, the storing the to-be-stored data block and allocating the auxiliary query identifier different from the target data block to the to-be-stored data block includes:
And storing the to-be-stored data block and the auxiliary query identifier of the to-be-stored data block, and the target data block and the auxiliary query identifier of the target data block in the same data block set.
Optionally, the auxiliary query identifier is a character or a string.
Optionally, the first check value is a hash value.
The embodiment of the present specification provides a data processing device, by receiving a data block to be stored, and acquiring a first check value of the data block to be stored, and the check value in the stored data block is matched with the first check value. The target data block, and when the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored target data block is to be stored. For storing data blocks, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored may be stored, and the auxiliary query identifier different from the target data block may be re-allocated for the data block to be stored. Therefore, the two data blocks with the same check value and different data contents are further distinguished, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and the business scene is not disturbed.

Embodiment 6 Based on the same idea, the embodiment of the present specification further provides a data processing device, as shown in FIG. 8.
The processing device of the data may be an electronic device or the like provided by the above embodiment.
The processing device of the data may vary greatly depending on configuration or performance, and may include one or more processors 801 and memory 802, and one or more storage applications or materials may be stored in the memory 802. The memory 802 can be stored temporarily or permanently. The application stored in memory 802 can include one or more modules (not shown), each of which can include a series of computer executable instructions in a processing device for the data. Still further, the processor 801 can be configured to communicate with the memory 802 to execute a series of computer executable instructions in the memory 802 on the processing device of the material. The data processing device may also include one or more power sources 803, one or more wired or wireless network interfaces 804, one or more input and output interfaces 805, and one or more keyboards 806.
Specifically, in this embodiment, the data processing device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules. And each module can include a series of computer executable instructions in a processing device for data, and configured to be executed by one or more processors, the one or more package programs for executing the following computer executable instructions :
Sending a data block to be stored to the server;
Receiving a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value in the stored data block and a first check value of the to-be-stored data block A matching target data block is generated, and the to-be-stored data block is generated differently from the target data block.
Optionally, after the sending the to-be-stored data block to the server, the method further includes:
Receiving, by the server, the first check value and the target auxiliary query identifier, where the target auxiliary query identifier is a target data block whose check value matches the first check value, and the Storing an auxiliary query identifier of the first sub-block of the same data block;
Sending the first check value and the target auxiliary query identifier to the risk control server.
The embodiment of the present specification provides a data processing device, by receiving a data block to be stored, and acquiring a first check value of the data block to be stored, and the check value in the stored data block is matched with the first check value. The target data block, and when the data block to be stored is different from the target data block, the data block to be stored is stored, and the auxiliary query identifier different from the target data block is allocated for the data block to be stored, so that the stored target data block is to be stored. For storing data blocks, when the check values of the two are the same, but the data contents of the two are different, the data block to be stored may be stored, and the auxiliary query identifier different from the target data block may be re-allocated for the data block to be stored. Therefore, the two data blocks with the same check value and different data contents are further distinguished, thereby solving the problem that the data block to be stored with different data contents of the same check value cannot be stored in the server, and the business scene is not disturbed.
The foregoing description of the specific embodiments of the specification has been described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the scope of the claims may be performed in a different order than the embodiments and still achieve the desired results. In addition, the processes depicted in the figures are not necessarily in a particular order or in a sequential order to achieve the desired results. In some embodiments, multiplex processing and parallel processing are also possible or may be advantageous.
In the 1990s, improvements to a technology could clearly distinguish between hardware improvements (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (for method flow). Improve). However, as technology advances, many of today's method flow improvements can be seen as direct improvements in hardware circuit architecture. Designers almost always get the corresponding hardware 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 implemented by a hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers program themselves to "integrate" a digital system onto a single PLD without having to ask the chip manufacturer to design and fabricate a dedicated integrated circuit die. Moreover, today, instead of manually making integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in programming development, but to compile The original source code was also written in a specific programming language. This is called the Hardware Description Language (HDL). HDL is not the only one, but there are many kinds, such as ABEL (Advanced Boolean Expression). Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are commonly used. It should also be clear to those skilled in the art that the hardware flow of the logic method flow can be easily obtained by simply programming the method flow and programming it into the integrated circuit with the above hardware description languages.
The controller can be implemented in any suitable manner, for example, the controller can be readable by, for example, a microprocessor or processor and a computer readable code (e.g., software or firmware) that can be executed by the (micro)processor. In the form of media, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel The AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, memory controllers can also be implemented as part of the memory's 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 logically program the method steps to make the controller a logic gate, a switch, a dedicated integrated circuit, a programmable logic controller, and Embedded in the form of a microcontroller or the like to achieve the same function. Thus such a controller can be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component. Or even a device for implementing various functions can be considered as either a software module implementing the method or a structure within the hardware component.
The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet, a wearable device. Or a combination of any of these devices.
For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of each unit can be implemented in the same software or software and/or hardware in the implementation of the present application.
Those skilled in the art will appreciate that embodiments of the present specification can be provided as a method, system, or computer program product. Accordingly, the present description may take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment incorporating soft and hardware aspects. Moreover, the present specification may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer usable code. .
The present specification has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present specification. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine for generating instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
The computer program instructions can also be stored in a computer readable memory that can boot a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture including the instruction device. The instruction means implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.
These computer program instructions can also be loaded onto a computer or other programmable data processing device to perform a series of operational steps on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, a network interface, and memory.
The memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer readable media, such as read only memory (ROM) or flash memory ( Flash RAM). Memory is an example of a computer readable medium.
Computer readable media including both permanent and non-permanent, removable and non-removable media can be stored by any method or technology. Information can be computer readable instructions, data structures, modules of programs, or other materials. 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 technology, CD-ROM only, digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape storage or other magnetic storage device or any other non-transportable media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
Those skilled in the art will appreciate that embodiments of the present specification can be provided as a method, system, or computer program product. Accordingly, the present description may take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining soft and hardware aspects. Moreover, the present specification may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer usable code. .
This description can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, a program module includes routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The present application can also be practiced in a distributed computing environment in which tasks are performed by remote processing devices that are coupled through a communication network. In a decentralized computing environment, the program modules can be located in local and remote computer storage media, including storage devices.
The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
The above descriptions are only examples of the present specification and are not intended to limit the present specification. Various modifications and changes can be made in the present specification to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present specification are intended to be included in the scope of the present application.

501‧‧‧獲取模組501‧‧‧Get Module

502‧‧‧資料處理模組 502‧‧‧ Data Processing Module

601‧‧‧資料發送模組 601‧‧‧ data transmission module

602‧‧‧結果接收模組 602‧‧‧ result receiving module

701‧‧‧處理器 701‧‧‧ processor

702‧‧‧記憶體 702‧‧‧ memory

703‧‧‧電源 703‧‧‧Power supply

704‧‧‧有線或無線網路介面 704‧‧‧Wired or wireless network interface

705‧‧‧輸入輸出介面 705‧‧‧Input and output interface

706‧‧‧鍵盤 706‧‧‧ keyboard

801‧‧‧處理器 801‧‧‧ processor

802‧‧‧記憶體 802‧‧‧ memory

803‧‧‧電源 803‧‧‧Power supply

804‧‧‧有線或無線網路介面 804‧‧‧Wired or wireless network interface

805‧‧‧輸入輸出介面 805‧‧‧Input and output interface

806‧‧‧鍵盤 806‧‧‧ keyboard

為了更清楚地說明本說明書實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本說明書中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Some of the embodiments described in the specification can be obtained by those skilled in the art from the drawings without departing from the drawings.

圖1為本說明書一種資料的處理方法實施例; 1 is an embodiment of a method for processing data according to the present specification;

圖2為本說明書一種資料處理過程中各設備之間的資料交互示意圖; 2 is a schematic diagram of data interaction between devices in a data processing process according to the present specification;

圖3為本說明書另一種資料的處理方法實施例; 3 is an embodiment of a method for processing another material of the present specification;

圖4為本說明書又一種資料的處理方法實施例; FIG. 4 is a schematic diagram of another method for processing data according to the present specification; FIG.

圖5為本說明書一種資料的處理裝置實施例; Figure 5 is an embodiment of a processing device for data according to the present specification;

圖6為本說明書另一種資料的處理裝置實施例; Figure 6 is an embodiment of a processing device for another material of the present specification;

圖7為本說明書一種資料的處理設備實施例; Figure 7 is an embodiment of a processing device for data of the present specification;

圖8為本說明書另一種資料的處理設備實施例。 Figure 8 is an embodiment of a processing apparatus for another material of the present specification.

Claims (16)

一種資料的處理方法,其特徵在於,該方法包括: 接收待儲存資料塊,獲取該待儲存資料塊的第一校驗值; 如果儲存的資料塊中存在校驗值與該第一校驗值相匹配的目標資料塊,且該待儲存資料塊與該目標資料塊不同,則儲存該待儲存資料塊,並為該待儲存資料塊分配與該目標資料塊不同的輔助查詢標識。A method for processing data, characterized in that the method comprises: Receiving a data block to be stored, and acquiring a first check value of the data block to be stored; If the stored data block has a target data block whose check value matches the first check value, and the to-be-stored data block is different from the target data block, storing the to-be-stored data block and storing the data block to be stored The data block allocates an auxiliary query identifier that is different from the target data block. 根據請求項1所述的方法,其中,該目標資料塊中包括多個不同的子資料塊,每個子資料塊設置有相應的輔助查詢標識; 所述接收待儲存資料塊,獲取該待儲存資料塊的第一校驗值之後,該方法還包括: 如果儲存的資料塊中存在校驗值與該第一校驗值相匹配的目標資料塊,則判斷該待儲存資料塊與該目標資料塊中的每個子資料塊是否相同; 如果該待儲存資料塊與該目標資料塊中的第一子資料塊相同,則輸出該第一子資料塊的輔助查詢標識和該第一校驗值。The method of claim 1, wherein the target data block includes a plurality of different sub-data blocks, and each of the sub-data blocks is provided with a corresponding auxiliary query identifier; After the receiving the data block to be stored and acquiring the first check value of the data block to be stored, the method further includes: If the stored data block has a target data block whose check value matches the first check value, it is determined whether the to-be-stored data block is the same as each of the sub-data blocks in the target data block; If the to-be-stored data block is the same as the first sub-data block in the target data block, output the auxiliary query identifier of the first sub-data block and the first check value. 根據請求項2所述的方法,其中,所述儲存該待儲存資料塊,並為該待儲存資料塊分配與該目標資料塊不同的輔助查詢標識,包括: 將該待儲存資料塊和該待儲存資料塊的輔助查詢標識,以及該目標資料塊和該目標資料塊的輔助查詢標識儲存於同一資料塊集合中。The method of claim 2, wherein the storing the to-be-stored data block and assigning the to-be-stored data block a different auxiliary query identifier from the target data block comprises: And storing the to-be-stored data block and the auxiliary query identifier of the to-be-stored data block, and the target data block and the auxiliary query identifier of the target data block in the same data block set. 根據請求項1至3中任一項所述的方法,其中,該輔助查詢標識為字元或字串。The method of any one of claims 1 to 3, wherein the auxiliary query is identified as a character or a string. 根據請求項4所述的方法,其中,該第一校驗值為雜湊值。The method of claim 4, wherein the first check value is a hash value. 一種資料的處理方法,其特徵在於,該方法包括: 向伺服器發送待儲存資料塊; 接收該伺服器發送的該待儲存資料塊的儲存結果,該儲存結果是該伺服器在儲存的資料塊中存在校驗值與該待儲存資料塊的第一校驗值相匹配的目標資料塊,且該待儲存資料塊與該目標資料塊不同的情況下生成。A method for processing data, characterized in that the method comprises: Sending a data block to be stored to the server; Receiving a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a target data block in the stored data block that matches the first check value of the to-be-stored data block. And the data block to be stored is generated differently from the target data block. 根據請求項6所述的方法,其中,所述向伺服器發送待儲存資料塊之後,該方法還包括: 接收該伺服器發送的該第一校驗值和目標輔助查詢標識,該目標輔助查詢標識為校驗值與該第一校驗值相匹配的目標資料塊中,與該待儲存資料塊相同的第一子資料塊的輔助查詢標識; 將該第一校驗值和目標輔助查詢標識發送給風險控制伺服器。The method of claim 6, wherein after the sending the data block to be stored to the server, the method further comprises: Receiving, by the server, the first check value and the target auxiliary query identifier, where the target auxiliary query identifier is a target data block whose check value matches the first check value, and is the same as the to-be-stored data block. Auxiliary query identifier of the first sub-block; The first check value and the target auxiliary query identifier are sent to the risk control server. 一種資料的處理裝置,其特徵在於,該裝置包括: 獲取模組,用於接收待儲存資料塊,獲取該待儲存資料塊的第一校驗值; 資料處理模組,用於如果儲存的資料塊中存在校驗值與該第一校驗值相匹配的目標資料塊,且該待儲存資料塊與該目標資料塊不同,則儲存該待儲存資料塊,並為該待儲存資料塊分配與該目標資料塊不同的輔助查詢標識。A processing device for data, characterized in that the device comprises: Obtaining a module, configured to receive a data block to be stored, and obtain a first check value of the data block to be stored; a data processing module, configured to store the to-be-stored data if the stored data block has a target data block whose check value matches the first check value, and the to-be-stored data block is different from the target data block Blocking, and assigning an auxiliary query identifier different from the target data block to the to-be-stored data block. 根據請求項8所述的裝置,其中,該目標資料塊中包括多個不同的子資料塊,每個子資料塊設置有相應的輔助查詢標識,該裝置還包括: 判斷模組,用於如果儲存的資料塊中存在校驗值與該第一校驗值相匹配的目標資料塊,則判斷該待儲存資料塊與該目標資料塊中的每個子資料塊是否相同; 輸出模組,用於如果該待儲存資料塊與該目標資料塊中的第一子資料塊相同,則輸出該第一子資料塊的輔助查詢標識和該第一校驗值。The device of claim 8, wherein the target data block includes a plurality of different sub-data blocks, each of the sub-data blocks is provided with a corresponding auxiliary query identifier, and the device further includes: a judging module, configured to determine, if the stored data block has a target data block whose check value matches the first check value, determine whether the to-be-stored data block is the same as each of the sub-data blocks in the target data block ; And an output module, configured to output the auxiliary query identifier of the first sub-block and the first check value if the to-be-stored data block is the same as the first sub-data block in the target data block. 根據請求項9所述的裝置,其中,該資料處理模組,用於將該待儲存資料塊和該待儲存資料塊的輔助查詢標識,以及該目標資料塊和該目標資料塊的輔助查詢標識儲存於同一資料塊集合中。The device of claim 9, wherein the data processing module is configured to use the data block to be stored and the auxiliary query identifier of the data block to be stored, and the auxiliary data identifier of the target data block and the target data block. Stored in the same data block collection. 根據請求項8至10中任一項所述的裝置,其中,該輔助查詢標識為字元或字串。The apparatus of any one of claims 8 to 10, wherein the auxiliary query is identified as a character or a string. 根據請求項11所述的裝置,其中,該第一校驗值為雜湊值。The apparatus of claim 11, wherein the first check value is a hash value. 一種資料的處理裝置,其特徵在於,該裝置包括: 資料發送模組,用於向伺服器發送待儲存資料塊; 結果接收模組,用於接收該伺服器發送的該待儲存資料塊的儲存結果,該儲存結果是該伺服器在儲存的資料塊中存在校驗值與該待儲存資料塊的第一校驗值相匹配的目標資料塊,且該待儲存資料塊與該目標資料塊不同的情況下生成。A processing device for data, characterized in that the device comprises: a data sending module, configured to send a data block to be stored to the server; a result receiving module, configured to receive a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a check value and a first check of the to-be-stored data block in the stored data block A target data block whose value matches, and the data block to be stored is generated differently from the target data block. 根據請求項13所述的裝置,其中,該裝置還包括: 資訊接收模組,用於接收該伺服器發送的該第一校驗值和目標輔助查詢標識,該目標輔助查詢標識為校驗值與該第一校驗值相匹配的目標資料塊中,與該待儲存資料塊相同的第一子資料塊的輔助查詢標識; 資訊發送模組,用於將該第一校驗值和目標輔助查詢標識發送給風險控制伺服器。The device of claim 13, wherein the device further comprises: The information receiving module is configured to receive the first check value and the target auxiliary query identifier sent by the server, where the target auxiliary query identifier is a target data block whose check value matches the first check value, and The auxiliary query identifier of the first sub-block of the same data block to be stored; The information sending module is configured to send the first check value and the target auxiliary query identifier to the risk control server. 一種資料的處理設備,該設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作: 接收待儲存資料塊,獲取該待儲存資料塊的第一校驗值; 如果儲存的資料塊中存在校驗值與該第一校驗值相匹配的目標資料塊,且該待儲存資料塊與該目標資料塊不同,則儲存該待儲存資料塊,並為該待儲存資料塊分配與該目標資料塊不同的輔助查詢標識。A data processing device, the device comprising: Processor; A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations: Receiving a data block to be stored, and acquiring a first check value of the data block to be stored; If the stored data block has a target data block whose check value matches the first check value, and the to-be-stored data block is different from the target data block, storing the to-be-stored data block and storing the data block to be stored The data block allocates an auxiliary query identifier that is different from the target data block. 一種資料的處理設備,該設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作: 向伺服器發送待儲存資料塊; 接收該伺服器發送的該待儲存資料塊的儲存結果,該儲存結果是該伺服器在儲存的資料塊中存在校驗值與該待儲存資料塊的第一校驗值相匹配的目標資料塊,且該待儲存資料塊與該目標資料塊不同的情況下生成。A data processing device, the device comprising: Processor; A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations: Sending a data block to be stored to the server; Receiving a storage result of the to-be-stored data block sent by the server, where the storage result is that the server has a target data block in the stored data block that matches the first check value of the to-be-stored data block. And the data block to be stored is generated differently from the target data block.
TW107144287A 2018-01-18 2018-12-10 Data processing method, device and equipment TWI700905B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810047394.4 2018-01-18
CN201810047394.4A CN108304503A (en) 2018-01-18 2018-01-18 A kind of processing method of data, device and equipment
??201810047394.4 2018-01-18

Publications (2)

Publication Number Publication Date
TW201933812A true TW201933812A (en) 2019-08-16
TWI700905B TWI700905B (en) 2020-08-01

Family

ID=62865565

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107144287A TWI700905B (en) 2018-01-18 2018-12-10 Data processing method, device and equipment

Country Status (3)

Country Link
CN (1) CN108304503A (en)
TW (1) TWI700905B (en)
WO (1) WO2019141128A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795269B (en) * 2018-08-03 2023-05-26 阿里巴巴集团控股有限公司 Data recovery verification method, device and equipment
CN112749228B (en) * 2019-10-31 2024-01-26 北京金山云网络技术有限公司 Data synchronization method, device, storage server and storage medium
CN113329139B (en) * 2020-02-28 2023-11-03 天翼云科技有限公司 Video stream processing method, device and computer readable storage medium
CN112379843B (en) * 2020-11-23 2022-09-23 上海儒竞智控技术有限公司 EEPROM data processing method, system, storage medium and terminal
CN113010105A (en) * 2021-02-25 2021-06-22 深圳市广和通无线股份有限公司 Data backup method, device, equipment and computer readable storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275244B1 (en) * 2003-03-18 2007-09-25 Microsoft Corporation System and method for incrementally saving web files to a web server using file hash values
US8255773B2 (en) * 2009-06-29 2012-08-28 Sandisk Technologies Inc. System and method of tracking error data within a storage device
US8725682B2 (en) * 2010-09-08 2014-05-13 Daniel J Young Distribution and synchronization of digital objects
CN101989929B (en) * 2010-11-17 2014-07-02 中兴通讯股份有限公司 Disaster recovery data backup method and system
CN102156727A (en) * 2011-04-01 2011-08-17 华中科技大学 Method for deleting repeated data by using double-fingerprint hash check
CN105589885B (en) * 2014-10-24 2019-07-02 阿里巴巴集团控股有限公司 A kind of method and system of consistency verification of data
CN106407226B (en) * 2015-07-31 2019-09-13 华为技术有限公司 A kind of data processing method, backup server and storage system
CN106325769B (en) * 2016-08-19 2019-05-28 华为技术有限公司 A kind of method and device of data storage
CN106528125A (en) * 2016-10-26 2017-03-22 腾讯科技(深圳)有限公司 Data file incremental updating method, server, client and system
CN107544863B (en) * 2017-06-26 2021-07-20 新华三技术有限公司 Data storage method and device
CN107562533B (en) * 2017-07-28 2021-08-06 创新先进技术有限公司 Data loading processing method and device

Also Published As

Publication number Publication date
WO2019141128A1 (en) 2019-07-25
TWI700905B (en) 2020-08-01
CN108304503A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
TWI718375B (en) Data processing method and equipment based on blockchain
JP6804668B2 (en) Block data validation method and equipment
TW201933812A (en) Data processing method, apparatus and device
US11204915B2 (en) Blockchain-based data storage and query method and device
JP6790270B2 (en) Blockchain-based data processing methods and devices
TWI695290B (en) Login information processing method and equipment
TWI715999B (en) Identification method and device of identity information
WO2018177250A1 (en) Block chain based data processing method and device
TWI660274B (en) Data processing method and equipment based on blockchain
EP3811232A1 (en) Data processing method, apparatus, and device
WO2021063045A1 (en) Blockchain-based transaction query method, apparatus and device, and blockchain-based transaction data processing method, apparatus and device
TWI735845B (en) Method, device and equipment for data synchronization
US11366925B2 (en) Methods and apparatuses for chaining service data
WO2019029455A1 (en) Payment method and apparatus and device thereof
US11501317B2 (en) Methods, apparatuses, and devices for generating digital document of title
WO2016004814A1 (en) Service visualization method and system
TW201915867A (en) Virtual card opening method and system, payment system, and card issuing system
WO2019047775A1 (en) Method, apparatus and device for processing web application package
US20230244680A1 (en) Systems and methods for expedited large file processing
TWI710993B (en) Business processing method, device and equipment, and storage medium
WO2021174997A1 (en) Cross-border payment method, apparatus, device and system
WO2021239084A1 (en) Blockchain-based commission
CN110992164B (en) Transaction processing method, device, system and equipment based on block chain
WO2019095855A1 (en) Method and apparatus for generating pay order information, and device
CN111753200B (en) Data determination method, device, equipment and medium