CN104202365B - Method for clustered intelligent gateway platform for deploying expanded business application - Google Patents
Method for clustered intelligent gateway platform for deploying expanded business application Download PDFInfo
- Publication number
- CN104202365B CN104202365B CN201410406299.0A CN201410406299A CN104202365B CN 104202365 B CN104202365 B CN 104202365B CN 201410406299 A CN201410406299 A CN 201410406299A CN 104202365 B CN104202365 B CN 104202365B
- Authority
- CN
- China
- Prior art keywords
- gateway device
- server
- gateway
- access server
- convergence center
- 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.)
- Expired - Fee Related
Links
Abstract
The invention discloses a clustered intelligent gateway platform and a method thereby for deploying expanded business application, which solve the problem that the scheme for deploying expanded business application used by a conventional large-scale clustered gateway device is complicated in design, has low utility ratio and cannot be used for large-scale deployment. The clustered intelligent gateway platform comprises a converging central server, at least two access servers connected with the converging central server, at least a shunt server, a database server, and at least a gateway device connected with the access servers. The clustered intelligent gateway platform has a reasonable design, has low complexity, and can be used for deploying the large-scale clustered gateway device efficiently, rapidly and flexibly, thereby having high application value.
Description
Technical field
The present invention relates to a kind of intelligent gateway platform, and in particular to be a kind of extension of concentrating type intelligent gateway Platform deployment
The method of service application.
Background technology
With mobile Internet high speed development and Mobile solution it is widely available, user to the demand of intelligent gateway also with
Day all increasings.Intelligent gateway is the hinge that Multi net voting is accessed and Intranet is managed, and it is used as operator, digital content provider and net
Network equipment vendors provide the passage of network service, in addition to providing wideband data, voice and video, also provide household safe, energy
Other network applications such as source control, health monitoring and service, significantly improve the networking experience of user.
At the same time, the intelligent gateway device deployment of extensive, concentrating type is also increasingly becoming development trend.For example, China
Telecommunications program completed the deployment of home gateway of 3,000,000 support IPv6 functions and open-minded in 2014.But in the face of so big
The gateway deployment of scale, along with the various complicated application of activating business of development need deployment of Network, therefore, pass
The deployment scheme of system is relatively costly and network structure can more sophisticated, application efficiency is low, it is difficult to safeguard huge gateway device
Presence information, is not suitable for large scale deployment.
Therefore, how rapid expansion user capacity and application of activating business, and it is also easy to the unification of intelligent gateway platform
Management, so that user obtains more abundant, perfect business experience, becomes the problem for urgent need to resolve.
The content of the invention
For above-mentioned technical deficiency, the application the invention provides a kind of concentrating type intelligent gateway Platform deployment is activated business
Method, activating business with efficient, quick, flexible deployment, application, low complexity, responsiveness and utility ratio are high, facilitate user to unite
The characteristics of one management and low hardware cost.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of concentrating type intelligent gateway Platform deployment is activated business the method for application, is comprised the following steps:
S1:Access server respectively with basic business application passage and activate business to be set up one by one using passage and be connected;
S2:Gateway device is set up into connection with the access server for being connected basic service application passage;
S3:Gateway device sends facility information to access server, and by access server by the equipment of gateway device
Information is forwarded to convergence center server;
S4:Convergence center server checks the device identification of the gateway device that whether is stored with database server, is,
Then convergence center server is verified according to device identification to gateway device;It is no, then it is the gateway device distributing equipment mark,
And be stored in database server, then the gateway device is verified according to the device identification of distribution;
S5:Convergence center server judges whether gateway device is proved to be successful, and is, then convergence center server is in database
The status information of the gateway device is revised as " online " in server, and sends the information of " being proved to be successful " to access server
In;It is no, then original equipment mark is removed, it is repeatedly gateway device distributing equipment mark, and verified, until gateway device checking
Success, then convergence center server is revised as the status information of the gateway device " online " in database server, and
The information of transmission " being proved to be successful " is in access server;
S6:Access server sends the message of " succeeding in registration " to gateway device;
S7:User logs in intelligent gateway plateform system, and user equipment is connected with shunting server, shunting server will
User equipment allocation is to convergence center server;
S8:User equipment is set up UDP and is connected with gateway device, and is bound;
S9:After binding success, user account information is sent to the gateway device of binding by convergence center server, and is stored
In gateway device;
S10:User equipment sends and is connected to activating business using channel instruction to gateway device of specifying;
S11:Gateway device is received after instruction, set up TCP connections using the access server of passage with being connected to activate business,
And send start activate business using passage and registration message;
S12:Gateway equipment login success, and send command request using passage to activating business, complete to activate business and answer
Configuration and installation with plug-in unit on intelligent gateway platform;
S13:Circulation step S10~S12.
Further, in step S2, gateway device and it is connected the access server acquiescence of basic service application passage
Connection is set up by the way of UDP, if connection is unsuccessful, connection is set up by the way of TCP.
Specifically, step S2 is comprised the following steps:
S201:The access server of the basic service application passage of gateway device random selection connection, and set up connection;
S202:Gateway device sends connection request to server is currently accessed, and opens the timer in the gateway device;
S203:Within the time of timer setting, the gateway device determines whether there is the sound for receiving access server transmission
Should ask, be, then gateway device and access server successful connection;It is no, then execution step S204;
S204:Judge that gateway device, to whether the connection request of server transmission is currently accessed more than three times, is, then automatically
Next access server of connection, and repeat step S202;No, then gateway device sends again connection and asks to access server
Ask, and reset timer, then repeat step S203.
Yet further, in step S4, convergence center server is identified and tested for gateway device distributing equipment
The detailed process of card is as follows:
(1)Convergence center server to access server send be all zero sequence number, access server generate one with
Machine number, then and replies to gateway device with the set of serial numbers into the device identification of gateway device, and gateway device gets equipment
Mark;
(2)Gateway device is encrypted according to the mode of Message Digest 5 MD5 to device identification, and sends to access clothes
In business device;
(3)Access server receives the device identification of encryption, and it is decrypted, and confirms that received device identification is
It is no consistent with what it was stored, it is then to be proved to be successful, and the device identification is sent to convergence center server, execution step
(4);No, then removing original equipment is identified, and feeds back to convergence center server, then repeat step(1);
(4)Convergence center server is verified according to device identification to gateway device.
Yet further, in step S6, after gateway equipment login success, according further to setting heart beat cycle periodically to
Convergence center server reporting state information, convergence center server adjusts the heart beat cycle of gateway device according to loading condition,
Guarantee the normal connection of gateway device and access server.
Specifically, convergence center server adjusts the heart beat cycle of gateway device, guarantees gateway device and access service
The detailed process that device normally connects is as follows:
(1)Gateway device periodically reports its status information according to the heart beat cycle of setting to access stratum server;
(2)Access server determines whether the status information that timing receipt sends to gateway device, is, then believe state
Breath is forwarded to convergence center server, and execution step(3)Extremely(5);It is no, then execution step(6)Extremely(8);
(3)Converge stratum server and receive gateway device status information, whether the quantity of the gateway device of the current connection of judgement
Its default threshold value is exceeded, has been, then continued to keep the heart beat cycle, while replying access server;It is no, then by gateway device
Heart beat cycle double, and return back to access server;
(4)Return information is gone to gateway device by access server;
(5)Judge whether gateway device receives reply, be, then repeat step(1);It is no, then execution step(6);
(6)Gateway device judges its number of times for sending status information does not still meet with a response after whether having more than three times, is,
Then execution step(7);No, then gateway device halves the heartbeat cycle time of setting, and repeat step(1);
(7)Gateway device is disconnected with access server;
(8)Access server sends " status modifier " message to convergence center server, and convergence center server is in data
The status information of the gateway device is revised as " offline " in the server of storehouse, and execution step(9);
(9)Gateway device is re-established with access server and is connected.
Further, in step S8, the detailed process that user equipment is bound with gateway device is as follows:
(1)User equipment to gateway device initiates bind request;
(2)User sends certification request, and gateway device is authenticated to the certification request;
(3)Gateway device certification success, replys user equipment " binding success ";If certification is unsuccessful, replys user and set
Standby " Bind Failed ", and forbid the subsequent operation of the user equipment.
Specifically, step S9 is comprised the following steps:
S901:Convergence center server is that user account password distributes random key, and by the random key
Merge with user account password, be then encrypted according still further to the mode of Message Digest 5 MD5;
S902:Convergence center server sends encryption information to access stratum server;
S903:The encryption information that access stratum server is received goes to the gateway device with user equipment binding, gateway
Equipment stores user account information.
Compared with prior art, the invention has the advantages that:
(1)High efficiency:The present invention adopts stratification Design of Hardware Architecture, solves extensive, the concurrently visit of clustered deploy(ment)
Ask and status tracking problem, can effectively mitigate server load, greatly improve responsiveness and application efficiency.
(2)Extensibility:On the one hand the present invention can realize equipment end and user side according to the layered design method for adopting
UNICOM, so as to set up basic business application passage;On the other hand, then it is, based on the service channel, to introduce and activate business
Using passage, the passage is responsible for configuring gateway device pin function, pacifies the operations such as loading, unloading, startup/stopping, and right
The operation of plug-in unit is managed, and so as to quickly, neatly extend different types of service application passage, carries one or more industry
Business application, to meet the diversity of user's request.
(3)It is open:Client can quickly develop various value-added services on intelligent gateway platform of the present invention, be conducive to client
The sustainable development of business, while supporting user class information sharing and management mode, catches user behavior information.
(4)Security:The present invention first passes through gateway equipment login, user equipment certification, then again by user equipment and net
The mode of apparatus bound is closed, the UNICOM of user and gateway device is controlled, disabled user's access is limited, so as to efficiently solve
The security hidden trouble that open type intelligent Networking Platform is brought;Meanwhile, the present invention is also based on the eap-message digest that security is higher
Algorithm MD5 is encrypted to device identification and user account information, not only increases the security of device identification transmission, it is ensured that its
The crypticity of device identification, and be encrypted again after user cipher is merged with the key being randomly assigned, strengthen and crack
Difficulty, even if decrypted, it is also difficult to obtain user cipher in plain text.
(5)Compatibility:The technology of the present invention carries out unifying identifier using the device identification of design to gateway device, and provides
The binding of various ways, is applicable not only to the gateway device of different manufacturers, and does not result in extra hardware cost.
(6)Manageability:The present invention can be accessed different user setting by the way that user equipment and gateway device are bound
Authority, reduces the complexity that multi-level user is managed;Meanwhile, it is of the invention based on " heartbeat keep-alive " technology, in real time
Monitoring gateway device status, it is ensured that the accuracy of status tracking, and according to gateway device status information, server-assignment is adjusted,
Such that it is able to further realize server load balancing, stability, reliability and the utilization rate of server is improved.
(7)Complexity is low:The present invention actively sends its status information by gateway device, it is easy to accomplish, do not result in extra
Hardware cost.
(8)Cost performance of the present invention is at a relatively high, and reliability is stable, practical, can well meet extensive, collection
The gateway device deployment of group's formula, therefore it has very high practical value and promotional value.
Description of the drawings
Fig. 1 is the hardware system block diagram of the present invention.
Fig. 2 is the information exchange schematic diagram of the present invention.
Fig. 3 be the present invention realize schematic flow sheet.
Fig. 4 is the schematic diagram that the present invention sets up basic business application passage.
Fig. 5 is that the present invention sets up the schematic diagram activated business using passage.
Fig. 6 is the schematic flow sheet that convergence center server is gateway device distributing equipment mark.
Fig. 7 is the schematic flow sheet of gateway device and user equipment binding.
Fig. 8 is sent to the schematic flow sheet of the gateway device of binding for user account information.
Specific embodiment
With reference to the accompanying drawings and examples the invention will be further described, and embodiments of the present invention are included but is not limited to
The following example.
Embodiment
The invention provides a kind of concentrating type intelligent gateway platform, according to the difference of function, it can be divided into gateway device
Layer, Access Layer, convergence-level and shunting layer, function at all levels is as follows respectively:
(1)Gateway device layer:The level is used to provide easily wireless network access services for all terminal uses, and to
Access Layer sends registration and status information;
(2)Access Layer:The level is used to receive the registration from mechanical floor and status information, and reports gateway to convergence-level
The status information of mechanical floor, including the monitoring of the information such as the load of cpu load, internal memory, gateway device number;
(3)Convergence-level:The level is responsible for preserving the status information of all devices layer, and to Access Layer gateway device layer letter is provided
The inquiry of breath, including the sequence number of gateway device, IP address and online or off-line state.In view of gateway device presence
Information is very huge, and the level increased database server, is responsible for all legal gateway device MAC and sequence number SN of storage
The information such as the binding relationship of information, user account information, user and gateway;
(4)Shunting layer:The level is responsible for connecting subscriber equipment to convergence-level, once user equipment needs connection gateway to set
It is standby, distribution can be attached according to the load condition of convergence-level.
And as shown in figure 1, in terms of hardware configuration, the plateform system of the present invention then includes convergence center server, accesses
Server, shunting server(That is dns server), database server and gateway device.The access server, shunting clothes
Business device and database server are connected with convergence center server, and the gateway device is then connected with access server.Also,
The shunting server and gateway device are at least one.And the access server then be at least two, and with basis
Service application passage connects one by one with activating business using passage.For example, when access server is two, wherein an access
Server is used to connect basic service application passage(Such as remote control management), and another access server is then used to connect
Activate business and apply passage(Such as service application such as electronic emporium, smart home).
Preferably, in the present embodiment, above-mentioned server adopts Xeon, can conform better to big data quantity
Intensive consecutive operations, and the configuration of these processors is respectively as follows:
Access server:Xeon, 8GB internal memories, double dish mirror images, the double network interfaces of gigabit;
Convergence center server:Xeon, 16GB internal memories, double dish mirror images, the double network interfaces of gigabit;
Database server:Double Xeons, 16GB internal memories, double dish mirror images, the double network interfaces of gigabit;
Shunting server:Xeon, 8GB internal memories, double dish mirror images, the double network interfaces of gigabit.
Table 1 is deployment scenario explanation of the intelligent gateway platform of the present invention to each level(It is for reference only).
Table 1
According to above-mentioned hardware configuration, realize that user equipment is applied with activating business to intelligent gateway platform of the present invention below
The process of row information interaction describes in detail.Fig. 2 is that gateway device layer, Access Layer, convergence-level, shunting layer are at all levels, with
And the information exchange schematic diagram between user equipment, and as shown in figure 3, the present invention's realizes that flow process is as described below.
First, access server respectively with basic business application passage and activate business to be set up one by one using passage and be connected,
Fig. 4 is the schematic diagram of the basic business application passage that the present invention sets up, and Fig. 5 then applies passage for activating business for present invention foundation
Schematic diagram.Then, the access server of the basic service application passage of gateway device random selection connection, and set up connection;At this
In step, gateway device is set up by the way of UDP with access server acquiescence and is connected, if connection is unsuccessful, using TCP's
Mode sets up connection.It is so designed that, being primarily due to udp protocol and implementing that the Transmission Control Protocol that compares is simpler, TCP's holds
Hand process can consume resource, and UDP without handshake procedure, so resource will not be consumed.It is contemplated that the design of the present invention is special
Point, therefore, in order to avoid the waste of resource, the present invention is preferentially connected using UDP, reduction communication-cost, and to a certain extent
Response time delay is reduced, strengthens user experience.
Then, gateway device sends connection request to server is currently accessed, and opens the timer in the gateway device,
Within the time of timer setting, the gateway device determines whether there is the respond request for receiving access server transmission, is, then net
Pass equipment and access server successful connection;It is no, then judge that gateway device is to the connection request for being currently accessed server transmission
No is then to connect next access server automatically more than three times, and again a downward server sends connection request;It is no,
Then gateway device sends again connection request to access server, and resets timer, then proceedes to when timer sets
It is interior, determine whether there is the respond request for receiving access server transmission.
After gateway device receives the respond request of access server transmission, gateway device sends facility information to connecing
Enter server, and the facility information of gateway device is forwarded to into convergence center server by access server.Then, convergence center
Server checks the device identification of the gateway device that whether is stored with database server(ID), it is, then convergence center service
Device is verified according to device identification to gateway device;It is no, then it is the gateway device distributing equipment mark, and it is stored in database
In server, then the gateway device is verified according to the device identification of distribution;As shown in fig. 6, in the present embodiment, when need
When wanting convergence center server to identify and verified for gateway device distributing equipment, its detailed process is as follows:
(1)Convergence center server sends the sequence number for being all zero to access server(Such as 00000), access server
Generate a random number(Such as 23456), then with the set of serial numbers into gateway device device identification(For example sequence number with
Machine number constitutes 23456, then the device identification of gateway device is 23456), and gateway device is replied to, gateway device is obtained
To device identification;
(2)Gateway device is encrypted according to the mode of Message Digest 5 MD5 to device identification, and sends to access clothes
In business device;Due to adopting the technology of md5 encryption for the ripe technology of existing application, therefore the mistake that the present embodiment is no longer encrypted to it
Journey describes in detail;
(3)Access server receives the device identification of encryption, and it is decrypted, and confirms that received device identification is
It is no consistent with what it was stored, it is then to be proved to be successful, and the device identification is sent to convergence center server, execution step
(4);No, then removing original equipment is identified, and feeds back to convergence center server, then repeat step(1);
(4)Convergence center server is verified according to device identification to gateway device.
Followed by convergence center server judges whether gateway device is proved to be successful, and is, then convergence center server is being counted
According to the status information of the gateway device being revised as " online " in the server of storehouse, and send the information of " being proved to be successful " to accessing clothes
In business device;It is no, then original equipment mark is removed, it is repeatedly gateway device distributing equipment mark, and verified, until gateway device
Be proved to be successful, then convergence center server the status information of the gateway device is revised as in database server "
Line ", and the information of " being proved to be successful " is sent in access server, and access server then sends the message for succeeding in registration to net
Pass equipment.
Also, in order that the load balance of convergence center server, realize carrying out real-time tracking to the state of gateway device,
Guarantee that gateway device is normally connected with access server simultaneously, after succeeding in registration, it can be according to the heartbeat of setting for gateway device
Cycle is periodically to convergence center server reporting state information.Then according to loading condition, adjustment gateway sets convergence center server
Standby heart beat cycle, it is ensured that the normal connection of gateway device and access server.In the present embodiment, the adjustment of convergence center server
The heart beat cycle of gateway device, guarantee that gateway device is as follows with the detailed process that access server is normally connected:
(1)Gateway device periodically reports its status information according to the heart beat cycle of setting to access stratum server;
(2)Access server determines whether the status information that timing receipt sends to gateway device, is, then believe state
Breath is forwarded to convergence center server, and execution step(3)Extremely(5);It is no, then execution step(6)Extremely(8);
(3)Converge stratum server and receive gateway device status information, whether the quantity of the gateway device of the current connection of judgement
Its default threshold value is exceeded, has been, then continued to keep the heart beat cycle, while replying access server;It is no, then by gateway device
Heart beat cycle double, and return back to access server;
(4)Return information is gone to gateway device by access server;
(5)Judge whether gateway device receives reply, be, then repeat step(1);It is no, then execution step(6);
(6)Gateway device judges its number of times for sending status information does not still meet with a response after whether having more than three times, is,
Then execution step(7);No, then gateway device halves the heartbeat cycle time of setting, and repeat step(1);
(7)Gateway device is disconnected with access server;
(8)Access server sends " status modifier " message to convergence center server, and convergence center server is in data
The status information of the gateway device is revised as " offline " in the server of storehouse, and execution step(9);
(9)Gateway device is re-established with access server and is connected.
After gateway device and access server are set up and are connected and are proved to be successful, User logs in intelligent gateway plateform system,
And user equipment is connected with shunting server, shunting server is by user equipment allocation to convergence center server.Then, use
Family equipment is set up UDP and is connected with gateway device, and is bound.As shown in fig. 7, in the present embodiment, user equipment sets with gateway
It is for specific binding procedure:(1)User equipment to gateway device initiates bind request;(2)User sends certification request, gateway
Equipment is authenticated to the certification request;(3)Gateway device certification success, then reply user equipment " binding success ";If certification
It is unsuccessful, then user equipment " Bind Failed " is replied, and forbid the subsequent operation of the user equipment.
After binding success, user account information is sent to the gateway device of binding by convergence center server, and is stored in
Gateway device, as shown in figure 8, the specific process is as follows:
(1)Convergence center server is that user account password distributes random key, and by the random key with
User account password merges, and is then encrypted according still further to the mode of Message Digest 5 MD5;
(2)Convergence center server sends encryption information to access stratum server;
(3)The encryption information that access stratum server is received goes to the gateway device with user equipment binding, and gateway sets
Standby storage user account information;So it is capable of achieving remote management of the user equipment to gateway device.
Then, user equipment sends and is connected to activating business using channel instruction to gateway device, gateway device of specifying
Receive instruction after, be connected activate business using the access server of passage set up TCP connection, and send startup activate business answer
With the message and registration message of passage, in the step, gateway device is built with being connected to activate business using the access server of passage
After vertical connection, its registration process is as above-mentioned registration process.
After gateway equipment login success, send command request using passage to activating business, complete the application of activating business
Configuration and installation of the plug-in unit on intelligent gateway platform, realizes Disposition & Operation pipe of the intelligent gateway platform to application of activating business
Reason(Such as submission, examination & verification, issue, offline, sequence, recommendation etc.).
Further to illustrate technical scheme, the present embodiment is carried out with user equipment with smart home application
The example of information exchange is illustrating.
First, access server is set up be connected one by one with remote management application and smart home application, then gateway device
Set up with the access server for being connected to remote management application and be connected.
Then, gateway device is set up with convergence center server and is connected, and it is verified by convergence center server,
It is verified, and the device identification that the gateway device is assigned to is 23456, and equipment state is " online ";Meanwhile, the gateway sets
Standby periodically to report its status information of equipment to convergence center server, detailed process is as follows:
(1)Gateway device reports its status information every 60s according to the heart beat cycle of acquiescence to access server;
(2)Access server is properly received status information, and status information is forwarded to into convergence center server;
(3)Convergence center server receives the status information of gateway device, and judges the number of the gateway device of current connection
Mesh is not above alarm threshold value 2, then heart beat cycle is doubled as into 120s, and replys access server;
(4)Return information is gone to gateway device by access server;
(5)Gateway device receives reply, and the heart beat cycle according to setting reports its shape every 120s to access server
State information, accesses stratum server and is properly received status information, and status information is forwarded to into convergence center server;
(6)Convergence center server receives the status information of gateway device, judges the gateway device number of current connection still
Threshold value 2 is so not above, thus heart beat cycle is doubled as into 240s, and reply access server;
(7)Return information is gone to gateway device by access server;
(8)Gateway device does not receive reply;
(9)Due to gateway device send reporting state information number of times not less than three times, therefore, gateway device by set
Heartbeat cycle time is halved to 60s by original 120s, and continues periodically to be reported to access server according to the heart beat cycle of 60s
Its status information, access server is properly received the status information again, then proceedes to repeat the above steps.
User logs in intelligent gateway plateform system, and make its mobile phone(User equipment)Set up with gateway device and be connected, then
Click on " bound device ", mobile phone to gateway device initiates bind request(For example mobile phone scanning Quick Response Code logs in intelligent gateway platform
After system, to intelligent gateway plateform system the request with gateway device binding is initiated).User sends certification request(For example it is intelligent
Networking Platform system sends at random identifying code to user mobile phone, the identifying code that then user input is received), gateway device to
Family mobile phone is authenticated, certification success, and the user is named as " U1 ", mobile phone and gateway device binding success, and sets up such as
Mapping table shown in table 2.
Device identification | Device name | Device type | Device IP | Equipment state | User's name |
23456 | Gateway device | Gateway | 202.115.43.11 | Online | U1 |
Table 2
After user mobile phone and gateway device binding success, convergence center server is that user U1 passwords distribute random key
Code Key1, and random key Key1 is combined with user U1 password Password1, is finally carried out with MD5 again
Encryption(Key1+ Password1).Then, convergence center server sends encryption information to access server, finally again by
Access server is gone to the gateway device of binding, and gateway device stores the account information of user U1.Then, user mobile phone is sent out
Send and be connected to the instruction of " smart home application " to gateway device, gateway device is received after instruction, and " smart home should to connection
With " access server send initiation message and registration message, and set up TCP connections.After gateway equipment login success, to " intelligence
The access server of energy domestic applications " sends command request, performs the operation such as installation, configuration, so just completes intelligent gateway
The deployment that platform is applied to " smart home ", other are activated business using by that analogy.
The present invention realizes well extensive, cluster gateway device deployment so that user can remotely be managed collectively net
Pass equipment.The present invention is by setting up basic business application passage and being needed according to user to expand different type on this basis
Service application passage, meanwhile, it also increases the security of user account and password, therefore, the present invention is extensive, cluster
The deployment of formula gateway device provides efficient solution with application, its compared with prior art, with prominent substance
Feature and significant progress.
Above-described embodiment is only the preferred embodiments of the present invention, not limiting the scope of the invention, as long as using
The design principle of the present invention, and the change for carrying out non-creativeness work on this basis and making, all should belong to the present invention's
Within protection domain.
Claims (8)
1. a kind of concentrating type intelligent gateway Platform deployment is activated business the method for application, it is characterised in that comprised the following steps:
S1:Access server respectively with basic business application passage and activate business to be set up one by one using passage and be connected;
S2:Gateway device is set up into connection with the access server for being connected basic service application passage;
S3:Gateway device sends facility information to access server, and by access server by the facility information of gateway device
It is forwarded to convergence center server;
S4:Convergence center server checks the device identification of the gateway device that whether is stored with database server, is then to converge
Poly- central server is verified according to device identification to gateway device;It is no, then it is the gateway device distributing equipment mark, and deposit
In being stored in database server, then the gateway device is verified according to the device identification of distribution;
S5:Convergence center server judges whether gateway device is proved to be successful, and is, then convergence center server is in database service
The status information of the gateway device is revised as " online " in device, and sends the information of " being proved to be successful " in access server;
It is no, then original equipment mark is removed, it is repeatedly gateway device distributing equipment mark, and verified, until gateway device is verified into
Work(, then convergence center server the status information of the gateway device is revised as into " online " in database server, concurrently
The information of " being proved to be successful " is sent in access server;
S6:Access server sends the message of " succeeding in registration " to gateway device;
S7:User logs in intelligent gateway plateform system, and user equipment is connected with shunting server, server is shunted by user
Equipment distributes to convergence center server;
S8:User equipment is set up UDP and is connected with gateway device, and is bound;
S9:After binding success, user account information is sent to the gateway device of binding by convergence center server, and is stored in net
Pass equipment;
S10:User equipment sends and is connected to activating business using channel instruction to gateway device of specifying;
S11:Gateway device is received after instruction, set up TCP connections using the access server of passage with being connected to activate business, concurrently
Startup is sent to activate business using passage and the message registered;
S12:Gateway equipment login success, and send command request using passage to activating business, complete to activate business using slotting
Configuration and installation of the part on intelligent gateway platform;
S13:Circulation step S10~S12.
2. a kind of concentrating type intelligent gateway Platform deployment according to claim 1 is activated business the method for application, its feature
It is that in step S2, gateway device is given tacit consent to by the way of UDP with the access server for being connected basic service application passage
Connection is set up, if connection is unsuccessful, connection is set up by the way of TCP.
3. a kind of concentrating type intelligent gateway Platform deployment according to claim 1 and 2 is activated business the method for application, and it is special
Levy and be, step S2 is comprised the following steps:
S201:The access server of the basic service application passage of gateway device random selection connection, and set up connection;
S202:Gateway device sends connection request to server is currently accessed, and opens the timer in the gateway device;
S203:Timer setting time in, the gateway device determine whether there is receive access server transmission response please
Ask, be, then gateway device and access server successful connection;It is no, then execution step S204;
S204:Judge that gateway device, to whether the connection request of server transmission is currently accessed more than three times, is then to connect automatically
Next access server, and repeat step S202;No, then gateway device sends again connection request to access server, and
Timer is reset, then repeat step S203.
4. a kind of concentrating type intelligent gateway Platform deployment according to claim 3 is activated business the method for application, its feature
Be, in step S4, convergence center server be the gateway device distributing equipment detailed process that identifies and verified such as
Under:
(1)Convergence center server sends the sequence number for being all zero to access server, and access server generates a random number,
Then and gateway device is replied to into the device identification of gateway device with the set of serial numbers, gateway device gets device identification;
(2)Gateway device is encrypted according to the mode of Message Digest 5 MD5 to device identification, and sends to access server
In;
(3)Access server receives the device identification of encryption, and it is decrypted, confirm received device identification whether with
It is consistent that it is stored, and is then to be proved to be successful, and the device identification is sent to convergence center server, execution step(4);It is no,
Original equipment mark is then removed, and feeds back to convergence center server, then repeat step(1);
(4)Convergence center server is verified according to device identification to gateway device.
5. a kind of concentrating type intelligent gateway Platform deployment according to claim 4 is activated business the method for application, its feature
It is, in step S6, after gateway equipment login success, according further to the heart beat cycle of setting periodically to convergence center server
Reporting state information, convergence center server adjusts the heart beat cycle of gateway device according to loading condition, it is ensured that gateway device with
The normal connection of access server.
6. a kind of concentrating type intelligent gateway Platform deployment according to claim 5 is activated business the method for application, its feature
It is the heart beat cycle of convergence center server adjustment gateway device, to guarantee what gateway device and access server were normally connected
Detailed process is as follows:
(1)Gateway device periodically reports its status information according to the heart beat cycle of setting to access stratum server;
(2)Access server determines whether the status information that timing receipt sends to gateway device, is, then turn status information
It is sent to convergence center server, and execution step(3)Extremely(5);It is no, then execution step(6)Extremely(8);
(3)Converge stratum server and receive gateway device status information, whether the quantity for judging the gateway device of current connection exceedes
Its default threshold value, is then to continue to keep the heart beat cycle, while replying access server;It is no, then by the heart of gateway device
Hop cycle is doubled, and returns back to access server;
(4)Return information is gone to gateway device by access server;
(5)Judge whether gateway device receives reply, be, then repeat step(1);It is no, then execution step(6);
(6)Gateway device judges its number of times for sending status information does not still meet with a response after whether having more than three times, is then to hold
Row step(7);No, then gateway device halves the heartbeat cycle time of setting, and repeat step(1);
(7)Gateway device is disconnected with access server;
(8)Access server sends " status modifier " message to convergence center server, and convergence center server takes in database
The status information of the gateway device is revised as " offline " in business device, and execution step(9);
(9)Gateway device is re-established with access server and is connected.
7. a kind of concentrating type intelligent gateway Platform deployment according to claim 5 or 6 is activated business the method for application, and it is special
Levy and be, in step S8, the detailed process that user equipment is bound with gateway device is as follows:
(1)User equipment to gateway device initiates bind request;
(2)User sends certification request, and gateway device is authenticated to the certification request;
(3)Gateway device certification success, replys user equipment " binding success ";If certification is unsuccessful, replys user equipment and " tie up
Fixed failure ", and forbid the subsequent operation of the user equipment.
8. a kind of concentrating type intelligent gateway Platform deployment according to claim 7 is activated business the method for application, its feature
It is that step S9 is comprised the following steps:
S901:Convergence center server is that user account password distributes random key, and by the random key and is used
Family account password merges, and is then encrypted according still further to the mode of Message Digest 5 MD5;
S902:Convergence center server sends encryption information to access stratum server;
S903:The encryption information that access stratum server is received goes to the gateway device with user equipment binding, gateway device
Storage user account information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410406299.0A CN104202365B (en) | 2014-08-15 | 2014-08-15 | Method for clustered intelligent gateway platform for deploying expanded business application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410406299.0A CN104202365B (en) | 2014-08-15 | 2014-08-15 | Method for clustered intelligent gateway platform for deploying expanded business application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104202365A CN104202365A (en) | 2014-12-10 |
CN104202365B true CN104202365B (en) | 2017-05-10 |
Family
ID=52087590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410406299.0A Expired - Fee Related CN104202365B (en) | 2014-08-15 | 2014-08-15 | Method for clustered intelligent gateway platform for deploying expanded business application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104202365B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376309B (en) * | 2015-10-30 | 2021-08-13 | 青岛海尔智能家电科技有限公司 | Access gateway allocation method and device |
CN107707583B (en) * | 2016-08-08 | 2020-11-17 | 环旭电子股份有限公司 | Cloud data transmission system and dynamic distribution method thereof |
CN107249209A (en) * | 2017-06-09 | 2017-10-13 | 苏州汉明科技有限公司 | wireless local area network gateway management method and system |
CN107196958B (en) * | 2017-06-21 | 2020-04-07 | 深圳市盛路物联通讯技术有限公司 | Encryption method and system for data transmission of Internet of things |
CN109639746B (en) * | 2017-10-09 | 2021-07-27 | 北京安软天地科技有限公司 | Load balancing method for security authentication transmission gateway cluster |
CN109040197A (en) * | 2018-07-13 | 2018-12-18 | 中天宽带技术有限公司 | A kind of intelligent gateway management system and method based on web SiteServer LBS |
CN110798329A (en) * | 2018-08-01 | 2020-02-14 | 中兴通讯股份有限公司 | Internet of things gateway access method, equipment and storage medium |
CN113490207B (en) * | 2021-06-29 | 2024-02-06 | 深圳Tcl新技术有限公司 | Internet of things equipment binding method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1523152A2 (en) * | 2003-10-07 | 2005-04-13 | Accenture Global Services GmbH | Connector gateway |
CN1905503A (en) * | 2005-07-27 | 2007-01-31 | 上海龙林通信技术有限公司 | Multimedia metropolitan area network and application thereof |
CN1905502A (en) * | 2005-07-27 | 2007-01-31 | 上海龙林通信技术有限公司 | Multimedia network and application thereof |
CN102025593A (en) * | 2009-09-21 | 2011-04-20 | 中国移动通信集团公司 | Distributed user access system and method |
CN102202389A (en) * | 2010-03-25 | 2011-09-28 | 中兴通讯股份有限公司 | Method and system for realizing gateway management |
-
2014
- 2014-08-15 CN CN201410406299.0A patent/CN104202365B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1523152A2 (en) * | 2003-10-07 | 2005-04-13 | Accenture Global Services GmbH | Connector gateway |
CN1905503A (en) * | 2005-07-27 | 2007-01-31 | 上海龙林通信技术有限公司 | Multimedia metropolitan area network and application thereof |
CN1905502A (en) * | 2005-07-27 | 2007-01-31 | 上海龙林通信技术有限公司 | Multimedia network and application thereof |
CN102025593A (en) * | 2009-09-21 | 2011-04-20 | 中国移动通信集团公司 | Distributed user access system and method |
CN102202389A (en) * | 2010-03-25 | 2011-09-28 | 中兴通讯股份有限公司 | Method and system for realizing gateway management |
Also Published As
Publication number | Publication date |
---|---|
CN104202365A (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104202365B (en) | Method for clustered intelligent gateway platform for deploying expanded business application | |
CN104158684B (en) | Gateway device status tracking based on open type intelligent Networking Platform | |
CN106301785B (en) | Method and system for binding intelligent household equipment and intelligent terminal | |
CN104158710B (en) | Service application channel automatic switching method based on open type intelligent Networking Platform | |
CN104144168B (en) | Binding method based on open type intelligent Networking Platform user account and gateway device | |
CN103685210B (en) | The register method and device of terminal | |
US9967738B2 (en) | Methods and arrangements for enabling data transmission between a mobile device and a static destination address | |
CN107493280A (en) | Method, intelligent gateway and the certificate server of user authentication | |
US9973399B2 (en) | IPV6 address tracing method, apparatus, and system | |
CN101924785A (en) | Data uploading and downloading methods and system | |
CN104468619B (en) | A kind of method and authentication gateway for realizing double stack web authentications | |
CN104104926A (en) | Universal plug and play (UPnP) monitoring terminal access method and access device | |
CN103428211A (en) | Network authentication system on basis of switchboards and authentication method for network authentication system | |
CN104144096A (en) | Virtual network layer construction method, device and system | |
CN104618522B (en) | The method and Ethernet access equipment that IP address of terminal automatically updates | |
CN106302353A (en) | Identity identifying method, identity authorization system and relevant device | |
US8769623B2 (en) | Grouping multiple network addresses of a subscriber into a single communication session | |
CN101800686A (en) | Method, device and system for realizing service | |
CN109041036A (en) | WIFI connection method and equipment | |
CN107547339A (en) | A kind of gateway media access control MAC address feedback method and device | |
WO2017000625A1 (en) | Dynamic host configuration protocol (dhcp) server management method and apparatus | |
CN104243625A (en) | IP address distribution method and device | |
CN105072669B (en) | The connection control method and device of website | |
CN108306875B (en) | Method and device for controlling access of wired terminal | |
CN106341374A (en) | Method and device for restricting access of unlicensed user device to home gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170510 Termination date: 20210815 |