CN109005220A - The service implementation method and access gateway of internet of things of internet-of-things terminal - Google Patents
The service implementation method and access gateway of internet of things of internet-of-things terminal Download PDFInfo
- Publication number
- CN109005220A CN109005220A CN201810781190.3A CN201810781190A CN109005220A CN 109005220 A CN109005220 A CN 109005220A CN 201810781190 A CN201810781190 A CN 201810781190A CN 109005220 A CN109005220 A CN 109005220A
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- access gateway
- node
- service
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides the service implementation method and access gateway of internet of things of a kind of internet-of-things terminal, and the service condition of internet-of-things terminal connected to it is obtained by access gateway of internet of things;Access gateway of internet of things judges whether service condition meets preset condition;If the determination result is YES, then access gateway of internet of things selects optimal service side's node according to business tine corresponding with preset condition from block chain network, so that service side's node carries out operation flow according to business tine and internet-of-things terminal;After the completion of operation flow, block is written in corresponding business information and/or Transaction Information by block chain node, and it is published in block chain network, to realize that internet-of-things terminal passes through the operation flow between service side's node in access gateway of internet of things and block chain network, realize the service management of decentralization, the intelligence of Internet of Things is improved, provides preferably control and maintenance function, while safety with higher for Internet of Things.
Description
Technical field
The present invention relates to the service implementation methods and Internet of Things of field of communication technology more particularly to a kind of internet-of-things terminal to connect
Function Access Gateway.
Background technique
Internet of Things (Internet of things, IoT) is the important component and information of generation information technology
The important development stage in change epoch.Internet of Things communicates cognition technology by Intellisense, identification technology and general fit calculation etc., extensively
Applied in the fusion of network, also therefore it is referred to as the third time wave that world information industry develops after computer, internet
Tide.Internet of Things is widely used, throughout multiple fields such as intelligent transportation, environmental protection, public safety, safety home, industry monitorings.
With the development of technology, more and more smart machines and Internet service enter people's lives, internet of things equipment
Quantity is increasing, is managed with traditional centralized network mode, it will bring the increase of infrastructure construction cost, together
When, the network mode of centralization can also have security risk.
Summary of the invention
The present invention provides the service implementation method and access gateway of internet of things of a kind of internet-of-things terminal, be internet-of-things terminal with
Service side provides more convenient, more intelligent, safer trafficwise, realizes the service management of Internet of Things decentralization.
It is an aspect of the invention to provide a kind of service implementation method of internet-of-things terminal, at least one internet-of-things terminals
It is connect with an access gateway of internet of things, at least one described access gateway of internet of things and at least one service side's node constitute area
Block chain network, which comprises
The access gateway of internet of things obtains the service condition of the internet-of-things terminal connected to it;
The access gateway of internet of things judges whether the service condition meets preset condition;
If the determination result is YES, then the access gateway of internet of things according to business tine corresponding with the preset condition,
Optimal service side's node is selected from the block chain network, so that service side's node is according to the business tine and institute
It states internet-of-things terminal and carries out operation flow;
After the completion of the operation flow, the access gateway of internet of things is by corresponding business information and/or Transaction Information
Block is written, and is published in the block chain network.
Further, the access gateway of internet of things judges whether the service condition meets preset condition, comprising:
The access gateway of internet of things is according to the device category and/or device identification of the internet-of-things terminal from block chain
Search corresponding intelligent contract;
The access gateway of internet of things judges whether the service condition meets the triggering item arranged in the intelligent contract
Part.
Optionally, the access gateway of internet of things is according to business tine corresponding with the preset condition, from the block
Optimal service side's node is selected in chain network, is specifically included:
The access gateway of internet of things searches the service side that can be realized the business tine from the block chain network
Node, and wherein optimal service side's node is selected according to predetermined policy.
Optionally, the access gateway of internet of things is according to business tine corresponding with the preset condition, from the block
Optimal service side's node is selected in chain network, is specifically included:
The access gateway of internet of things generates service request information according to the business tine, and is published to the block chain
In network;
The access gateway of internet of things receives the service request response message that service side's node is sent, and according to predetermined
Strategy selects optimal service side's node from the service side's node for sending the service request response message, wherein the clothes
Business request-reply message is that each service side's node is receiving the service request information and is being determined to realize the industry
It is sent after content of being engaged in the access gateway of internet of things.
Further, the access gateway of internet of things is according to business tine corresponding with the preset condition, from the area
After selecting optimal service side's node in block chain network, further includes:
The access gateway of internet of things sends authentication information to service side's node, so that service side's node
It is verified according to identity of the authentication information to the access gateway of internet of things.
It is an aspect of the invention to provide a kind of access gateway of internet of things, at least one internet-of-things terminal and an Internet of Things
The connection of net access gateway, at least one described access gateway of internet of things and at least one service side's node constitute block chain network,
The access gateway of internet of things includes:
Module is obtained, for obtaining the service condition of the internet-of-things terminal connected to it;
Judgment module, for judging whether the service condition meets preset condition;
Processing module, for if the determination result is YES, then according to business tine corresponding with the preset condition, from described
Optimal service side's node is selected in block chain network, so that service side's node is according to the business tine and the Internet of Things
Network termination carries out operation flow;
Release module is used for after the completion of the operation flow, by corresponding business information and/or Transaction Information write area
Block, and be published in the block chain network.
Further, the judgment module is used for:
Corresponding intelligence is searched from block chain according to the device category of the internet-of-things terminal and/or device identification to close
About;
Judge whether the service condition meets the trigger condition arranged in the intelligent contract.
Optionally, the processing module is specifically used for:
The service side's node that can be realized the business tine is searched from the block chain network, and according to predetermined policy
Select wherein optimal service side's node.
Optionally, the release module is also used to: being generated service request information according to the business tine, and is published to institute
It states in block chain network;
The processing module is specifically used for:
Receive the service request response message that service side's node is sent, and according to predetermined policy from sending the service
Optimal service side's node is selected in service side's node of request-reply message, wherein the service request response message is each
Service side's node is after receiving the service request information and being determined to and realizing the business tine to the Internet of Things
What net access gateway was sent.
Further, the access gateway of internet of things further include:
Authentication module, for service side's node send authentication information so that service side's node according to
The authentication information verifies the identity of the access gateway of internet of things.
It is an aspect of the invention to provide a kind of access gateway of internet of things, comprising: memory, processor and calculating
Machine program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality
Now method as described above.
The service implementation method and access gateway of internet of things of internet-of-things terminal provided by the invention, access net by Internet of Things
Close the service condition for obtaining internet-of-things terminal connected to it;Access gateway of internet of things judges whether service condition meets default item
Part;If the determination result is YES, then access gateway of internet of things is according to business tine corresponding with preset condition, from block chain network
Optimal service side's node is selected, so that service side's node carries out operation flow according to business tine and internet-of-things terminal;In industry
After the completion of process of being engaged in, block is written in corresponding business information and/or Transaction Information by access gateway of internet of things, and is published to block
In chain network, to realize that internet-of-things terminal passes through between service side's node in access gateway of internet of things and block chain network
Operation flow realizes the service management of decentralization, improves the intelligence of Internet of Things, provides preferably control and dimension for Internet of Things
Protective function, while safety with higher.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is the service implementation method flow chart of internet-of-things terminal provided in an embodiment of the present invention;
Fig. 2 is block chain network architecture diagram provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides internet-of-things terminal service implementation method flow chart;
Fig. 4 is the structure chart of access gateway of internet of things provided in an embodiment of the present invention;
Fig. 5 be another embodiment of the present invention provides access gateway of internet of things structure chart.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the service implementation method flow chart of internet-of-things terminal provided in an embodiment of the present invention.It present embodiments provides
A kind of service implementation method of internet-of-things terminal, applied in block chain network as shown in Figure 2, wherein at least one Internet of Things
Network termination is connect with an access gateway of internet of things, at least one described access gateway of internet of things and at least one service side's node
Constituting block chain network, it should be noted that method provided by the invention can be applied in the Internet of Things in any field, such as
The fields such as smart home, intelligent automobile, intelligent plant, the present embodiment are described in detail by taking smart home as an example, the present embodiment
The method executing subject of offer is access gateway of internet of things, the specific steps of which are as follows:
S101, the access gateway of internet of things obtain the service condition of the internet-of-things terminal connected to it.
In the present embodiment, since internet-of-things terminal is connect with access gateway of internet of things, access gateway of internet of things can be obtained
The service condition for the internet-of-things terminal for taking it to connect can obtain to obtain or being spaced scheduled duration in real time, such as Internet of Things is whole
End is intelligent refrigerator, and access gateway of internet of things can obtain the food stored in the working condition and/or intelligent refrigerator of intelligent refrigerator
The quantity of beverage.
S102, the access gateway of internet of things judge whether the service condition meets preset condition.
In the present embodiment, access gateway of internet of things can determine whether business shape after the service condition for getting internet-of-things terminal
Whether state meets preset condition, and wherein preset condition is corresponding with business tine, as the trigger condition of business tine, wherein in advance
It can also be the condition of user's self-setting if condition can be condition defined by the intelligent contract in block chain.Such as if
Intelligent contract in block chain can then be looked into from block chain according to the device category of internet-of-things terminal and/or device identification first
Corresponding intelligent contract is looked for, then judges whether service condition meets the trigger condition arranged in intelligent contract again.Such as
Intelligent refrigerator, access gateway of internet of things can obtain the corresponding intelligent contract of intelligent refrigerator from block chain, can in the intelligence contract
The trigger condition arranging the trigger condition of maintenance and purchasing automatically, may also comprise the trigger condition of other business tines, object certainly
Networking access gateway can service condition to intelligent refrigerator respectively with the trigger condition that can arrange maintenance in intelligent contract and automatically
The trigger condition of buying is compared, thus judge whether to meet trigger condition, it is specific as access gateway of internet of things obtains intelligence
The quantity of certain food and drink in refrigerator is eaten when with this kind limited in the trigger condition purchased automatically arranged in intelligent contract
Savor beverage quantity be compared after, determine the quantity of this in intelligent refrigerator kind food and drink be lower than arrange in intelligent contract from
The quantity of this kind of food and drink limited in the trigger condition of dynamic buying, then be judged as the trigger condition for meeting and purchasing automatically.
S103, if the determination result is YES, then the access gateway of internet of things is according to business corresponding with the preset condition
Content selects optimal service side's node from the block chain network, so that service side's node is according in the business
Hold and carries out operation flow with the internet-of-things terminal.
In the present embodiment, if access gateway of internet of things judges service condition and whether meets preset condition, according to
The corresponding business tine of preset condition selects optimal service side's node from block chain network, such as works as object in above-mentioned example
Networking access gateway judges that intelligent refrigerator service condition meets the trigger condition purchased automatically, then can select from block chain network
Optimal food provider node (such as minimum or best in quality etc. apart from nearest, price), sends to the food provider
Purchase order is dispensed by food provider, to complete the operation flow purchased automatically;For another example work as access gateway of internet of things
Judge that intelligent refrigerator service condition meets the trigger condition of maintenance, then can select optimal maintenance station from block chain network or sell
The corresponding service side's node of service network afterwards repairs intelligent refrigerator by service side's node, wherein can be to intelligence
Debugging in the program of refrigerator repairs on service side's node direct-on-line, can also be under the carry out line to intelligent refrigerator and tie up
It repairs.Since block chain technology is the technologies such as Distributed Storage, point-to-point transmission, the common recognition mechanism of decentralization, encryption
Synthesis, provide it is a kind of carry out the trusted mechanism that exchanges with value delivery of information in unreliable network, therefore by Internet of Things
Access gateway accesses in block chain network, and the safety of operation flow between internet-of-things terminal and service side's node can be improved.
Further, access gateway of internet of things needs in access block chain network in advance before S103, first Internet of Things
Access gateway, including public key and private key, is generated by obtaining key after certification using key and the account number of itself
The network address of block chain, to access in block chain network.
S104, after the completion of the operation flow, the access gateway of internet of things is by corresponding business information and/or transaction
Block is written in information, and is published in the block chain network.
In the present embodiment, after the completion of operation flow by access gateway of internet of things by corresponding business information and/or friendship
Easy information write area block, and being broadcast in block chain network, so as to for node verification business information each in block chain network and/
Or the authenticity of Transaction Information, to realize the automatic interaction operation flow between block chain network interior joint, center is gone in realization
The service management of change.
The service implementation method of internet-of-things terminal provided in this embodiment is connected thereto by access gateway of internet of things acquisition
Internet-of-things terminal service condition;Access gateway of internet of things judges whether service condition meets preset condition;If judging result
Be it is yes, then access gateway of internet of things selects optimal clothes according to business tine corresponding with preset condition from block chain network
Business side's node, so that service side's node carries out operation flow according to business tine and internet-of-things terminal;After the completion of operation flow,
Block is written in corresponding business information and/or Transaction Information by access gateway of internet of things, and is published in block chain network, thus
Realize that internet-of-things terminal by the operation flow between service side's node in access gateway of internet of things and block chain network, is realized
The service management of decentralization improves the intelligence of Internet of Things, provides preferably control and maintenance function for Internet of Things, has simultaneously
There is higher safety.
On the basis of the above embodiments, as shown in figure 3, access gateway of internet of things described in S102 judges the business shape
Whether state meets preset condition, specifically can include:
S1021, the access gateway of internet of things are according to the device category of the internet-of-things terminal and/or device identification from area
Corresponding intelligent contract is searched in block chain;
S1022, the access gateway of internet of things judge whether the service condition meets and arrange in the intelligent contract
Trigger condition.
Wherein, the intelligent contract based on block chain includes the mechanism and a complete state of issued transaction and preservation
Machine, for receiving and handling various intelligent contracts;And the preservation of affairs and state processing are all completed on block chain.Affairs master
The data to be sent comprising needs;And event is then the description information to these data.Affairs and the incoming intelligence of event information are closed
After about, the resource status in contract resource collection can be updated, and then triggered intelligent contract and carried out state machine judgement.If automatic
Some in state machine or the trigger condition of certain several movement meet, then select contract movement automatic according to presupposed information by state machine
It executes.Intelligent contract system is according to the trigger condition for including in event description information, when trigger condition meets, from intelligent contract
Automatically preset data resource, and the event including trigger condition are issued;The core of entire intelligence contract system is that intelligence
Energy contract passes through the processing of intelligent contract module in a manner of affairs and event, go out still one group of affairs and event;Intelligence is closed
About be a transaction model and state machine at system, it does not generate intelligent contract, will not modify intelligent contract;
Its presence is intended merely to allow a complex set of digitlization promise with trigger condition can be according to the will of participant, just
Really execute.
A certain type or the internet-of-things terminal with a certain device identification are directed in the present embodiment, it can in intelligent agreement terms
With limit the internet-of-things terminal service condition and corresponding business tine, may also include the information such as trading rules.Internet of Things connects
Function Access Gateway searches corresponding intelligent contract according to the device category of internet-of-things terminal and/or device identification first from block chain,
Then judge whether the service condition of internet-of-things terminal meets the trigger condition arranged in intelligent contract again, carried out if meeting
The optimal service side's node of subsequent selection, service side's node is according to corresponding business tine in intelligent contract and the Internet of Things
Terminal carries out operation flow.
Wherein, intelligent contract can be participated and draw jointly by multiple users in block chain network, can be used between user
Any trading activity.The rights and duties of both sides are specified in agreement, developer is by these rights and duties with electronization
Mode is programmed, comprising that can trigger the condition that contract executes automatically in code.Intelligent contract once encodes completion, this part of intelligence
Contract is just uploaded in block chain network, i.e., the whole network verifying node can all receive contract.Intelligent contract constructs and executes tool
Body is divided into following several steps: 1) multi-party users participate and draw a intelligent contract jointly;2) contract is spread and is stored in by P2P network
Block chain;3) the intelligent contract of block chain building executes automatically.
As the further improvement of above-described embodiment, access gateway of internet of things described in S103 according to the preset condition
Corresponding business tine selects optimal service side's node from the block chain network, following either type specifically can be used:
Mode one: the access gateway of internet of things is searched from the block chain network can be realized the business tine
Service side's node, and wherein optimal service side's node is selected according to predetermined policy.
Mode two: the access gateway of internet of things generates service request information according to the business tine, and is published to institute
It states in block chain network;
The access gateway of internet of things receives the service request response message that service side's node is sent, and according to predetermined
Strategy selects optimal service side's node from the service side's node for sending the service request response message, wherein the clothes
Business request-reply message is that each service side's node is receiving the service request information and is being determined to realize the industry
It is sent after content of being engaged in the access gateway of internet of things.
In mode one, access gateway of internet of things is searched in block chain network according to business tine, to obtain
There is the service side's node that can be realized the business tine, such as business tine is maintenance internet-of-things terminal, access gateway of internet of things
The corresponding service side's node in maintenance station or after-sale service site that can repair internet-of-things terminal is searched in block chain network, then
According to predetermined policy selection wherein optimal service side's node, wherein predetermined policy can according to distance (geographical location), clothes
Business at least one of factors such as quality and price are because usually selecting optimal service side's node, such as select service quality best
Service side's node as optimal service side's node, by service side's node come corresponding with internet-of-things terminal finishing service content
Operation flow.It should be noted that service side's node needs to announce the service content of its own in block chain network in advance,
Specifically may include the factors such as above-mentioned geographical location, service quality and price, in order to access gateway of internet of things select it is optimal
Service side's node.
In mode two, access gateway of internet of things generates service request information according to business tine first, and is published to area
In block chain network namely all service side's nodes can receive the service request information, and from service request information
Business tine is got, each service side's node determines whether to realize the business tine again, however, it is determined that it can be realized the business tine,
The service request response message then sent to access gateway of internet of things, access gateway of internet of things then can have sent service and ask from multiple
Ask and select optimal service side's node in service side's node of response message, wherein the predetermined policy selected can with mode one, when
It can be so at war with by each service side's node, by the service side that wins as optimal service side's node, wherein equally can be with
Index according at least one factor in the factors such as distance (geographical location), service quality and price as competition process.
It should be noted that if can be realized service side's node of the business tine in the above process, there is only one
Service side's node is then directly selected as optimal service side's node.
Further, in S103 in the access gateway of internet of things according to business tine corresponding with the preset condition,
After selecting optimal service side's node in the block chain network, it may also include that
The access gateway of internet of things sends authentication information to service side's node, so that service side's node
It is verified according to identity of the authentication information to the access gateway of internet of things.
In the present embodiment, block chain network pre-generates public key and private key, and wherein public key discloses in block chain network,
And private key is stored by access gateway of internet of things itself, access gateway of internet of things is believed using identity of the private key to access gateway of internet of things
Breath such as account number is encrypted, and generates digital signature, and digital signature is sent to service side's node, so that service side saves
Point carries out authentication to access gateway of internet of things according to public key and the digital signature, to improve the safety of operation flow.
Certainly other auth methods can also be used, details are not described herein again.It should be noted that authentication process itself and not only limiting
It is carried out in after selecting optimal service side's node, each node carries out any friendship in access gateway of internet of things and block chain network
Authentication can be carried out when mutual process first, furthermore access gateway of internet of things can also verify service side's node identities.
Fig. 4 is the structure chart of internet-of-things terminal provided in an embodiment of the present invention.The present embodiment provides a kind of accesses of Internet of Things
Gateway, wherein at least one internet-of-things terminal are connect with an access gateway of internet of things, at least one described Internet of Things accesses net
It closes and at least one service side's node constitutes block chain network as shown in Figure 2, the access gateway of internet of things can execute
The process flow that the service implementation method embodiment of internet-of-things terminal provides is stated, as shown in figure 3, the access gateway of internet of things packet
It includes and obtains module 401, judgment module 402, processing module 403 and release module 404.
Module 401 is wherein obtained, for obtaining the service condition of the internet-of-things terminal connected to it;
Judgment module 402, for judging whether the service condition meets preset condition;
Processing module 403 is used for if the determination result is YES, then basis business tine corresponding with the preset condition, from
Optimal service side's node is selected in the block chain network so that service side's node according to the business tine with it is described
Internet-of-things terminal carries out operation flow;
Release module 404, for after the completion of the operation flow, corresponding business information and/or Transaction Information to be write
Enter block, and is published in the block chain network.
Further, the judgment module 402 is used for:
Corresponding intelligence is searched from block chain according to the device category of the internet-of-things terminal and/or device identification to close
About;
Judge whether the service condition meets the trigger condition arranged in the intelligent contract.
Further, the release module 404 is also used to:
Business block is generated according to the business tine, and is published in the block chain network.
Further, the processing module 403 is specifically used for:
The service side's node that can be realized the business tine is searched from the block chain network, and according to predetermined policy
Select wherein optimal service side's node;Or
Receive the service request that service side's node is sent, and according to predetermined policy from the clothes for sending the service request
Optimal service side's node is selected in business side's node, wherein the service request is each service side's node receiving
It states business block and being determined to and realizes and sent to the access gateway of internet of things after the business tine.
Further, the access gateway of internet of things further include:
Authentication module 405, for sending authentication information to service side's node, so that service side's node root
It is verified according to identity of the authentication information to the access gateway of internet of things.
Access gateway of internet of things provided in an embodiment of the present invention can be specifically used for executing the reality of method provided by above-mentioned Fig. 1
Example is applied, details are not described herein again for concrete function.
It is whole to obtain Internet of Things connected to it by access gateway of internet of things for access gateway of internet of things provided in this embodiment
The service condition at end;Access gateway of internet of things judges whether service condition meets preset condition;If the determination result is YES, then Internet of Things
Net access gateway selects optimal service side's node according to business tine corresponding with preset condition from block chain network, with
Service side's node is set to carry out operation flow according to business tine and internet-of-things terminal;After the completion of operation flow, Internet of Things access
Block is written in corresponding business information and/or Transaction Information by gateway, and is published in block chain network, to realize Internet of Things
Terminal realizes decentralization by the operation flow between service side's node in access gateway of internet of things and block chain network
Service management improves the intelligence of Internet of Things, provides preferably control and maintenance function, while peace with higher for Internet of Things
Quan Xing.
Fig. 5 is the structure chart of access gateway of internet of things provided in an embodiment of the present invention.The present embodiment provides a kind of Internet of Things
Access gateway, comprising: memory 502, processor 501 and computer program;Wherein, the computer program is stored in institute
It states in memory 502, and is configured as being executed by the processor 501 to realize that the business of internet-of-things terminal as described above is real
Existing method, details are not described herein again for concrete function.
Furthermore access gateway of internet of things may also include receiver 504 and transmitter 503, be used for and other in block chain network
Node interacts.
It is whole to obtain Internet of Things connected to it by access gateway of internet of things for access gateway of internet of things provided in this embodiment
The service condition at end;Access gateway of internet of things judges whether service condition meets preset condition;If the determination result is YES, then Internet of Things
Net access gateway selects optimal service side's node according to business tine corresponding with preset condition from block chain network, with
Service side's node is set to carry out operation flow according to business tine and internet-of-things terminal;After the completion of operation flow, Internet of Things access
Block is written in corresponding business information and/or Transaction Information by gateway, and is published in block chain network, to realize Internet of Things
Terminal realizes decentralization by the operation flow between service side's node in access gateway of internet of things and block chain network
Service management improves the intelligence of Internet of Things, provides preferably control and maintenance function, while peace with higher for Internet of Things
Quan Xing.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical 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 hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (11)
1. a kind of service implementation method of internet-of-things terminal, which is characterized in that at least one internet-of-things terminal and an Internet of Things
Access gateway connection, at least one described access gateway of internet of things and at least one service side's node constitute block chain network, institute
The method of stating includes:
The access gateway of internet of things obtains the service condition of the internet-of-things terminal connected to it;
The access gateway of internet of things judges whether the service condition meets preset condition;
If the determination result is YES, then the access gateway of internet of things is according to business tine corresponding with the preset condition, from institute
It states and selects optimal service side's node in block chain network, so that service side's node is according to the business tine and the object
Networked terminals carry out operation flow;
After the completion of the operation flow, corresponding business information and/or Transaction Information are written the access gateway of internet of things
Block, and be published in the block chain network.
2. the method according to claim 1, wherein the access gateway of internet of things judges that the service condition is
It is no to meet preset condition, comprising:
The access gateway of internet of things is searched from block chain according to the device category and/or device identification of the internet-of-things terminal
Corresponding intelligence contract;
The access gateway of internet of things judges whether the service condition meets the trigger condition arranged in the intelligent contract.
3. the method according to claim 1, wherein the access gateway of internet of things according to the preset condition
Corresponding business tine selects optimal service side's node from the block chain network, specifically includes:
The access gateway of internet of things searches the service side's node that can be realized the business tine from the block chain network,
And wherein optimal service side's node is selected according to predetermined policy.
4. the method according to claim 1, wherein the access gateway of internet of things according to the preset condition
Corresponding business tine selects optimal service side's node from the block chain network, specifically includes:
The access gateway of internet of things generates service request information according to the business tine, and is published to the block chain network
In;
The access gateway of internet of things receives the service request response message that service side's node is sent, and according to predetermined policy
Optimal service side's node is selected from the service side's node for sending the service request response message, wherein the service is asked
Seeking response message is that each service side's node is receiving the service request information and is being determined to realize in the business
What access gateway of internet of things described in Rong Houxiang was sent.
5. method according to claim 1-4, which is characterized in that the access gateway of internet of things according to it is described
The corresponding business tine of preset condition, after selecting optimal service side's node in the block chain network, further includes:
The access gateway of internet of things to service side's node send authentication information so that service side's node according to
The authentication information verifies the identity of the access gateway of internet of things.
6. a kind of access gateway of internet of things, which is characterized in that at least one internet-of-things terminal and an access gateway of internet of things connect
It connects, at least one described access gateway of internet of things and at least one service side's node constitute block chain network, and the Internet of Things connects
Function Access Gateway includes:
Module is obtained, for obtaining the service condition of the internet-of-things terminal connected to it;
Judgment module, for judging whether the service condition meets preset condition;
Processing module is used for if the determination result is YES, then according to business tine corresponding with the preset condition, from the block
Optimal service side's node is selected in chain network, so that service side's node is whole according to the business tine and the Internet of Things
End carries out operation flow;
Release module, for after the completion of the operation flow, block to be written in corresponding business information and/or Transaction Information,
And it is published in the block chain network.
7. access gateway of internet of things according to claim 6, which is characterized in that the judgment module is used for:
Corresponding intelligent contract is searched from block chain according to the device category of the internet-of-things terminal and/or device identification;
Judge whether the service condition meets the trigger condition arranged in the intelligent contract.
8. access gateway of internet of things according to claim 6, which is characterized in that
The processing module is specifically used for:
The service side's node that can be realized the business tine is searched from the block chain network, and is selected according to predetermined policy
Wherein optimal service side's node.
9. access gateway of internet of things according to claim 6, which is characterized in that
The release module is also used to: being generated service request information according to the business tine, and is published to the block link network
In network;
The processing module is specifically used for:
Receive the service request response message that service side's node is sent, and according to predetermined policy from sending the service request
Optimal service side's node is selected in service side's node of response message, wherein the service request response message is each described
Service side's node connects after receiving the service request information and being determined to and realizing the business tine to the Internet of Things
What function Access Gateway was sent.
10. according to the described in any item access gateway of internet of things of claim 6-9, which is characterized in that further include:
Authentication module, for sending authentication information to service side's node, so that service side's node is according to
Authentication information verifies the identity of the access gateway of internet of things.
11. a kind of access gateway of internet of things characterized by comprising
Memory, processor and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as
Method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810781190.3A CN109005220B (en) | 2018-07-17 | 2018-07-17 | Service implementation method of Internet of things terminal and Internet of things access gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810781190.3A CN109005220B (en) | 2018-07-17 | 2018-07-17 | Service implementation method of Internet of things terminal and Internet of things access gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109005220A true CN109005220A (en) | 2018-12-14 |
CN109005220B CN109005220B (en) | 2022-01-25 |
Family
ID=64598461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810781190.3A Active CN109005220B (en) | 2018-07-17 | 2018-07-17 | Service implementation method of Internet of things terminal and Internet of things access gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109005220B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355754A (en) * | 2018-12-21 | 2020-06-30 | 西安佰才邦网络技术有限公司 | Method and equipment for purchasing service based on block chain |
CN111478948A (en) * | 2020-03-20 | 2020-07-31 | 深圳市芯链科技有限公司 | Block chain access method, Internet of things equipment and storage medium |
CN111526022A (en) * | 2020-04-13 | 2020-08-11 | 成都链向科技有限公司 | Block chain token generation system suitable for industrial Internet of things |
CN111552215A (en) * | 2020-05-22 | 2020-08-18 | 中国联合网络通信集团有限公司 | Internet of things equipment safety protection method and system |
CN112134932A (en) * | 2020-09-04 | 2020-12-25 | 上海航翼网络科技有限公司 | Block chain technology-based distributed Internet of things implementation method |
CN115002198A (en) * | 2022-05-23 | 2022-09-02 | 支付宝(杭州)信息技术有限公司 | Information processing method, device, equipment and medium for Internet of things equipment |
WO2023065467A1 (en) * | 2021-10-19 | 2023-04-27 | 中诚区块链研究院(南京)有限公司 | Method for collaborative work between blockchain and internet of things |
WO2023071800A1 (en) * | 2021-10-29 | 2023-05-04 | 中国人民银行数字货币研究所 | Method and apparatus for internet of things payment based on smart contract |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202353A (en) * | 2014-07-09 | 2014-12-10 | 武汉领傲科技有限公司 | Cloud event processing method and device for internet of things interconnected cooperative system |
CN104618228A (en) * | 2015-01-13 | 2015-05-13 | 王征 | Intelligent household gateway and system for automatically accessing cloud server by strategy based on intelligent household gateway and application method thereof |
CN206224219U (en) * | 2016-07-14 | 2017-06-06 | 深圳易趣合智能技术有限公司 | A kind of intelligent home control system |
CN107528856A (en) * | 2017-09-27 | 2017-12-29 | 福建实达电脑设备有限公司 | Internet of Things mist end equipment based on block chain platform access authentication method beyond the clouds |
CN107566381A (en) * | 2017-09-12 | 2018-01-09 | 中国联合网络通信集团有限公司 | Equipment safety control method, apparatus and system |
CN107770182A (en) * | 2017-10-30 | 2018-03-06 | 中国联合网络通信集团有限公司 | The date storage method and home gateway of home gateway |
CN107819848A (en) * | 2017-11-08 | 2018-03-20 | 济南浪潮高新科技投资发展有限公司 | A kind of internet of things equipment autonomy interconnected method based on block chain |
CN107993359A (en) * | 2017-11-23 | 2018-05-04 | 浙江大学 | A kind of end-to-end bicycle shared system and method based on block chain |
-
2018
- 2018-07-17 CN CN201810781190.3A patent/CN109005220B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202353A (en) * | 2014-07-09 | 2014-12-10 | 武汉领傲科技有限公司 | Cloud event processing method and device for internet of things interconnected cooperative system |
CN104618228A (en) * | 2015-01-13 | 2015-05-13 | 王征 | Intelligent household gateway and system for automatically accessing cloud server by strategy based on intelligent household gateway and application method thereof |
CN206224219U (en) * | 2016-07-14 | 2017-06-06 | 深圳易趣合智能技术有限公司 | A kind of intelligent home control system |
CN107566381A (en) * | 2017-09-12 | 2018-01-09 | 中国联合网络通信集团有限公司 | Equipment safety control method, apparatus and system |
CN107528856A (en) * | 2017-09-27 | 2017-12-29 | 福建实达电脑设备有限公司 | Internet of Things mist end equipment based on block chain platform access authentication method beyond the clouds |
CN107770182A (en) * | 2017-10-30 | 2018-03-06 | 中国联合网络通信集团有限公司 | The date storage method and home gateway of home gateway |
CN107819848A (en) * | 2017-11-08 | 2018-03-20 | 济南浪潮高新科技投资发展有限公司 | A kind of internet of things equipment autonomy interconnected method based on block chain |
CN107993359A (en) * | 2017-11-23 | 2018-05-04 | 浙江大学 | A kind of end-to-end bicycle shared system and method based on block chain |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355754A (en) * | 2018-12-21 | 2020-06-30 | 西安佰才邦网络技术有限公司 | Method and equipment for purchasing service based on block chain |
CN111355754B (en) * | 2018-12-21 | 2023-06-27 | 西安佰才邦网络技术有限公司 | Block chain-based business purchasing method and equipment |
CN111478948A (en) * | 2020-03-20 | 2020-07-31 | 深圳市芯链科技有限公司 | Block chain access method, Internet of things equipment and storage medium |
CN111526022A (en) * | 2020-04-13 | 2020-08-11 | 成都链向科技有限公司 | Block chain token generation system suitable for industrial Internet of things |
CN111552215A (en) * | 2020-05-22 | 2020-08-18 | 中国联合网络通信集团有限公司 | Internet of things equipment safety protection method and system |
CN111552215B (en) * | 2020-05-22 | 2022-02-11 | 中国联合网络通信集团有限公司 | Internet of things equipment safety protection method and system |
CN112134932A (en) * | 2020-09-04 | 2020-12-25 | 上海航翼网络科技有限公司 | Block chain technology-based distributed Internet of things implementation method |
WO2023065467A1 (en) * | 2021-10-19 | 2023-04-27 | 中诚区块链研究院(南京)有限公司 | Method for collaborative work between blockchain and internet of things |
WO2023071800A1 (en) * | 2021-10-29 | 2023-05-04 | 中国人民银行数字货币研究所 | Method and apparatus for internet of things payment based on smart contract |
CN115002198A (en) * | 2022-05-23 | 2022-09-02 | 支付宝(杭州)信息技术有限公司 | Information processing method, device, equipment and medium for Internet of things equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109005220B (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109005220A (en) | The service implementation method and access gateway of internet of things of internet-of-things terminal | |
CN107493280A (en) | Method, intelligent gateway and the certificate server of user authentication | |
CN109525540A (en) | A kind of smart machine binding method and device | |
CN110417558A (en) | Verification method and device, the storage medium and electronic device of signature | |
CN104618228B (en) | A kind of intelligent home gateway and the system and its application process that cloud service is automatically accessed by strategy realized based on intelligent home gateway | |
CN108880863A (en) | A kind of smart grid equipment safety diagnostic service system based on block chain technology | |
CN108197913A (en) | Method of payment, system and computer readable storage medium based on block chain | |
CN106411950B (en) | Authentication method, apparatus and system based on block chain transaction id | |
CN104158684B (en) | Gateway device status tracking based on open type intelligent Networking Platform | |
CN103858381A (en) | Distributed system and method for tracking and blocking malicious internet hosts | |
CN109286678A (en) | The block chain group ecosystem and readable storage medium storing program for executing of complete decentralization and closed loop | |
CN110022294A (en) | A kind of proxy server, Docker system and its right management method, storage medium | |
CN106127888B (en) | Intelligent lock operation method and smart lock operating system | |
CN110288179A (en) | Administering method and device, computer equipment, the storage medium of alliance's chain | |
CN112529577A (en) | Block chain cross-chain system and method based on excitation treatment | |
CN109166040A (en) | Transaction auditing method, device, equipment and storage medium based on block chain | |
CN106464556A (en) | Node networking method, apparatus and system | |
CN109561429A (en) | A kind of method for authenticating and equipment | |
CN108306938A (en) | A kind of method, apparatus and gateway of Internet of Things product automatic networking | |
CN108038964A (en) | The self-service mark distributing method for selling equipment | |
CN109493041A (en) | Distributed bookkeeping methods and transaction platform based on regional field chain | |
CN115034867A (en) | Block chain sealing bid auction and fraud prevention method applied to edge computing system | |
CN109840766A (en) | A kind of apparatus control method and its relevant device | |
CN109150981A (en) | Block chain network network-building method, device, equipment and computer readable storage medium | |
CN107105045A (en) | A kind of convenient packaging process of Wired Security terminal firmware and system |
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 |