CN108848156A - access gateway processing method, device and storage medium - Google Patents

access gateway processing method, device and storage medium Download PDF

Info

Publication number
CN108848156A
CN108848156A CN201810586723.2A CN201810586723A CN108848156A CN 108848156 A CN108848156 A CN 108848156A CN 201810586723 A CN201810586723 A CN 201810586723A CN 108848156 A CN108848156 A CN 108848156A
Authority
CN
China
Prior art keywords
block
access gateway
request
terminal
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810586723.2A
Other languages
Chinese (zh)
Other versions
CN108848156B (en
Inventor
袁晓静
翟京卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810586723.2A priority Critical patent/CN108848156B/en
Publication of CN108848156A publication Critical patent/CN108848156A/en
Application granted granted Critical
Publication of CN108848156B publication Critical patent/CN108848156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/10Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network
    • H04L67/1002Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers, e.g. load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Abstract

The application provides a kind of access gateway processing method, device and storage medium, which is a processing node in block chain network, and this method includes:Access gateway receives the block processes request in block chain network, determine the corresponding block business of the processing block processes request of itself whether having the ability, and when access gateway determines and itself has no ability to handle block business corresponding to block processes request, block processes request is sent to the home terminal for being linked into the access gateway, so that the home terminal handles the corresponding block business of above-mentioned block processes request.The technical solution reduces the traffic pressure of access gateway, improves business processing speed, improves user experience.

Description

Access gateway processing method, device and storage medium
Technical field
This application involves mobile communication technology fields more particularly to a kind of access gateway processing method, device and storage to be situated between Matter.
Background technique
With the development of the industries such as wisdom family and smart home and technology, more and more smart machines and Internet of Things industry Business enters people's lives, and the internet of things equipment quantity in family is increasing, how effectively to manage the Internet of Things in family Equipment becomes the premise for improving user experience.
At this stage, mainly the internet of things equipment in family is managed with centralized network mode, that is, utilizes centralization Application platform manage, control and safeguard all internet of things equipment in family, to guarantee that each internet of things equipment works normally.
However, in family internet of things equipment increase, the pressure of the application platform of centralization is bigger, if the centralization Application platform break down, then may make all internet of things equipment that can not work, so that there are security risks.
Summary of the invention
The application provides a kind of access gateway processing method, device and storage medium, to solve existing centralized network mould The problem of breaking down due to the application platform of centralization in formula, cause all internet of things equipment that can not work.
The application first aspect provides a kind of access gateway processing method, and the access gateway is one in block chain network A processing node, the method includes:
The access gateway receives the request of the block processes in the block chain network;
The access gateway determines the corresponding block business of the processing block processes request of itself whether having the ability;
If the access gateway, which determines, itself has no ability to handle the corresponding block business of the block processes request, Block processes request is sent to the home terminal for being linked into the access gateway by the access gateway, so that the family The corresponding block business of the request of block processes described in terminal processes.
Optionally, in an embodiment of first aspect, the access gateway receives the block in the block chain network Before processing request, further include:
The access gateway receives the access request that home terminal is sent, and includes terminal iidentification in the access request;
Correspondingly, block processes request is sent to the family's end for being linked into the access gateway by the access gateway End, including:
Block processes request is sent to home terminal corresponding with the terminal iidentification by the access gateway.
Optionally, in above-described embodiment of first aspect, the access gateway receives the access that home terminal is sent and asks It asks, includes terminal iidentification in the access request, including:
The access gateway receives the access request that at least two home terminals are sent respectively, includes in the access request Terminal iidentification and terminal traffic ability corresponding with the terminal iidentification;
Correspondingly, the method, further includes:
The access gateway is asked according to the terminal traffic ability and the block processes of at least two home terminal Required traffic handing capacity is sought, selected home terminal is determined from least two home terminal;
Correspondingly, block processes request is sent to family's end corresponding with the terminal iidentification by the access gateway End, including:
Block processes request is sent to institute according to the terminal iidentification of the selected home terminal by the access gateway State selected home terminal.
Optionally, in another embodiment of first aspect, the access gateway determines the processing institute that itself whether has the ability The corresponding block business of block processes request is stated, including:
Traffic handing capacity required for the access gateway is determined according to block processes request;
The access gateway determines that itself is according to itself traffic handing capacity and required traffic handing capacity The corresponding block business of the no capable processing block processes request.
Optionally, in the another embodiment of first aspect, block processes request is sent to by the access gateway It is linked into after the home terminal of the access gateway, further includes:
The access gateway receives the block processes response that the home terminal is sent, and includes in the block processes response The processing result of block business;
The processing result is written in the block chain network by the access gateway.
Optionally, in above-described embodiment of first aspect, the processing result is written to described by the access gateway Before in block chain network, further include:
The processing result is encrypted in the access gateway.
The application second aspect provides a kind of access gateway processing unit, and described device is integrated in access gateway, described Access gateway is a processing node in block chain network, and described device includes:Receiving module, processing module and transmission mould Block;
The receiving module, for receiving the request of the block processes in the block chain network;
The processing module, for determining whether the access gateway itself has the ability to handle block processes request institute Corresponding block business;
The sending module, for determining that the access gateway itself has no ability to handle the area in the processing module When block business corresponding to block processing request, block processes request is sent to the family for being linked into the access gateway Terminal, so that the home terminal handles the corresponding block business of the block processes request.
Optionally, in an embodiment of second aspect, the receiving module is also used to receiving the block chain network In block processes request before, receive the access request that home terminal is sent, include terminal iidentification in the access request;
Correspondingly, the sending module, is linked into the access gateway for block processes request to be sent to Home terminal, specially:
The sending module, it is whole for block processes request to be sent to family corresponding with the terminal iidentification End.
Optionally, in above-described embodiment of second aspect, the receiving module, for receiving connecing for home terminal transmission Enter request, includes terminal iidentification in the access request, specially:
The receiving module, the access request sent respectively for receiving at least two home terminals, the access request In include terminal iidentification and terminal traffic ability corresponding with the terminal iidentification;
Correspondingly, the processing module, be also used to according to the terminal traffic ability of at least two home terminal and Traffic handing capacity required for the block processes are requested determines that selected family is whole from least two home terminal End;
The sending module, it is whole for block processes request to be sent to family corresponding with the terminal iidentification End, specially:
The block processes are requested to send out by the sending module for the terminal iidentification according to the selected home terminal Give the selected home terminal.
Optionally, in another embodiment of second aspect, the processing module, for determining the access gateway itself The processing block processes of whether having the ability request corresponding block business, specially:
The processing module, for traffic handing capacity required for being determined according to block processes request, and according to The traffic handing capacity of itself and required traffic handing capacity determine the processing block processes of itself whether having the ability The corresponding block business of request.
Optionally, in the another embodiment of second aspect, the receiving module is also used to ask by the block processes After seeking the home terminal for being sent to and being linked into the access gateway, the block processes response that the home terminal is sent is received, It include the processing result of block business in the block processes response;
The processing module is also used to for the processing result being written in the block chain network.
Optionally, in above-described embodiment of second aspect, the processing module is also used to write by the processing result Before entering into the block chain network, the processing result is encrypted.
The application third aspect provides a kind of storage medium, is stored thereon with computer program, described program is by processor The method as described in above-mentioned first aspect and each embodiment of first aspect is realized when execution.
Access gateway processing method, device and storage medium provided by the embodiments of the present application, the access gateway are block chain A processing node in network determines whether itself has the ability after receiving the block processes request in block chain network The corresponding block business of block processes request is handled, is determined in the access gateway and itself has no ability to handle at above-mentioned block The request of above-mentioned block processes, then is sent to the home terminal for being linked into the access gateway by the corresponding block business of reason request, So that the block business that home terminal processing block processes request is corresponding, can reduce the business of access gateway accordingly Pressure improves business processing speed, promotes user experience.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of access gateway processing system provided by the embodiments of the present application;
Fig. 2 is the flow diagram of access gateway processing method embodiment one provided by the embodiments of the present application;
Fig. 3 is the flow diagram of access gateway processing method embodiment two provided by the embodiments of the present application;
Fig. 4 is the flow diagram of access gateway processing method embodiment three provided by the embodiments of the present application;
Fig. 5 is the flow diagram of access gateway processing method example IV provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of access gateway processing device embodiment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The access gateway processing method method that the following each embodiments of the application provide, is applicable to access gateway processing system In.Fig. 1 is a kind of structural schematic diagram of access gateway processing system provided by the embodiments of the present application.As shown in Figure 1, the access net Closing processing system may include the block chain network 11 being made of multiple processing nodes and the home terminal of each processing node Collection 12.Optionally, which includes at least one home terminal.Fig. 1 schematically illustrates the block chain network It is made of N number of processing node and the home terminal collection 12 of the first processing node includes M home terminal.Docking networks below The block chain network 11 and home terminal collection 12 closed in processing system are briefly described.
Wherein, block chain network 11:The processing node of block chain network is made of access gateway, multiple access gatewaies are common Block chain network is constituted, business transaction, data sharing, safety guarantee etc. between processing node are completed.Access gateway is as area The processing node of block chain network can not only send service request, and encryption generates block, is written in block chain network, and The block processes request in block chain network can be received, determines corresponding block.
Shown in referring to Fig.1, the first processing node in Fig. 1 refers to access gateway, due to the business processing energy of access gateway Power and storage capacity are limited, while access gateway will handle more business datums, if by the node energy in block chain network Power has the processing node to complete, and necessarily will increase the burden of access gateway.Access gateway is the core of intelligent residence service The heart affixes one's name to access gateway in internet of things equipment access side, these access gatewaies constitute block chain.
Home terminal in home terminal collection 12 can refer to that various family's internet of things equipment, home terminal pass through access gateway It is linked into family's Internet of Things, IP network address is obtained by access gateway.
In the embodiment of the present application, the home terminal mark of the available access of access gateway, obtains home terminal mark Corresponding terminal traffic ability, judges whether the home terminal of access has point spread Capability Requirement, and home terminal can be made For the ability expansion equipment of access gateway, home terminal collection is formed, when the processing node in block chain network receives block chain When the block processes request of network, the processing node block business corresponding according to block processes request as access gateway The characteristics of concentrated from home terminal and select corresponding home terminal to handle block processes request.
For example, in access gateway processing system shown in Fig. 1,1 specific service device calculation function of home terminal, Neng Goushi The now calculating of high speed, then house can be selected when the first processing node needs to carry out block data calculating as access gateway Ability expansion equipment of the front yard terminal 1 as the first processing node is handled with the first common finishing service of processing node.Optionally, Assuming that home terminal 2 has a large amount of storage resource, then the first processing node can send family for the data of block chain It stores in terminal 2, when needing to read, is communicated with home terminal 2.
Optionally, home terminal can be always with corresponding first processing node connection, the energy for handling node as first Power expansion equipment, the common business for completing block chain network.
Optionally, in the embodiment of the present application, it after family's termination set is linked into access gateway, can be fixed for its distribution Network address, establish one-to-one relationship, access gateway record home terminal concentrate each home terminal IP address and Device identification carries out business feature record to the professional ability of different home terminal, establishes pair of professional ability and home terminal It should be related to and store in corresponding access gateway, when access gateway has block processes request, first determine whether that the access gateway is No capable block processes of completing request corresponding block business, if cannot, according to the business processing energy of home terminal Power selects suitable home terminal to complete the task of access gateway, and establishes the communication linkage with the home terminal.In the following, It is described in detail by technical solution of the specific embodiment to the application.
It should be noted that these specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.
Fig. 2 is the flow diagram of access gateway processing method embodiment one provided by the embodiments of the present application.In the access In gateway processes method, which can be a processing node in block chain network, as shown in Fig. 2, the access net Closing processing method may include steps of:
Step 21:Access gateway receives the block processes request in block chain network.
Optionally, due to block chain technology be verified using block linked data structure with storing data, utilize distribution Node know together algorithm generate and more new data, guarantee in the way of cryptography data transmission and access safety, using by The intelligent contract of automatized script code composition is programmed and the completely new distributed basis framework of one kind of operation data and is calculated Normal form.For user to the inquiry of block chain data, storage, acquisition and write-in, each process is a track, and can not be disappeared It removes.
Thus, in embodiments herein, block chain technical application to family's internet of things field can be realized into family The decentralization of internet of things equipment is linked into access gateway in block chain network as a node of block chain.Specifically, Multiple family's internet of things equipment can form family's Internet of Things, and each family's internet of things equipment is linked into corresponding access gateway, And access gateway is a processing node in block chain network, provides access capability and management energy for various home terminals Power.That is, access gateway can be used as the processing section in block chain network while handling family's internet of things service The business of point processing block chain network.
Optionally, as an example, when the business of processing in need in block chain network, block chain network can be to One of processing node sends block processes request, correspondingly, access gateway is as a processing in block chain network Node can receive the block processes request of block chain network transmission.
Step 22:Access gateway determines the corresponding block industry of the above-mentioned block processes request of processing of itself whether having the ability Business;If so, 23 are thened follow the steps, if it is not, executing step 24.
Optionally, since home network both needs to handle home business, it is also desirable to the business of block chain network is handled, and The traffic handing capacity and storage capacity of access gateway are limited, in some scenarios, may be unable to satisfy business demand.So In the embodiment of the present application, after access gateway receives above-mentioned block processes request, it is necessary first to according to the business processing of itself Ability judges the corresponding block business of the above-mentioned block processes request of processing of itself whether having the ability, and is determined according to judging result How block processes request is handled.
Step 23:Access gateway handles the corresponding block business of the block processes request.
As an example, when access gateway determines the corresponding block of the above-mentioned block processes request of processing of itself having the ability When business, at this point, access gateway then carries out respective handling to block business corresponding to the request of above-mentioned block processes.
Step 24:The request of above-mentioned block processes is sent to the home terminal for being linked into the access gateway by access gateway, with The home terminal is set to handle the corresponding block business of above-mentioned block processes request.
Optionally, as another example, if access gateway, which determines, itself has no ability to handle above-mentioned block processes request Corresponding block business, at this point, access gateway can inquire the home terminal for being linked into the access gateway, and according to family's end The request of above-mentioned block processes is sent to corresponding home terminal, so that the home terminal is to the area by the traffic handing capacity at end The corresponding block business of block processing request performs corresponding processing.
Access gateway processing method provided by the embodiments of the present application, the access gateway are a processing in block chain network Node, receive in block chain network block processes request after, determine itself whether have the ability handle the block processes ask Corresponding block business is sought, is determined in the access gateway and itself has no ability to handle the corresponding area of above-mentioned block processes request The request of above-mentioned block processes is then sent to the home terminal for being linked into the access gateway, so that at the home terminal by block business The corresponding block business of block processes request is managed, the traffic pressure of access gateway can be reduced accordingly, improved at business Speed is managed, user experience is promoted, avoiding may be since event occurs in the application platform of centralization in existing centralized network mode The problem of hindering, causing all internet of things equipment that can not work.
Optionally, on the basis of the above embodiments, Fig. 3 is that access gateway processing method provided by the embodiments of the present application is real Apply the flow diagram of example two.As shown in figure 3, in above-mentioned steps 21, (access gateway receives the block processes in block chain network Request) before, which can also include the following steps:
Step 31:Access gateway receives the access request that home terminal is sent, and includes terminal iidentification in the access request.
Optionally, in embodiments herein, since access gateway is the core of intelligent residence service, in Internet of Things Equipment accesses side and affixes one's name to access gateway, these access gatewaies constitute block chain.Specifically, home terminal is first to corresponding access Gateway sends the access request for carrying terminal iidentification, so that the access gateway is determined to correspond to according to the terminal iidentification received Home terminal, and then by the home terminal access family's Internet of Things.
Correspondingly, the request of above-mentioned block processes is sent to and is linked into the access gateway by the access gateway in above-mentioned steps 24 Home terminal, could alternatively be following steps realization:
Step 32:The request of above-mentioned block processes is sent to home terminal corresponding with above-mentioned terminal iidentification by access gateway.
Optionally, it after above-mentioned home terminal is linked into access gateway, and is determined in access gateway and itself has no ability to locate When managing the above-mentioned corresponding block business of block processes request, access gateway can request above-mentioned block processes be sent to reception The corresponding home terminal of above-mentioned terminal iidentification arrived, so that the block industry that the home terminal is corresponding to the request of above-mentioned block processes Business is handled.
Optionally, in the embodiment of the application, (access gateway receives the access that home terminal is sent to above-mentioned steps 31 Request, include terminal iidentification in the access request) it can be achieved by the steps of:
Access gateway receives the access request that at least two home terminals are sent respectively, includes terminal mark in the access request Knowledge and terminal traffic ability corresponding with the terminal iidentification.
In embodiments herein, when there is at least two home terminals to require connect in family's Internet of Things in family, So above-mentioned at least home terminal can send access request to access gateway respectively, and carry in the access request respective Terminal iidentification and the corresponding terminal traffic ability of the terminal iidentification, thus, when access gateway receives above-mentioned at least two After the access request that front yard terminal is sent respectively, the terminal traffic ability of each home terminal is just known accordingly.
Optionally, after access gateway receives the access request that at least two home terminals are sent respectively, can be respectively Each home terminal distributes network address, and the network address being assigned to and terminal iidentification are stored in access gateway together, The corresponding relationship of access gateway and home terminal is established, thus, it, can basis when access gateway receives block processes request Traffic handing capacity required for block processes are requested, selects suitable home terminal, block processes can be rapidly completed The corresponding block business of request.
Correspondingly, in the present embodiment, which can also include the following steps:
Access gateway requests institute according to the terminal traffic ability of above-mentioned at least two home terminal and above-mentioned block processes The traffic handing capacity needed determines selected home terminal from above-mentioned at least two home terminal.
Optionally, there is multiple, and the terminal traffic energy of each home terminal due to being linked into the home terminal of access gateway Power is different, thus, when access gateway itself has no ability to handle from the block processes request that block chain network receives, access Traffic handing capacity required for gateway can be requested according to the block processes, inquires the end of above-mentioned at least two home terminal Professional ability is held, determines that one is most suitable for handling the corresponding area of block processes request from above-mentioned at least two home terminal The home terminal of block business is named as selected home terminal herein.
(request of above-mentioned block processes is sent to family's end corresponding with above-mentioned terminal iidentification to above-mentioned steps 32 by access gateway End) it can be achieved by the steps of:
The request of above-mentioned block processes is sent to this and selected by access gateway according to the terminal iidentification of above-mentioned selected home terminal Home terminal.
Optionally, determine that selected family is whole from least two home terminals for be linked into the access gateway when access gateway When end, the request of above-mentioned block processes can be sent to choosing according to the terminal iidentification of above-mentioned selected home terminal by access gateway Home terminal is determined, so that the block business for keeping selected home terminal corresponding to the request of above-mentioned block processes is handled, in this way The block business can not only be rapidly completed, and can effectively promote the performance of access gateway.
Access gateway processing method provided by the embodiments of the present application, at the block that access gateway receives in block chain network Before reason request, access gateway receives the access request comprising terminal iidentification of home terminal transmission first, and is determining certainly When body has no ability to processing block processes request corresponding block business, above-mentioned block processes can be requested to be sent to it is upper State the corresponding home terminal of terminal iidentification, so that access gateway has ability extension function, can not only handle access Multiple business under gateway, and improve the performance of the access gateway.
Optionally, based on any of the above embodiments, Fig. 4 is access gateway processing side provided by the embodiments of the present application The flow diagram of method embodiment three.As shown in figure 4, in the present embodiment, (whether access gateway determines itself to above-mentioned steps 22 The above-mentioned block processes of processing of having the ability request corresponding block business) it can be achieved by the steps of:
Step 41:Traffic handing capacity required for access gateway is determined according to the request of above-mentioned block processes.
Optionally, access gateway is determining the corresponding block industry of the above-mentioned block processes request of processing of itself whether having the ability When business, it can determine that above-mentioned block processes request required traffic handing capacity first, and then further according to the business energy of itself Power carries out comprehensive descision.
Step 42:Access gateway according to itself traffic handing capacity and required traffic handing capacity, determine from Whether body has the ability to handle the corresponding block business of above-mentioned block processes request.
Optionally, in the embodiment of the present application, it after access gateway determines the traffic handing capacity itself having, is combining Traffic handing capacity required for above-mentioned block processes are requested, the two is compared, determines whether access gateway itself has Ability requests corresponding block business to handle block processes.
Specifically, the traffic handing capacity in access gateway itself is higher than business processing energy required for block processes are requested When power, determine that access gateway itself has the ability to handle the corresponding block business of block processes request, otherwise, access gateway itself Have no ability to the corresponding block business of processing block processes request.
Access gateway processing method provided by the embodiments of the present application, access gateway request to determine institute according to above-mentioned block processes The traffic handing capacity needed determines itself further according to itself traffic handing capacity and required traffic handing capacity The above-mentioned block processes of processing of whether having the ability request corresponding block business.It can accurately determine that access gateway is in this way The no capable block processes received from block chain network that handle request corresponding block business, avoid existing centralization The problem of may breaking down due to the application platform of centralization in network mode, cause all internet of things equipment that can not work.
Optionally, on the basis of the above embodiments, Fig. 5 is that access gateway processing method provided by the embodiments of the present application is real Apply the flow diagram of example four.As shown in figure 5, the request of above-mentioned block processes is sent to by the access gateway in above-mentioned steps 24 It is linked into after the home terminal of the access gateway, this method can also include the following steps:
Step 51:Access gateway receives the block processes response that home terminal is sent, and includes area in block processes response The processing result of block business.
In the embodiment of the present application, the request of above-mentioned block processes is sent to the family for being linked into the access gateway by access gateway After the terminal of front yard, the home terminal block business corresponding to block processes request is handled, and obtains the place of the block business Reason as a result, and to access gateway send the block processes response, correspondingly, the access gateway receive the home terminal transmission packet Block processes response containing above-mentioned processing result.
Step 52:Above-mentioned processing result is written in block chain network by access gateway.
After access gateway receives the processing result of above-mentioned block business or access gateway itself handles block processes The corresponding block task of request, after obtaining processing result, which is written in block chain network, to store the area The processing result of the corresponding block business of block processing request, to guarantee the safety of the processing result.
Optionally, as an example, as shown in figure 5, (processing result is written to by access gateway in above-mentioned steps 52 In the block chain network) before, this method can also include the following steps:
Step 53:Processing result is encrypted in access gateway.
Optionally, when access gateway receives the processing result that home terminal is sent by block processes response, net is accessed Pass can first be encrypted the processing result, to further ensure that the safety of the processing result.
Optionally, which can also apply after above-mentioned steps 23, and access gateway handles block task to itself, obtain To after processing result, processing result is encrypted.
Correspondingly, above-mentioned steps 52 could alternatively be following steps:
Encrypted processing result is written in block chain network by access gateway.
Optionally, it after the processing result for receiving above-mentioned block business is encrypted in access gateway, then is write Enter into block chain network, can ensure that the processing result is not obtained by other processing nodes in block chain network in this way, into One step guarantees the safety of the processing result.
Block processes request is sent to and is linked by access gateway processing method provided by the embodiments of the present application, access gateway After the home terminal of access gateway, the block processes comprising block service processing result that also reception home terminal is sent are rung It answers, and the processing result is written in block chain network, access gateway or home terminal and block chain network has been achieved Communication, provide preferably control and maintenance function for internet and family's internet of things service.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 6 is the structural schematic diagram of access gateway processing device embodiment provided by the embodiments of the present application.The device is integrated In access gateway, which is a processing node in block chain network.As shown in fig. 6, the apparatus may include: Receiving module 61, processing module 62 and sending module 63.
Wherein, the receiving module 61, for receiving the request of the block processes in the block chain network;
The processing module 62, for determining whether the access gateway itself has the ability to handle the block processes request Corresponding block business;
The sending module 63, for determining that the access gateway itself has no ability to processing institute in the processing module 62 When stating block business corresponding to block processes request, block processes request is sent to and is linked into the access gateway Home terminal, so that the home terminal handles the corresponding block business of the block processes request.
Optionally, in a kind of possible implementation of the embodiment of the present application, the receiving module 61 is also used to receiving Before block processes request in the block chain network, the access request that home terminal is sent is received, in the access request Include terminal iidentification;
Correspondingly, the sending module 63, is linked into the access gateway for block processes request to be sent to Home terminal, specially:
The sending module 63, it is whole for block processes request to be sent to family corresponding with the terminal iidentification End.
Optionally, in this possible implementation of the embodiment of the present application, the receiving module 61, for receiving family The access request that terminal is sent includes terminal iidentification in the access request, specially:
The receiving module 61, the access request sent respectively for receiving at least two home terminals, the access are asked It include terminal iidentification and terminal traffic ability corresponding with the terminal iidentification in asking;
Correspondingly, the processing module 62, be also used to according to the terminal traffic ability of at least two home terminal with And the block processes request required traffic handing capacity, determine that selected family is whole from least two home terminal End;
The sending module 63, it is whole for block processes request to be sent to family corresponding with the terminal iidentification End, specially:
The sending module 63 requests the block processes for the terminal iidentification according to the selected home terminal It is sent to the selected home terminal.
Optionally, in the alternatively possible implementation of the embodiment of the present application, the processing module 62, for determining State whether access gateway itself has the ability to handle the corresponding block business of the block processes request, specially:
The processing module 62, for determining required traffic handing capacity, and root according to block processes request According to itself traffic handing capacity and required traffic handing capacity, determine at the processing block of itself whether having the ability The corresponding block business of reason request.
Optionally, in another possible implementation of the embodiment of the present application, the receiving module 61 is also used to inciting somebody to action The block processes request is sent to after the home terminal for being linked into the access gateway, receives what the home terminal was sent Block processes respond, and include the processing result of block business in the block processes response;
The processing module 62 is also used to for the processing result being written in the block chain network.
Optionally, in this possible implementation of the embodiment of the present application, the processing module 62 is also used to by institute It states before processing result is written in the block chain network, the processing result is encrypted.
Access gateway processing unit provided in this embodiment can be used for executing the realization of embodiment of the method shown in Fig. 2 to Fig. 5 Scheme, specific implementation is similar with technical effect, and which is not described herein again.
The embodiment of the present application also provides a kind of storage medium, is stored thereon with computer program, described program is by processor The method such as above-mentioned Fig. 2 to embodiment illustrated in fig. 5 is realized when execution.
Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally it should be noted that:The above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent Pipe is described in detail the application referring to foregoing 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, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (13)

1. a kind of access gateway processing method, which is characterized in that the access gateway is the processing section in block chain network Point, the method includes:
The access gateway receives the request of the block processes in the block chain network;
The access gateway determines the corresponding block business of the processing block processes request of itself whether having the ability;
If the access gateway, which determines, itself has no ability to handle the corresponding block business of the block processes request, described Block processes request is sent to the home terminal for being linked into the access gateway by access gateway, so that the home terminal Handle the corresponding block business of the block processes request.
2. the method according to claim 1, wherein the access gateway receives the area in the block chain network Before block processing request, further include:
The access gateway receives the access request that home terminal is sent, and includes terminal iidentification in the access request;
Correspondingly, block processes request is sent to the home terminal for being linked into the access gateway by the access gateway, Including:
Block processes request is sent to home terminal corresponding with the terminal iidentification by the access gateway.
3. according to the method described in claim 2, it is characterized in that, the access that the access gateway receives home terminal transmission is asked It asks, includes terminal iidentification in the access request, including:
The access gateway receives the access request that at least two home terminals are sent respectively, includes terminal in the access request Mark and terminal traffic ability corresponding with the terminal iidentification;
Correspondingly, the method, further includes:
The access gateway requests institute according to the terminal traffic ability of at least two home terminal and the block processes The traffic handing capacity needed determines selected home terminal from least two home terminal;
Correspondingly, block processes request is sent to home terminal corresponding with the terminal iidentification by the access gateway, Including:
Block processes request is sent to the choosing according to the terminal iidentification of the selected home terminal by the access gateway Determine home terminal.
4. according to the method in claim 2 or 3, which is characterized in that the access gateway determines the place that itself whether has the ability The corresponding block business of the block processes request is managed, including:
Traffic handing capacity required for the access gateway is determined according to block processes request;
The access gateway determines whether itself has according to itself traffic handing capacity and required traffic handing capacity Ability handles the corresponding block business of the block processes request.
5. method according to claim 1-3, which is characterized in that the access gateway asks the block processes After seeking the home terminal for being sent to and being linked into the access gateway, further include:
The access gateway receives the block processes response that the home terminal is sent, and includes block in the block processes response The processing result of business;
The processing result is written in the block chain network by the access gateway.
6. according to the method described in claim 5, it is characterized in that, the access gateway processing result is written to it is described Before in block chain network, further include:
The processing result is encrypted in the access gateway.
7. a kind of access gateway processing unit, which is characterized in that described device is integrated in access gateway, and the access gateway is A processing node in block chain network, described device include:Receiving module, processing module and sending module;
The receiving module, for receiving the request of the block processes in the block chain network;
The processing module, for determining whether the access gateway itself has the ability corresponding to the processing block processes request Block business;
The sending module, for determining that the access gateway itself has no ability to handle at the block in the processing module When block business corresponding to reason request, block processes request is sent to the family's end for being linked into the access gateway End, so that the home terminal handles the corresponding block business of the block processes request.
8. device according to claim 7, which is characterized in that
The receiving module is also used to before receiving the block processes request in the block chain network, receives home terminal The access request of transmission includes terminal iidentification in the access request;
Correspondingly, the sending module, for block processes request to be sent to the family for being linked into the access gateway Terminal, specially:
The sending module, for block processes request to be sent to home terminal corresponding with the terminal iidentification.
9. device according to claim 8, which is characterized in that the receiving module, for receiving home terminal transmission Access request includes terminal iidentification in the access request, specially:
The receiving module, the access request sent respectively for receiving at least two home terminals are wrapped in the access request Containing terminal iidentification and terminal traffic ability corresponding with the terminal iidentification;
Correspondingly, the processing module, it is also used to according to the terminal traffic ability of at least two home terminal and described Traffic handing capacity required for block processes are requested determines selected home terminal from least two home terminal;
The sending module has for block processes request to be sent to home terminal corresponding with the terminal iidentification Body is:
Block processes request is sent to by the sending module for the terminal iidentification according to the selected home terminal The selected home terminal.
10. device according to claim 8 or claim 9, which is characterized in that the processing module, for determining the access net The corresponding block business of the processing block processes request of itself whether having the ability is closed, specially:
The processing module, for traffic handing capacity required for being determined according to block processes request, and according to itself Traffic handing capacity and required traffic handing capacity, determine processing block processes request of itself whether having the ability Corresponding block business.
11. according to the described in any item devices of claim 7-9, which is characterized in that
The receiving module is also used to for block processes request to be sent to the home terminal for being linked into the access gateway Later, the block processes response that the home terminal is sent is received, includes the processing of block business in the block processes response As a result;
The processing module is also used to for the processing result being written in the block chain network.
12. device according to claim 11, which is characterized in that the processing module is also used to tie by the processing Before fruit is written in the block chain network, the processing result is encrypted.
13. a kind of storage medium, is stored thereon with computer program, which is characterized in that real when described program is executed by processor Now such as above-mentioned method described in any one of claims 1-6.
CN201810586723.2A 2018-06-08 2018-06-08 Access gateway processing method, device and storage medium Active CN108848156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810586723.2A CN108848156B (en) 2018-06-08 2018-06-08 Access gateway processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810586723.2A CN108848156B (en) 2018-06-08 2018-06-08 Access gateway processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108848156A true CN108848156A (en) 2018-11-20
CN108848156B CN108848156B (en) 2021-06-29

Family

ID=64210742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810586723.2A Active CN108848156B (en) 2018-06-08 2018-06-08 Access gateway processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108848156B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124278A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 Method for processing business, device and data-sharing systems
US20170257753A1 (en) * 2014-09-19 2017-09-07 Nokia Solutions And Networks Oy Service function chain interworking
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
CN107819829A (en) * 2017-10-17 2018-03-20 上海点融信息科技有限责任公司 Access method, system, block chain node device and the user terminal of block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170257753A1 (en) * 2014-09-19 2017-09-07 Nokia Solutions And Networks Oy Service function chain interworking
CN107124278A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 Method for processing business, device and data-sharing systems
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
CN107819829A (en) * 2017-10-17 2018-03-20 上海点融信息科技有限责任公司 Access method, system, block chain node device and the user terminal of block chain
CN107770182A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 The date storage method and home gateway of home gateway

Also Published As

Publication number Publication date
CN108848156B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN104796396A (en) Network proxy layer for policy-based application proxies
CN107819829A (en) Access method, system, block chain node device and the user terminal of block chain
CN108537543A (en) Method for parallel processing, device, equipment and the storage medium of block chain data
CN105471760B (en) The device and data communication system of a kind of method for routing, load balancing
CN103581317B (en) A kind of method of network resources locating
CN106936791A (en) Intercept the method and apparatus that malice network address is accessed
CN104811922A (en) Adjacent node registration method and the device and cross-node registration method and system
CN102136967A (en) Method, device and system for managing service state
CN104469770B (en) Towards WLAN authentication methods, platform and the system of third-party application
CN104184836B (en) Multi-service single-node login system and method based on remote service business
CN106068019A (en) Authorization method, terminal unit and the server that focus is shared
CN106060048A (en) Network resource access method and network resource access device
CN104254060B (en) Strategy and charging control rule delivery method and equipment
CN108848156A (en) access gateway processing method, device and storage medium
CN107438097A (en) Network request processing method and processing device
CN107666401A (en) A kind of configuration information obtaining method and terminal
CN107636722A (en) For the management method and management server using multiple SIM card
CN106161614A (en) A kind of layered distribution type charging electric vehicle service system and control method
CN103701943B (en) The control method and device of MAC Address
CN109740320A (en) A kind of identity identifying method and terminal device based on block chain
CN107306282B (en) A kind of link keep-alive method and device
CN104796398B (en) A kind of method of the leading client authentication of server
CN104735097A (en) Information collecting method and system
CN104796890B (en) A kind of method of the leading client authentication of client
CN107302448A (en) Port snoop method and device

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