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

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

Info

Publication number
CN114168218A
CN114168218A CN202111439118.0A CN202111439118A CN114168218A CN 114168218 A CN114168218 A CN 114168218A CN 202111439118 A CN202111439118 A CN 202111439118A CN 114168218 A CN114168218 A CN 114168218A
Authority
CN
China
Prior art keywords
message data
plug
block chain
data
blockchain
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
CN202111439118.0A
Other languages
Chinese (zh)
Other versions
CN114168218B (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

Images

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 block chain plug-in unit to obtain target message data; and uploading the target message data to a block chain. The message data received by the gateway is processed by the allocated block chain plug-in unit and then stored in the block chain, so that the data can be prevented from being tampered; meanwhile, the method is added into the blockchain application in a blockchain plug-in mode, so that the installation and the uninstallation are convenient, meanwhile, plug-ins with corresponding functions can be configured according to specific application scenes, and the service application scenes of data processing are enriched.

Description

Data processing method, data processing device, computer equipment and storage medium
Technical Field
The present application relates to the field of block chain technology, 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 link 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. The internet of things gateway serves as a conversion important device, can realize protocol conversion between a sensing network and a communication network and between different types of sensing networks, can realize wide area interconnection and local area interconnection, but the traditional internet of things gateway adopts a centralized storage mode and has the risk that stored data is easy to tamper.
Disclosure of Invention
In view of the above, it is necessary to provide a data processing method, an apparatus, a computer device, a computer readable storage medium, and a computer program product capable of preventing the gateway data storage from being tampered with.
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 block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
In one embodiment, the screening the initial packet data according to the configured blockchain plug-in to obtain the target packet data includes:
if the configured block chain plug-in is a plug-in of one type, real-time screening processing is carried out on the initial message data to obtain the target message data;
and if the configured block chain plug-in is a second-class plug-in, periodically screening the initial message data to obtain the target message data.
In one embodiment, if the configured blockchain plug-in is a type of plug-in, performing real-time screening processing on the initial packet data to obtain the target packet data includes:
and if the configured block chain plug-in is a plug-in of one type, identifying the source information and the destination information of the initial message data, and if a preset condition is met, taking the initial message data as target message data.
In one embodiment, the screening the initial packet data according to the configured blockchain plug-in to obtain the target packet data includes:
if the configured block chain plug-in is a universal plug-in, screening the initial message data according to a universal condition to obtain the target message data;
and if the configured block chain plug-in is a specific plug-in, screening the initial message data according to specific conditions to obtain the target message data.
In one embodiment, the uplink of the target message data into the block chain includes:
and linking 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 allocated blockchain plug-in; the blockchain plug comprises at least one functional unit;
and adding or deleting or modifying functional units in the blockchain plug-in according to the change request.
In a second aspect, the present application further provides a data processing apparatus. The device comprises:
the receiving module is used for receiving initial message data sent by the gateway;
the processing module is used for screening the initial message data according to the configured block chain plug-in unit to obtain target message data;
and the uplink module is used for uplink the target message data to the 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 implementing the following steps when executing the computer program:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
In a fourth aspect, the present application further 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 block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
In a fifth aspect, the present application further provides a computer program product. The computer program product 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 block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
The data processing method, the data processing device, the computer equipment, the storage medium and the computer program product receive initial message data sent by the gateway; screening the initial message data according to the configured block chain plug-in unit to obtain target message data; and uploading the target message data to a block chain. The message data received by the gateway is processed by the allocated block chain plug-in unit and then stored in the block chain, so that the data can be prevented from being tampered; meanwhile, the method is added into the blockchain application in a blockchain plug-in mode, so that the installation and the uninstallation are convenient, meanwhile, plug-ins with corresponding functions can be configured according to specific application scenes, and the service application scenes of data processing are enriched.
Drawings
FIG. 1 is a diagram of an application environment of a data processing method in one embodiment;
FIG. 2 is a flow diagram illustrating a data processing method according to one embodiment;
FIG. 3 is a flow diagram illustrating steps 204 in one embodiment;
FIG. 4 is a schematic flow chart showing the step 204 in another embodiment;
FIG. 5 is a flow chart illustrating a data processing method according to another embodiment;
FIG. 6 is a flow chart illustrating a data processing method according to still another embodiment;
FIG. 7 is a diagram illustrating an application scenario of the data processing method in the embodiment shown in FIG. 6;
FIG. 8 is a block diagram showing the structure of a data processing apparatus according to an embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data processing method provided by the embodiment of the application can be applied to the 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 the 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 block chain plug-in unit to obtain target message data; the target message data is uplinked to the blockchain, i.e. the target message data is stored in the server 104 of the blockchain. 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, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, a data processing method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, receiving initial message data sent by the gateway.
Gateways (gateways) are also called internetwork connectors and protocol converters, and realize network interconnection above a network layer, are complex network interconnection equipment and can be used for interconnection of two networks with different high-level protocols. The gateway can be used for interconnection of wide area networks and local area networks, and can be used between two systems with different communication protocols, data formats or languages and even completely different architectures. Therefore, most of data transmission in life necessarily needs to pass through the gateway, but data transmitted through a plurality of gateways to a destination is easily modified at a certain node in the middle, resulting in inconsistency between the data to the destination and the data to be transmitted at the beginning. The method and the device send the initial message data passing through the gateway to the block chain application, namely the block chain 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), a tcp (transmission Control protocol) message, a 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 optional embodiment, a firewall is further disposed between the gateway and the blockchain application, and is configured to guarantee security of data inside and outside the gateway, and a corresponding processing function is disposed in the firewall, and when a processing condition of the processing function is satisfied, the received data is processed using the corresponding processing function. For example, in the Netfilter framework, when a network card has packets to be transmitted in and out, the packets to be transmitted in and out pass through detection points (hooks) set in the Netfilter framework, and some processing functions are registered at each detection point for processing, FORWARD is a detection point through which the packets need to be forwarded. The processing function can be a hook function, the hook function is a part of a Windows message processing mechanism, and by setting a hook, an application program can filter all messages and events at a system level and access messages which cannot be accessed under normal conditions. The essence of a hook is a program that handles system messages, which are put on the system through system calls. Netfilter is a subsystem introduced by Linux 2.4.x, and serves as a universal and abstract framework to provide a complete set of management mechanism of hook functions. The gateway receives the original message data, processes the original message data through a processing function set in the firewall to obtain the initial message data, and then sends the initial message data to the block chain application.
And 204, screening the initial message data according to the configured block chain plug-in unit to obtain target message data.
A plug-in is a program written by an application program interface following a certain specification, and can only run under a system platform (possibly supporting multiple platforms simultaneously) specified by the program, but cannot run independently from a specified platform. The blockchain plug-in is a plug-in applied to the blockchain application. A blockchain Application is understood to be an Application suitable for blockchain, such as a Distributed Application (DAPP), which is also called a distributed Application or Decentralized Application, and can run on a personal device of a user. With DAPP processed data, the data may be stored in a user-specified location, such as a personal device, a cloud disk, etc., and then stored in a blockchain. The blockchain plug-in described herein may be multiple, or one blockchain plug-in may include multiple functional units, that is, multiple functional units in one blockchain plug-in may correspondingly implement multiple functions.
In this embodiment, before receiving the initial message data, the blockchain application may customize a corresponding blockchain plug-in according to a data characteristic expected to be uplinked, and then configure the corresponding blockchain plug-in the blockchain application, so that when receiving the initial message data, the blockchain application may perform screening processing on the initial message data through the corresponding blockchain plug-in to obtain the target message data.
Step 206, the target message data is uplinked to the block chain.
And on the premise of ensuring that the target message data is real, chaining the target message data into the block chain, namely storing the target message data into the block chain. Specifically, the block chain application program sends the target message data to the corresponding block chain node, and the block chain node links the target message to the block chain.
The specific block chain chaining mode comprises content certificate storage, Hash existence, link certificate storage, privacy certificate storage and privacy certificate sharing. The content storage certificate means that the file content to be stored is directly put into the block chain. The HashCuk refers to the step of carrying out Hash operation on the file content to be stored to obtain a Hash value of stored data, and storing and chaining the Hash value, so that whether the file content is tampered or not can be verified in a HashCuk mode. The link storage is equivalent to adding a Uniform Resource Identifier (URI) address of a file on the basis of the hash storage, and is equivalent to storing a file address and a file content hash of a corresponding file on the block chain. The privacy certification refers to storing the file data on the block chain after being encrypted, for example, symmetric encryption is performed, and the symmetric encryption refers to that the encryption key and the decryption key are the same. Sharing the privacy certificate means that after the file is encrypted, the encrypted key is encrypted again by using an asymmetric encryption mode, namely the sharing of the privacy certificate is a further step of the privacy certificate; asymmetric encryption means that there are two keys, a public key and a private key. When the target message data is stored, the target message data can be stored by using any uplink mode.
The data processing method comprises the steps of receiving initial message data sent by a gateway; screening the initial message data according to the configured block chain plug-in unit to obtain target message data; and uploading the target message data to a block chain. The message data received by the gateway is processed by the allocated block chain plug-in unit and then stored in the block chain, so that the data can be prevented from being tampered; meanwhile, the method is added into the blockchain application in a blockchain plug-in mode, so that the installation and the uninstallation are convenient, meanwhile, plug-ins with corresponding functions can be configured according to specific application scenes, and the application scenes of data processing are enriched.
In an embodiment, as shown in fig. 3, the step 204 of performing a screening process on the initial packet data according to the configured blockchain plug-in to obtain the target packet data includes:
step 302, if the configured blockchain plug-in is a type of plug-in, then the initial message data is screened in real time to obtain the target message data.
And 304, if the configured block chain plug-ins are the second type plug-ins, periodically screening the initial message data to obtain target message data.
In this embodiment, the configured blockchain plug-ins include a first type plug-in and a second type plug-in, where the first type plug-in performs real-time screening processing on the initial message data to obtain target message data; the second type of plug-in performs regular screening processing on the initial message data to obtain target message data.
In an alternative embodiment, one type of plug-in includes filtering and recording sensitive information sources and destination information or filtering important protocol content, and when one type of plug-in identifies information meeting the conditions, the filtered data is used as target message data. The sensitive information may be, for example, a preset website where data is easily leaked, or warning information of a specific website. The second type of plug-in includes that the number of access times of a specific website or the size of data corresponding to the access exceeding a preset flow threshold value are counted, and corresponding content is periodically used as target message data according to preset duration.
In an embodiment, if the configured blockchain plug-in is a type of plug-in, the step 302 of performing real-time screening processing on the initial message data to obtain the target message data includes:
and if the configured block chain plug-in is a plug-in of one type, identifying the source information and the destination information of the initial message data, and if a preset condition is met, taking the initial message data as target message data.
In this embodiment, the blockchain plug-in configured in the blockchain application program is a type of plug-in, and identifies source information and destination information of the initial message data, and if the preset sensitive source information or sensitive destination information is satisfied, the initial message data is used as target message data, where all contents of the initial message data may be used as the target message data, and part of contents of the initial message data may also be used as the target message data.
In an optional implementation manner, a class of plug-ins identifies source information and destination information of initial message data, and if the source information and the destination information meet preset sensitive source information or sensitive destination information, the item name, the source address, the destination address and the corresponding frequency in the initial message data are used as target message data.
In an embodiment, as shown in fig. 4, the step 204 of performing a screening process on the initial packet data according to the configured blockchain plug-in to obtain the target packet data includes:
and step 402, if the configured block chain plug-in is a universal plug-in, screening the initial message data according to the universal condition to obtain target message data.
And step 404, if the configured block chain plug-in is a specific plug-in, screening the initial message data according to specific conditions to obtain target message data.
In this embodiment, the blockchain plug-ins include generic plug-ins and specific plug-ins. The method comprises the steps that a universal plug-in carries out screening processing on initial message data needing to meet universal 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 generic plug-in includes a protocol plug-in or a port plug-in, for example, the protocol plug-in is used for filtering message data of other protocols, and obtains message data transmitted by the HTTP protocol or the TCP protocol as target message data, and the port plug-in is used for obtaining data sent by port number 80 or port number 443 in the TCP protocol, and the like. A generic plug-in may be understood as a plug-in that most message data needs to be processed, and a specific plug-in is a plug-in that processes specific message data or specific service scenarios. For example, the domain name a plug-in is provided with a domain name a, and compares data received by the domain name a plug-in to determine whether the domain name a is included, so as to detect the number of times that the user accesses the domain name a as target packet data, which is a specific plug-in used in a specific service scenario.
In one embodiment, the step 206 of uplink of the target message data into the block chain includes:
and linking the target message data to a block chain according to a preset frequency.
In this embodiment, the target packet data is uplinked to the block chain according to a preset frequency. Specifically, when the preset frequency is zero, it indicates that the target message data is immediately uplink-linked to the block chain after the target message data is acquired; and when the preset frequency is not zero, chaining the target message data into the block chain according to the corresponding preset frequency. In specific implementation, all the obtained target message data may be uplinked to the block chain according to the same preset frequency, or may be uplinked to the block chain according to preset frequencies corresponding to different target message data. For example, a first target message data may be uplinked to the block chain at a first predetermined frequency, a second target message data may be uplinked to the block chain 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 plug-in; the blockchain plug includes at least one functional unit.
Step 504, add or delete or modify functional units in the blockchain plug-in according to the change request.
In this embodiment, the blockchain application may receive a change request of the configured blockchain plug-in, and add, delete or modify a functional unit in the blockchain plug-in according to the change request, where the blockchain plug-in includes at least one functional unit. That is to say, the change request of the blockchain plug-in includes an addition request, a deletion request or a modification request of the blockchain plug-in, and for the addition request of the blockchain plug-in, a corresponding functional unit is added in the blockchain plug-in according to the addition request; deleting corresponding functional units in the block chain plug-in according to the deletion request aiming at the deletion request of the block chain plug-in; and modifying the corresponding functional units in the blockchain plug-in according to the modification request aiming at the modification request of the blockchain plug-in.
In the embodiment, the change request of the configured blockchain plug-in is received, and the functional unit is added or deleted or modified in the blockchain plug-in according to the change request, wherein the blockchain plug-in comprises at least one functional unit, so that the corresponding blockchain plug-in can be simply and efficiently changed according to different service scenes, and the blockchain plug-in 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 conjunction with the application scenario shown in FIG. 7.
At step 602, a blockchain plug-in for use by a blockchain application is configured.
The blockchain application program receives the blockchain plug-in configuration request and configures the corresponding blockchain plug-in according to the configuration request. The blockchain plug-in may include a sensitive source identification plug-in, a sensitive destination identification plug-in, a reception frequency statistics plug-in, a network traffic size monitoring plug-in, and the like, where each blockchain plug-in specifically includes at least one functional unit.
Step 604, receiving the initial message data sent by the gateway.
And the gateway acquires initial message data through a hook function arranged at the FORWARD and sends the initial message data to the block chain application program.
And 606, screening the initial message according to the configured block chain plug-in unit to obtain target message data.
And the block chain application program respectively performs screening processing on the initial message according to the configured block chain plug-in unit to obtain target message data.
Step 608, the target message data is uplinked to the block chain.
And storing the target message data in the block chain network.
Step 610, sending corresponding uplink data to the user according to the user request.
For the uplink data, the user can initiate a data viewing request to the blockchain application program, after receiving the corresponding data viewing request, the blockchain network sends corresponding data to the blockchain application program according to the corresponding data viewing request, and the blockchain application program returns the corresponding data to the user.
In an optional implementation manner, the user may also apply for changing the configuration of the blockchain plug-in according to different initial message data received at different times by initiating a request for changing the configuration of the blockchain plug-in to the blockchain application. And simultaneously, a change request of the configured blockchain plug-in can be initiated, and functional units are added or deleted or modified in the blockchain plug-in according to the change request, wherein one blockchain plug-in at least comprises one functional unit.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a data processing apparatus for implementing the above-mentioned data processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more embodiments of the data processing device provided below may refer to the limitations on the data processing method in the above description, and are not described herein again.
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 an uplink module 806, wherein:
a receiving module 802, configured to receive initial message data sent by a gateway.
The processing module 804 is configured to perform screening processing on the initial packet data according to the configured blockchain plug-in to obtain target packet data.
An uplink module 806 is configured to uplink the target message data to a block chain.
In one embodiment, the processing module 804 is further configured to:
if the configured block chain plug-in is a plug-in of one type, real-time screening processing is carried out on the initial message data to obtain target message data; and if the configured block chain plug-ins are the second type plug-ins, periodically screening the initial message data to obtain target message data.
In one embodiment, the processing module 804 is further configured to:
and if the configured block chain plug-in is a plug-in of one type, identifying the source information and the destination information of the initial message data, and if a 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 block chain plug-in is a universal plug-in, screening the initial message data according to the universal conditions to obtain target message data; and if the configured block chain plug-in is a specific plug-in, 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 linking 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 allocated blockchain plug-in; the blockchain plug-in comprises at least one functional unit;
functional units are added or deleted or modified in the blockchain plug-in according to the change request.
The various modules in the data processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain 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 a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
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 block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
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 block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the 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 (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain 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 devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method of data processing, the method comprising:
receiving initial message data sent by a gateway;
screening the initial message data according to the configured block chain plug-in unit to obtain target message data;
and uploading the target message data to a block chain.
2. The method of claim 1, wherein the screening the initial packet data according to the configured blockchain plug-in to obtain target packet data comprises:
if the configured block chain plug-in is a plug-in of one type, real-time screening processing is carried out on the initial message data to obtain the target message data;
and if the configured block chain plug-in is a second-class plug-in, periodically screening the initial message data to obtain the target message data.
3. The method of claim 2, wherein if the configured blockchain plug-in is a type of plug-in, performing real-time screening processing on the initial packet data to obtain the target packet data comprises:
and if the configured block chain plug-in is a plug-in of one type, identifying the source information and the destination information of the initial message data, and if a preset condition is met, taking the initial message data as target message data.
4. The method of claim 1, wherein the screening the initial packet data according to the configured blockchain plug-in to obtain target packet data comprises:
if the configured block chain plug-in is a universal plug-in, screening the initial message data according to a universal condition to obtain the target message data;
and if the configured block chain plug-in is a specific plug-in, screening the initial message data according to specific conditions to obtain the target message data.
5. The method of claim 1, wherein the uplink of the target message data into a block chain comprises:
and linking the target message data to a block chain according to a preset frequency.
6. The method of claim 1, further comprising:
receiving a change request of the allocated blockchain plug-in; the blockchain plug comprises at least one functional unit;
and adding or deleting or modifying functional units in the blockchain plug-in according to the change request.
7. A data processing apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving initial message data sent by the gateway;
the processing module is used for screening the initial message data according to the configured block chain plug-in unit to obtain target message data;
and the uplink module is used for uplink the target message data to the block chain.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
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 true CN114168218A (en) 2022-03-11
CN114168218B 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)

Cited By (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 中文版》", 东南大学出版社, pages: 46 - 51 *

Cited By (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

Also Published As

Publication number Publication date
CN114168218B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US11658971B1 (en) Virtual firewalls for multi-tenant distributed services
US10699026B2 (en) Internal controls engine and reporting of events generated by a network or associated applications
KR102194202B1 (en) Establish links between identifiers without disclosing specific identifying information
US11979422B1 (en) Elastic privileges in a secure access service edge
US20220232025A1 (en) Detecting anomalous behavior of a device
US20220232024A1 (en) Detecting deviations from typical user behavior
US20150347773A1 (en) Method and system for implementing data security policies using database classification
US7840501B1 (en) Behavioral analysis apparatus and associated method that utilizes a system selected based on a level of data
US20220224707A1 (en) Establishing a location profile for a user device
CN109639819B (en) File transmission method, client, server and system
CN108632807B (en) Mobile terminal access control method and device
US20230254330A1 (en) Distinguishing user-initiated activity from application-initiated activity
CA2946424A1 (en) Method and apparatus for a scoring service for security threat management
US11489660B2 (en) Re-encrypting data on a hash chain
CN107533611A (en) Protect user can identification information in the transmission of telemetry
US20170324686A1 (en) System and method for secure and efficient communication within an organization
CN114168218B (en) Data processing method, device, computer equipment and storage medium
CN106878246A (en) A kind of method for managing resource and device
CN116361121A (en) Abnormal interface alarm method, device, electronic equipment and computer readable medium
WO2023034444A1 (en) Generating user-specific polygraphs for network activity
WO2023034419A1 (en) Detecting anomalous behavior of a device
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
CN113472715A (en) Data transmission method and device
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