CN114168218B - Data processing method, device, computer equipment and storage medium - Google Patents

Data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114168218B
CN114168218B CN202111439118.0A CN202111439118A CN114168218B CN 114168218 B CN114168218 B CN 114168218B CN 202111439118 A CN202111439118 A CN 202111439118A CN 114168218 B CN114168218 B CN 114168218B
Authority
CN
China
Prior art keywords
message data
blockchain
plugin
data
target message
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.)
Active
Application number
CN202111439118.0A
Other languages
Chinese (zh)
Other versions
CN114168218A (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.)
Shenzhen Mingzhu Technology Co ltd
Original Assignee
Shenzhen Mingzhu 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 Shenzhen Mingzhu Technology Co ltd filed Critical Shenzhen Mingzhu Technology Co ltd
Priority to CN202111439118.0A priority Critical patent/CN114168218B/en
Publication of CN114168218A publication Critical patent/CN114168218A/en
Application granted granted Critical
Publication of CN114168218B publication Critical patent/CN114168218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The application relates to a data processing method, a data processing device, computer equipment and a storage medium. The method comprises the following steps: receiving initial message data sent by a gateway; screening the initial message data according to the configured blockchain plugins to obtain target message data; and the target message data is uplink to a blockchain. According to the method and the device, the message data received by the gateway are stored in the blockchain after being processed by the configured blockchain plugin, so that the data can be prevented from being tampered; meanwhile, the plug-in modules are added into the blockchain application in the form of blockchain plug-in modules, so that the installation and the uninstallation are convenient, and meanwhile, the plug-in modules with corresponding functions can be configured according to specific application scenes, so that the service application scenes of data processing are enriched.

Description

Data processing method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a data processing method, apparatus, computer device, and storage medium.
Background
In recent years, with the vigorous development of the internet of things technology, as a tie for connecting a sensing network and a traditional communication network, an internet of things gateway plays a very important role in the internet of things era. The gateway of the internet of things is a device serving as a conversion re-task, can realize protocol conversion between a sensing network and a communication network and among different types of sensing networks, and can realize wide area interconnection and local interconnection, but the traditional gateway of the internet of things adopts a centralized storage mode and has the risk of easy tampering of stored data.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data processing method, apparatus, computer device, computer readable storage medium, and computer program product that can prevent tampering of gateway data storage.
In a first aspect, the present application provides a data processing method. The method comprises the following steps:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
In one embodiment, the filtering the initial message data according to the configured blockchain plugin to obtain target message data includes:
if the configured blockchain plugin is a type of plugin, carrying out real-time screening processing on the initial message data to obtain the target message data;
and if the configured blockchain plugin is a class II plugin, carrying out periodic screening treatment on the initial message data to obtain the target message data.
In one embodiment, if the configured blockchain plugin is a type of plugin, performing real-time screening processing on the initial message data to obtain the target message data, where the method includes:
and if the configured blockchain plugin is a type of plugin, identifying source information and destination information of the initial message data, and if the preset condition is met, taking the initial message data as target message data.
In one embodiment, the filtering the initial message data according to the configured blockchain plugin to obtain target message data includes:
if the configured blockchain plugin is a universal plugin, screening the initial message data according to universal conditions to obtain the target message data;
and if the configured blockchain plugin is a specific plugin, screening the initial message data according to specific conditions to obtain the target message data.
In one embodiment, the step of uploading the target message data into a blockchain includes:
and uploading the target message data to a block chain according to a preset frequency.
In one embodiment, the method further comprises:
receiving a change request of the configured blockchain plugin; the blockchain plugin includes at least one functional unit;
and adding, deleting or modifying functional units in the blockchain plugin according to the change request.
In a second aspect, the present application also provides a data processing apparatus. The device comprises:
the receiving module is used for receiving the initial message data sent by the gateway;
the processing module is used for screening the initial message data according to the configured blockchain plugin to obtain target message data;
and the uplink module is used for uplink the target message data to a block chain.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
The data processing method, the device, the computer equipment, the storage medium and the computer program product, wherein the initial message data sent by the gateway is received; screening the initial message data according to the configured blockchain plugins to obtain target message data; and the target message data is uplink to a blockchain. According to the method and the device, the message data received by the gateway are stored in the blockchain after being processed by the configured blockchain plugin, so that the data can be prevented from being tampered; meanwhile, the plug-in modules are added into the blockchain application in the form of blockchain plug-in modules, so that the installation and the uninstallation are convenient, and meanwhile, the plug-in modules with corresponding functions can be configured according to specific application scenes, so that the service application scenes of data processing are enriched.
Drawings
FIG. 1 is a diagram of an application environment for a data processing method in one embodiment;
FIG. 2 is a flow diagram of a data processing method in one embodiment;
FIG. 3 is a flow chart of step 204 in one embodiment;
FIG. 4 is a flow chart of step 204 in another embodiment;
FIG. 5 is a flow chart of a data processing method according to another embodiment;
FIG. 6 is a flow chart of a data processing method in yet another embodiment;
FIG. 7 is a view of an application scenario of the data processing method in the embodiment shown in FIG. 6;
FIG. 8 is a block diagram of a data processing apparatus in one embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The data processing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The terminal 102 receives initial message data sent by a gateway; screening the initial message data according to the configured blockchain plugins to obtain target message data; the target message data is uploaded to the blockchain, i.e., the target message data is stored in the blockchain server 104. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a data processing method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
step 202, receiving initial message data sent by a gateway.
Gateway (Gateway), also known as Gateway connector, protocol converter, implements network interconnection above the network layer, is a complex network interconnection device, and can be used for network interconnection of two higher-layer protocols. The gateway may be used for both wide area network and local area network interconnections, and may be used between different communication protocols, data formats or languages, or even two systems with completely different architectures. Therefore, most of the data transmission in life is essentially required to pass through the gateway, but the data to the destination after passing through the plurality of gateways is easily modified at some node in the middle, resulting in that the data to the destination is inconsistent with the data to be transmitted at the beginning. The method and the device send the initial message data passing through the gateway to the blockchain application, namely, the blockchain application terminal receives the initial message data sent by the gateway. The format of the initial message data may be an IP Datagram (IP Datagram), TCP (Transmission Control Protocol) message, UDP (User Datagram Protocol) message or other message formats, and the specific format of the initial message data is not further limited herein.
In an alternative embodiment, a firewall is further arranged between the gateway and the blockchain application, and is used for guaranteeing the security of the data inside and outside the gateway, corresponding processing functions are arranged in the firewall, and when the processing conditions of the processing functions are met, the corresponding processing functions are used for processing the received data. For example, in the Netfilter framework, when a network card has a data packet that is transmitted in and out, the data packet transmitted in and out passes through detection points (hooks) set in the Netfilter framework, and a number of processing functions are registered at each detection point to process, where FORWARD is the checkpoint that the data packet passes through when it needs to be forwarded. The processing function may be a hook function, which is a part of the Windows message processing mechanism, and by setting "hooks", the application program may filter all messages and events at the system level, and access messages that are not normally accessible. The nature of the hook is a program to process system messages, which are suspended into the system by system calls. Netfilter is a subsystem introduced by Linux 2.4.X, and serves as a general and abstract framework to provide a whole set of hook function management mechanisms. The gateway receives the original message data, obtains the initial message data after processing by a processing function arranged in the firewall, and then sends the initial message data to the blockchain application.
And 204, screening the initial message data according to the configured blockchain plugin to obtain target message data.
A plug-in is a program written by an application program interface conforming to a certain specification, and can only run under a system platform specified by the program (possibly supporting multiple platforms at the same time), but cannot run separately from a specified platform. The block chain plug-in is a plug-in applied to the block chain application program. A blockchain application is understood to be an application suitable for blockchains, such as a distributed application (Decentralized Application, DAPP), also known as a distributed application or a decentralized application, that can run on a user's personal device. Through DAPP processing of data, the data may be stored in a user-specified location, such as a personal device, cloud disk, etc., and then stored in a blockchain. The blockchain plugin described herein may be multiple, or may include multiple functional units in one blockchain plugin, that is, multiple functional units in one blockchain plugin may correspondingly implement multiple functions.
In this embodiment, before the blockchain application program receives the initial message data, the corresponding blockchain plugin can be customized according to the expected uplink data characteristic, and then the corresponding blockchain plugin is configured in the blockchain application program, so that when the blockchain application program receives the initial message data, the blockchain application program can filter the initial message data through the corresponding blockchain plugin to obtain the target message data.
Step 206, the target message data is uplink to the blockchain.
On the premise of ensuring that the target message data is real, the target message data is uploaded to the blockchain, namely the target message data is stored in the blockchain. Specifically, the target message data is sent to the corresponding blockchain node by the blockchain application, and the target message is uploaded into the blockchain by the blockchain link node.
The specific blockchain uplink mode comprises content evidence, hash, link evidence, privacy evidence and shared privacy evidence. Content certification refers to directly putting the file content to be stored into the blockchain. Ha Xicun it is to perform hash operation on the file content to be stored to obtain a hash value of the stored data, and store and link the hash value, so that whether the file content is tampered can be verified by hash verification. The link ticket corresponds to a URI (Uniform Resource Identifier ) address of a file added on the basis of the hash ticket, and corresponds to a file address and file content hash of a corresponding file stored in the blockchain. The privacy certification means that the file data is stored on a blockchain after being encrypted, for example, symmetric encryption is that encryption and decryption keys are the same. The sharing of the privacy evidence refers to encrypting the file, and then encrypting the encrypted key again by using an asymmetric encryption mode, namely the sharing of the privacy evidence is further carried out; by asymmetric encryption, it is meant that there are two keys, a public key and a private key. When the target message data is stored specifically, any one of the uplink modes can be used for storing the target message data.
According to the data processing method, initial message data sent by a gateway are received; screening the initial message data according to the configured blockchain plugins to obtain target message data; and the target message data is uplink to a blockchain. According to the method and the device, the message data received by the gateway are stored in the blockchain after being processed by the configured blockchain plugin, so that the data can be prevented from being tampered; meanwhile, the plug-in modules are added into the blockchain application in the form of blockchain plug-in modules, so that the installation and the uninstallation are convenient, and meanwhile, the plug-in modules with corresponding functions can be configured according to specific application scenes, so that the application scenes of data processing are enriched.
In one embodiment, as shown in fig. 3, the step 204 of filtering the initial message data according to the configured blockchain plugin to obtain the target message data includes:
step 302, if the configured blockchain plugin is a type of plugin, performing real-time screening processing on the initial message data to obtain target message data.
And step 304, if the configured blockchain plugin is a class II plugin, periodically screening the initial message data to obtain target message data.
In this embodiment, the configured blockchain plugins include a class of plugins and a class of plugins, where the class of plugins performs real-time screening processing on initial message data to obtain target message data; and the class II plug-in performs regular screening treatment on the initial message data to obtain target message data.
In an alternative embodiment, the plug-in includes screening and recording sensitive information sources and destination information or screening important protocol contents, and when the plug-in identifies information meeting the conditions, the screened data is used as target message data. The sensitive information may be, for example, a preset website that is prone to revealing data, or alert information of a specific website, etc. The second-class plug-in comprises statistics on the number of times of access of a specific website or the data size corresponding to the access exceeding a preset flow threshold, and periodically taking corresponding content as target message data according to preset duration.
In one embodiment, if the configured blockchain plugin is a type of plugin, the step 302 of performing real-time filtering processing on the initial message data to obtain the target message data includes:
and if the configured blockchain plugin is a type of plugin, identifying source information and destination information of the initial message data, and if the preset condition is met, taking the initial message data as target message data.
In this embodiment, the blockchain plugin configured in the blockchain application program is a type of plugin, and identifies source information and destination information of the initial message data, and if the source information or the destination information satisfies preset sensitive source information or sensitive destination information, the initial message data is used as target message data, where all content of the initial message data may be used as target message data, or part of content of the initial message data may be used as target message data.
In an alternative implementation manner, a plug-in identifies source information and destination information of initial message data, and if preset sensitive source information or sensitive destination information is met, the item name, source address, destination address and corresponding frequency in the initial message data are used as target message data.
In one embodiment, as shown in fig. 4, the step 204 of filtering the initial message data according to the configured blockchain plugin to obtain the target message data includes:
step 402, if the configured blockchain plugin is a universal plugin, screening the initial message data according to the universal condition to obtain the target message data.
Step 404, if the configured blockchain plugin is a specific plugin, filtering the initial message data according to a specific condition to obtain target message data.
In this embodiment, the blockchain plugin includes a generic plugin and a specific plugin. The general plug-in performs screening processing on the initial message data which needs to meet general conditions to obtain target message data; and the specific plug-in performs screening processing on the initial message data which needs to meet the specific conditions to obtain target message data.
In an alternative embodiment, the universal plug-in includes a protocol plug-in or a port plug-in, for example, the protocol plug-in is used for filtering out message data of other protocols, and obtaining message data transmitted by HTTP protocol or TCP protocol as target message data, and the port plug-in is used for obtaining data sent by port No. 80 or port No. 443 in the TCP protocol, etc. A generic plug-in is understood to be a plug-in that most message data needs to be processed, and a specific plug-in is a plug-in that processes for a specific service scenario or specific message data. For example, the a domain name plug-in is provided with an a domain name, and the data received by the a domain name plug-in is compared to determine whether the a domain name is included, so that the number of times that the user accesses the a is detected as target message data, namely, the specific plug-in is used under specific service scenes.
In one embodiment, step 206 of uploading the target message data into the blockchain includes:
and uploading the target message data to a block chain according to a preset frequency.
In this embodiment, the target message data is uplink to the blockchain according to a preset frequency. Specifically, when the preset frequency is zero, the target message data is immediately uplink to the blockchain after the target message data is acquired; and when the preset frequency is not zero, the target message data is uplink to the block chain according to the corresponding preset frequency. In the implementation, all the obtained target message data can be uplink to the blockchain according to the same preset frequency, or can be uplink to the blockchain according to the preset frequency corresponding to different target message data. For example, first target message data may be uplink to the blockchain at a first predetermined frequency, second target message data may be uplink to the blockchain at a second predetermined frequency, and so on.
In one embodiment, as shown in fig. 5, the data processing method further includes:
step 502, receiving a change request of the configured blockchain plugin; the blockchain plugin includes at least one functional unit.
Step 504, add or delete or modify functional units in the blockchain plugin according to the change request.
In this embodiment, the blockchain application may receive a change request of the configured blockchain plugin, and add or delete or modify a functional unit in the blockchain plugin according to the change request, where the blockchain plugin includes at least one functional unit. That is, the change request of the blockchain plugin includes an add request, a delete request or a modify request of the blockchain plugin, and for the add request of the blockchain plugin, a corresponding functional unit is added in the blockchain plugin according to the add request; aiming at a deleting request of the block chain plugin, deleting a corresponding functional unit in the block chain plugin according to the deleting request; and aiming at the modification request of the blockchain plugin, modifying the corresponding functional unit in the blockchain plugin according to the modification request.
According to the embodiment, the function units are added, deleted or modified in the blockchain plugins according to the change request by receiving the change request of the configured blockchain plugins, wherein the blockchain plugins comprise at least one function unit, so that the corresponding blockchain plugins can be simply and efficiently changed according to different service scenes, and the blockchain plugins can be flexibly applied to various service scenes.
In one embodiment, as shown in fig. 6, the data processing method includes the following steps, which are described in connection with the application scenario shown in fig. 7.
At step 602, a blockchain plugin for use by a blockchain application is configured.
The blockchain application receives a blockchain plugin configuration request and configures a corresponding blockchain plugin according to the configuration request. The blockchain plugins may include a sensitive source identification plugin, a sensitive destination identification plugin, a received frequency statistics plugin, a network traffic size monitoring plugin, and the like, and specifically each blockchain plugin includes at least one functional unit.
Step 604, receiving initial message data sent by the gateway.
The gateway obtains initial message data through a hook function arranged at the FORWARD, and sends the initial message data to the blockchain application program.
And step 606, screening the initial message according to the configured blockchain plugin to obtain target message data.
And the block chain application program respectively screens the initial message according to the configured block chain plug-in to obtain target message data.
At step 608, the target message data is uplink to the blockchain.
And storing the target message data in a blockchain network.
And step 610, corresponding uplink data is sent to the user according to the user request.
For the uplink data, the user can initiate a data checking request to the blockchain application program, and after receiving the corresponding data checking request, the blockchain network sends corresponding data to the blockchain application program according to the corresponding data checking request, and the blockchain application program returns the corresponding data to the user.
In an alternative implementation, the user may also apply for changing the blockchain plugin configuration by initiating a blockchain plugin configuration change request to the blockchain application, according to the difference of the initial message data received in different periods. Meanwhile, a configured change request of the blockchain plugin can be initiated, and functional units are added, deleted or modified in the blockchain plugin according to the change request, wherein one blockchain plugin at least comprises one functional unit.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data processing device for realizing the above related data processing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the data processing device provided below may refer to the limitation of the data processing method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 8, there is provided a data processing apparatus including: a receiving module 802, a processing module 804, and a chaining module 806, wherein:
a receiving module 802, configured to receive initial message data sent by a gateway.
And a processing module 804, configured to filter the initial message data according to the configured blockchain plugin, so as to obtain target message data.
The uplink module 806 is configured to uplink the target message data into a blockchain.
In one embodiment, the processing module 804 is further configured to:
if the configured blockchain plugin is a type of plugin, carrying out real-time screening processing on the initial message data to obtain target message data; and if the configured blockchain plugin is a class II plugin, carrying out regular screening treatment on the initial message data to obtain target message data.
In one embodiment, the processing module 804 is further configured to:
and if the configured blockchain plugin is a type of plugin, identifying source information and destination information of the initial message data, and if the preset condition is met, taking the initial message data as target message data.
In one embodiment, the processing module 804 is further configured to:
if the configured blockchain plugin is a universal plugin, screening the initial message data according to universal conditions to obtain target message data; and if the configured blockchain plugin is a specific plugin, screening the initial message data according to specific conditions to obtain target message data.
In one embodiment, the uplink module 806 is further configured to:
and uploading the target message data to a block chain according to a preset frequency.
In one embodiment, the data processing apparatus further comprises a change module for:
receiving a change request of the configured blockchain plugin; the blockchain plugin includes at least one functional unit;
functional units are added or deleted or modified in the blockchain plugin according to the change request.
Each of the modules in the above-described data processing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured blockchain plugins to obtain target message data;
and the target message data is uplink to a blockchain.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of data processing, the method comprising:
configuring a blockchain plugin for use by a blockchain application;
receiving initial message data sent by a gateway;
if the configured blockchain plugin is a plugin, identifying source information and destination information of the initial message data, and if the preset sensitive source information or sensitive destination information is met, taking the initial message data as target message data;
if the configured blockchain plugin is a class II plugin, periodically screening the initial message data to obtain the target message data; the second-class plug-in comprises counting the access times of a specific website or the data size corresponding to the access exceeding a preset flow threshold; and the target message data is uplink to a blockchain.
2. The method according to claim 1, wherein the method further comprises:
if the configured blockchain plugin is a universal plugin, screening the initial message data according to universal conditions to obtain the target message data;
and if the configured blockchain plugin is a specific plugin, screening the initial message data according to specific conditions to obtain the target message data.
3. The method of claim 1, wherein the step of uplink the target message data into a blockchain comprises:
and uploading the target message data to a block chain according to a preset frequency.
4. The method according to claim 1, wherein the method further comprises:
receiving a change request of the configured blockchain plugin; the blockchain plugin includes at least one functional unit;
and adding, deleting or modifying functional units in the blockchain plugin according to the change request.
5. The method of claim 1, wherein the initial message data is obtained by processing the initial message data received by the gateway by a processing function in the firewall.
6. The method of claim 1, wherein the step of uplink the target message data into a blockchain comprises:
and sending the target message data to a corresponding block chain node through a block chain application program, and uploading the target message to a block chain through the block chain link node.
7. The method according to claim 1, wherein the method further comprises:
receiving a data viewing request;
and sending corresponding uplink data to the user according to the data viewing request.
8. A data processing apparatus, the apparatus comprising:
the configuration module is used for configuring a blockchain plugin used by the blockchain application program;
the receiving module is used for receiving the initial message data sent by the gateway;
the processing module is used for identifying the source information and the destination information of the initial message data if the configured blockchain plugins are plugins of a type, and taking the initial message data as target message data if the preset sensitive source information or sensitive destination information is met; if the configured blockchain plugin is a class II plugin, periodically screening the initial message data to obtain the target message data; the second-class plug-in comprises counting the access times of a specific website or the data size corresponding to the access exceeding a preset flow threshold;
and the uplink module is used for uplink the target message data to a block chain.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202111439118.0A 2021-11-30 2021-11-30 Data processing method, device, computer equipment and storage medium Active CN114168218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111439118.0A CN114168218B (en) 2021-11-30 2021-11-30 Data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111439118.0A CN114168218B (en) 2021-11-30 2021-11-30 Data processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114168218A CN114168218A (en) 2022-03-11
CN114168218B true CN114168218B (en) 2024-03-29

Family

ID=80481617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111439118.0A Active CN114168218B (en) 2021-11-30 2021-11-30 Data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114168218B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710572A (en) * 2022-03-31 2022-07-05 深圳奇迹智慧网络有限公司 Data processing method, device and computer storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2995492A1 (en) * 2015-08-14 2017-02-23 Identitii Pty Ltd A computer implemented method for processing a financial transaction and a system therefor
CN107770182A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 The date storage method and home gateway of home gateway
CN110880146A (en) * 2019-11-21 2020-03-13 上海中信信息发展股份有限公司 Block chain chaining method, device, electronic equipment and storage medium
CN111291034A (en) * 2020-03-11 2020-06-16 北京价值互联科技有限公司 Block chain plug-in data cleaning method, system, terminal and medium
WO2020135574A1 (en) * 2018-12-28 2020-07-02 中兴通讯股份有限公司 Message processing method and apparatus, control plane device, and computer storage medium
CN111382463A (en) * 2020-04-02 2020-07-07 中国工商银行股份有限公司 Block chain system and method based on stream data
WO2021008113A1 (en) * 2019-07-18 2021-01-21 创新先进技术有限公司 Data evidence storage method, data verification method and related apparatuses based on blockchain
CN112487101A (en) * 2020-12-15 2021-03-12 深圳前海微众银行股份有限公司 Data processing method, node equipment and system of block chain
CN112529721A (en) * 2020-12-30 2021-03-19 河南中盾云安信息科技有限公司 Grain supervision method based on block chain and Internet of things
CN113259348A (en) * 2021-05-12 2021-08-13 深圳信息职业技术学院 Heterogeneous data processing method and device, computer equipment and storage medium
CN113468574A (en) * 2021-07-21 2021-10-01 招商华软信息有限公司 Block chain data uplink method and device
CN113596151A (en) * 2021-07-28 2021-11-02 杭州数梦工场科技有限公司 Plug-in management method and device, and data processing method and device
CN113672983A (en) * 2021-08-25 2021-11-19 山大地纬软件股份有限公司 Service handling data privacy protection system and method based on block chain

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2995492A1 (en) * 2015-08-14 2017-02-23 Identitii Pty Ltd A computer implemented method for processing a financial transaction and a system therefor
CN107770182A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 The date storage method and home gateway of home gateway
WO2020135574A1 (en) * 2018-12-28 2020-07-02 中兴通讯股份有限公司 Message processing method and apparatus, control plane device, and computer storage medium
WO2021008113A1 (en) * 2019-07-18 2021-01-21 创新先进技术有限公司 Data evidence storage method, data verification method and related apparatuses based on blockchain
CN110880146A (en) * 2019-11-21 2020-03-13 上海中信信息发展股份有限公司 Block chain chaining method, device, electronic equipment and storage medium
CN111291034A (en) * 2020-03-11 2020-06-16 北京价值互联科技有限公司 Block chain plug-in data cleaning method, system, terminal and medium
CN111382463A (en) * 2020-04-02 2020-07-07 中国工商银行股份有限公司 Block chain system and method based on stream data
CN112487101A (en) * 2020-12-15 2021-03-12 深圳前海微众银行股份有限公司 Data processing method, node equipment and system of block chain
CN112529721A (en) * 2020-12-30 2021-03-19 河南中盾云安信息科技有限公司 Grain supervision method based on block chain and Internet of things
CN113259348A (en) * 2021-05-12 2021-08-13 深圳信息职业技术学院 Heterogeneous data processing method and device, computer equipment and storage medium
CN113468574A (en) * 2021-07-21 2021-10-01 招商华软信息有限公司 Block chain data uplink method and device
CN113596151A (en) * 2021-07-28 2021-11-02 杭州数梦工场科技有限公司 Plug-in management method and device, and data processing method and device
CN113672983A (en) * 2021-08-25 2021-11-19 山大地纬软件股份有限公司 Service handling data privacy protection system and method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施罗德著;冯亮译.《Linux Networking Cookbook 中文版》.东南大学出版社,2009,第46-51页. *

Also Published As

Publication number Publication date
CN114168218A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US10699026B2 (en) Internal controls engine and reporting of events generated by a network or associated applications
US20210240848A1 (en) Detecting an attempted access of personal information on client computing devices
US10129097B2 (en) GUI and high-level API wrapper for software defined networking and software defined access for controlling network routing and rules
US10084642B2 (en) Automated sensing of network conditions for dynamically provisioning efficient VPN tunnels
US20140366079A1 (en) System and method for providing a single global borderless virtual perimeter through distributed points of presence
US20220232025A1 (en) Detecting anomalous behavior of a device
US20220232024A1 (en) Detecting deviations from typical user behavior
US20130254880A1 (en) System and method for crowdsourcing of mobile application reputations
US20150347773A1 (en) Method and system for implementing data security policies using database classification
CN112867988A (en) Implementing compliance settings by a mobile device to follow a configuration scenario
US20220224707A1 (en) Establishing a location profile for a user device
CN104221321A (en) Method and apparatus for secured social networking
CN114168218B (en) Data processing method, device, computer equipment and storage medium
CN106878246A (en) A kind of method for managing resource and device
CN117395077A (en) Encryption processing method and device for access request, computer equipment and storage medium
CN113420007A (en) Audit processing method and device for database access and electronic equipment
CN116684102A (en) Message transmission method, message verification method, device, equipment, medium and product
CN116361121A (en) Abnormal interface alarm method, device, electronic equipment and computer readable medium
US20220311600A1 (en) Time-Aware Blockchain Staged Regulatory Control of Internet of Things Data
US20210350024A1 (en) Providing transparency in private-user-data access
CN114268481A (en) Method, device, equipment and medium for processing illegal external connection information of intranet terminal
Jani et al. IoT and cyber security: introduction, attacks, and preventive steps
US20150040222A1 (en) Detecting and reacting to inappropriate equipment and programming in a computer system without generating alerts to unauthorized users of the detection
CN115604041B (en) Security agent method, system, apparatus, computer device, and storage medium
US20240106846A1 (en) Approval Workflows For Anomalous User Behavior

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