CN105025044A - Device control method and device control system - Google Patents

Device control method and device control system Download PDF

Info

Publication number
CN105025044A
CN105025044A CN201410156406.9A CN201410156406A CN105025044A CN 105025044 A CN105025044 A CN 105025044A CN 201410156406 A CN201410156406 A CN 201410156406A CN 105025044 A CN105025044 A CN 105025044A
Authority
CN
China
Prior art keywords
controlled plant
target controlled
network
control
address
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
CN201410156406.9A
Other languages
Chinese (zh)
Other versions
CN105025044B (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 Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong 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 Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201410156406.9A priority Critical patent/CN105025044B/en
Publication of CN105025044A publication Critical patent/CN105025044A/en
Application granted granted Critical
Publication of CN105025044B publication Critical patent/CN105025044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a device control method and a device control system. The device control method is applied to a control server and controlled devices. The control server and the multiple controlled devices are in the same primate access point name APN network. The equipment control method comprises the following steps: acquiring an access control request sent by a client according to the public network address of the control server, wherein the access control request carries the identifier of a target controlled device and a control action; acquiring the IP address of the target controlled device according to the connection between the target controlled device and a data transmission unit DTU which is equipped with a special SIM card, converts IP data and serial data and transmits the IP data and the serial data via a wireless network; establishing a communication link with the target controlled device according to the IP address and the port number of the target controlled device; sending a control instruction to the target controlled device through the established communication link, and making the target controlled device execute the control instruction according to the access control request to complete the control action; and disconnecting the communication link.

Description

A kind of apparatus control method and system
Technical field
The present invention relates to privately owned APN network, Internet of Things, remote device data transmission technique field, particularly relate to a kind of apparatus control method and system.
Background technology
Along with the fast development of Internet of Things, increasing people starts to understand, be familiar with and use it.It is how user's problem considered that provides better Internet of Things service to become each Internet of Things service company.
The networking mode of Internet of Things, data cube computation are set up mode etc. and are directly decide the stability of transfer of data, campus network, Consumer's Experience and user satisfaction.
Traditional implementation sets up a Control Server, and this server has a fixing public network IP and port to provide transmission control protocol TCP or User Datagram Protoco (UDP) UDP linkage function; Controlled plant is connected to the Internet by DTU module, and initiates TCP or UDP connection to Control Server, can carry out data interaction, to reach the object of control appliance after connection establishment with Control Server.Communication mode mainly contains two kinds:
(1) " short connection " pattern: when controlled plant has data transfer demands, initiatively initiate TCP/UDP connection request to server by controlled plant, after server accepts request, both sides set up TCP or UDP connection.After connection establishment, controlled plant starts to transmit data, after transfer of data, initiatively removes connection by controlled plant.
(2) " long connection " pattern: after controlled plant powers on, initiatively initiate TCP/UDP connection request to server by controlled plant, after server accepts request, both sides set up TCP/UDP connection.With " short be connected " pattern unlike, now TCP/UDP connects is permanent maintenance, and in order to reach this target, controlled plant need keep connection by sending " heartbeat " bag (namely regularly sending the packet keeping connecting).Only have when under network state change, controlled plant power-off or the cause specific such as fault and server failure, connect and just can be interrupted.
" short connection " pattern is mainly used in the application scenario of data from controlled plant to server unidirectional delivery (as environmental monitoring, remote meter reading); " long connection " pattern is mainly used in the application scenario of data from server to controlled plant bi-directional (as Smart Home, equipment controls).
Prior art Problems existing is under conventional communication mode, no matter be " short connection " pattern or " long white silk level " pattern, all initiatively initiated to connect by controlled end, when data need to send to controlled plant from server end, then must use " length connects " pattern.And " long connection " pattern, there is following defect:
(1) " long connection " pattern means under normal circumstances, every platform controlled plant all needs to set up with server to be connected for a long time, and TCP/UDP connection is (as the existence that " heartbeat " wraps) that need to expend certain server resource, although the maximum number of connections of a Control Server main frame can reach 65535, and according to the situation that real resource takies, the linking number that one station server can be set up does not reach 65535 far away, in fact every station server supports about 3000-4000 connection, also just mean that every station server can only connect 3000-4000 platform equipment at most simultaneously.When controlled plant quantity is more, need to buy multiple servers, and use server cluster and load-balancing technique management multiple servers, this will increase operation cost greatly.
(2) controlled plant is as kept the connection with server for a long time, need regularly to send " heartbeat " bag (as every 30 seconds send once), a large amount of heartbeat packet, except increasing the pressure of server, also can produce a large amount of data traffics, thus increases the flow spending of client.
Summary of the invention
The object of the present invention is to provide a kind of apparatus control method and system, solve controlled plant IP address not fixation problem, and at Control Server with under controlled plant " length is connected " pattern, operation cost is large, the problem that DTU traffic overhead is large.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of control appliance method, for Control Server and multiple controlled plant, wherein, described Control Server and described multiple controlled plant are in same privately owned APN network, and described apparatus control method comprises:
Obtain the access control request that client sends according to the public network address of described Control Server, in wherein said access control request, carry target controlled plant mark and control action;
According to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, obtain the IP address of described target controlled plant;
By the described IP address of described target controlled plant and the communication link of port numbers foundation and described target controlled plant;
By the described communication link sending controling instruction set up to described target controlled plant, and described target controlled plant is made to perform described control command, to complete described control action according to described access control request;
Disconnect described communication link.
Wherein, described apparatus control method also comprises: before disconnecting described communication link, receives described target controlled plant after the described control command of execution, the result that the described control command returned performs, and returns to described client.
Further, described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, the concrete steps obtaining the IP address of described target controlled plant perform following operation by the described target controlled plant in multiple controlled plant:
Sent the logging request of carrying and waiting to log in described privately owned APN network of network mark and described target controlled plant authentication information to core network packet-domain equipment important component part SGSN by described DTU, make described SGSN according to described in wait to log in described privately owned APN network of network information and domain name server (DNS) server interaction, after determining the gateway support node GGSN be connected with described Control Server, described target controlled plant authentication information is sent to described GGSN;
The described privately owned APN private network IP address returned after receiving described GGSN target controlled plant according to described target controlled plant authentication information and general authentication and accounting agreement Radius server interaction certification.
Further, described Control Server gets the access control request of described client transmission by GRE router, and is forwarded to described target controlled plant.
Further, comprised by the concrete steps of the described IP address of described target controlled plant and the communication link of port numbers foundation and described target controlled plant: after described multiple controlled plant logs in described privately owned APN network by described GGSN, according to the IP allocation table of the described privately owned APN private network IP address that mark and described multiple controlled plant distribution of described multiple controlled plant are fixed, and after the described access control request receiving described client at the public network address of described Control Server, set up described client and each self-corresponding communication link of described target controlled plant respectively.
Accordingly, present invention also offers a kind of apparatus control system, for Control Server and multiple controlled plant, wherein, described Control Server and described multiple controlled plant are in same privately owned APN network, and described apparatus control system comprises:
First acquisition module, for obtaining the access control request that client sends according to the public network address of described Control Server, carries target controlled plant mark and control action in wherein said access control request;
Second acquisition module, according to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, obtain the IP address of described target controlled plant;
Communication building block, for setting up the communication link with described target controlled plant by the IP address of described target controlled plant and port numbers;
Control module, for utilizing the communication link sending controling instruction of foundation to described target controlled plant, and makes described target controlled plant perform described control command, to complete described control action according to described access control request;
Communication disconnects module, for disconnecting described communication link.
Wherein, described apparatus control system also comprises:
Message processing module, before disconnecting described communication link, receives described target controlled plant after the described control command of execution, the result that the described control command returned performs, and returns to described client.
Further, described second acquisition module comprises:
Authentication ' unit, for being sent the logging request of carrying and waiting to log in described privately owned APN network of network mark and described target controlled plant authentication information to core network packet-domain equipment important component part SGSN by described DTU, make described SGSN according to described in wait to log in described privately owned APN network of network information and domain name server (DNS) server interaction, after determining the gateway support node GGSN be connected with described Control Server, described target controlled plant authentication information is sent to described GGSN;
Processing unit, for the described privately owned APN private network IP address returned after receiving described GGSN target controlled plant according to described target controlled plant authentication information and general authentication and accounting agreement Radius server interaction certification.
Further, described Control Server gets the access control request of described client transmission by GRE router, and is forwarded to described target controlled plant.
Further, described communication building block comprises: connection setup unit, for after described multiple controlled plant logs in described privately owned APN network by described GGSN, according to the IP allocation table of the described privately owned APN private network IP address that mark and described multiple controlled plant distribution of described multiple controlled plant are fixed, and after the described access control request receiving described client at the public network address of described Control Server, set up described client and each self-corresponding communication link of described target controlled plant respectively.
The beneficial effect of technique scheme of the present invention is as follows:
In the solution of the present invention, be in the Control Server in same privately owned APN network and multiple controlled plant, after client sends access control request by public network address, Control Server receives access control request, according to the target controlled plant mark in access control request, by the DTU module being inserted with special SIM card be connected with target controlled plant, find the IP address of target controlled plant, set up the communication link of target controlled plant, thus the control command that target controlled plant is controlled is sent by communication link, then after the complete control action of target control equipment, disconnect communication link.Be in all controlled plants in privately owned APN network like this, distributed the private IP address of each self-retaining by the DTU module being inserted with special SIM card.When there is no transfer of data between Control Server and controlled plant, connect without the need to keeping; When needing transfer of data, then to set up with the laggard row transfer of data of connection of target controlled plant dynamically by Control Server and finishing equipment controls.While meeting equipment control application scenarios demand, avoid the defect of " long connection " pattern in conventional communication mode, connect without the need to permanent maintenance, but set up as required and remove, considerably increase the controlled plant quantity that Control Server is supported, for service provider saves the spending of server apparatus; Decrease the flow for the heartbeat packet keeping permanent data cube computation to increase, for user saves spending.
Accompanying drawing explanation
Fig. 1 is the basic step schematic diagram of the apparatus control method of the embodiment of the present invention;
Fig. 2 is data interaction schematic diagram of the present invention;
Fig. 3 is basic equipment schematic diagram of the present invention;
Fig. 4 is the basic structure schematic diagram of the apparatus control system of the embodiment of the present invention;
Fig. 5 is network diagram of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The invention provides a kind of apparatus control method and system, by being in all controlled plants in privately owned APN network, being distributed the IP address of each self-retaining by the DTU module being inserted with special SIM card.When there is no transfer of data between Control Server and controlled plant, connect without the need to keeping, only need when there being data cube computation, Control Server initiatively to reach control appliance, can carry out transfer of data and finishing equipment control by linking objective controlled plant.Which increase the controlled plant quantity that Control Server is supported, for service provider saves the spending of server apparatus; Decrease the flow for the heartbeat packet keeping data cube computation to increase, for user saves spending.
As shown in Figure 1, the control appliance method that the embodiment of the present invention provides, for Control Server and multiple controlled plant, wherein, described Control Server and described multiple controlled plant are in same privately owned APN network, and described apparatus control method comprises:
Step 11, obtains the access control request that client sends according to the public network address of described Control Server, carries target controlled plant mark and control action in wherein said access control request;
Step 12, according to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, obtain the IP address of described target controlled plant;
Step 13, by the described IP address of described target controlled plant and the communication link of port numbers foundation and described target controlled plant;
Step 14, utilizes the described communication link sending controling instruction set up to described target controlled plant, and makes described target controlled plant perform described control command, to complete described control action according to described access control request;
Step 15, receives described target controlled plant after the described control command of execution, the result that the described control command returned performs, and returns to described client;
Step 16, disconnects described communication link.
In above-mentioned steps 11 in the embodiment of the present invention, described client refers to that client can use multiple client (as computer, portable, mobile phone, panel computer etc.), obtain the services such as equipment control by the fixing public network IP address of access control server, realize the object controlled by client remote equipment.
In above-mentioned steps 12 in the embodiment of the present invention, according to by connecting with the DTU module being inserted with special SIM card to obtain multiple controlled plant Intranet fixed ip address corresponding in privately owned APN network, IPSec or GRE technology is used to set up encryption tunnel, route in net is indicated by APN label, Control Server and all controlled plants is made logically to be in same " local area network (LAN) ", by static binding phone number on GGSN and IP address, when making each controlled plant log in privately owned APN network, obtain Intranet fixed ip address at every turn.After having had Intranet fixed ip address, Control Server initiatively can set up the connection with controlled plant, thus realizes the transmission mode of " Opposite direction connection ".The transmission mode of " Opposite direction connection " refers to that the controlled plant be different from conventional communication mode is connection initiator, Control Server is that " rightabout " connecting recipient connects (in the present invention, Control Server for connect initiator (Client), controlled plant be connection recipient (Server)) transmission connected mode.
Above-mentioned Control Server in the embodiment of the present invention refer to control to equipment, function that equipment control, customer account management are relevant and database service be all deployed on Control Server, its effect mainly by privately owned APN network initiatively and DTU module connect and transceiving data; With client communication, receive the instruction of client, and by the result feedback of device responds instruction to client.Control Server at least needs dispose with lower module: equipment control, equipment state management, log management, customer basis information management, authority configuration, communication protocol management, connection pool management, message encapsulation/parsing interface and Report Server Management etc.Wherein, all equipment being linked into privately owned APN network all needs to install DTU module, and described DTU module is used for the transmitting-receiving of data.After DTU module being installed special SIM card (SIM card internal record the privately owned APN network information), after serial ports configuration tool configuration of APN title, user name, password, log in privately owned APN network.
In the embodiment of the present invention, communication link is set up at Control Server and target controlled plant, sending control command makes target controlled plant complete the control action of client, by step 15, the result that control command performs is returned to client, user viewing client-side can obtain required information, is user-friendly to.
In embodiments of the present invention, under Control Server and multiple controlled plant are in same privately owned APN network.When client needs control objectives controlled plant, first need to send access control request by public network address, after Control Server receives access control request, just can through the IP address by being connected the target controlled plant obtained in access control request with the DTU module being inserted with special SIM card of step 12, thus the communication link of target controlled plant and Control Server is set up according to IP address, utilizing the control command of this communication link, control objectives is controlled completes control action, after completing control action, step 16 disconnects communication link.Like this for the multiple controlled plants be in privately owned APN network, receive the access control request of client at Control Server after, can by be connected with the DTU module being inserted with special SIM card obtain target controlled plant IP address after, Control Server is initiatively initiated with the connection of controlled plant, carries out transfer of data and complete the control to target controlled plant in privately owned APN network.When there is no transfer of data between Control Server and controlled plant, perform step 16 by Control Server and disconnect communication link; Control Server only has when there is data transfer demands, just dynamically be connected with controlled plant management, controlled plant can be avoided so to be forever connected with Control Server and bring expend system resource and the large problem of network traffics expense, save the spending of Control Server equipment, also save the flow spending of user, also improve the experience effect of user simultaneously.
The citing of the superiority of the specific embodiment of the invention compared with tradition " length connects " pattern.
Citing one: suppose that project needs the controlled plant quantity controlled to be 10000, and any moment about has the equipment of 10% to need to control, every station server can communicate with 2000 controlled plants at most simultaneously.Under traditional " length connection " transmission mode, initiate from controlled plant owing to connecting, but control command is then initiated from Control Server, therefore no matter equipment is the need of control, all needs the connection of maintenance and Control Server.Analyze known thus, 10000 equipment all need to keep the connection with service, and traditional " long connection " transmission mode needs minimum 5 station servers (10000/2000=5(platform)).
Under " Opposite direction connection " transmission mode in the present invention, initiate from Control Server owing to connecting, and control command is initiated from Control Server equally, therefore when controlled plant is without the need to controlling, can not keep connecting, only to needing the equipment controlled to connect.Analyze known thus, in the present invention, need 1 station server (10000*10%/2000=0.5(platform) to round to obtain 1(platform)).
Citing two: suppose that the time interval of TCP heartbeat packet is 10 seconds, heartbeat packet size is minimum is 20 bytes.Under tradition " long connect " transmission mode, need heartbeat packet to keep TCP to connect, thus the heartbeat packet flow of a day minimum be 172800 bytes (24*60*60/10*20), about 170KB, monthly expend flow and be about 5100KB, about 5MB.10000 equipment monthly expend flow and are about 50000MB, about 50GB.About by calculating the 5 yuan/30MB/ month, 10000 equipment monthly heartbeat flow cost about 8333 yuan (50000/30*5).
Under " Opposite direction connection " transmission mode in the present invention, due to without the need to keeping connecting by heartbeat, therefore this part expense can be saved, saving flow spending to user.
In order to log in privately owned APN network, need controlled plant described in prior authentication determination whether can log in this privately owned APN network, thus make corresponding response, in the apparatus control method of the therefore embodiment of the present invention, the concrete steps of step 12 perform following operation by the described target controlled plant in described multiple controlled plant:
The first step, sent the logging request of carrying and waiting to log in described privately owned APN network of network mark and described target controlled plant authentication information to core network packet-domain equipment important component part SGSN by described DTU, make described SGSN according to described in wait to log in described privately owned APN network of network information and domain name server (DNS) server interaction, after determining the gateway support node GGSN be connected with described Control Server, described target controlled plant authentication information is sent to described GGSN;
Second step, the described privately owned APN private network IP address returned after receiving described GGSN target controlled plant according to described target controlled plant authentication information and general authentication and accounting agreement Radius server interaction certification.
In the above embodiment of the present invention, above-mentioned DTU module refers to Data Transfer Unit, is specifically designed to and serial data is converted to IP data or IP data is converted to the wireless terminal device that serial data undertakies by cordless communication network transmitting.
In the above embodiment of the present invention, above-mentioned SGSN refers to Serving DTU SUPPORT NODE, mainly completes the functions such as the routing forwarding of packet data package, mobile management, session management, Logical Link Management, authentication and encryption, ticket generation and output.
In the above embodiment of the present invention, above-mentioned DNS refers to Domain Name Service, it is a kernel service of internet, it is as a distributed data base that domain name and IP address can be mapped mutually, people can be made to access the Internet more easily, and do not spend the IP string remembeing directly to be read by machine.
In the above embodiment of the present invention, above-mentioned GGSN refers to Gateway DTU Support Node, the line of demarcation of DTU network and outer net, and being internally responsible for the transmission of Gn network, is externally an Internet Router.GGSN is connected with other GGSN with SGSN by the DTU backbone network based on IP agreement.
In the above embodiment of the present invention, above-mentioned Radius refers to Remote Authentication Dial In UserService, general authentication and accounting agreement.
Under all devices (comprising Control Server) is all in same privately owned APN network, the equipment logging in this privately owned APN network can be assigned to an Intranet fixed ip address.Only have and could log in privately owned APN network by the equipment of privately owned APN network authentication, client can apply for privately owned APN Network, then obtains the special privately owned APN network distributed.SIM card for privately owned APN network only opens this special APN network, limits it and uses other APN networks.
In the embodiment of the present invention, when SGSN receives and logs in privately owned APN network of network information, inquiry request is sent to dns server according to the privately owned APN network information of login, find the GGSN be connected with enterprise server platform, device authentication information is sent to this GGSN, after this GGSN carries out certification alternately according to device authentication information (comprising phone number, APN accessing points title, account title, password etc.) and Radius server, then obtain Intranet fixed ip address, obtain follow-up connection request of being initiated by described Control Server.
All devices (comprising Control Server) under privately owned APN network, has the IP address of each self-retaining.Control Server has oneself address, and described controlled plant also has the address of each self-retaining, when needs communicate, all controlled plants are all known " position " of Control Server, Control Server also knows " position " of all devices simultaneously, and both sides connect, convenient communication; Bind to special SIM card and privately owned APN network at network side GGSN network element, the equipment only inserting special SIM card could access special APN network.The equipment that disabled user holds common SIM cards cannot log in privately owned APN network.On the other hand, mobile phone caller number generates at switch, encrypts, the more difficult forgery cell-phone number of disabled user.So not only convenient communication and also fail safe high, for the use of user provides reliable guarantee.
The specific embodiment of the embodiment of the present invention is exemplified below.
Citing: the concrete steps logging in privately owned APN network are as follows.
Step 1, client, to the privately owned APN Network of mobile application, moves as client distributes special privately owned APN network.SIM card for APN private network only opens this special APN network, and restriction uses other APN networks;
Step 2, the equipment inserting special SIM card (preserving the APN network information) sends APN logging request, and request comprises APN access points title, account title and password;
Step 3, according to the APN access points title in request, SGSN sends inquiry request to dns server, finds the GGSN be connected with enterprise server platform, and gives GGSN by user's request by GTP tunnel encapsulation;
Step 4, user authentication information (comprising phone number, account title, password etc.) is delivered to Radius by special line and is carried out certification by GGSN;
Step 5, after Radius certification is passed through, is sent the confirmation of carrying fixing IP address of internal network to GGSN by Radius;
Step 6, equipment conducts interviews to the information inquiry of APN private network system and service process platform.
In the apparatus control method of another embodiment of the present invention, described Control Server gets the access control request of described client transmission by GRE router, and is forwarded to described target controlled plant.
Above-mentioned GRE refers to Generic Routing Encapsulation, by tunnel, communication is transferred to from a dedicated network agreement that another dedicated network commonly uses in network.GRE router refers to the router supporting gre tunneling agreement, and Control Server uses GRE router access special line APN network.On the other hand, configuring GRE router, for server mappings one fixes public network IP address, is user-friendly to the service that multiple client uses Control Server to provide by this fixing public network IP address.
In the apparatus control method of further embodiment of this invention, the concrete steps of step 13 comprise: after described multiple controlled plant logs in described privately owned APN network by described GGSN, according to the IP allocation table of the privately owned APN private network IP address that mark and described multiple controlled plant distribution of described multiple controlled plant are fixed, and after the described access control request receiving described client at the public network address of described Control Server, set up described client and each self-corresponding communication link of described target controlled plant respectively.
The concrete implementation example of the embodiment of the present invention is as follows.
As shown in Figure 2, carry out the data exchange process of Remote Device Control based on " Opposite direction connection " and privately owned APN network, be specifically described as follows alternately:
Step 1, privately owned APN network is applied for operator, special privately owned APN network card operator provided loads DTU module and (has arranged the information of privately owned APN network, account title and password), all DTU module and Control Server access privately owned APN network by certification, and be operated in " server " pattern, wait for that Control Server initiates to connect.
Step 2, is kept at the corresponding relation of equipment with the IP address of the controlled plant of corresponding DTU module in the database of Control Server.
Step 3, user is controlled by public network IP address initiating equipment in client.
Step 4, the equipment received is controlled request forward to Control Server by GRE router.
Step 5, Control Server obtains Intranet fixed ip address corresponding to the equipment of user's Request Control from database.
Step 6, the Intranet fixed ip address that Control Server obtains in step 5 initiates data connection request.
Step 7, the DTU module of equipment receives the request of Control Server, and data cube computation is successfully established.
Step 8, control command is encapsulated packing and sends to DTU module by Control Server.
Step 9, after DTU module receives control command, gives control module 24, finishing equipment control task by command analysis.
Step 10, control feedback information is sent to Control Server by DTU module.
Step 11, after Control Server receives feedback information, initiatively disconnects the data cube computation between DTU module.
Step 12, the feedback information that equipment controls is sent to client by Control Server, and shows user.
Accordingly, as shown in Fig. 3, Fig. 4 and Fig. 5, the embodiment of the present invention also provides a kind of apparatus control system, for Control Server and multiple controlled plant, wherein, described Control Server and described multiple controlled plant are in same privately owned APN network, and described apparatus control system comprises:
First acquisition module 21, for obtaining the access control request that client sends according to the public network address of described Control Server, carries target controlled plant mark and control action in wherein said access control request;
Second acquisition module 22, for according to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, obtain the IP address of described target controlled plant;
Communication building block 23, for setting up the communication link with described target controlled plant by the IP address of described target controlled plant and port numbers;
Control module 24, for utilizing the communication link sending controling instruction of foundation to described target controlled plant, and makes described target controlled plant perform described control command, to complete described control action according to described access control request;
Communication disconnects module 26, for disconnecting described communication link.
In the embodiment of the present invention, under Control Server and multiple controlled plant are in same privately owned APN network, when client needs control objectives controlled plant, access control request is sent by public network address, after Control Server gets access control request by the first acquisition module 21, then the second acquisition module 22 is by being connected the IP address obtaining target controlled plant with the DTU module being inserted with special SIM card, thus set up according to IP address communication the communication link that module 23 sets up target controlled plant and client, control module 24 utilizes the control command of this communication link, and control objectives is controlled completes control action, after completing control action, communication disconnects module 26 and disconnects communication link.Be in all controlled plants in privately owned APN network like this, distributed the private IP address of each self-retaining by the DTU module being inserted with special SIM card.Receive the access control request of client at Control Server after, by the IP address of target controlled plant obtained, Control Server is initiatively initiated with the connection of controlled plant, carries out transfer of data and complete the control to target controlled plant in privately owned APN network.When there is no transfer of data between Control Server and controlled plant, do not need to keep connecting; When a large amount of demand for control of appearance, or when controlled plant access amount is more, can effectively avoid because controlled plant is forever connected with Control Server, that brings expends system resource and the large problem of network traffics expense, save the spending of Control Server equipment, also save the flow spending of user, improve Consumer's Experience.
In the apparatus control system of another embodiment of the present invention, also comprise:
Message processing module 25, before disconnecting described communication link, receives described target controlled plant after the described control command of execution, the result that the described control command returned performs, and returns to described client.
Control Server obtain controlled plant execute the result of control command time, by message processing module 25, execution result is returned to client, facilitates user to check.
In the apparatus control system of another embodiment of the present invention, described second acquisition module comprises:
Authentication ' unit, for being sent the logging request of carrying and waiting to log in described privately owned APN network of network mark and described target controlled plant authentication information to core network packet-domain equipment important component part SGSN by described DTU, make described SGSN according to described in wait to log in described privately owned APN network of network information and domain name server (DNS) server interaction, after determining the gateway support node GGSN be connected with described Control Server, described target controlled plant authentication information is sent to described GGSN;
Processing unit, for the described privately owned APN private network IP address returned after receiving described GGSN target controlled plant according to described target controlled plant authentication information and general authentication and accounting agreement Radius server interaction certification.
In the apparatus control system of another embodiment of the present invention, described Control Server gets the access control request of described client transmission by GRE router, and is forwarded to described target controlled plant.
In the apparatus control system of another embodiment of the present invention, described communication building block 23 comprises: connection setup unit, for after described multiple controlled plant logs in described privately owned APN network by described GGSN, according to the IP allocation table of the described privately owned APN private network IP address that mark and the distribution of described controlled plant of described controlled plant are fixed, and after described client accessing Internet, the public network address of described Control Server receives control command, sets up described client and each self-corresponding communication link of described controlled plant respectively.
As shown in Figure 5, Control Server, by GRE router accessing Internet, is connected by mobile network and DTU module afterwards.DTU module by access via telephone line network, and can set up a privately owned APN network channel with the GRE router of specifying, and the internal address giving DTU module one fixing.It is different that the embodiment of the present invention and traditional equipment manager passive wait DTU module set up data cube computation, and Control Server initiatively sets up data cube computation by privately owned APN network channel and DTU.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. an apparatus control method, for Control Server and multiple controlled plant, is characterized in that, described Control Server and described multiple controlled plant are in same privately owned APN network, and described apparatus control method comprises:
Obtain the access control request that client sends according to the public network address of described Control Server, in wherein said access control request, carry target controlled plant mark and control action;
According to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, obtain the IP address of described target controlled plant;
By the described IP address of described target controlled plant and the communication link of port numbers foundation and described target controlled plant;
Utilize the described communication link sending controling instruction set up to described target controlled plant, and make described target controlled plant perform described control command, to complete described control action according to described access control request;
Disconnect described communication link.
2. apparatus control method according to claim 1, is characterized in that, also comprises:
Before disconnecting described communication link, receive described target controlled plant after the described control command of execution, the result that the described control command returned performs, and return to described client.
3. apparatus control method according to claim 1, it is characterized in that, according to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, the concrete steps obtaining the IP address of described target controlled plant perform following operation by the described target controlled plant in described multiple controlled plant:
Sent the logging request of carrying and waiting to log in described privately owned APN network of network mark and described target controlled plant authentication information to core network packet-domain equipment important component part SGSN by described DTU, make described SGSN according to described in wait to log in described privately owned APN network of network information and domain name server (DNS) server interaction, after determining the gateway support node GGSN be connected with described Control Server, described target controlled plant authentication information is sent to described GGSN;
The described privately owned APN private network IP address returned after receiving described GGSN target controlled plant according to described target controlled plant authentication information and general authentication and accounting agreement Radius server interaction certification.
4. apparatus control method according to claim 1, is characterized in that, described Control Server gets the access control request of described client transmission by GRE router, and is forwarded to described target controlled plant.
5. apparatus control method according to claim 1, it is characterized in that, comprised by the concrete steps of the described IP address of described target controlled plant and the communication link of port numbers foundation and described target controlled plant: after described multiple controlled plant logs in described privately owned APN network by described GGSN, according to the IP allocation table of the described privately owned APN private network IP address that mark and described multiple controlled plant distribution of described multiple controlled plant are fixed, and after the described access control request receiving described client at the public network address of described Control Server, set up described client and each self-corresponding communication link of described target controlled plant respectively.
6. an apparatus control system, for Control Server and multiple controlled plant, is characterized in that, described Control Server and described multiple controlled plant are in same privately owned APN network, and described apparatus control system comprises:
First acquisition module, for obtaining the access control request that client sends according to the public network address of described Control Server, carries target controlled plant mark and control action in wherein said access control request;
Second acquisition module, for according to described target controlled plant be inserted with special SIM card, and IP data and serial data are carried out changing and the data transmission unit DTU module being undertaken transmitting by wireless network is connected, obtain the IP address of described target controlled plant;
Communication building block, for setting up the communication link with described target controlled plant by the IP address of described target controlled plant and port numbers;
Control module, for utilizing the communication link sending controling instruction of foundation to described target controlled plant, and makes described target controlled plant perform described control command, to complete described control action according to described access control request;
Communication disconnects module, for disconnecting described communication link.
7. apparatus control system according to claim 6, is characterized in that, also comprises:
Message processing module, before disconnecting described communication link, receives described target controlled plant after the described control command of execution, the result that the described control command returned performs, and returns to described client.
8. apparatus control system according to claim 6, is characterized in that, described second acquisition module comprises:
Authentication ' unit, for being sent the logging request of carrying and waiting to log in described privately owned APN network of network mark and described target controlled plant authentication information to core network packet-domain equipment important component part SGSN by described DTU, make described SGSN according to described in wait to log in described privately owned APN network of network information and domain name server (DNS) server interaction, after determining the gateway support node GGSN be connected with described Control Server, described target controlled plant authentication information is sent to described GGSN;
Processing unit, for the described privately owned APN private network IP address returned after receiving described GGSN target controlled plant according to described target controlled plant authentication information and general authentication and accounting agreement Radius server interaction certification.
9. apparatus control system according to claim 6, is characterized in that, described Control Server gets the access control request of described client transmission by GRE router, and is forwarded to described target controlled plant.
10. apparatus control system according to claim 6, it is characterized in that, described communication building block comprises: connection setup unit, for after described multiple controlled plant logs in described privately owned APN network by described GGSN, according to the IP allocation table of the described privately owned APN private network IP address that mark and described multiple controlled plant distribution of described multiple controlled plant are fixed, and after the described access control request receiving described client at the public network address of described Control Server, set up described client and each self-corresponding communication link of described target controlled plant respectively.
CN201410156406.9A 2014-04-17 2014-04-17 A kind of apparatus control method and system Active CN105025044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410156406.9A CN105025044B (en) 2014-04-17 2014-04-17 A kind of apparatus control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410156406.9A CN105025044B (en) 2014-04-17 2014-04-17 A kind of apparatus control method and system

Publications (2)

Publication Number Publication Date
CN105025044A true CN105025044A (en) 2015-11-04
CN105025044B CN105025044B (en) 2019-08-20

Family

ID=54414747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410156406.9A Active CN105025044B (en) 2014-04-17 2014-04-17 A kind of apparatus control method and system

Country Status (1)

Country Link
CN (1) CN105025044B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335316A (en) * 2015-11-19 2016-02-17 常州大学怀德学院 Motor assembling line serial port server based on cloud computation
CN106850605A (en) * 2017-01-20 2017-06-13 北京云知声信息技术有限公司 A kind of data processing method and device
CN106878413A (en) * 2016-05-20 2017-06-20 蒋宇昕 Automotive service equipement NMS
CN107104929A (en) * 2016-02-23 2017-08-29 阿里巴巴集团控股有限公司 The methods, devices and systems of defending against network attacks
WO2017206602A1 (en) * 2016-05-30 2017-12-07 深圳市鼎盛智能科技有限公司 Data processing method and apparatus
CN108156149A (en) * 2017-12-21 2018-06-12 杭州海兴电力科技股份有限公司 Communication means and system based on Transmission Control Protocol
CN109274590A (en) * 2017-07-18 2019-01-25 合勤科技股份有限公司 The method for remote management and circuit of mobile broadband router
CN109413453A (en) * 2018-10-19 2019-03-01 广州酷狗计算机科技有限公司 Video broadcasting method, device, terminal and storage medium
US10277586B1 (en) * 2018-10-29 2019-04-30 Syniverse Technologies, Llc Mobile authentication with URL-redirect
CN110086782A (en) * 2019-03-29 2019-08-02 岭博科技(北京)有限公司 The method and electronic equipment of a kind of hotel's Internet of Things intelligent control system and intelligent control device
CN110771267A (en) * 2017-05-31 2020-02-07 欧司朗有限责任公司 Wireless data transmission between a communication terminal located in a predetermined area and a communication partner station
CN112416441A (en) * 2020-11-03 2021-02-26 西安领创电子科技有限公司 Equipment management method, device and system based on Internet of things
CN112653750A (en) * 2020-12-17 2021-04-13 深圳市飞思捷跃科技有限公司 High-concurrency high-availability Internet of things platform solution
CN113055411A (en) * 2019-12-26 2021-06-29 中移物联网有限公司 Control method of home networking system, server and electronic equipment
CN113810491A (en) * 2021-09-16 2021-12-17 深圳市芯中芯科技有限公司 Long connection method of NB-IOT communication terminal
CN114760195A (en) * 2020-12-29 2022-07-15 中国移动通信集团北京有限公司 Network access point configuration method, device, system, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594579A (en) * 2008-05-28 2009-12-02 上海亿动信息技术有限公司 A kind of information issuing control system that initiatively releases news by communication
CN102394892A (en) * 2011-11-22 2012-03-28 四川华体灯业有限公司 Communication system based on VxWorks
US8432799B1 (en) * 2004-11-11 2013-04-30 F5 Networks, Inc. Obtaining high availability using TCP proxy devices
CN103220311A (en) * 2012-01-20 2013-07-24 华为终端有限公司 Information sending method, device and system
CN103457985A (en) * 2012-11-23 2013-12-18 航天数联信息技术(深圳)有限公司 Method and system of dual-channel communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8432799B1 (en) * 2004-11-11 2013-04-30 F5 Networks, Inc. Obtaining high availability using TCP proxy devices
CN101594579A (en) * 2008-05-28 2009-12-02 上海亿动信息技术有限公司 A kind of information issuing control system that initiatively releases news by communication
CN102394892A (en) * 2011-11-22 2012-03-28 四川华体灯业有限公司 Communication system based on VxWorks
CN103220311A (en) * 2012-01-20 2013-07-24 华为终端有限公司 Information sending method, device and system
CN103457985A (en) * 2012-11-23 2013-12-18 航天数联信息技术(深圳)有限公司 Method and system of dual-channel communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李翠芳: "基于GPRS的无线远程监控系统的应用开发", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335316A (en) * 2015-11-19 2016-02-17 常州大学怀德学院 Motor assembling line serial port server based on cloud computation
CN107104929A (en) * 2016-02-23 2017-08-29 阿里巴巴集团控股有限公司 The methods, devices and systems of defending against network attacks
CN107104929B (en) * 2016-02-23 2021-03-09 阿里巴巴集团控股有限公司 Method, device and system for defending network attack
CN106878413A (en) * 2016-05-20 2017-06-20 蒋宇昕 Automotive service equipement NMS
CN106878413B (en) * 2016-05-20 2024-05-28 蒋宇昕 Network management system for automobile maintenance equipment
WO2017206602A1 (en) * 2016-05-30 2017-12-07 深圳市鼎盛智能科技有限公司 Data processing method and apparatus
CN106850605A (en) * 2017-01-20 2017-06-13 北京云知声信息技术有限公司 A kind of data processing method and device
CN110771267A (en) * 2017-05-31 2020-02-07 欧司朗有限责任公司 Wireless data transmission between a communication terminal located in a predetermined area and a communication partner station
CN109274590A (en) * 2017-07-18 2019-01-25 合勤科技股份有限公司 The method for remote management and circuit of mobile broadband router
CN108156149A (en) * 2017-12-21 2018-06-12 杭州海兴电力科技股份有限公司 Communication means and system based on Transmission Control Protocol
CN108156149B (en) * 2017-12-21 2021-02-23 杭州海兴电力科技股份有限公司 Communication method and system based on TCP protocol
CN109413453B (en) * 2018-10-19 2021-08-27 广州酷狗计算机科技有限公司 Video playing method, device, terminal and storage medium
CN109413453A (en) * 2018-10-19 2019-03-01 广州酷狗计算机科技有限公司 Video broadcasting method, device, terminal and storage medium
US10277586B1 (en) * 2018-10-29 2019-04-30 Syniverse Technologies, Llc Mobile authentication with URL-redirect
CN110086782A (en) * 2019-03-29 2019-08-02 岭博科技(北京)有限公司 The method and electronic equipment of a kind of hotel's Internet of Things intelligent control system and intelligent control device
CN110086782B (en) * 2019-03-29 2022-04-15 岭博科技(北京)有限公司 Hotel Internet of things intelligent control system, intelligent control equipment method and electronic equipment
CN113055411A (en) * 2019-12-26 2021-06-29 中移物联网有限公司 Control method of home networking system, server and electronic equipment
CN112416441A (en) * 2020-11-03 2021-02-26 西安领创电子科技有限公司 Equipment management method, device and system based on Internet of things
CN112653750A (en) * 2020-12-17 2021-04-13 深圳市飞思捷跃科技有限公司 High-concurrency high-availability Internet of things platform solution
CN114760195A (en) * 2020-12-29 2022-07-15 中国移动通信集团北京有限公司 Network access point configuration method, device, system, equipment and medium
CN113810491A (en) * 2021-09-16 2021-12-17 深圳市芯中芯科技有限公司 Long connection method of NB-IOT communication terminal

Also Published As

Publication number Publication date
CN105025044B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN105025044A (en) Device control method and device control system
CN105637805B (en) Enhance mobile alternate channel to solve the node failure in wired networks
CN104113879B (en) It is deployed with cloud AC WiFi communication system and communication means
CN103095654B (en) Virtual local area network (VLAN) configuration method, wireless access point and network control point
CN103685026A (en) Virtual network access method and system
CN103873449B (en) Method for network access and system
RU2012140411A (en) SYSTEM AND METHOD OF COMMUNICATION IN COMMUNICATION SYSTEMS WITH RELAY COMPONENTS
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
CN107241454B (en) A kind of method, apparatus that realizing address administration, aaa server and SDN controller
CN105119787B (en) A kind of public internet access system and method based on software definition
CN105306612A (en) Method for acquiring identifier of terminal in network and management network element
CN104468291A (en) WiFi module communication method and device
CN103166909B (en) The cut-in method of a kind of Virtual Networking System, device and system
CN106302839A (en) The distribution method of internet protocol address and device
CN106604119A (en) Network penetrating method and system of intelligent TV private cloud equipment
JP2003110596A (en) Data communication service providing method
CN106464672B (en) The bis- stack subscribers of IPoE that residential gateway for bridge joint configures
CN106789263B (en) System for realizing IPv4 and IPv6 dual-stack flow unified bandwidth control based on SNMP
CN1319336C (en) Method for building special analog network
CN102983988B (en) A kind of proxy for equipment device and network administration apparatus
CN101951380B (en) Access control method and device used therein in dual-stack lite network
CN102724333A (en) Method, device and system for setting up IPv6 (internet protocol version 6) rapid deployment tunnel
CN100407721C (en) Method for network server to support multiple examples based on two layre tunnel protocol
CN108234165A (en) A kind of method and apparatus that gateway is configured
KR100598336B1 (en) Internet VPN service provisioning method using service 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