CN114726561A - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN114726561A
CN114726561A CN202011535100.6A CN202011535100A CN114726561A CN 114726561 A CN114726561 A CN 114726561A CN 202011535100 A CN202011535100 A CN 202011535100A CN 114726561 A CN114726561 A CN 114726561A
Authority
CN
China
Prior art keywords
data
block chain
inspection
supervision server
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011535100.6A
Other languages
Chinese (zh)
Other versions
CN114726561B (en
Inventor
李宏旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Jingdong Technology Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Holding Co Ltd, Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202011535100.6A priority Critical patent/CN114726561B/en
Publication of CN114726561A publication Critical patent/CN114726561A/en
Application granted granted Critical
Publication of CN114726561B publication Critical patent/CN114726561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0245Filtering by information in the payload
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a data processing method, a data processing device and a data processing system, and relates to the technical field of block chains. The specific implementation mode of the method comprises the following steps: receiving a polling instruction for the block chain data, wherein the polling instruction comprises a polling range; judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, if so, opening an inspection interface for a block chain supervision server so that the block chain supervision server can detect sensitive information of the data in the inspection range in the block chain; and processing the data in the inspection range according to the detection result of the block chain supervision server for the data in the inspection range. According to the embodiment, the supervision mode of the block chain data can be optimized, the change of supervision requirements is adapted, sensitive block chain data are managed and controlled, sensitive information is shielded and prevented from being exposed, supervision and block chain resources are saved, and the safety of the block chain data is improved.

Description

Data processing method, device and system
Technical Field
The present invention relates to the field of block chain technologies, and in particular, to a data processing method, apparatus, and system.
Background
The block chain (Blockchain) is essentially a shared database, and the block chain service is a novel application mode of technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is an algorithm for establishing trust and obtaining rights and interests among different nodes in the blockchain system. Currently, in order to ensure the security of the blockchain data, monitoring of the blockchain data has been started.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in the existing block chain data monitoring process, a plurality of monitoring devices or monitoring systems may detect the same data, and the monitoring devices or the monitoring systems frequently detect the same data or information. Therefore, the conventional detection method consumes a large amount of blockchain resources.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data processing method, apparatus, and system, which can optimize a monitoring mode of blockchain data, adapt to changes of monitoring requirements, manage and control sensitive blockchain data, shield sensitive information to prevent exposure, save monitoring and blockchain resources, and improve security of blockchain data.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a data processing method including:
receiving a polling instruction for the block chain data, wherein the polling instruction comprises a polling range;
judging whether the inspection instruction meets inspection conditions corresponding to the data in the inspection range, if so, opening an inspection interface for a block chain supervision server so that the block chain supervision server can detect sensitive information of the data in the inspection range in the block chain;
and processing the data in the inspection range according to the detection result of the block chain supervision server for the data in the inspection range.
Optionally, the method further comprises:
when pre-chain data is received, sending a sensitive information detection request for the pre-chain data so that the block chain supervision server detects the pre-chain data;
and processing the data before the chain according to the detection result aiming at the data before the chain, which is determined by the block chain supervision server.
Optionally, the processing the pre-chain data includes:
correcting sensitive information included in the detection result;
processing the data before the chain according to the proofreading result;
and if the processed data before the chain still has sensitive information, reporting the sensitive information to the block chain supervision server.
Optionally, the method further comprises:
and storing the data before the chain to a block chain, and determining that the data before the chain belongs to the data in the patrol range.
Optionally, processing the data in the inspection range includes:
receiving a management and control instruction of sensitive information aiming at the data in the inspection range, which is sent by the block chain supervision server;
and processing the sensitive information of the data in the inspection range according to the control instruction.
Optionally, the management instruction includes:
and any one or more of a sensitive information shielding instruction, a sensitive information filtering instruction and a sensitive information replacing instruction.
Optionally, the method further comprises:
and sending a registration request to the block chain supervision server to register on the block chain supervision server, and enabling the block chain supervision server to perform routing inspection based on registration information.
Optionally, the method further comprises:
and sending a heartbeat packet to the block chain supervision server at regular time so that the block chain supervision server judges whether the data processing device normally responds or not based on whether the heartbeat packet is received or not.
Optionally, the patrol condition comprises any one or more of the following conditions:
the total number of the inspection instructions currently received by the inspection range is not more than a preset inspection task threshold value;
and the interval time between the inspection instruction and the previous inspection instruction is not less than a preset time threshold.
Optionally, the method further comprises:
and performing idempotent processing on the control instructions which are repeatedly sent.
According to still another aspect of an embodiment of the present invention, there is provided a data processing apparatus including:
the response module is used for receiving a polling instruction of the block chain data, wherein the polling instruction comprises a polling range;
the judging module is used for judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, if so, an inspection interface is opened for the block chain monitoring server so that the block chain monitoring server can detect the sensitive information of the data in the inspection range in the block chain;
and the processing module is used for processing the data in the inspection range according to the detection result of the block chain supervision server on the data in the inspection range.
According to still another aspect of an embodiment of the present invention, there is provided a data processing system including: a block chain supervision server and a block chain installed with the data processing device provided by the invention, wherein,
the block chain supervision server is used for sending a polling instruction to the data processing device;
the data processing device is used for judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, and if so, opening an inspection interface for the block chain supervision server;
the block chain supervision server is further used for detecting sensitive information of the data in the block chain within the inspection range and determining a detection result aiming at the data within the inspection range;
and the data processing device is further used for processing the data in the inspection range according to the detection result.
According to another aspect of an embodiment of the present invention, there is provided an electronic device for data processing, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method provided by the present invention.
According to still another aspect of embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing the data processing method provided by the present invention.
One embodiment of the above invention has the following advantages or benefits: because the block chain monitoring server is adopted to periodically patrol and examine the block chain data and detect the sensitive words, a control instruction is issued according to the detection result, and a technical means of controlling the block chain data is realized, so that the technical problem that a large amount of block chain resources are consumed due to frequent detection of the same data or information in the existing block chain data monitoring process is solved, and the technical effects of optimizing the block chain data monitoring mode, adapting to the change of the monitoring requirement, controlling the sensitive block chain data, shielding the sensitive information to prevent exposure, saving the monitoring and block chain resources and improving the safety of the block chain data are achieved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 illustrates an exemplary system architecture diagram of a data processing method or data processing apparatus suitable for use with embodiments of the present invention;
FIG. 2 is a schematic diagram of a main flow of a data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a detailed flow of a data processing method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of the main blocks of a data processing apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 6 is a block diagram of a computer system suitable for use with a data processing apparatus to implement an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a diagram illustrating an exemplary system architecture of a blockchain data supervision method or a blockchain data supervision system suitable for being applied to an embodiment of the present invention, and as shown in fig. 1, an exemplary system architecture of the blockchain data supervision method or the blockchain data supervision system of an embodiment of the present invention includes:
as shown in fig. 1, the system architecture 100 may include a blockchain 101, 102, 103 having data processing means, a network 104 and a blockchain supervision server 105. Network 104 is used to provide the medium of communication links between blockchains 101, 102, 103 and blockchain supervision server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the blockchains 101, 102, 103 to interact with the blockchain supervision server 105 over the network 104 to receive or send messages or the like to process data. Various types of data may be contained on blockchains 101, 102, 103, such as transaction information, text segments, music, and the like.
Blockchain supervisory server 105 may be a server that provides various services, such as a background management server that provides detection of data uploaded by blockchains 101, 102, 103. The background management server may analyze and process the received request for detecting sensitive information, and feed back the processing result (e.g., sensitive word) to the block chains 101, 102, and 103.
It should be noted that the data processing method provided by the embodiment of the present invention is generally executed by the blockchain supervision server 105, and accordingly, the data processing system is generally disposed in the blockchain supervision server 105.
It should be understood that the number of blockchain, network, and blockchain policing servers in fig. 1 is merely illustrative. There may be any number of blockchain, network, and blockchain policing servers, as desired for an implementation.
Fig. 2 is a schematic diagram of a main flow of a block chain data supervision method according to an embodiment of the present invention, and as shown in fig. 2, the block chain data supervision method of the present invention includes:
step S201, receiving a patrol inspection instruction of the block chain data, wherein the patrol inspection instruction comprises a patrol inspection range.
Illustratively, the data processing device receives a patrol instruction of the blockchain supervision server, wherein the patrol instruction comprises a patrol range of the blockchain data, and the patrol range is the blockchain data to be patrolled.
Illustratively, the patrol command is a patrol command issued by the blockchain supervision server periodically, so that frequent requests of the supervision system are avoided, and excessive blockchain resources are consumed.
Step S202, judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, if so, opening an inspection interface for the block chain supervision server so that the block chain supervision server can detect the sensitive information of the data in the inspection range in the block chain.
Exemplarily, after receiving a routing inspection instruction of the block chain data issued by the block chain supervision server, the data processing device judges the routing inspection instruction, if the range of the block chain data required to be routed by the block chain supervision server meets the requirement of a routing inspection condition, the data processing device opens a routing inspection interface for the block chain supervision server, uploads the block chain data required by the routing inspection range to the block chain supervision server, and the block chain supervision server performs sensitive information detection on the block chain data and returns a detection result after the detection is finished; and if the range of the block chain data required to be inspected by the block chain supervision server does not meet the inspection condition, the inspection interface of the data processing device is kept closed, so that excessive block chain resources are prevented from being consumed by frequent detection.
Illustratively, the patrol condition includes a patrol time threshold and a patrol task threshold.
Step S203, processing the data in the inspection range according to the detection result of the block chain supervision server determined by the block chain supervision server aiming at the data in the inspection range.
Illustratively, when the data processing device receives a detection result which is determined by the block chain supervision server and is aimed at the data within the patrol range, the block chain supervision server issues a control instruction for sensitive information of the data within the patrol range to the data processing device, and according to the control instruction, if the block chain data within the patrol range contains the sensitive information, the data processing device shields the sensitive information to prevent the sensitive information from being leaked.
In the embodiment of the invention, the patrol instruction of the block chain data is received, and the patrol instruction comprises a patrol range; judging whether the inspection instruction meets the inspection condition corresponding to the inspection range, if so, opening a monitoring interface for a block chain monitoring server so that the block chain monitoring server can detect sensitive information of data in the inspection range in the block chain; according to the detection result of the block chain supervision server for the data in the patrol inspection range, the data in the patrol inspection range are processed, the supervision mode of the block chain data can be optimized, the change of supervision requirements is adapted, the sensitive block chain data is managed and controlled, sensitive information is shielded and prevented from being exposed, supervision and block chain resources are saved, and the safety of the block chain data is improved.
Fig. 3 is a schematic diagram illustrating a detailed flow of a block chain data supervision method according to an embodiment of the present invention, and as shown in fig. 3, the block chain data supervision method of the present invention includes:
before the data processing device uploads the data content to the block chain, in order to standardize the block chain data, the block chain supervision server can detect, patrol and the like the data to be chained, and the data processing device is connected with the block chain supervision server through a block chain SDK service. The block chain SDK service provides connection adaptation service, the inside of the block chain SDK service comprises unified service of a block chain bottom layer, the unified adaptation is carried out aiming at the butt joint mode of different block chains, and unified access is provided for upper-layer application of the block chains.
Step S301, sending a registration request, and receiving a registration result.
Illustratively, the data processing apparatus maintains a long connection with the blockchain supervision server, and the blockchain supervision server performs detection, routing inspection and other processing on data to be linked and blockchain data. Before long connection with the blockchain supervision server, the data processing device obtains registration authentication by registering with the blockchain supervision server, and provides effective evidence for subsequent services.
Exemplarily, before data chaining, the data processing device sends a registration request to the blockchain supervision server, the blockchain supervision server receives the registration request and then processes the registration request to judge whether the registration is available, if so, a successful registration result is returned to provide an effective certificate for subsequent service access, and relevant service processing of detection and inspection can be performed; if not, returning a registration failure result, and correcting or supplementing the information by the data processing device according to the failure prompt so as to re-register.
Further, maintaining a long connection between the data processing apparatus and the blockchain supervision server includes: the data processing device establishes heartbeat detection with the blockchain supervision server to ensure the validity of the connection. In the data processing process, the data processing device calls a heartbeat detection service, and regularly sends a heartbeat packet to the block chain supervision server to confirm that the data processing device can normally respond to the block chain supervision server. When a heartbeat packet is not received over a predetermined time, the blockchain supervision server may issue a connection interruption alert.
Step S302, a sensitive word detection request is sent.
For example, after the blockchain supervision server is successfully registered, sensitive word detection needs to be performed on the data to be uplink, so as to prevent sensitive information in the data to be uplink from leaking. The term "sensitive word" refers to information that should not be publicly known for a particular period of time or under particular conditions. The method can comprise the following steps: the block chain supervision server can preset a sensitive word bank or a sensitive word dictionary in advance according to supervision requirements. Before data is uplinked, the data to be uplinked is called the pre-link data. Before data chaining, the data processing device calls a sensitive word detection request service, sends a sensitive word detection request to the block chain supervision server, and sends data before the chaining to the block chain supervision server for detection. The block chain supervision server is pre-configured with a sensitive word bank or a sensitive word dictionary, compares the content in the data before the chain with the content in the sensitive word bank or the sensitive word dictionary, judges whether the content in the data before the chain of the data processing device has sensitive word information, if so, searches the sensitive word information in the data before the chain, prompts the searched sensitive word information in the data before the chain, and returns a sensitive word detection result.
Furthermore, a sensitive word bank or a sensitive word dictionary of the block chain supervision server is updated regularly to match supervision requirements of each period.
And step S303, receiving the sensitive word detection result and processing the data before the link.
Illustratively, before data chaining, the data processing apparatus receives a sensitive word detection result returned by the block chain supervision server, and processes the data before the chaining according to the sensitive word detection result. If the data before the chain contains sensitive information which needs to be deleted, deleting the relevant sensitive information and then transferring to the step S306 to upload the data to the block chain; if the data before the chain contains non-public sensitive information, the step S304 is carried out, and violation reporting is carried out on the block chain supervision server; if the pre-chain data does not include sensitive information, go to step S306 to upload data to the block chain.
Step S304, a violation reporting request is sent.
Exemplarily, after confirming that the data before the chain contains the non-public sensitive information, the data processing device calls an illegal reporting service detected before the chain, actively sends an illegal reporting request to the block chain supervision server, and reports the data before the chain containing the non-public sensitive information to the block chain supervision server in an illegal manner. And after receiving the data content reported illegally, the block chain supervision server returns the reported illegal result.
Further, the block chain supervision server can record the data before the chain containing the non-public sensitive information according to the illegal reporting request. During subsequent routing inspection, the block chain supervision server can instruct the data processing device to perform management and control on the recorded content reported illegally.
Step S305, receiving the violation report result.
For example, after receiving the violation report result returned by the block chain supervision server, the data processing apparatus may upload data to the block chain. The violation report result may be a violation report receipt indicating that the block chain supervision server receives data content containing non-public sensitive information that is reported in violation.
Step S306, data uplink.
Illustratively, for data containing sensitive information which must be deleted, the data processing device deletes relevant sensitive information and uploads the data to the block chain; for data containing non-public sensitive information, after reporting to a block chain supervision server in an illegal way, a data processing device shields, filters and uploads the data to a block chain; and for data without sensitive content, the data processing device directly uploads the data to the block chain. And when the data is uploaded, the data is uploaded to the block chain through the block chain SDK service interface.
And step S307, receiving a patrol inspection instruction.
Illustratively, the patrol instruction includes a patrol scope for blockchain data to be patrolled. After data uplink, the data of the uplink is called block chain data. And after receiving the routing inspection instruction issued by the block chain supervision server, the data processing device immediately responds to the block chain supervision server to indicate that the routing inspection instruction is received. The data processing device judges whether the data in the inspection range to be inspected meet the preset inspection condition or not based on the inspection instruction, and if so, returns a response to indicate that the inspection task is received; if not, returning a response to indicate that the polling task is not accepted.
Illustratively, the polling range may be a certain transaction, a certain text segment, stored data within a certain period of time, and the like.
Illustratively, the blockchain supervision server supervises blockchain data in real time and issues patrol instructions supervised on the chain regularly.
Illustratively, the polling condition may be preconfigured, where the polling condition includes a polling time threshold and a polling task threshold, and indicates how many polling tasks the data processing apparatus can receive at most within the threshold time, so as to avoid that the block chain supervision server makes mistakes and frequently issues polling commands, which results in that the data processing apparatus needs to consume a large amount of resources for responding to the polling commands and crashes. For example, the polling time threshold is 5min, the polling task threshold is 1, and the polling condition indicates that: within 5min, the data processing device receives at most one active polling task.
Further, the polling range may be set as needed for all data from the created block to the latest block on the block chain.
And step S308, reporting the inspection result.
Exemplarily, if the data processing device receives the polling task, it opens the polling interface for the blockchain supervision server, and reports the polling result, that is, it uploads the blockchain data required by the polling range to the blockchain supervision server, so that the blockchain supervision server performs sensitive information detection on the data in the polling range in the blockchain; if the polling task is not accepted, the polling interface is kept closed, and the polling result is reported, namely the block chain data required by the polling range is not uploaded to the block chain supervision server.
In step S309, a management and control instruction is received.
Illustratively, after the data processing device polling result is reported, the block chain supervision server detects sensitive information of data in a polling range in the block chain, returns a sensitive information detection result and issues a management and control instruction. The management and control instruction comprises two parts: firstly, processing block chain data corresponding to an illegal content part of pre-chain data; and secondly, processing newly found block chain data containing sensitive information after the polling. And after receiving the control instruction issued by the block chain monitoring server, the data processing device immediately responds to the block chain monitoring server to indicate that the control instruction task is received.
Further, the sensitive word bank or sensitive word dictionary of the block chain supervision server in the patrol check can be the same or different from that in the detection of data before the chain, and the sensitive word bank or sensitive word dictionary of the block chain supervision server can be updated regularly according to the needs.
In step S310, the blockchain data is processed based on the management and control instruction.
Illustratively, after the data processing device receives the management and control instruction task, the block chain data is processed. The specific treatment comprises the following steps: judging whether block chain data corresponding to the illegal content part of the data before the chain is still sensitive information, if so, not processing the block chain data, and keeping the original shielding or filtering state; if not, disclosing the block chain data corresponding to the illegal content part of the data before the chain; and secondly, shielding and filtering newly found block chain data containing sensitive information after inspection. Based on the supervision requirement, the sensitive information is not allowed to be published externally, and the data processing device shields, filters or replaces the block chain data containing the sensitive information, so that the block chain data is prevented from being spread in the public field, and the safety of the block chain data is ensured.
Illustratively, the management instruction includes any one or more of a sensitive information shielding instruction, a sensitive information filtering instruction and a sensitive information replacing instruction. The sensitive information replacement instruction refers to operations such as synonym replacement and the like on the block chain data containing the sensitive information, so that leakage of the data is prevented.
Further, if the data processing device receives a control instruction issued repeatedly by the block chain supervision server on the block chain data containing the sensitive information, the received control instruction is subjected to idempotent processing, and the idempotent processing is characterized in that the result of executing the control instruction is the same as that of executing the control instruction once after being executed for any number of times. For the repeatedly issued control command, the block chain data containing the sensitive information is processed only once, so that the readability and stability of the data are ensured, and the phenomenon that the data processing device repeatedly processes the control command to cause data inconsistency, redundancy and error data is prevented.
Step S311, accepting the verification.
Illustratively, after the data processing device completes processing of the blockchain data according to the management and control instruction, the blockchain supervision server checks the blockchain data to ensure the safety of the blockchain data, and when other users use, view or modify the data on the blockchain, the blockchain data containing sensitive information is processed, so that the propagation of the blockchain data can be prevented.
In the embodiment of the invention, the registration result is received by sending the registration request; sending a sensitive word detection request; receiving a sensitive word detection result, and processing pre-link data; sending a violation reporting request; receiving an illegal reporting result; data uplink; receiving a polling instruction; reporting a polling result; receiving a control instruction; processing the blockchain data based on the control instruction; and receiving the steps of checking and the like, optimizing the supervision mode of the block chain data, adapting to the change of supervision requirements, managing and controlling sensitive block chain data, shielding sensitive information to prevent exposure, saving supervision and block chain resources and improving the safety of the block chain data.
Fig. 4 is a schematic diagram of main modules of a data processing apparatus according to an embodiment of the present invention, and as shown in fig. 4, a data processing apparatus 400 of the present invention may be used for a blockchain, including:
the response module 401 is configured to receive a patrol instruction for the blockchain data, where the patrol instruction includes a patrol scope.
Illustratively, the response module 401 of the data processing apparatus 400 receives a patrol instruction of the blockchain supervision server, where the patrol instruction includes a patrol range of the blockchain data, and the patrol range is the blockchain data that needs to be patrolled.
Illustratively, the patrol command is a patrol command issued by the blockchain supervision server periodically, so that frequent requests of the supervision system are avoided, and excessive blockchain resources are consumed.
A determining module 402, configured to determine whether the inspection instruction meets an inspection condition corresponding to the data in the inspection range, if yes, open an inspection interface for the blockchain monitoring server, so that the blockchain monitoring server performs sensitive information detection on the data in the inspection range in the blockchain.
Exemplarily, after the data processing device 400 receives a routing inspection instruction for the blockchain data issued by the blockchain supervision server, the judging module 402 judges the routing inspection instruction, if the range of the blockchain data required to be routed by the blockchain supervision server meets the requirement of a routing inspection condition, the data processing device 400 opens a routing inspection interface for the blockchain supervision server, uploads the blockchain data required by the routing inspection range to the blockchain supervision server, the blockchain supervision server performs sensitive information detection on the blockchain data, and returns a detection result after the detection is finished; if the scope of the blockchain data that the blockchain supervision server requires to patrol does not meet the patrol condition, the patrol interface of the data processing apparatus 400 remains closed, preventing frequent detection from consuming too many blockchain resources.
Illustratively, the patrol condition includes a patrol time threshold and a patrol task threshold.
A processing module 403, configured to process the data in the inspection range according to the detection result determined by the blockchain supervision server for the data in the inspection range.
Illustratively, when the data processing apparatus 400 receives the detection result determined by the blockchain supervision server for the data within the inspection range, the blockchain supervision server issues a control instruction for sensitive information of the data within the inspection range to the data processing apparatus, and according to the control instruction, if the blockchain data within the inspection range includes the sensitive information, the processing module 403 of the data processing apparatus 400 shields the sensitive information to prevent the sensitive information from being leaked.
In the embodiment of the invention, the supervision mode of the block chain data can be optimized through the data processing device of the response module, the judgment module and the processing module, the change of supervision requirements is adapted, the sensitive block chain data is managed and controlled, the sensitive information is shielded and prevented from being exposed, the supervision and block chain resources are saved, and the safety of the block chain data is improved.
FIG. 5 is a schematic diagram of a data processing system according to an embodiment of the present invention, as shown in FIG. 5, a data processing system 500 of the present invention includes:
a block chain supervision server 501, configured to send a polling instruction to the data processing apparatus 400;
the data processing device 400 is used for judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, and if so, opening an inspection interface for the block chain supervision server 501;
the block chain supervision server 501 is further configured to perform sensitive information detection on data in the inspection range in the block chain 502, and determine a detection result for the data in the inspection range;
and the data processing device 400 is further configured to process the data within the inspection range according to the detection result.
In the embodiment of the invention, the block chain monitoring server and the data processing system of the block chain comprising the data processing device can optimize the monitoring mode of the block chain data, adapt to the change of the monitoring requirement, control the sensitive block chain data, shield the sensitive information to prevent exposure, save the monitoring and block chain resources and improve the safety of the block chain data.
Fig. 6 is a schematic structural diagram of a computer system suitable for implementing a data processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the computer system 600 of the data processing apparatus according to the embodiment of the present invention includes:
a Central Processing Unit (CPU)601, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a judgment reporting module, a polling module and a data processing module. The names of the modules do not limit the modules themselves under certain conditions, for example, the judgment reporting module may also be described as a module that reports violations to a connected blockchain supervision server.
As another aspect, the present invention also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving a polling instruction for the block chain data, wherein the polling instruction comprises a polling range; judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, if so, opening an inspection interface for a block chain supervision server so that the block chain supervision server can detect sensitive information of the data in the inspection range in the block chain; and processing the data in the inspection range according to the detection result of the block chain supervision server for the data in the inspection range.
According to the technical scheme of the embodiment of the invention, the supervision mode of the block chain data can be optimized, the change of supervision requirements is adapted, sensitive block chain data is managed and controlled, sensitive information is shielded and prevented from being exposed, supervision and block chain resources are saved, and the safety of the block chain data is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A data processing method, comprising:
receiving a polling instruction for the block chain data, wherein the polling instruction comprises a polling range;
judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, if so, opening an inspection interface for a block chain supervision server so that the block chain supervision server can detect sensitive information of the data in the inspection range in the block chain;
and processing the data in the inspection range according to the detection result of the block chain supervision server for the data in the inspection range.
2. The method of claim 1, further comprising:
when pre-chain data is received, sending a sensitive information detection request for the pre-chain data so that the block chain supervision server detects the pre-chain data;
and processing the data before the chain according to the detection result aiming at the data before the chain, which is determined by the block chain supervision server.
3. The method of claim 2, wherein processing the pre-chain data comprises:
correcting sensitive information included in the detection result;
processing the data before the chain according to the proofreading result;
and if the processed data before the chain still has sensitive information, reporting the sensitive information to the block chain supervision server.
4. The method of claim 3, further comprising:
and storing the data before the chain to a block chain, and determining that the data before the chain belongs to the data in the patrol range.
5. The method according to claim 1 or 4, wherein processing the data within the inspection scope comprises:
receiving a control instruction of sensitive information aiming at the data in the patrol range, which is sent by the block chain supervision server;
and processing the sensitive information of the data in the inspection range according to the control instruction.
6. The method of claim 5, wherein the governing instruction comprises:
and any one or more of a sensitive information shielding instruction, a sensitive information filtering instruction and a sensitive information replacing instruction.
7. The method of claim 1, further comprising:
and sending a registration request to the block chain supervision server to register on the block chain supervision server, and enabling the block chain supervision server to perform routing inspection based on registration information.
8. The method of any of claims 1 to 4, 6 to 7, further comprising:
and sending a heartbeat packet to the block chain supervision server at regular time so that the block chain supervision server judges whether the data processing device normally responds or not based on whether the heartbeat packet is received or not.
9. The method of claim 1, wherein the inspection conditions include any one or more of the following:
the total number of the inspection instructions currently received by the inspection range is not more than a preset inspection task threshold value;
and the interval time between the inspection instruction and the previous inspection instruction is not less than a preset time threshold.
10. The method of claim 5, wherein the method further comprises:
and performing idempotent processing on the control instructions which are sent repeatedly.
11. A data processing apparatus, comprising:
the response module is used for receiving a polling instruction of the block chain data, wherein the polling instruction comprises a polling range;
the judging module is used for judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, if so, an inspection interface is opened for the block chain monitoring server so that the block chain monitoring server can detect the sensitive information of the data in the inspection range in the block chain;
and the processing module is used for processing the data in the inspection range according to the detection result of the block chain supervision server on the data in the inspection range.
12. A data processing system, comprising: a blockchain supervision server and a blockchain in which the data processing apparatus according to claim 11 is installed, wherein,
the block chain supervision server is used for sending a polling instruction to the data processing device;
the data processing device is used for judging whether the inspection instruction meets the inspection condition corresponding to the data in the inspection range, and if so, opening an inspection interface for the block chain supervision server;
the block chain supervision server is further used for detecting sensitive information of the data in the block chain within the inspection range and determining a detection result aiming at the data within the inspection range;
and the data processing device is further used for processing the data in the inspection range according to the detection result.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-11.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-11.
CN202011535100.6A 2020-12-22 2020-12-22 Data processing method, device and system Active CN114726561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011535100.6A CN114726561B (en) 2020-12-22 2020-12-22 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011535100.6A CN114726561B (en) 2020-12-22 2020-12-22 Data processing method, device and system

Publications (2)

Publication Number Publication Date
CN114726561A true CN114726561A (en) 2022-07-08
CN114726561B CN114726561B (en) 2024-04-05

Family

ID=82230176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011535100.6A Active CN114726561B (en) 2020-12-22 2020-12-22 Data processing method, device and system

Country Status (1)

Country Link
CN (1) CN114726561B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071995A (en) * 2015-08-28 2015-11-18 北京华青融天技术有限责任公司 Out-of-band network based network device patrolling method, device and system
WO2015196821A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Method and apparatus for monitoring websocket server
WO2018149385A1 (en) * 2017-02-17 2018-08-23 阿里巴巴集团控股有限公司 Blockchain system and data storage method and apparatus
CN108647968A (en) * 2018-05-10 2018-10-12 阿里巴巴集团控股有限公司 A kind of block chain data processing method, device, processing equipment and system
WO2019014591A1 (en) * 2017-07-14 2019-01-17 Alibaba Group Holding Limted Blockchain-based data processing method and device
CN109446830A (en) * 2018-11-13 2019-03-08 中链科技有限公司 Data center environment information processing method and device based on block chain
CN109543447A (en) * 2018-11-07 2019-03-29 平安医疗健康管理股份有限公司 Information processing method, server and computer storage medium based on block chain
WO2019062304A1 (en) * 2017-09-26 2019-04-04 上海点融信息科技有限责任公司 Method, device and system for managing computing resources of block chain node
US20190158270A1 (en) * 2017-11-21 2019-05-23 International Business Machines Corporation Exchanging Asset, Maintenance, And Spares Parts Information Via Blockchain
WO2019141290A2 (en) * 2019-05-15 2019-07-25 Alibaba Group Holding Limited Processing data elements stored in blockchain networks
WO2019148351A1 (en) * 2018-01-31 2019-08-08 华为技术有限公司 Information processing method and blockchain node
CN110337104A (en) * 2019-06-17 2019-10-15 阿里巴巴集团控股有限公司 Card method, apparatus and electronic equipment are deposited in inspection based on block chain
US20190347656A1 (en) * 2018-05-10 2019-11-14 Alibaba Group Holding Limited Blockchain member management data processing methods, apparatuses, servers, and systems
CN110457957A (en) * 2019-08-22 2019-11-15 腾讯科技(深圳)有限公司 Information processing method, device, electronic equipment and the medium of electronic bill
WO2020042464A1 (en) * 2018-08-31 2020-03-05 深圳壹账通智能科技有限公司 Data interaction method, apparatus and device, and readable storage medium
US20200143365A1 (en) * 2018-11-03 2020-05-07 International Business Machines Corporation Real-time monitoring of objects in blockchain networks
CN111740966A (en) * 2020-06-10 2020-10-02 腾讯科技(深圳)有限公司 Data processing method based on block chain network and related equipment
CN111813857A (en) * 2020-07-02 2020-10-23 珑门汽车科技(上海)有限公司 Detection data management system and method based on block chain technology
CN111930851A (en) * 2020-09-25 2020-11-13 腾讯科技(深圳)有限公司 Control data processing method, device, medium and electronic equipment of block chain network
CN111949737A (en) * 2020-09-01 2020-11-17 宁波富万信息科技有限公司 Block chain-based data integrity verification method, terminal device and storage medium
CN112104748A (en) * 2020-11-09 2020-12-18 百度在线网络技术(北京)有限公司 Block chain data supervision method and device, electronic equipment and storage medium

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196821A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Method and apparatus for monitoring websocket server
CN105071995A (en) * 2015-08-28 2015-11-18 北京华青融天技术有限责任公司 Out-of-band network based network device patrolling method, device and system
WO2018149385A1 (en) * 2017-02-17 2018-08-23 阿里巴巴集团控股有限公司 Blockchain system and data storage method and apparatus
WO2019014591A1 (en) * 2017-07-14 2019-01-17 Alibaba Group Holding Limted Blockchain-based data processing method and device
WO2019062304A1 (en) * 2017-09-26 2019-04-04 上海点融信息科技有限责任公司 Method, device and system for managing computing resources of block chain node
US20190158270A1 (en) * 2017-11-21 2019-05-23 International Business Machines Corporation Exchanging Asset, Maintenance, And Spares Parts Information Via Blockchain
WO2019148351A1 (en) * 2018-01-31 2019-08-08 华为技术有限公司 Information processing method and blockchain node
CN108647968A (en) * 2018-05-10 2018-10-12 阿里巴巴集团控股有限公司 A kind of block chain data processing method, device, processing equipment and system
US20190347656A1 (en) * 2018-05-10 2019-11-14 Alibaba Group Holding Limited Blockchain member management data processing methods, apparatuses, servers, and systems
WO2020042464A1 (en) * 2018-08-31 2020-03-05 深圳壹账通智能科技有限公司 Data interaction method, apparatus and device, and readable storage medium
US20200143365A1 (en) * 2018-11-03 2020-05-07 International Business Machines Corporation Real-time monitoring of objects in blockchain networks
CN109543447A (en) * 2018-11-07 2019-03-29 平安医疗健康管理股份有限公司 Information processing method, server and computer storage medium based on block chain
CN109446830A (en) * 2018-11-13 2019-03-08 中链科技有限公司 Data center environment information processing method and device based on block chain
WO2019141290A2 (en) * 2019-05-15 2019-07-25 Alibaba Group Holding Limited Processing data elements stored in blockchain networks
CN110337104A (en) * 2019-06-17 2019-10-15 阿里巴巴集团控股有限公司 Card method, apparatus and electronic equipment are deposited in inspection based on block chain
CN110457957A (en) * 2019-08-22 2019-11-15 腾讯科技(深圳)有限公司 Information processing method, device, electronic equipment and the medium of electronic bill
CN111740966A (en) * 2020-06-10 2020-10-02 腾讯科技(深圳)有限公司 Data processing method based on block chain network and related equipment
CN111813857A (en) * 2020-07-02 2020-10-23 珑门汽车科技(上海)有限公司 Detection data management system and method based on block chain technology
CN111949737A (en) * 2020-09-01 2020-11-17 宁波富万信息科技有限公司 Block chain-based data integrity verification method, terminal device and storage medium
CN111930851A (en) * 2020-09-25 2020-11-13 腾讯科技(深圳)有限公司 Control data processing method, device, medium and electronic equipment of block chain network
CN112104748A (en) * 2020-11-09 2020-12-18 百度在线网络技术(北京)有限公司 Block chain data supervision method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾隽芳;刘禹;: "能耗监测中的区块链终端信任管理", 电力自动化设备, no. 08 *
李涛;张勇;费立蜀;徐何;: "区块链技术在海关现场监管中的应用研究", 中国口岸科学技术, no. 06 *

Also Published As

Publication number Publication date
CN114726561B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
KR100951144B1 (en) System and Method for Vulnerability Assessment of Network based on Business Model
US9940466B2 (en) Computer-implemented command control in information technology service environment
US20200082099A1 (en) Identifying computer program security access control violations using static analysis
US11726890B2 (en) System and method for detecting and preventing changes in business-critical applications that modify its state to non-secure and/or non- compliant
CN112800457B (en) Sensitive information supervision method and system for block chain network
US9069969B2 (en) Managing software patch installations
CN113961245A (en) Security protection system, method and medium based on micro-service application
CN112559489A (en) Block chain supervision method and equipment based on cross-chain and storage medium
CN114500039B (en) Instruction issuing method and system based on safety control
US20220207142A1 (en) Zero Dwell Time Process Library and Script Monitoring
CN109948330B (en) Method, device, equipment and storage medium for implementing application management service
CN106997435A (en) A kind of method of operating system security prevention and control, apparatus and system
CN114726561B (en) Data processing method, device and system
CN116957764A (en) Account data processing method and device, electronic equipment and storage medium
CN113158149A (en) Method and device for processing operation authority
CN114490135A (en) Task processing method and device, electronic equipment and storage medium
KR102047739B1 (en) Cloud-based Clean Security Module Remote Utilization System and Method
CN114978737B (en) Comprehensive management system for Doppler weather radar data
CN113485930B (en) Business process verification method, device, computer system and readable storage medium
CN110858170A (en) Sandbox component, data abnormity monitoring method, equipment and storage medium
CN114268624B (en) Version file transmission method and device and server
CN116414668A (en) Data processing method, device, electronic equipment and storage medium
CN113139863A (en) Method and device for processing remote information request of accumulation fund
CN117118910A (en) Network traffic load balancing control method, device, system and medium
CN117527410A (en) Security control method and device between client and server and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant