CN110430276A - Communication control method, device, communication control unit and storage medium based on docker - Google Patents

Communication control method, device, communication control unit and storage medium based on docker Download PDF

Info

Publication number
CN110430276A
CN110430276A CN201910740323.7A CN201910740323A CN110430276A CN 110430276 A CN110430276 A CN 110430276A CN 201910740323 A CN201910740323 A CN 201910740323A CN 110430276 A CN110430276 A CN 110430276A
Authority
CN
China
Prior art keywords
docker container
docker
acquisition equipment
communication
container
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
CN201910740323.7A
Other languages
Chinese (zh)
Other versions
CN110430276B (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 Southern Power Grid Digital Platform Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN201910740323.7A priority Critical patent/CN110430276B/en
Publication of CN110430276A publication Critical patent/CN110430276A/en
Application granted granted Critical
Publication of CN110430276B publication Critical patent/CN110430276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

This application involves a kind of communication control methods based on docker, device, communication control unit and storage medium, wherein method acquires the access connection request of equipment by receiving, corresponding docker container is distributed for acquisition equipment, and obtain the network configuration information of docker container, docker container is established according to the network configuration information of docker container and acquires the communication connection relationship of equipment, so that acquisition equipment passes through corresponding docker container and target master station communication, since docker container has sandbox mechanism, any interface is not had between each other, and almost without performance cost, therefore, pass through the one-to-one correspondence of docker container and acquisition equipment, it can effectively solve the problem that the Single Point of Faliure of the communication equipment of front end processor in traditional technology and cause system paralysed The problem of paralysis, and realize the load balancing of system.

Description

Communication control method, device, communication control unit and storage medium based on docker
Technical field
This application involves fields of communication technology, more particularly to a kind of communication control for being based on docker (application container engine) Method, apparatus, communication control unit and storage medium processed.
Background technique
Front end processor is generally present between foreground client and background server, plays the part of the role of adapter, it may be assumed that in difference Communication protocol, mutually convert between data format or language.In addition, front end processor also plays management and scheduling foreground client institute The transaction of initiation acts on, and by the scheduling of front end processor, can mitigate the burden of background server.And front end processor is also in client Play a part of firewall between background server, so as to play the function of hiding background server, to a certain extent Ensure the safety of background server.
But a current front end processor often corresponds to many communication equipments, but cannot completely solely between communication equipment Vertical work, the communication failure of link or the failure of front-end processor system, will cause other communication equipments also can not be just Often work, leads to systemic breakdown.
Summary of the invention
Based on this, it is necessary to the technical issues of leading to systemic breakdown for above-mentioned single-point link failure, provide one kind and be based on Communication control method, device, communication control unit and the storage medium of docker.
To achieve the goals above, on the one hand, the embodiment of the present application provides a kind of communication control side based on docker Method, which comprises
Receive the access connection request of acquisition equipment, wherein access connection request includes target main website and acquisition equipment Facility information;
Facility information according to acquisition equipment is that acquisition equipment distributes corresponding docker container, obtains docker container Network configuration information;
Docker container is established according to the network configuration information of docker container and acquires the communication connection relationship of equipment, with Acquisition equipment is set to pass through corresponding docker container and target master station communication.
The network configuration information of docker container includes the IP address of docker container in one of the embodiments,;Then Docker container is established according to the network configuration information of docker container and acquires the communication connection relationship of equipment, comprising: according to The IP address of docker container establishes information transfer channel and encrypted transmission channel respectively, wherein information transfer channel is for adopting Collect the transmission that data and control instruction are carried out between equipment and target main website, encrypted transmission channel is for acquiring equipment and docker Data are transmitted between container by the way of coded communication.
Information transfer channel includes data transmission channel and control instruction transmission channel, number in one of the embodiments, According to transmission channel for acquiring equipment to target main website reported data;Control instruction transmission channel is set for target main website to acquisition Preparation send control instruction.
Encrypted transmission channel includes that the first encrypted transmission channel and the second encrypted transmission are logical in one of the embodiments, Road, the first encrypted transmission channel is for acquiring equipment by the way of coded communication to docker container transport data;Second adds Close transmission channel is for docker container to acquisition equipment transmission data by the way of coded communication.
Docker container is established according to the network configuration information of docker container in one of the embodiments, to set with acquisition After standby communication connection relationship, further includes: the operating status of monitoring docker container;When monitor docker container occur therefore When barrier, new docker container is generated according to the network configuration information of docker container;Establish new docker container and acquisition The communication connection relationship of equipment, so that acquisition equipment passes through new docker container and target master station communication.
On the other hand, the embodiment of the present application also provides a kind of communication control unit based on docker, which includes:
Request receiving module is that access connection request includes wait visit for receiving the access connection request of acquisition equipment It asks target main website and acquires the facility information of equipment;
Docker container allocation module, for being that acquisition equipment distribution is corresponding according to the facility information of acquisition equipment Docker container obtains the network configuration information of docker container;
Module is established in communication connection, for establishing docker container and acquisition according to the network configuration information of docker container The communication connection relationship of equipment, so that acquisition equipment passes through corresponding docker container and target master station communication.
The network configuration information of docker container includes the IP address of docker container in one of the embodiments,;Then Communication connection establishes module and is specifically used for establishing information transfer channel and encrypted transmission respectively according to the IP address of docker container Channel, wherein information transfer channel is used to acquire the transmission that data and control instruction are carried out between equipment and target main website, encryption Transmission channel transmits data between equipment and docker container for acquiring by the way of coded communication.
Above-mentioned apparatus further includes monitoring modular in one of the embodiments, for monitoring the operation shape of docker container State generates new docker according to the network configuration information of docker container and holds when monitoring that docker container breaks down Device;Then communication connection is established module and is also used to, and the communication connection relationship of new docker container and acquisition equipment is established, so as to adopt Collect equipment and passes through new docker container and target master station communication.
Another aspect, it is described the embodiment of the present application also provides a kind of communication control unit, including memory and processor The step of memory is stored with computer program, and the processor realizes method as described above when executing the computer program.
In another aspect, being stored thereon with computer the embodiment of the present application also provides a kind of computer readable storage medium The step of program, the computer program realizes method as described above when being executed by processor.
The above-mentioned communication control method based on docker, device, communication control unit and storage medium are acquired by receiving The access connection request of equipment distributes corresponding docker container for acquisition equipment, and obtains the network configuration of docker container Information establishes docker container according to the network configuration information of docker container and acquires the communication connection relationship of equipment, so that Equipment is acquired by corresponding docker container and target master station communication, since docker container is with sandbox mechanism, it is mutual it Between do not have any interface, and almost without performance cost, therefore, by the one-to-one correspondence of docker container and acquisition equipment, The problem of can effectively solve the problem that the Single Point of Faliure of the communication equipment of front end processor in traditional technology and leading to systemic breakdown, and realize The load balancing of system.
Detailed description of the invention
Fig. 1 is the applied environment figure of the communication control method based on docker in one embodiment;
Fig. 2 is the flow diagram of the communication control method based on docker in one embodiment;
Fig. 3 is the flow diagram of the communication control method based on docker in another embodiment;;
Fig. 4 is the structural block diagram of the communication control unit based on docker in one embodiment;
Fig. 5 is the structural block diagram of the communication control unit based on docker in another embodiment;
Fig. 6 is the internal structure chart of communication control unit in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Communication control method provided by the present application based on docker, can be applied in application environment as shown in Figure 1. Wherein, respectively acquisition equipment 102 is communicated by communication control unit 104 with main website 106, acquires equipment 102 and communication control Connection is established by network between equipment 104, communication control unit 104 can be deployed in the inside of main website 106, can also be independent Setting, and establish and communicate to connect with main website 106.Specifically, in the present embodiment, when communication control unit 104 receive it is a certain It is the acquisition equipment according to the facility information of the acquisition equipment 102 when acquiring access connection request of the equipment 102 to main website 106 The corresponding docker container of 102 distribution, and the network configuration information of docker container is obtained, and then according to the net of docker container Network configuration information establishes the communication connection relationship of docker container Yu the acquisition equipment 102 so that the acquisition equipment 102 by pair The docker container answered is communicated with target main website 106.
Wherein, acquisition equipment 102 can be, but not limited to be the various terminal devices for carrying out data acquisition, such as be distributed in power grid In distribution transformer terminals, low-voltage collecting meter reading acquisition terminal etc..Main website 106 can be formed with the either multiple servers of independent server Server cluster realize.Communication control unit 104 then can be the computer for being deployed with docker (application container engine) Equipment.
In one embodiment, as shown in Fig. 2, providing a kind of communication control method based on docker, in this way Applied to being illustrated for the communication control unit in Fig. 1, method includes the following steps:
Step 202, the access connection request of acquisition equipment is received.
Specifically, since front-end collection equipment is communicated with main website by communication control unit, front-end collection is set It is standby communicated with main website before, need elder generation and communication control unit establish connection, i.e., send access connection to communication control unit Request, wherein access connection request includes the facility information of target main website and acquisition equipment.Specifically, the equipment of acquisition equipment Information can be acquisition equipment address information, such as acquire equipment IP address (Internet Protocol Address, mutually Networking protocol address), MAC (Media Access Control, medium access control) address etc..
Step 204, it is that acquisition equipment distributes corresponding docker container according to the facility information of acquisition equipment, obtains The network configuration information of docker container.
Due to being deployed with docker i.e. application container engine in communication control unit, communication control unit receives After the access connection request for acquiring equipment, communication control unit is then according to the facility information for acquiring equipment in access connection request It acquires equipment and distributes corresponding docker container.And obtain the network configuration information of docker container, wherein network configuration information May include but it is unlimited be docker container IP address.
Step 206, docker container is established according to the network configuration information of docker container and acquires the communication link of equipment Connect relationship.
In the present embodiment, communication control unit is according to the IP of the network configuration information such as docker container of docker container Address establishes docker container and acquires the communication connection relationship of equipment, i.e., is realized by the network configuration information of docker container The one-to-one correspondence of docker container and acquisition equipment, so that acquisition equipment passes through corresponding docker container and target main website Communication.
The above-mentioned communication control method based on docker is set by receiving the access connection request of acquisition equipment for acquisition Back-up matches corresponding docker container, and obtains the network configuration information of docker container, is matched according to the network of docker container Confidence breath establishes docker container and acquires the communication connection relationship of equipment, so that acquisition equipment passes through corresponding docker container Any interface is not had, and between each other almost without property since docker container has sandbox mechanism with target master station communication Therefore energy expense by the one-to-one correspondence of docker container and acquisition equipment, can effectively solve the problem that front end processor in traditional technology The Single Point of Faliure of communication equipment and the problem of lead to systemic breakdown, and realize the load balancing of system.
In one embodiment, the network configuration information of docker container includes the IP address of docker container, then basis The network configuration information of docker container establishes docker container and acquires the communication connection relationship of equipment, can specifically include: Routing policy is generated according to the IP address or MAC Address of the IP address of docker container and acquisition equipment, is passed to establish communication Defeated channel.Wherein, communication transmission passage includes information transfer channel and encrypted transmission channel.Specifically, information transfer channel is used In acquisition equipment and target main website between carry out data and control instruction transmission, encrypted transmission channel for acquire equipment with Data are transmitted by the way of coded communication between docker container.The present embodiment is a pair of in docker container and acquisition equipment one On the basis of answering, by establishing multiple communication transmission passages, to realize the data that can transmit various businesses type needs, mention The high compatibility of system.
In one embodiment, information transfer channel can also include data transmission channel and control instruction transmission channel, Wherein, data transmission channel is for acquiring equipment to target main website reported data, such as log or record data.Control instruction passes Defeated channel sends control instruction to acquisition equipment for target main website, such as down distributing configuration data, response data format, operating status The control instructions such as monitoring, to realize the control function to acquisition equipment.
Encrypted transmission channel then may include the first encrypted transmission channel and the second encrypted transmission channel, specifically, working as net When network communication is insincere, acquisition equipment can pass through the first encrypted transmission channel to docker container by the way of coded communication Transmit data;Docker container can then be transmitted by the second encrypted transmission channel to acquisition equipment by the way of coded communication Data, to guarantee the safety of transmission information.The present embodiment transmits needs by establishing different communication transmission passages Data improve the efficiency of data transmission to realize the concurrency of data transmission to a certain extent.
In one embodiment, as shown in figure 3, according to the network configuration information of docker container establish docker container with After the communication connection relationship for acquiring equipment, the above method can also include the following steps:
Step 302, the operating status of docker container is monitored.
Wherein, the operating status of docker container includes whether docker container itself has response or corresponding each communication Whether transmission channel has response.In the present embodiment, when communication control unit establishes docker container and acquires the logical of equipment After believing connection relationship, the operating status of docker container can also be monitored.
Step 304, it when monitoring that docker container breaks down, is generated according to the network configuration information of docker container New docker container.
In the present embodiment, when docker container does not respond to itself, then it represents that docker container breaks down, because This, can generate new docker container according to the network configuration information of the docker container of failure, i.e. duplication failure The network configuration information of docker container is to re-establish corresponding new docker container, thus with new docker container generation For failure docker container.
Step 306, the communication connection relationship of new docker container and acquisition equipment is established.
Specifically, for the acquisition equipment of communication connection relationship is established with failure docker container, establish its with it is new Communication connection relationship between docker container, so that the acquisition equipment can pass through new docker container and target master It stands communication.Wherein, the establishment process for communicating to connect relationship can refer to above-described embodiment, and details are not described herein again.
It should be understood that although each step in the flow chart of Fig. 1-3 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 1-3 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 4, providing a kind of communication control unit based on docker, comprising: request Module 403 is established in receiving module 401, docker container allocation module 402 and communication connection, in which:
Request receiving module 401, for receiving the access connection request of acquisition equipment, wherein accessing connection request includes The facility information of target main website to be visited and acquisition equipment;
Docker container allocation module 402, for being that acquisition equipment distribution is corresponding according to the facility information of acquisition equipment Docker container obtains the network configuration information of docker container;
Communication connection establish module 403, for according to the network configuration information of docker container establish docker container with The communication connection relationship of equipment is acquired, so that acquisition equipment passes through corresponding docker container and target master station communication.
In one embodiment, as shown in figure 5, further including monitoring modular 404, for monitoring the operation shape of docker container State generates new docker according to the network configuration information of docker container and holds when monitoring that docker container breaks down Device;Then communication connection is established module 403 and is also used to, and establishes the communication connection relationship of new docker container and acquisition equipment, with Acquisition equipment is set to pass through new docker container and target master station communication.
In one embodiment, the network configuration information of docker container includes the IP address of docker container;Then communicate Connection establishment module 403 is specifically used for establishing information transfer channel respectively according to the IP address of docker container and encrypted transmission is logical Road, wherein information transfer channel is used to acquire the transmission that data and control instruction are carried out between equipment and target main website, and encryption passes Data are transmitted by the way of coded communication between equipment and docker container for acquiring in defeated channel.
In one embodiment, information transfer channel includes data transmission channel and control instruction transmission channel, wherein number According to transmission channel for acquiring equipment to target main website reported data;Control instruction transmission channel is set for target main website to acquisition Preparation send control instruction.Encrypted transmission channel includes the first encrypted transmission channel and the second encrypted transmission channel, wherein first adds Close transmission channel is for acquiring equipment by the way of coded communication to docker container transport data;Second encrypted transmission channel For docker container to acquisition equipment transmission data by the way of coded communication.
Specific restriction about the communication control unit based on docker may refer to above for based on docker's The restriction of communication control method, details are not described herein.Modules in the above-mentioned communication control unit based on docker can be complete Portion or part are realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of calculating In processor in machine equipment, it can also be stored in a software form in the memory in computer equipment, in order to processor It calls and executes the corresponding operation of the above modules.
In one embodiment, a kind of communication control unit is provided, which, which can be, is deployed with The computer equipment of docker application container engine, internal structure chart can be as shown in Figure 6.The communication control unit includes logical Cross processor, memory, network interface and the docker application container engine of system bus connection.Wherein, the communication equipment Processor is for providing calculating and control ability.The memory of the communication control unit includes non-volatile memory medium, memory Reservoir.The non-volatile memory medium is stored with operating system, computer program and docker application container engine.The interior storage Device provides environment for the operation of operating system and computer program in non-volatile memory medium.The net of the communication control unit Network interface is used to communicate with external acquisition equipment and main website by network connection.When the computer program is executed by processor with Realize a kind of communication control method based on docker.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the communication control unit being applied thereon to application scheme, specific communication control Equipment may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure It sets.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Receive the access connection request of acquisition equipment, wherein access connection request includes target main website and acquisition equipment Facility information;
Facility information according to acquisition equipment is that acquisition equipment distributes corresponding docker container, obtains docker container Network configuration information;
Docker container is established according to the network configuration information of docker container and acquires the communication connection relationship of equipment, with Acquisition equipment is set to pass through corresponding docker container and target master station communication.
In one embodiment, the network configuration information of docker container includes the IP address of docker container;Then basis The network configuration information of docker container establishes docker container and acquires the communication connection relationship of equipment, comprising: according to The IP address of docker container establishes information transfer channel and encrypted transmission channel respectively, wherein information transfer channel is for adopting Collect the transmission that data and control instruction are carried out between equipment and target main website, encrypted transmission channel is for acquiring equipment and docker Data are transmitted between container by the way of coded communication.
In one embodiment, information transfer channel includes data transmission channel and control instruction transmission channel, and data pass Defeated channel is for acquiring equipment to target main website reported data;Control instruction transmission channel is sent out for target main website to acquisition equipment Send control instruction.
In one embodiment, encrypted transmission channel includes the first encrypted transmission channel and the second encrypted transmission channel, the One encrypted transmission channel is for acquiring equipment by the way of coded communication to docker container transport data;Second encrypted transmission Channel is for docker container to acquisition equipment transmission data by the way of coded communication.
In one embodiment, docker container is established according to the network configuration information of docker container and acquires equipment After communication connection relationship, further includes: the operating status of monitoring docker container;When monitor docker container break down When, new docker container is generated according to the network configuration information of docker container;New docker container is established to set with acquisition Standby communication connection relationship, so that acquisition equipment passes through new docker container and target master station communication.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Receive the access connection request of acquisition equipment, wherein access connection request includes target main website and acquisition equipment Facility information;
Facility information according to acquisition equipment is that acquisition equipment distributes corresponding docker container, obtains docker container Network configuration information;
Docker container is established according to the network configuration information of docker container and acquires the communication connection relationship of equipment, with Acquisition equipment is set to pass through corresponding docker container and target master station communication.
In one embodiment, the network configuration information of docker container includes the IP address of docker container;Then basis The network configuration information of docker container establishes docker container and acquires the communication connection relationship of equipment, comprising: according to The IP address of docker container establishes information transfer channel and encrypted transmission channel respectively, wherein information transfer channel is for adopting Collect the transmission that data and control instruction are carried out between equipment and target main website, encrypted transmission channel is for acquiring equipment and docker Data are transmitted between container by the way of coded communication.
In one embodiment, information transfer channel includes data transmission channel and control instruction transmission channel, and data pass Defeated channel is for acquiring equipment to target main website reported data;Control instruction transmission channel is sent out for target main website to acquisition equipment Send control instruction.
In one embodiment, encrypted transmission channel includes the first encrypted transmission channel and the second encrypted transmission channel, the One encrypted transmission channel is for acquiring equipment by the way of coded communication to docker container transport data;Second encrypted transmission Channel is for docker container to acquisition equipment transmission data by the way of coded communication.
In one embodiment, docker container is established according to the network configuration information of docker container and acquires equipment After communication connection relationship, further includes: the operating status of monitoring docker container;When monitor docker container break down When, new docker container is generated according to the network configuration information of docker container;New docker container is established to set with acquisition Standby communication connection relationship, so that acquisition equipment passes through new docker container and target master station communication.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of communication control method based on docker, which is characterized in that the described method includes:
The access connection request of acquisition equipment is received, the access connection request includes that target main website and the acquisition equipment are set Standby information;
Facility information according to the acquisition equipment is the corresponding docker container of acquisition equipment distribution, described in acquisition The network configuration information of docker container;
The communication link of the docker container and the acquisition equipment is established according to the network configuration information of the docker container Relationship is connect, so that the acquisition equipment passes through corresponding docker container and the target master station communication.
2. the communication control method according to claim 1 based on docker, which is characterized in that the docker container Network configuration information includes the IP address of docker container;The network configuration information according to the docker container establishes institute State the communication connection relationship of docker container and the acquisition equipment, comprising:
Information transfer channel and encrypted transmission channel, the information transmission are established respectively according to the IP address of the docker container For carrying out the transmission of data and control instruction between the acquisition equipment and the target main website, the encrypted transmission is logical in channel Road by the way of coded communication for transmitting data between the acquisition equipment and the docker container.
3. the communication control method according to claim 2 based on docker, which is characterized in that the information transfer channel Including data transmission channel and control instruction transmission channel, the data transmission channel is used for the acquisition equipment to the target Main website reported data;The control instruction transmission channel sends control instruction to the acquisition equipment for the target main website.
4. the communication control method according to claim 2 based on docker, which is characterized in that the encrypted transmission channel Including the first encrypted transmission channel and the second encrypted transmission channel, first encrypted transmission channel is adopted for the acquisition equipment With the mode of coded communication to the docker container transport data;Second encrypted transmission channel holds for the docker Device is by the way of coded communication to the acquisition equipment transmission data.
5. the communication control method according to any one of claims 1 to 4 based on docker, which is characterized in that described The communication connection relationship of the docker container and the acquisition equipment is established according to the network configuration information of the docker container Later, further includes:
Monitor the operating status of the docker container;
When monitoring that the docker container breaks down, generated newly according to the network configuration information of the docker container Docker container;
The communication connection relationship for establishing the new docker container and the acquisition equipment, so that the acquisition equipment passes through institute State new docker container and the target master station communication.
6. a kind of communication control unit based on docker, which is characterized in that described device includes:
Request receiving module, for receiving the access connection request of acquisition equipment, the access connection request includes mesh to be visited Mark the facility information of main website and the acquisition equipment;
Docker container allocation module, for being that acquisition equipment distribution is corresponding according to the facility information of the acquisition equipment Docker container obtains the network configuration information of the docker container;
Communication connection establish module, for according to the network configuration information of the docker container establish the docker container with The communication connection relationship of the acquisition equipment, so that the acquisition equipment passes through corresponding docker container and the target main website Communication.
7. the communication control unit according to claim 6 based on docker, which is characterized in that the docker container Network configuration information includes the IP address of docker container;The communication connection is established module and is specifically used for according to the docker The IP address of container establishes information transfer channel and encrypted transmission channel respectively, and the information transfer channel is set for the acquisition The standby transmission that data and control instruction are carried out between the target main website, the encrypted transmission channel are used for the acquisition equipment Data are transmitted by the way of coded communication between the docker container.
8. the communication control unit according to claim 6 based on docker, which is characterized in that described device further includes prison Module is surveyed, for monitoring the operating status of the docker container, when monitoring that the docker container breaks down, according to The network configuration information of the docker container generates new docker container;The communication connection is established module and is also used to, and builds Found the communication connection relationship of the new docker container and the acquisition equipment so that the acquisition equipment pass through it is described new Docker container and the target master station communication.
9. a kind of communication control unit, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of any one of claims 1 to 7 the method is realized when being executed by processor.
CN201910740323.7A 2019-08-12 2019-08-12 Communication control method and device based on docker, communication control equipment and storage medium Active CN110430276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910740323.7A CN110430276B (en) 2019-08-12 2019-08-12 Communication control method and device based on docker, communication control equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910740323.7A CN110430276B (en) 2019-08-12 2019-08-12 Communication control method and device based on docker, communication control equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110430276A true CN110430276A (en) 2019-11-08
CN110430276B CN110430276B (en) 2020-06-23

Family

ID=68414170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910740323.7A Active CN110430276B (en) 2019-08-12 2019-08-12 Communication control method and device based on docker, communication control equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110430276B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943914A (en) * 2019-11-28 2020-03-31 中国南方电网有限责任公司 Intelligent gateway of power distribution room and control method
CN113489770A (en) * 2021-06-30 2021-10-08 深圳壹账通智能科技有限公司 Inter-container communication method, electronic device, and computer-readable storage medium
CN114257611A (en) * 2021-11-19 2022-03-29 南方电网数字电网研究院有限公司 Data interaction method, device, equipment and medium based on front-end processor containerization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302046A (en) * 2016-08-15 2017-01-04 中国联合网络通信集团有限公司 Control method for remote controller and device
JP2017111761A (en) * 2015-12-18 2017-06-22 エヌ・ティ・ティ・コミュニケーションズ株式会社 Container storage device, container creation method and program
CN107734037A (en) * 2017-10-19 2018-02-23 郑州云海信息技术有限公司 A kind of NAS clusters and data access method
CN109922106A (en) * 2017-12-13 2019-06-21 中标软件有限公司 The cloud cell phone system realized based on Docker container

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017111761A (en) * 2015-12-18 2017-06-22 エヌ・ティ・ティ・コミュニケーションズ株式会社 Container storage device, container creation method and program
CN106302046A (en) * 2016-08-15 2017-01-04 中国联合网络通信集团有限公司 Control method for remote controller and device
CN107734037A (en) * 2017-10-19 2018-02-23 郑州云海信息技术有限公司 A kind of NAS clusters and data access method
CN109922106A (en) * 2017-12-13 2019-06-21 中标软件有限公司 The cloud cell phone system realized based on Docker container

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943914A (en) * 2019-11-28 2020-03-31 中国南方电网有限责任公司 Intelligent gateway of power distribution room and control method
CN110943914B (en) * 2019-11-28 2022-01-21 中国南方电网有限责任公司 Intelligent gateway of power distribution room and control method
CN113489770A (en) * 2021-06-30 2021-10-08 深圳壹账通智能科技有限公司 Inter-container communication method, electronic device, and computer-readable storage medium
CN113489770B (en) * 2021-06-30 2022-08-19 深圳壹账通智能科技有限公司 Inter-container communication method, electronic device, and computer-readable storage medium
CN114257611A (en) * 2021-11-19 2022-03-29 南方电网数字电网研究院有限公司 Data interaction method, device, equipment and medium based on front-end processor containerization

Also Published As

Publication number Publication date
CN110430276B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN109525990A (en) It is wireless to throw screen method, apparatus, computer equipment and storage medium
CN110430276A (en) Communication control method, device, communication control unit and storage medium based on docker
CN101478493B (en) Method and device for NAT through communication
CN101141420B (en) Method and system for performing data communication between private network and public network
CN113285926B (en) Honey pot trapping method and device for power monitoring system and computer equipment
CN110099104A (en) Document transmission method, system and storage medium
CN108833521A (en) Information push method, device, system, computer equipment and storage medium
CN108965380A (en) Service request processing method, device, computer equipment and storage medium
CN107800603B (en) Intranet user accesses the method and storage medium of headend equipment based on VPN
CN110677383B (en) Firewall wall opening method and device, storage medium and computer equipment
CN110995956B (en) Image transmission method and device based on LoRa, computer equipment and storage medium
CN101136929B (en) Internet small computer system interface data transmission method and apparatus
CN105162787A (en) Method and apparatus of external network terminal for accessing manufacture device or internal network terminal
CN110166450A (en) Data transmission method, device and communication equipment based on Industrial Ethernet
CN105491169A (en) Data proxy method and system
CN113132170A (en) Data management method and system, associated subsystem and computer readable medium
CN111526223A (en) Management method of edge service server, service data processing method and device
CN104993979A (en) Network connection monitoring method, terminal equipment and communication system
CN115189920A (en) Cross-network domain communication method and related device
CN110855424B (en) Method and device for synthesizing asymmetric flow xDR in DPI field
CN110474814A (en) Electric power local area network method for diagnosing faults, device
CN113259626B (en) Camera video stream acquisition system and method
CN110381149A (en) Data distributing method, device and method of data synchronization, device
CN102983988A (en) Equipment agent device and network management device
CN105323128A (en) Method, device and system for connecting front-end device to server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240322

Address after: 518101, 3rd Floor, Building 40, Baotian Industrial Zone, Chentian Community, Xixiang Street, Bao'an District, Shenzhen City, Guangdong Province

Patentee after: China Southern Power Grid Digital Platform Technology (Guangdong) Co.,Ltd.

Country or region after: China

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: China

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.