CN109299195A - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN109299195A
CN109299195A CN201811237353.8A CN201811237353A CN109299195A CN 109299195 A CN109299195 A CN 109299195A CN 201811237353 A CN201811237353 A CN 201811237353A CN 109299195 A CN109299195 A CN 109299195A
Authority
CN
China
Prior art keywords
terminal device
data
block chain
detection data
detection
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.)
Pending
Application number
CN201811237353.8A
Other languages
Chinese (zh)
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.)
Hangzhou Nengchain Technology Co Ltd
Original Assignee
Hangzhou Nengchain 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 Hangzhou Nengchain Technology Co Ltd filed Critical Hangzhou Nengchain Technology Co Ltd
Priority to CN201811237353.8A priority Critical patent/CN109299195A/en
Publication of CN109299195A publication Critical patent/CN109299195A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC

Abstract

The invention discloses a kind of data processing method, device and storage mediums.Wherein, data processing method includes: terminal device from detection device reception detection data, and wherein terminal device and detection device are set in Internet of Things;Terminal device access is set to the block of the block chain of terminal device, and wherein block chain is set in the terminal device set including terminal device;Terminal device by received detection data write-in block chain block;And other terminal devices of terminal device into terminal device set send detection data.The present invention solves cloud computing center and stores the technical problem that overall data operation efficiency is low caused by a large amount of hash.

Description

Data processing method, device and storage medium
Technical field
The present invention relates to block chain fields, in particular to a kind of data processing method, device and storage medium.
Background technique
With the development of Internet of Things, various household appliances and big quantity sensor from now on, including it is embedded in wearable device In sensor can all network, to generate extremely large number data.Key business data and other Various types of data mix big Amount data transmission and reception require to cause the efficiency of entire Internet of Things very low by cloud computing center processing/or forwarding.
The mist that Cisco proposes calculates and the invention is close, but it is more laid particular stress on and hardware net level, and it is main that mist calculates network By telecommunications infrastructure setting, supplier is built, and there is no the applicabilities provided in service layer closer to each application system, and It can be built jointly by independent third party or application system development side in construction.
In the case where Internet of Things is greatly developed, distance is too long between the acquisition of data and cloud processing, and in cloud computing The heart stores a large amount of hash, leads to the low efficiency of data operation entirety.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of data processing method, device and storage mediums, at least to solve due in terms of cloud Calculate the low technical problem of overall data operation efficiency caused by a large amount of hash of central store.
First aspect according to an embodiment of the present invention provides a kind of data processing method, comprising: terminal device is from inspection It surveys device and receives detection data, wherein terminal device and the detection device are set in Internet of Things;Terminal device access setting In the block of the block chain of terminal device, wherein block chain is set in the terminal device set including terminal device;Terminal is set The standby block that the received detection data of institute is written to block chain;And other terminals of terminal device into terminal device set are set Preparation inspection measured data.
Optionally, in the above method, by received detection data write-in block chain block operation, comprising: terminal Equipment will test data and be converted to corresponding cryptographic Hash by Hash operation;And cryptographic Hash is written to the block of block chain.
Optionally, in the above method, further includes: terminal device transfers business datum from server reception by internet Instruction, wherein business datum is associated with the data service that server executes;Terminal device is in response to instruction access block chain Block, and detection data relevant to data service is obtained as business datum from block;And terminal device will be obtained The business datum taken is sent to server.
Optionally, in the above method, the operation of detection data relevant to data service is obtained from block, comprising: root The type for the detection data to be obtained is determined according to the type of data service;And the class according to the detection data to be obtained Type is retrieved in block chain, obtains detection data relevant to data service.
The second aspect of the application additionally provides a kind of data processing method, comprising: by internet to terminal device Send the instruction for transferring business datum, wherein terminal device and detection device are set in Internet of Things, and are configured to pass through object Networking receives detection data from detection device and will be in the received detection data write-in block chain of institute;And it is connect from terminal device It is incorporated as the detection data for business datum, wherein block chain is set in the terminal device set including terminal device.
A kind of storage medium is provided in terms of the third of the application, storage medium includes the program of storage, wherein in journey When sort run as processor execute it is any one of above-mentioned described in method.
The 4th aspect of the application provides a kind of data processing equipment, comprising: data reception module;For passing through end End equipment receives detection data from detection device, and wherein terminal device and detection device are set in Internet of Things;Access modules;With In the block for the block chain for being set to terminal device by terminal device access, wherein block chain is set to including terminal device In terminal device set;Writing module;For by terminal device by the block of institute's received detection data write-in block chain;With And notification module;For sending detection data by other terminal devices of terminal device into terminal device set.
The 5th aspect of the application provides a kind of data processing equipment, comprising: sending module;For passing through internet The instruction for transferring business datum is sent to terminal device, wherein terminal device and detection device are set in Internet of Things, and are matched It is set to and detection data is received from detection device by Internet of Things and the received detection data of institute is written in block chain;And it connects Receive module;For receiving the detection data as business datum from terminal device, wherein block chain is set to including terminal device Terminal device set in.
The 6th aspect of the application provides a kind of data processing equipment, comprising: processor;And memory, with place Device connection is managed, for providing the instruction for handling following processing step for processor: receiving and examine from detection device by terminal device Measured data, wherein terminal device and detection device are set in Internet of Things;Terminal device is set to by terminal device access The block of block chain, wherein block chain is set in the terminal device set including terminal device;It will be connect by terminal device The block of the detection data write-in block chain of receipts;And it is sent out by other terminal devices of terminal device into terminal device set Inspection measured data.
The 7th aspect of the application provides a kind of data processing equipment, comprising: processor;And memory, with place Device connection is managed, for providing the instruction for handling following processing step for processor: transferring by internet to terminal device transmission The instruction of business datum, wherein terminal device and detection device are set in Internet of Things, and are configured to through Internet of Things from inspection Device is surveyed to receive detection data and the received detection data of institute is written in block chain;And it is received from terminal device and is used as industry The institute's detection data for data of being engaged in, wherein block chain is set in the terminal device set including terminal device.
The embodiment of the present disclosure is proposed based on Internet of Things, and terminal device receives detection data, i.e. detection device is to issue inspection For measured data to terminal device, terminal device receives detection data, multiple terminal devices compositing terminal cluster tool, terminal device Set generates block chain, and terminal device accesses the block of block chain, the detection data received is written to the block of block chain In, and other terminal devices into terminal device set send the technical solution of detection data.
In the prior art, cloud computing center and data pick-up hypertelorism, and and there is a big chunk flow to be wasted in In hash;And the application, by the above method, realizing detection data distribution is stored in terminal device, rather than will All data all upload in cloud computing center, save the savings space of cloud computing center.Cloud computing center is without extra Hash, and do not have to flow is wasted in hash, to accelerate the working efficiency of cloud computing center.Together When, using Internet of Things and block chain technology, terminal device generates block chain, guarantees the data storage of terminal device generation in block In chain, and guarantee the authenticity of data.And then it solves cloud computing center and stores entirety number caused by a large amount of hash According to the low technical problem of operation efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 shows a kind of terminal (or mobile device) that network method is calculated for realizing distributed Internet of Things Hardware block diagram;
Fig. 2 shows the schematic diagrames that the distributed Internet of Things according to the embodiment of the present disclosure 1 calculate network;
Fig. 3 is the flow chart of the data processing method according to the first aspect of the embodiment of the present disclosure 1;
The flow chart for the operation of Fig. 4 method according to Fig. 3 further supplemented;
Fig. 5 is the schematic diagram of the data processing method according to the second aspect of the embodiment of the present disclosure 1;
Fig. 6 is the schematic diagram of the data processing equipment according to the first aspect of the embodiment of the present disclosure 2;
Fig. 7 is the schematic diagram of the data processing equipment according to the second aspect of the embodiment of the present disclosure 2;
Fig. 8 is the schematic diagram of the data processing equipment according to 3 first aspect of the embodiment of the present disclosure;And
Fig. 9 is the schematic diagram of the data processing equipment according to 3 the second aspect of the embodiment of the present disclosure.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Firstly, the part noun or term that occur during the embodiment of the present application is described are suitable for following solution It releases:
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for data processing method is additionally provided, it should be noted that The step of process of attached drawing illustrates can execute in a computer system such as a set of computer executable instructions, also, It, in some cases, can be to be different from shown in sequence execution herein although logical order is shown in flow charts The step of out or describing.
Embodiment of the method provided by the embodiment of the present application 1 can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.Fig. 1 shows a kind of hardware of terminal (or mobile device) for realizing data processing method Structural block diagram.As shown in Figure 1, terminal 10 (or mobile device 10) may include it is one or more (in figure using 102a, 102b ... ..., 102n are shown) (processor 102 can include but is not limited to Micro-processor MCV or programmable patrols processor 102 The processing unit of volume device FPGA etc.), memory 104 for storing data and the transmitting device for communication function 106.It in addition to this, can also include: display, input/output interface (I/O interface), the port universal serial bus (USB) (a port that can be used as in the port of I/O interface is included), network interface, power supply and/or camera.The common skill in this field Art personnel are appreciated that structure shown in FIG. 1 is only to illustrate, and do not cause to limit to the structure of above-mentioned electronic device.For example, Terminal 10 may also include the more perhaps less component than shown in Fig. 1 or match with different from shown in Fig. 1 It sets.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to meter In any one in other elements in calculation machine terminal 10 (or mobile device).As involved in the embodiment of the present application, The data processing circuit controls (such as the selection for the variable resistance end path connecting with interface) as a kind of processor.
Memory 104 can be used for storing the software program and module of application software, such as the data in the embodiment of the present invention Corresponding program instruction/the data storage device of processing method, the software that processor 102 is stored in memory 104 by operation Program and module realize above-mentioned data processing method thereby executing various function application and data processing.Memory 104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102 remotely located memories, these remote memories can pass through network connection to terminal 10.The reality of above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with The user interface of terminal 10 (or mobile device) interacts.
Fig. 2 shows the schematic diagrames that the distributed Internet of Things according to the present embodiment calculate network.Refering to what is shown in Fig. 2, point It includes: to be provided with multiple sensing equipments 230 and by Internet of Things and the multiple sensing equipment 230 that cloth Internet of Things, which calculate network, The near line node 220 of (corresponding to detection device described in claim) communication is (corresponding to terminal described in claim Equipment) and the cloud computing center 210 that is communicated with the near line node 220 (corresponding to server described in claim).
Plurality of sensing equipment 230 is used to the data of measurement being transmitted near line node 220.Near line node 220 passes through Internet of Things is communicated with sensing equipment 230, and receives detection data from sensing equipment 230.Multiple near line nodes 220 constitute one Virtual fragment network (corresponding to terminal device set described in claim), and block is provided in the virtual fragment network Chain.Near line node 220 will test data and be recorded in block chain after receiving detection data.
Cloud computing center 210 is communicated by internet near line node 220, has block chain 221 on each near line node, The data that near line node 220 occurs are recorded in the block of block chain, cloud computing center 210 sends data industry by internet Business transfers instruction near line node 220, and transfers related data.
Wherein hardware configuration shown in Fig. 1 can be adapted near line node 220 and cloud computing center recited above 210。
Under above-mentioned environment, according to the first aspect of the present embodiment 1, a kind of data processing method is provided, the data Processing method is executed by near line node 220 (i.e. terminal device).Fig. 3 is shown at the data according to the embodiment of the present disclosure 1 The flow chart of reason method, refering to what is shown in Fig. 3, this method comprises:
Step 310, terminal device receives detection data from detection device, and wherein terminal device and detection device are set to object In networking;
Step 320, terminal device access be set to terminal device block chain block, wherein block chain be set to including In the terminal device set of terminal device;
Step 330, terminal device by received detection data write-in block chain block;And
Step 340, other terminal devices of terminal device into terminal device set send detection data.
Refering to what is shown in Fig. 2, can will test data when detection device 230 detects data and be sent to corresponding near line section Point 220.Wherein, multiple near line nodes 220 form virtual fragment network (corresponding to terminal device set recited above), and In each near line node 220 in the virtual fragment network, it is provided with block chain.
Based on Internet of Things, terminal device 220 receives detection data.It is set that is, detection device 230 sends detection data to terminal Standby 220, terminal device 220 receives detection data.220 compositing terminal cluster tool of multiple terminal devices (i.e. virtual fragment net Network), terminal device set is provided with block chain 221.When terminal device 220 receives detection data, accessible block chain The detection data received is written in the block of block chain 221 by 221 block, and (i.e. empty into terminal device set Quasi- fragment network) other terminal devices send detection data.
In the prior art, cloud computing center and data pick-up hypertelorism, and and there is a big chunk flow to be wasted in In hash.And the application, by the above method, realizing detection data distribution is stored in terminal device 220, rather than All data are all uploaded in cloud computing center 210, the savings space of cloud computing center 210, cloud computing center 210 are saved Without extra hash, and flow is not had to be wasted in hash, accelerates the work effect of cloud computing center Rate.Meanwhile using Internet of Things and block chain technology, terminal device 220 generates block chain 221, guarantees what terminal device 220 generated Data storage guarantees the authenticity of data in block chain 221.
In the above method, by received detection data write-in block chain block operation, further includes: terminal device 220, by Hash operation, will test data and be converted to corresponding cryptographic Hash;And it states cryptographic Hash and the block chain 221 is written The block.Each cryptographic Hash is unique, this ensure that the resolvability of each block in block chain 221, guarantees Detection data it is authentic and valid.
The flow chart of Fig. 4 method according to Fig. 3;As shown in figure 4, this method comprises:
Step 410, terminal device receives the instruction for transferring business datum by internet from server, wherein business number According to associated with the data service that server executes;
Step 420, terminal device accesses the block of block chain in response to instruction, and acquisition and data service from block Relevant detection data is as business datum;And
Step 430, acquired business datum is sent to server by terminal device.
On the basis of method shown in Fig. 3, when the data that cloud computing center 210 needs to transfer near line node are counted When calculation, cloud computing center 210 issues business datum near line node (i.e. terminal device) 220 and transfers instruction, and near line node 220 is logical It crosses internet and receives this instruction from cloud computing center 210, then access the block of block chain 221, and acquisition and data The relevant detection data of business is sent to cloud computing center 210 as business datum.By this method, even if in cloud computing The heart 210 does not store the data near line node 220, and cloud computing center 210 can also when needing to transfer business datum in operation To transfer business datum near line node 220 by internet.Thus instruction of the near line node 220 according to cloud computing center 210, Business datum is obtained from the block of block chain 221, and is sent to cloud computing center 210, so that cloud computing center 210 is transported It calculates.The information lossless of near line node 220 can not be simultaneously recorded in block chain 221 with distorting, and be sieved by specific business rule Business critical data is selected, cloud computing center 210 is uploaded to and carries out business processing, promote whole efficiency.
In above-mentioned method, the operation of detection data relevant to the data service is obtained from the block, comprising: The type for the detection data to be obtained is determined according to the type of data service;And the class according to the detection data to be obtained Type is retrieved in block chain, obtains detection data relevant to data service.To by the above-mentioned means, near line node 220 can filter out the business datum for being sent to cloud computing center 210 according to data type from detection data, to accelerate The efficiency of screening.
In addition, a kind of data processing method is provided according to the second aspect of the present embodiment 1, the data processing method It is executed by cloud computing center 210.Fig. 5 shows the data processing method according to the second aspect of the embodiment of the present disclosure 1 Flow chart, refering to what is shown in Fig. 5, this method comprises:
Step 510, the instruction for transferring business datum is sent to terminal device by internet, wherein terminal device and inspection Survey device be set in Internet of Things, and be configured to by Internet of Things from detection device receive detection data and by institute it is received Detection data is written in block chain;And
Step 520, by receiving detection data as business datum from terminal device, wherein block chain be set to including In the terminal device set of terminal device.
It is just as described above, when cloud computing center 210 needs to transfer the business datum of near line node 220 (i.e. terminal device) When, the instruction for transferring business datum can be sent near line node 220 by internet.Near line node 220 receives the instruction, Cloud computing center 210 is sent by business datum needed for cloud computing center 210, cloud computing center 210, which receives, is used as business number According to detection data, data operation for cloud computing center.In this way, realizing detection data distribution is stored in terminal In equipment 220, rather than all data are all uploaded in cloud computing center 210, the savings for saving cloud computing center 210 are empty Between, so that cloud computing center 210 is without extra hash, and does not have to flow to be wasted in hash, thus Accelerate the working efficiency of cloud computing center 210 and internet.Meanwhile even if cloud computing center 230 does not store near line section Data in point 220 can also be by internet near line node when cloud computing center 210 needs business datum in operation 220 transfer business datum.To which near line node 220 is according to the instruction of cloud computing center 210, industry is obtained from the block of block chain Business data, and it is sent to cloud computing center 210, so that cloud computing center 210 carries out operation.The information lossless of near line node 220 And can not be recorded in distorting in block chain 221, and business critical data is filtered out by specific business rule, it is uploaded to cloud Calculating center 210 carries out business processing, promotes whole efficiency.
In addition, refering to what is shown in Fig. 1, providing a kind of storage medium 104, the storage in terms of according to the third of embodiment 1 Medium includes the program of storage, wherein executes method described in above-mentioned any one as processor in described program operation.
Optionally, in the present embodiment, above-mentioned storage medium can be used to save data provided by above-described embodiment one Program code performed by processing method.
Optionally, in the present embodiment, above-mentioned storage medium can be located in computer network in computer terminal group In any one terminal, or in any one mobile terminal in mobile terminal group.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: eventually End equipment receives detection data from detection device, wherein the terminal device and the detection device are set in Internet of Things;Institute The block that terminal device access is set to the block chain of the terminal device is stated, wherein the block chain was set to including the end In the terminal device set of end equipment;The terminal device by received detection data the area of the block chain is written Block;And other terminal devices into the terminal device set send the detection data.
To technical solution through this embodiment, realizes detection data distribution and be stored in terminal device, rather than All data are all uploaded in cloud computing center, the savings space of cloud computing center is saved.Cloud computing center is without more Remaining hash, and flow is not had to be wasted in hash, to accelerate the working efficiency of cloud computing center.Together When, using Internet of Things and block chain technology, terminal device generates block chain, guarantees the data storage of terminal device generation in block In chain, and guarantee the authenticity of data.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
Fig. 6 shows the data processing equipment according to the first aspect of the embodiment of the present disclosure 2, data processing dress It sets corresponding with data processing method described in the first aspect of embodiment 1.Described in reference diagram 6, which includes:
Data reception module 610, for by terminal device from detection device receive detection data, wherein terminal device with Detection device is set in Internet of Things;
Access modules 620, the block of the block chain for being set to terminal device by terminal device access, wherein block Chain is set in the terminal device set including terminal device;
Writing module 630, for by terminal device by the block of institute's received detection data write-in block chain;And
Notification module 640, for sending testing number by other terminal devices of terminal device into terminal device set According to.
Based on Internet of Things, terminal device receives detection data, i.e. detection device is to issue detection data to terminal device, eventually End equipment receives detection data, multiple terminal devices compositing terminal cluster tool, and terminal device set generates block chain, terminal Equipment accesses the block of block chain, the detection data received is written in the block of block chain, and to terminal device collection Other terminal devices in conjunction send detection data.Refering to what is shown in Fig. 2, can will test when sensing equipment 230 detects data Data are sent to corresponding near line node 220 (i.e. terminal device).Wherein, multiple near line nodes 220 form virtual fragment network (corresponding to terminal device set recited above), and in each near line node in the virtual fragment network, it is provided with Block chain 221.
Based on Internet of Things, terminal device 220 receives detection data.It is set that is, detection device 230 sends detection data to terminal Standby 220, terminal device 220 receives detection data.220 compositing terminal cluster tool of multiple terminal devices (i.e. virtual fragment net Network), terminal device set is provided with block chain.When terminal device 220 receives detection data, accessible block chain 221 Block, the detection data received is written in the block of block chain 221, and (i.e. virtual into terminal device set Fragment network) other terminal devices send detection data.
In the prior art, cloud computing center and data pick-up hypertelorism, and and there is a big chunk flow to be wasted in In hash;And the application, by above-mentioned apparatus method, realizing detection data distribution is stored in terminal device, rather than All data are all uploaded in cloud computing center, the savings space of cloud computing center is saved.Cloud computing center is without more Remaining hash, and flow is not had to be wasted in hash, to accelerate the working efficiency of cloud computing center.Together When, using Internet of Things and block chain technology, terminal device generates block chain, guarantees the data storage of terminal device generation in block In chain, and guarantee the authenticity of data.
Optionally, writing module 630 includes: Hash operation submodule, will for passing through Hash operation using terminal device Detection data is converted to corresponding cryptographic Hash;And submodule is written in cryptographic Hash, for cryptographic Hash to be written by terminal device The block of the block chain.Each cryptographic Hash is unique, this ensure that each block in block chain divides The property distinguished guarantees the authentic and valid of detection data.
Optionally, above-mentioned data processing equipment further include: command reception module, for passing through internet by terminal device The instruction for transferring business datum is received from server, wherein business datum is associated with the data service that the server executes; Respond module obtains and number for accessing the block of the block chain in response to instruction by terminal device, and from block According to the relevant detection data of business as business datum;And data issue module, it will be acquired for passing through terminal device Business datum is sent to server.
Optionally, the respond module is also wrapped: determination type module, for determining institute by the type according to data service The type for the detection data to be obtained;And retrieval module, according to the type for the detection data to be obtained, in block chain into Row retrieval, obtains detection data relevant to data service.
In addition, Fig. 7 shows the data processing equipment according to the present embodiment the second aspect, the data processing equipment Corresponding to data processing method described in 1 the second aspect of embodiment.Refering to what is shown in Fig. 7, the data processing equipment includes: to send Module 710, for sending the instruction for transferring business datum to terminal device by internet, wherein terminal device and detection fill It installs and is placed in Internet of Things, and be configured to receive detection data from detection device by Internet of Things and by the received detection of institute Data are written in block chain;And receiving module 720, for receiving the detection data as business datum from terminal device, Middle block chain is set in the terminal device set including terminal device.
When cloud computing center needs the business datum of terminal device, cloud computing center is sent by internet terminal equipment The instruction of business datum is transferred, terminal device receives the instruction, sends cloud computing for business datum needed for cloud computing Center, cloud computing center receive the detection data as business datum, the data operation for cloud computing center.Pass through the dress It sets, realizes detection data distribution and be stored in terminal device, rather than all data are all uploaded in cloud computing center, save The savings space of cloud computing center is saved.Cloud computing center without extra hash does not have to flow to be wasted in In hash, to accelerate the working efficiency of cloud computing center.Meanwhile even if cloud computing center does not have storage terminal device In data, when cloud computing center needs certain data in operation, cloud computing center can be by Internet of Things to terminal device Block chain block in obtain business datum carry out operation.The information lossless of terminal device simultaneously can not record near line section with distorting Point, and business critical data is handled out by specific business rule, it is uploaded to cloud computing center and carries out business processing, promote object The whole efficiency of intranet network.
Embodiment 3
Fig. 8 shows the data processing equipment 800 according to the first aspect of the embodiment of the present disclosure 3, at the data It is corresponding with data processing method described in the first aspect of embodiment 1 to manage device 800.Refering to what is shown in Fig. 8, the data processing fills Setting 800 includes: processor 810;And memory 820, it is connect with processor 810, it is following for providing processing for processor 810 The instruction of processing step: detection data is received from detection device by terminal device, wherein terminal device and detection device are arranged In Internet of Things;By terminal device access be set to terminal device block chain block, wherein block chain be set to including In the terminal device set of terminal device;By terminal device by received detection data the block of the block chain is written; And detection data is sent by other terminal devices of terminal device into terminal device set.
In the prior art, cloud computing center and data pick-up hypertelorism, and and there is a big chunk flow to be wasted in In hash;And the application, by above-mentioned apparatus, realizing detection data distribution is stored in terminal device, rather than will All data all upload in cloud computing center, save the savings space of cloud computing center, cloud computing center is without extra Hash, and do not have to flow is wasted in hash, accelerate the working efficiency of cloud computing center.Meanwhile benefit With Internet of Things and block chain technology, terminal device generates block chain, guarantee data storage that terminal device generates in block chain, And guarantee the authenticity of data.
Optionally, by received detection data write-in block chain block operation, comprising: terminal device passes through Hash Operation will test data and be converted to corresponding cryptographic Hash;And cryptographic Hash is written to the block of block chain.
Optionally, memory 820 is also used to provide the instruction for handling following processing step for processor 810: utilizing terminal Equipment receives the instruction for transferring business datum by internet from server, the data industry that wherein business datum and server execute Business is associated;By terminal device in response to the block of instruction access block chain, and obtained and data service phase from block The detection data of pass is as business datum;And acquired business datum is sent to by server by terminal device.
Optionally, the operation of detection data relevant to data service is obtained from block, comprising: according to data service Type determines the type for the detection data to be obtained;And the type according to the detection data to be obtained, in block chain It is retrieved, obtains detection data relevant to data service.
Diagram 9 has gone out the data processing equipment 900 according to the second aspect of the embodiment of the present disclosure 3, at the data It is corresponding with data processing method described in the second aspect of embodiment 1 to manage device 900.It is described in reference diagram 9, data processing dress Setting includes: processor 910;And memory 920, it is connect with processor 910, for providing processing following place for processor 910 It manages the instruction of step: sending the instruction for transferring business datum to terminal device by internet, wherein terminal device and detection fill It installs and is placed in Internet of Things, and be configured to receive detection data from detection device by Internet of Things and by the received detection of institute Data are written in block chain;And by receiving the detection data as business datum from terminal device, wherein block chain is arranged In the terminal device set for including terminal device.
In the prior art, cloud computing center and data pick-up hypertelorism, and and there is a big chunk flow to be wasted in In hash;And the application, by above-mentioned apparatus, realizing detection data distribution is stored in terminal device, rather than will All data all upload in cloud computing center, save the savings space of cloud computing center.Cloud computing center is without extra Hash, and do not have to flow is wasted in hash, to accelerate the working efficiency of cloud computing center.Together When, using Internet of Things and block chain technology, terminal device generates block chain, guarantees the data storage of terminal device generation in block In chain, and guarantee the authenticity of data.
To sum up, the technical solution of the disclosure generates block chain using Internet of Things and block chain technology, terminal device, guarantees eventually The data storage that end equipment generates guarantees the authenticity of data in block chain.And then it solves cloud computing center and stores The low technical problem of overall data operation efficiency caused by a large amount of hash.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of data processing method characterized by comprising
Terminal device receives detection data from detection device, wherein the terminal device and the detection device are set to Internet of Things In;
Terminal device access is set to the block of the block chain of the terminal device, wherein the block chain be set to including In the terminal device set of the terminal device;
The terminal device by received detection data the block of the block chain is written;And
Other terminal devices of the terminal device into the terminal device set send the detection data.
2. the method according to claim 1, wherein by received detection data the institute of the block chain is written State the operation of block, comprising:
The detection data is converted to corresponding cryptographic Hash by Hash operation by the terminal device;And
The cryptographic Hash is written to the block of the block chain.
3. method according to claim 1 or 2, which is characterized in that further include:
The terminal device receives the instruction for transferring business datum by internet from server, wherein the business datum and institute The data service for stating server execution is associated;
The terminal device accesses the block of the block chain in response to described instruction, and from the block obtain with it is described The relevant detection data of data service is as the business datum;And
Acquired business datum is sent to the server by the terminal device.
4. according to the method described in claim 3, it is characterized in that, being obtained from the block relevant to the data service The operation of detection data, comprising:
The type for the detection data to be obtained is determined according to the type of the data service;And
It according to the type for the detection data to be obtained, is retrieved, is obtained and the data service phase in the block chain The detection data of pass.
5. a kind of data processing method characterized by comprising
The instruction for transferring business datum is sent to terminal device by internet, wherein the terminal device is set with detection device Be placed in Internet of Things, and be configured to by the Internet of Things from the detection device receive detection data and by institute it is received Detection data is written in block chain;And
Receive the detection data as the business datum from the terminal device, wherein the block chain be set to including In the terminal device set of the terminal device.
6. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When as processor perform claim require any one of 1 to 5 described in method.
7. a kind of data processing equipment characterized by comprising
Data reception module, for receiving detection data from detection device by terminal device, wherein the terminal device and institute Detection device is stated to be set in Internet of Things;
Access modules, the block of the block chain for being set to the terminal device by terminal device access, wherein institute Block chain is stated to be set in the terminal device set including the terminal device;
Writing module, for by the terminal device by received detection data the block of the block chain is written; And
Notification module, for sending the inspection by other terminal devices of the terminal device into the terminal device set Measured data.
8. a kind of data processing equipment characterized by comprising
Sending module, for sending the instruction for transferring business datum to terminal device by internet, wherein the terminal device Be set in Internet of Things with detection device, and be configured to by the Internet of Things from the detection device receive detection data with And it will be in the received detection data write-in block chain of institute;And
Receiving module, for receiving the detection data as the business datum from the terminal device, wherein the area Block chain is set in the terminal device set including the terminal device.
9. a kind of data processing equipment characterized by comprising
Processor;And
Memory is connected to the processor, for providing the instruction for handling following processing step for the processor:
Detection data is received from detection device by terminal device, wherein the terminal device and the detection device are set to object In networking;
The block of the block chain of the terminal device is set to by terminal device access, wherein the block chain is set to In terminal device set including the terminal device;
By the terminal device by received detection data the block of the block chain is written;And
The detection data is sent by other terminal devices of the terminal device into the terminal device set.
10. a kind of data processing equipment characterized by comprising
Processor;And
Memory is connected to the processor, for providing the instruction for handling following processing step for the processor:
The instruction for transferring business datum is sent to terminal device by internet, wherein the terminal device is set with detection device Be placed in Internet of Things, and be configured to by the Internet of Things from the detection device receive detection data and by institute it is received Detection data is written in block chain;And
By receiving the detection data as the business datum from the terminal device, wherein the block chain is set to In terminal device set including the terminal device.
CN201811237353.8A 2018-10-23 2018-10-23 Data processing method, device and storage medium Pending CN109299195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811237353.8A CN109299195A (en) 2018-10-23 2018-10-23 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811237353.8A CN109299195A (en) 2018-10-23 2018-10-23 Data processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN109299195A true CN109299195A (en) 2019-02-01

Family

ID=65157614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811237353.8A Pending CN109299195A (en) 2018-10-23 2018-10-23 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109299195A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110954780A (en) * 2019-12-03 2020-04-03 湖南国奥电力设备有限公司 Underground cable fault detection method and device based on block chain
WO2021169953A1 (en) * 2020-02-24 2021-09-02 深圳点链科技有限公司 Blockchain-based data processing method and system, and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160239653A1 (en) * 2015-02-13 2016-08-18 Yoti Ltd Digital identity
CN106790112A (en) * 2016-12-26 2017-05-31 清华大学深圳研究生院 A kind of method that the node operating system and data of integrated lightweight block chain update
CN106980649A (en) * 2017-02-28 2017-07-25 阿里巴巴集团控股有限公司 The method and apparatus and business subclass for writing block chain business datum determine method
CN107592356A (en) * 2017-09-12 2018-01-16 北京众享比特科技有限公司 A kind of Internet of Things data processing method, apparatus and system
CN108052620A (en) * 2017-12-15 2018-05-18 泰康保险集团股份有限公司 The storage system of data mode, the node data processing system of block chain and method
US20180183587A1 (en) * 2016-12-23 2018-06-28 Vmware, Inc. Blockchain-Assisted Public Key Infrastructure for Internet of Things Applications
CN108494605A (en) * 2018-04-16 2018-09-04 华东师范大学 A kind of energy net connection monitoring method and storage medium based on block chain
CN108540553A (en) * 2018-04-08 2018-09-14 中国联合网络通信集团有限公司 Internet of Things data management method, platform and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160239653A1 (en) * 2015-02-13 2016-08-18 Yoti Ltd Digital identity
US20180183587A1 (en) * 2016-12-23 2018-06-28 Vmware, Inc. Blockchain-Assisted Public Key Infrastructure for Internet of Things Applications
CN106790112A (en) * 2016-12-26 2017-05-31 清华大学深圳研究生院 A kind of method that the node operating system and data of integrated lightweight block chain update
CN106980649A (en) * 2017-02-28 2017-07-25 阿里巴巴集团控股有限公司 The method and apparatus and business subclass for writing block chain business datum determine method
CN107592356A (en) * 2017-09-12 2018-01-16 北京众享比特科技有限公司 A kind of Internet of Things data processing method, apparatus and system
CN108052620A (en) * 2017-12-15 2018-05-18 泰康保险集团股份有限公司 The storage system of data mode, the node data processing system of block chain and method
CN108540553A (en) * 2018-04-08 2018-09-14 中国联合网络通信集团有限公司 Internet of Things data management method, platform and equipment
CN108494605A (en) * 2018-04-16 2018-09-04 华东师范大学 A kind of energy net connection monitoring method and storage medium based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郝琨等: "去中心化的分布式存储模型", 《计算机工程与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110954780A (en) * 2019-12-03 2020-04-03 湖南国奥电力设备有限公司 Underground cable fault detection method and device based on block chain
WO2021169953A1 (en) * 2020-02-24 2021-09-02 深圳点链科技有限公司 Blockchain-based data processing method and system, and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110399307A (en) A kind of test method, test platform and destination server
CN110297766A (en) Method for testing software and software testing system based on distributed test node cluster
CN103763130B (en) Management method, the device and system of large-scale cluster
CN106874361B (en) Data processing method and device applied to customs declaration
CN109218133A (en) Network speed testing system, method, apparatus and computer readable storage medium
CN105915650B (en) Load-balancing method and device
CN108062367A (en) The method for uploading and its terminal of a kind of data list
CN103607424B (en) Server connection method and server system
CN109886683A (en) Monitor the method, apparatus and storage medium of block chain data
CN109167699A (en) The method and apparatus for handling the state of the node of block chain
CN110489374A (en) Signal path in multiple-piece processor
CN107294811A (en) Network detecting method, network detection means and intelligent terminal
CN109299195A (en) Data processing method, device and storage medium
CN109120444A (en) cloud resource management method, processor and storage medium
CN110392002A (en) Message processing method, device, equipment and readable storage medium storing program for executing
CN106201852A (en) A kind of distributed test method and test system
CN109710397A (en) Data processing method, device, storage medium, processor and system
CN108111367A (en) Performance test methods and device
CN107624211A (en) Charging method and device
CN106791679A (en) A kind of determination method and device of video transmission path
CN109669807A (en) The method of calibration and device of business event, processor, storage medium
CN110474789A (en) Network state information processing method, device and system
CN109858257A (en) Access control method and device
CN109451025A (en) Information push method, device and storage medium
CN104079631B (en) A kind of method for edition management and relevant apparatus

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20220429

AD01 Patent right deemed abandoned