[go: up one dir, main page]

CN107181720A - A kind of method and device of software definition networking SDN secure communications - Google Patents

A kind of method and device of software definition networking SDN secure communications Download PDF

Info

Publication number
CN107181720A
CN107181720A CN201610139226.9A CN201610139226A CN107181720A CN 107181720 A CN107181720 A CN 107181720A CN 201610139226 A CN201610139226 A CN 201610139226A CN 107181720 A CN107181720 A CN 107181720A
Authority
CN
China
Prior art keywords
user
request
network
sdn
detection result
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
CN201610139226.9A
Other languages
Chinese (zh)
Other versions
CN107181720B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610139226.9A priority Critical patent/CN107181720B/en
Priority to PCT/CN2017/074331 priority patent/WO2017152754A1/en
Publication of CN107181720A publication Critical patent/CN107181720A/en
Application granted granted Critical
Publication of CN107181720B publication Critical patent/CN107181720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种软件定义网路SDN安全通信的方法及装置,涉及信息安全技术领域,以解决现有技术的云安全服务提供商控制SDN计算与存储业务,存在极大的安全隐患的问题。其中软件定义网络SDN安全通信的方法,应用于第一SDN控制器,其中,所述的软件定义网络SDN安全通信的方法包括:获取来自用户端的用户请求;发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。

The present invention provides a method and device for SDN secure communication in a software-defined network, which relates to the field of information security technology, and solves the problem that cloud security service providers control SDN computing and storage services in the prior art, and there are great security risks. Wherein the method for secure communication of software-defined network SDN is applied to the first SDN controller, wherein the method for secure communication of software-defined network SDN includes: obtaining a user request from a client; sending the user request to a cloud server, and receiving a detection result returned by the cloud server for security detection of the user request; processing the detection result, generating a processing result, and sending the detection result and/or the processing result to the client.

Description

一种软件定义网路SDN安全通信的方法及装置A method and device for secure communication of software-defined network SDN

技术领域technical field

本发明涉及信息安全技术领域,特别是涉及一种软件定义网路SDN安全通信的方法及装置。The invention relates to the technical field of information security, in particular to a method and device for secure communication in a software-defined network (SDN).

背景技术Background technique

SDN(Software Defined Network,软件定义网络)是一种开放的网络架构,其核心技术OpenFlow通过将网络设备控制面与数据面分离开来,从而实现了网络流量的灵活控制。SDN (Software Defined Network) is an open network architecture, and its core technology OpenFlow realizes flexible control of network traffic by separating the control plane of network equipment from the data plane.

管理人员可以通过SDN网络查看网络所有区域及修改网络,通过查看及修改网络来及时改变规则,为系统带来更好的安全性。管理人员可以集中查看网络内部能力和快速限制能力,然后进行有效地更改。例如,在网络中出现恶意软件时,通过SDN和OpenFlow协议集中控制平面阻止这些流量,从而限制这种爆发,而不需要访问多个路由器或交换机。Managers can view all areas of the network and modify the network through the SDN network. By viewing and modifying the network, the rules can be changed in time to bring better security to the system. Managers can centrally view network internal capabilities and quickly limit capabilities, then make effective changes. For example, in the event of malware appearing in the network, the centralized control plane via SDN and OpenFlow protocols blocks this traffic, thereby limiting such outbreaks without requiring access to multiple routers or switches.

随着云计算的应用及发展,云安全服务也成为SDN的一种服务模式。云安全服务在性能、可扩展性、可用性、容错能力等方面更具有优势,但是云接入也存在一定的安全隐患。因此云安全服务提供商控制SDN计算与存储业务,存在极大的安全隐患。With the application and development of cloud computing, cloud security services have also become a service model of SDN. Cloud security services have more advantages in terms of performance, scalability, availability, and fault tolerance, but cloud access also has certain security risks. Therefore, cloud security service providers control SDN computing and storage services, and there are great security risks.

发明内容Contents of the invention

本发明实施例的目的在于提供一种软件定义网路SDN安全通信的方法及装置,以解决现有技术的云安全服务提供商控制SDN计算与存储业务,存在极大的安全隐患的问题。The purpose of the embodiments of the present invention is to provide a method and device for SDN secure communication in a software-defined network, so as to solve the problem that cloud security service providers control SDN computing and storage services in the prior art, and there are great security risks.

为了实现上述目的,本发明实施例提供一种软件定义网络SDN安全通信的方法,应用于第一SDN控制器,其中,所述的软件定义网络SDN安全通信的方法包括:In order to achieve the above object, an embodiment of the present invention provides a method for secure communication of a software-defined network SDN, which is applied to a first SDN controller, wherein the method for secure communication of a software-defined network SDN includes:

获取来自用户端的用户请求;Get the user request from the client;

发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;Sending the user request to a cloud server, and receiving a detection result returned by the cloud server for security detection of the user request;

对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。Processing the detection result, generating a processing result, and sending the detection result and/or the processing result to the client.

进一步的,所述用户端的用户请求包括:云用户的用户接入请求和/或具有终端应用的用户终端的至少一个第一网络授权请求,其中,所述至少一个第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。Further, the user request of the user terminal includes: a user access request of a cloud user and/or at least one first network authorization request of a user terminal with a terminal application, wherein the at least one first network authorization request includes: the The user name of the user terminal, the password corresponding to the user name, and the domain name where the user terminal is located.

进一步的,在用户端的用户请求为云用户的用户接入请求时,所述发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果,包括:Further, when the user request at the client end is a user access request of a cloud user, the sending the user request to the cloud server, and receiving the detection result returned by the cloud server for security detection of the user request includes :

检测所述云用户的用户接入请求为首次发送的用户接入请求时,转发所述用户接入请求至所述云服务器;When detecting that the user access request of the cloud user is the user access request sent for the first time, forwarding the user access request to the cloud server;

接收由所述云服务器针对所述用户接入请求进行安全检测返回的检测结果,其中,所述检测结果包括:由所述云服务器检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器的检测结果或接受访问所述第一SDN控制器的检测结果。receiving a detection result returned by the cloud server for security detection of the user access request, wherein the detection result includes: the cloud server detects the security of the user access request and generates an access deny The detection result of the first SDN controller or the detection result of accepting access to the first SDN controller.

进一步的,所述对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端,包括:Further, the processing the detection result, generating the processing result and sending the detection result and/or the processing result to the client includes:

对所述检测结果进行处理,产生一流表项记录;Processing the detection result to generate a first-class entry record;

发送所述检测结果及所述流表项记录至所述云用户,其中,所述流表项记录包括:与所述用户接入请求对应的状态字段。Sending the detection result and the flow entry record to the cloud user, wherein the flow entry record includes: a status field corresponding to the user access request.

其中,所述的软件定义网络SDN安全通信的方法还包括:Wherein, the method for secure communication of the software-defined network SDN also includes:

检测存在与所述云用户的用户接入请求对应的流表项记录,确定所述用户接入请求不为首次发送的用户接入请求;Detecting that there is a flow entry record corresponding to the user access request of the cloud user, and determining that the user access request is not a user access request sent for the first time;

针对所述云用户的用户接入请求返回给所述云用户的处理结果,其中,所述处理结果包括:通过所述流表项记录所述云用户的用户接入请求已经由所述云服务器检测安全并产生一接受访问所述第一SDN控制器的检测结果。A processing result returned to the cloud user for the user access request of the cloud user, wherein the processing result includes: recording through the flow entry that the user access request of the cloud user has been sent by the cloud server Detect security and generate a detection result that access to the first SDN controller is accepted.

进一步的,在用户端的用户请求为具有终端应用的用户终端的一个第一网络授权请求时,所述发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果,包括:Further, when the user request at the user end is a first network authorization request of a user terminal with a terminal application, the user request is sent to the cloud server, and the cloud server receives a security check for the user request. The returned test results include:

发送所述第一网络授权请求至所述云服务器;sending the first network authorization request to the cloud server;

接收由所述云服务器针对所述第一网络授权请求进行安全检测返回的检测结果,其中,所述检测结果包括:检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求。receiving a detection result returned by the cloud server for security detection of the first network authorization request, wherein the detection result includes: detecting whether there is a user related to the first network authorization request in the first SDN controller The second network authorization request with the same name, password and domain name.

进一步的,所述对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端,包括:Further, the processing the detection result, generating the processing result and sending the detection result and/or the processing result to the client includes:

在所述检测结果为所述第一SDN控制器不存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,根据所述第一网络授权请求,生成与所述第一网络授权请求唯一对应的第一令牌码;When the detection result is that the first SDN controller does not have a second network authorization request with the same username, password and domain name as the first network authorization request, according to the first network authorization request, generate a first token code uniquely corresponding to the first network authorization request;

验证所述第一网络授权请求中的所述用户名、所述密码及所述域名,并在验证通过时,生成携带有所述第一网络授权请求及所述第一令牌码的授权目标对象并发送所述授权目标对象至所述用户终端。verifying the user name, the password and the domain name in the first network authorization request, and generating an authorization object carrying the first network authorization request and the first token code when the verification is passed object and send the authorized target object to the user terminal.

进一步的,所述对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端,包括:Further, the processing the detection result, generating the processing result and sending the detection result and/or the processing result to the client includes:

在所述检测结果为所述第一SDN控制器存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,获取所述第二网络授权请求唯一对应的第二令牌码,生成携带有所述第一网络授权请求及所述第二令牌码的授权目标对象并发送所述授权目标对象至所述用户终端。When the detection result is that the first SDN controller has a second network authorization request that is the same as the user name, password, and domain name of the first network authorization request, obtain a uniquely corresponding to the second network authorization request a second token code, generating an authorization target object carrying the first network authorization request and the second token code, and sending the authorization target object to the user terminal.

进一步的,在用户端的用户请求为具有终端应用的用户终端的多个第一网络授权请求时,所述发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果,包括:Further, when the user request at the user end is a plurality of first network authorization requests of the user terminal with a terminal application, the sending the user request to the cloud server, and receiving the security request performed by the cloud server for the user request The detection results returned by the detection include:

分配每个第一网络授权请求对应的优先级;assigning a priority corresponding to each first network authorization request;

按照所述优先级发送所述第一网络授权请求至所述云服务器;sending the first network authorization request to the cloud server according to the priority;

按照所述优先级接收由所述云服务器针对所述第一网络授权请求进行安全检测返回的检测结果。receiving a detection result returned by the cloud server for security detection of the first network authorization request according to the priority.

其中,所述软件定义网络SDN安全通信还包括:Wherein, the software-defined network SDN secure communication also includes:

通过预定接口转换所述检测结果的数据格式与所述第一SDN控制器的数据格式相匹配。Converting the data format of the detection result through a predetermined interface to match the data format of the first SDN controller.

其中,所述的软件定义网络SDN安全通信的方法还包括:Wherein, the method for secure communication of the software-defined network SDN also includes:

建立所述第一SDN控制器与至少一个第二SDN控制器连接,其中,所述至少一个第二SDN控制器与所述第一SDN控制器处于不同域;establishing a connection between the first SDN controller and at least one second SDN controller, wherein the at least one second SDN controller is in a different domain from the first SDN controller;

获取来自至少一个所述第二SDN控制器所在域的用户端的用户请求。Obtaining a user request from a client in the domain where the at least one second SDN controller is located.

本发明实施例还提供一种软件定义网络SDN安全通信的方法,应用于云服务器,其中,所述的软件定义网络SDN安全通信的方法包括:The embodiment of the present invention also provides a method for secure communication of a software-defined network SDN, which is applied to a cloud server, wherein the method for secure communication of a software-defined network SDN includes:

接收来自第一SDN控制器转发的用户请求,其中,所述用户请求由用户端向所述第一SDN控制器发送的;receiving a user request forwarded from the first SDN controller, wherein the user request is sent by the client to the first SDN controller;

针对所述用户请求进行安全检测,产生检测结果;Carrying out security detection for the user request, and generating a detection result;

将所述检测结果发送至所述第一SDN控制器,由所述第一SDN控制器对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。sending the detection result to the first SDN controller, and the first SDN controller processes the detection result, generates a processing result, and sends the detection result and/or the processing result to the user terminal.

进一步的,在接收来自第一SDN控制器转发的用户请求,包括:Further, after receiving the user request forwarded from the first SDN controller, including:

接收来自第一SDN控制器转发的由云用户发送的用户接入请求。The user access request sent by the cloud user and forwarded from the first SDN controller is received.

进一步的,所述针对所述用户请求进行安全检测,产生检测结果,包括:Further, the security detection is performed on the user request, and a detection result is generated, including:

针对所述用户接入请求,检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器或接受访问所述第一SDN控制器。For the user access request, detect the security of the user access request and generate a deny access to the first SDN controller or accept access to the first SDN controller.

进一步的,所述接收来自第一SDN控制器转发的用户请求,包括:Further, the receiving the user request forwarded from the first SDN controller includes:

接收来自第一SDN控制器转发的由具有终端应用的用户终端发送的至少一个第一网络授权请求,其中,所述第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。receiving at least one first network authorization request sent by a user terminal with a terminal application forwarded by the first SDN controller, wherein the first network authorization request includes: the user name of the user terminal, and the user name The corresponding password and the domain name where the user terminal is located.

进一步的,所述针对所述用户请求进行安全检测,产生检测结果,包括:Further, the security detection is performed on the user request, and a detection result is generated, including:

检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求,产生一检测所述第一SDN控制器存在所述第二网络授权请求的检测结果或所述第一SDN控制器不存在所述第二网络授权请求的检测结果。Detecting whether there is a second network authorization request in the first SDN controller that is the same as the user name, password, and domain name of the first network authorization request, and generating a method for detecting that the first SDN controller exists in the second network A detection result of the authorization request or a detection result of the first SDN controller not having the authorization request of the second network.

其中,所述的软件定义网络SDN安全通信的方法还包括:Wherein, the method for secure communication of the software-defined network SDN also includes:

接收并存储所述第一SDN控制器发送的授权目标对象,其中,所述授权目标对象包括:所述第一网络授权请求及由所述第一SDN控制器产生的第一令牌码及第二令牌码中的任一令牌码。receiving and storing the authorization target object sent by the first SDN controller, wherein the authorization target object includes: the first network authorization request, the first token code and the second token code generated by the first SDN controller Any token code in the binary token code.

其中,所述的软件定义网络SDN安全通信的方法还包括:Wherein, the method for secure communication of the software-defined network SDN also includes:

检测所述第一SDN控制器的网络攻击信息,禁止打开并删除所述网络攻击信息,其中,所述网络攻击信息携带有窃取信息及转发网络的行为信息。Detecting the network attack information of the first SDN controller, prohibiting opening and deleting the network attack information, wherein the network attack information carries behavior information of stealing information and forwarding network.

本发明实施例还提供一种软件定义网络SDN安全通信的装置,应用于第一SDN控制器,其中,包括:The embodiment of the present invention also provides a software-defined network SDN security communication device, which is applied to the first SDN controller, including:

第一获取模块,用于获取来自用户端的用户请求;The first obtaining module is used to obtain the user request from the client;

收发模块,用于发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;A transceiver module, configured to send the user request to a cloud server, and receive a detection result returned by the cloud server for security detection of the user request;

第一处理模块,用于对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。The first processing module is configured to process the detection result, generate a processing result, and send the detection result and/or the processing result to the user terminal.

本发明实施例还提供一种软件定义网络SDN安全通信的装置,应用于云服务器,其中,包括:The embodiment of the present invention also provides a software-defined network SDN secure communication device, which is applied to a cloud server, including:

接收模块,用于接收来自第一SDN控制器转发的用户请求,其中,所述用户请求由用户端向所述第一SDN控制器发送的;A receiving module, configured to receive a user request forwarded from the first SDN controller, wherein the user request is sent from the user terminal to the first SDN controller;

产生模块,用于针对所述用户请求进行安全检测,产生检测结果;A generating module, configured to perform security detection on the user request and generate a detection result;

第二处理模块,用于将所述检测结果发送至所述第一SDN控制器,由所述第一SDN控制器对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。The second processing module is configured to send the detection result to the first SDN controller, and the first SDN controller processes the detection result, generates a processing result and sends the detection result and/or The processing result is sent to the client.

本发明实施例的上述技术方案的有益效果如下:The beneficial effects of the foregoing technical solutions of the embodiments of the present invention are as follows:

本发明实施例的方案中,第一SDN控制器与云服务器连接,通过云服务器对用户请求进行安全检测,可以提高第一SDN控制器的云安全性;由于第一SDN网络中的应用服务层及数据层分别与第一SDN控制器进行数据交互,因此与应用服务层及数据层交互数据,经云服务器安全检测第一SDN控制器,避免出现了第一SDN控制器与存储业务的安全隐患的问题;还可以利用云服务器协助第一SDN控制器处理用户请求,从而减轻SDN控制器监控数据的负担。In the solution of the embodiment of the present invention, the first SDN controller is connected to the cloud server, and the cloud server performs security detection on user requests, which can improve the cloud security of the first SDN controller; because the application service layer in the first SDN network The first SDN controller and the data layer perform data interaction with the first SDN controller respectively, so they exchange data with the application service layer and the data layer, and the first SDN controller is detected by the cloud server to avoid potential safety hazards between the first SDN controller and the storage business problems; the cloud server can also be used to assist the first SDN controller in processing user requests, thereby reducing the burden on the SDN controller to monitor data.

附图说明Description of drawings

图1为本发明实施例的应用于第一SDN控制器的软件定义网络SDN安全通信的方法的一个基本流程示意图;1 is a schematic flowchart of a method for secure communication of a software-defined network (SDN) applied to a first SDN controller according to an embodiment of the present invention;

图2为本发明实施例的软件定义网络SDN安全通信的方法的详细流程示意图;Fig. 2 is a detailed flow diagram of a method for secure communication in a software-defined network (SDN) according to an embodiment of the present invention;

图3为本发明实施例的应用于第一SDN控制器的软件定义网络SDN安全通信的方法的另一个基本流程示意图;FIG. 3 is another basic flow diagram of a method for secure communication of a software-defined network SDN applied to a first SDN controller according to an embodiment of the present invention;

图4为本发明实施例的软件定义网络SDN安全通信的方法的步骤12的一个详细流程示意图;Fig. 4 is a detailed flow diagram of step 12 of the method for secure communication of software-defined network SDN according to the embodiment of the present invention;

图5为本发明实施例的软件定义网络SDN安全通信的方法的步骤13的详细流程示意图;Fig. 5 is a detailed flow diagram of step 13 of the method for secure communication in a software-defined network SDN according to an embodiment of the present invention;

图6为本发明实施例的软件定义网络SDN安全通信的方法的步骤12的另一个详细流程示意图;FIG. 6 is another detailed flow diagram of step 12 of the method for secure communication in a software-defined network (SDN) according to an embodiment of the present invention;

图7为本发明实施例的软件定义网络SDN安全通信的方法的令牌授权流程示意图;7 is a schematic diagram of a token authorization process of a method for secure communication in a software-defined network (SDN) according to an embodiment of the present invention;

图8为本发明实施例的应用于云服务器的软件定义网络SDN安全通信的方法的流程示意图;8 is a schematic flowchart of a method for secure communication of a software-defined network (SDN) applied to a cloud server according to an embodiment of the present invention;

图9为本发明实施例的应用于第一SDN控制器的软件定义网络SDN安全通信的装置的结构示意图;9 is a schematic structural diagram of a device for secure communication of a software-defined network SDN applied to a first SDN controller according to an embodiment of the present invention;

图10为本发明实施例的软件定义网络SDN安全通信的装置的跨域令牌授权的结构示意图;FIG. 10 is a schematic structural diagram of cross-domain token authorization of a software-defined network SDN secure communication device according to an embodiment of the present invention;

图11为本发明实施例的第一SDN控制器与数据转发层的数据包的处理过程流程示意图;Fig. 11 is a schematic flow chart of the processing process of the data packets of the first SDN controller and the data forwarding layer according to the embodiment of the present invention;

图12为本发明实施例的应用于云服务器的软件定义网络SDN安全通信的装置的结构示意图;12 is a schematic structural diagram of a device for secure communication of a software-defined network (SDN) applied to a cloud server according to an embodiment of the present invention;

图13为本发明实施例的云服务器的实际应用的结构示意图;FIG. 13 is a schematic structural diagram of an actual application of a cloud server according to an embodiment of the present invention;

图14为本发明实施例的第一SDN控制器及云服务器实际应用的基本结构示意图;14 is a schematic diagram of the basic structure of the actual application of the first SDN controller and the cloud server according to the embodiment of the present invention;

图15为本发明实施例的第一SDN控制器及云服务器实际应用的详细结构示意图。Fig. 15 is a detailed structural diagram of the actual application of the first SDN controller and the cloud server according to the embodiment of the present invention.

具体实施方式detailed description

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

如图1所示,本发明实施例的软件定义网络SDN安全通信的方法,应用于第一SDN控制器,其中,所述的软件定义网络SDN安全通信的方法包括:As shown in FIG. 1, the method for secure communication of a software-defined network SDN according to an embodiment of the present invention is applied to a first SDN controller, wherein the method for secure communication of a software-defined network SDN includes:

步骤11,获取来自用户端的用户请求。Step 11, obtain the user request from the client.

这里的用户端可以是指SDN网络中的应用服务层的终端。该应用服务层,包括命令行应用、网管应用、安全应用和其它各种应用,其中,该命令行应用具体是由第一SDN控制器管理人员接入的应用,通过第一SDN控制器预留的命令行,实现对第一SDN控制器的配置、查询等操作,实现一些验证和调试的功能;该网管应用用来实现网络管理员对第一SDN控制器进行网络各种配置并查看网络状态,如告警、拓扑等状态;该安全应用用于网络中接入的云服务器的第三方机构,为用户提供安全方面的服务和保障;该其它应用,用于各种预留的处理应用,比如第一SDN控制器软件升级、开启日志、内存泄露检测等等。The client here may refer to a terminal at the application service layer in the SDN network. The application service layer includes command line applications, network management applications, security applications and other various applications, wherein the command line application is specifically an application accessed by the management personnel of the first SDN controller, reserved by the first SDN controller The command line of the first SDN controller realizes the configuration, query and other operations of the first SDN controller, and realizes some verification and debugging functions; the network management application is used to realize various network configurations of the first SDN controller by the network administrator and check the network status , such as alarms, topology, etc.; the security application is used by a third-party organization connected to the cloud server in the network to provide users with security services and guarantees; the other applications are used for various reserved processing applications, such as First SDN controller software upgrade, enable log, memory leak detection, etc.

步骤12,发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;Step 12, sending the user request to a cloud server, and receiving a detection result returned by the cloud server for security detection of the user request;

步骤13,对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。Step 13: Process the detection result, generate a processing result, and send the detection result and/or the processing result to the client.

本发明实施例中,第一SDN控制器与云服务器连接,通过云服务器对用户请求进行安全检测,可以提高第一SDN控制器的云安全性;由于第一SDN网络中的应用服务层及数据层分别与第一SDN控制器进行数据交互,因此与应用服务层及数据层交互数据,经云服务器安全检测第一SDN控制器,避免出现了第一SDN控制器与存储业务的安全隐患的问题;还可以利用云服务器协助第一SDN控制器处理用户请求,从而减轻SDN控制器监控数据的负担。In the embodiment of the present invention, the first SDN controller is connected to the cloud server, and the cloud server performs security detection on user requests, which can improve the cloud security of the first SDN controller; because the application service layer and data in the first SDN network Layers perform data interaction with the first SDN controller respectively, so they exchange data with the application service layer and the data layer, and the first SDN controller is detected by the cloud server to avoid potential safety hazards between the first SDN controller and the storage business ; It is also possible to use the cloud server to assist the first SDN controller in processing user requests, thereby reducing the burden on the SDN controller to monitor data.

如图2所示,本发明实施例的软件定义网络SDN安全通信的方法,所述用户端的用户请求包括:云用户的用户接入请求和/或具有终端应用的用户终端的至少一个第一网络授权请求,其中,所述至少一个第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。As shown in FIG. 2, in the method for secure communication of a software-defined network SDN according to an embodiment of the present invention, the user request of the client includes: a user access request of a cloud user and/or at least one first network of a user terminal with a terminal application An authorization request, wherein the at least one first network authorization request includes: the user name of the user terminal, the password corresponding to the user name, and the domain name where the user terminal is located.

这里的云用户为接入云安全服务的用户,包括个人用户、企业用户等。The cloud users here refer to users accessing cloud security services, including individual users and enterprise users.

本发明实施例中,第一SDN服务器不仅可以实现与云服务器的信息交互,第一SDN服务器与应用服务层进行交互。通过利用云服务器检测第一SDN控制器的交互信息,进而提高了第一SDN服务器与应用服务层进行交互的通信安全性。In the embodiment of the present invention, the first SDN server can not only implement information interaction with the cloud server, but also interact with the application service layer. By using the cloud server to detect the interaction information of the first SDN controller, communication security for the interaction between the first SDN server and the application service layer is further improved.

如图2所示,本发明实施例的软件定义网络SDN安全通信的方法,在用户端的用户请求为云用户的用户接入请求时,步骤12包括:As shown in Figure 2, in the method for secure communication of a software-defined network SDN according to an embodiment of the present invention, when the user request at the user end is a user access request of a cloud user, step 12 includes:

步骤121,检测该云用户的用户接入请求为首次发送的用户接入请求时,发送该用户接入请求至该云服务器;Step 121, when detecting that the user access request of the cloud user is the user access request sent for the first time, sending the user access request to the cloud server;

这里的云服务器是由第三方提供,从而实现接入的外包或单独设置,这样方便专门为云用户提接供入安全的服务。云服务器以服务的形式为用户提供安全保障,可以将大量云服务器集群在一起,形成专门应对云接入安全问题的系统。The cloud server here is provided by a third party, so as to realize the outsourcing or separate setting of the access, which is convenient to provide access security services for cloud users. Cloud servers provide security for users in the form of services, and a large number of cloud servers can be clustered together to form a system that specifically addresses cloud access security issues.

步骤122,接收由该云服务器针对该用户接入请求进行安全检测返回的检测结果,其中,该检测结果包括:由该云服务器检测该用户接入请求的安全并产生一拒绝访问该第一SDN控制器的检测结果或接受访问该第一SDN控制器的检测结果。Step 122, receiving the detection result returned by the cloud server for the security detection of the user access request, wherein the detection result includes: the cloud server detects the security of the user access request and generates a denial of access to the first SDN The detection result of the controller or the detection result of the first SDN controller that accepts access.

需要说明的是:云服务器检测该用户接入请求的安全性的内容至少包括:数据完整性检测、统一用户管理及网络攻击检测,其中,该数据完整性检测包括:用户请求中的用户名及用户名对应的密码;该统一用户管理包括:存储用户请求中的用户名及对应的密码;网络攻击检测包括:监测网络中非法入侵的木马或病毒。利用云服务器实现至少一项安全性的内容。It should be noted that: the content of the cloud server to detect the security of the user access request includes at least: data integrity detection, unified user management and network attack detection, wherein the data integrity detection includes: the user name and The password corresponding to the user name; the unified user management includes: storing the user name and the corresponding password in the user request; network attack detection includes: monitoring the Trojan horse or virus illegally intruding in the network. Use cloud servers to achieve at least one security content.

本发明实施例中,第一SDN控制器可以对首次发送的用户接入请求,利用云服务器判断用户接入请求的安全性,从而保证第一SDN控制器的安全性。In the embodiment of the present invention, the first SDN controller may use the cloud server to determine the security of the user access request sent for the first time, thereby ensuring the security of the first SDN controller.

如图2所示,本发明实施例的软件定义网络SDN安全通信的方法,步骤13包括:As shown in Figure 2, the method for secure communication of software-defined network SDN of the embodiment of the present invention, step 13 comprises:

步骤131,对该检测结果进行处理,产生一流表项记录;Step 131, process the detection result to generate a first-class entry record;

这里的流表项记录是通过对OpenFlow协议定义的流表的基本结构添加至少一个状态属性(如State状态)以及至少下一个状态(如Next_State),并重新定义了数据包与流表项记录匹配的过程,使匹配不仅仅依赖与数据帧包头的信息,同时也取依赖自身的状态。如匹配不成功,数据转发层将向第一SDN控制器发送一个收入封包数PacketIn请求消息,其中该PacketIn请求消息包含数据帧包头的信息,也包含自身的状态信息。第一SDN控制器会向数据转发层发送一个流组FlowMod消息并向数据转发层添加相应记录,作为回应;当匹配成功时,将连接状态表中状态赋值为变换流表中相应记录的下一个状态。The flow entry record here is to add at least one state attribute (such as State state) and at least the next state (such as Next_State) to the basic structure of the flow table defined by the OpenFlow protocol, and redefines the data packet to match the flow entry record The process makes the matching not only depend on the information of the header of the data frame, but also depend on its own state. If the matching is unsuccessful, the data forwarding layer will send a PacketIn request message to the first SDN controller, wherein the PacketIn request message includes the information of the data frame header and its own status information. The first SDN controller will send a flow group FlowMod message to the data forwarding layer and add a corresponding record to the data forwarding layer as a response; when the match is successful, the state in the connection state table will be assigned the next state of the corresponding record in the transformation flow table state.

步骤132,发送该检测结果及该流表项记录至该云用户,其中,该流表项记录包括:与该用户接入请求对应的状态字段。Step 132, sending the detection result and the flow entry record to the cloud user, wherein the flow entry record includes: a state field corresponding to the user access request.

这里的状态字段的目的是为了建立数据转发层中的终端与SDN控制器的连接状态表的更新同步。The purpose of the state field here is to establish synchronization between the terminal in the data forwarding layer and the update of the connection state table of the SDN controller.

本发明实施例中,通过生成一个流表项,当后续有相同的用户请求时,无需再次进行验证,可以利用云服务器协助第一SDN控制器处理用户请求,从而减轻SDN控制器的监控数据的负担,也提高了云安全性的检测效率。In the embodiment of the present invention, by generating a flow entry, when there is the same user request in the follow-up, there is no need to perform verification again, and the cloud server can be used to assist the first SDN controller to process the user request, thereby reducing the monitoring data of the SDN controller. It also improves the detection efficiency of cloud security.

如图3所示,本发明实施例的软件定义网络SDN安全通信的方法在步骤11之后,用户端的用户请求为云用户的用户接入请求时,该软件定义网络SDN安全通信的方法还包括:As shown in FIG. 3, after step 11 of the method for secure communication of software-defined network SDN according to the embodiment of the present invention, when the user request of the user end is a user access request of a cloud user, the method for secure communication of software-defined network SDN also includes:

步骤14,检测存在与该云用户的用户接入请求对应的流表项记录,确定该用户的接入请求不为首次发送的用户接入请求。Step 14: Detect that there is a flow entry record corresponding to the user access request of the cloud user, and determine that the user access request is not the user access request sent for the first time.

步骤15,针对该云用户的用户接入请求返回给该云用户的处理结果,其中,该处理结果包括:通过该流表项记录该云用户的用户接入请求已经由该云服务器检测安全并产生一接受访问该第一SDN控制器的检测结果。Step 15, return the processing result to the cloud user for the user access request of the cloud user, wherein the processing result includes: record that the user access request of the cloud user has been detected by the cloud server through the flow entry A detection result of accepting access to the first SDN controller is generated.

本发明实施例中,在判断云用户不是首次发送的用户请求,则直接通过预先建立的流表项记录进行访问第一SDN控制器,减少了验证过程,提高了接入的效率,并通过云服务器进行检测,提高了用户接入请求的安全性。In the embodiment of the present invention, when it is judged that the cloud user is not sending the user request for the first time, the first SDN controller is directly accessed through the pre-established flow entry record, which reduces the verification process and improves the access efficiency. The server performs detection to improve the security of user access requests.

如图4所示,本发明实施例的软件定义网络SDN安全通信的方法中,在用户端的用户请求为具有终端应用的用户终端的一个第一网络授权请求时,步骤12包括:As shown in FIG. 4, in the method for secure communication of a software-defined network SDN according to an embodiment of the present invention, when the user request at the user end is a first network authorization request of a user terminal with a terminal application, step 12 includes:

步骤123,发送该第一网络授权请求至该云服务器。Step 123, sending the first network authorization request to the cloud server.

步骤124,接收由该云服务器针对该第一网络授权请求进行安全检测返回的检测结果,其中,该检测结果包括:检测该第一SDN控制器中是否存在该第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求。Step 124, receiving the detection result returned by the cloud server for the security detection of the first network authorization request, wherein the detection result includes: detecting whether the user name of the first network authorization request exists in the first SDN controller, A second network authorization request with the same password and domain name.

本发明实施例中,将第一网络授权请求发送给第一SDN控制器,利用云服务器可以协助第一SDN控制器检测第一网络授权请求的安全性,由于云服务器存储有与网络授权请求相关的数据,因此可以在存储的数据中判断是否存在第一网络授权请求,减轻了第一SDN控制器的负担,也提高了第一SDN控制器数据交互的安全性。In the embodiment of the present invention, the first network authorization request is sent to the first SDN controller, and the cloud server can assist the first SDN controller to detect the security of the first network authorization request, because the cloud server stores information related to the network authorization request. Therefore, it can be judged whether there is a first network authorization request in the stored data, which reduces the burden of the first SDN controller and improves the security of the data interaction of the first SDN controller.

如图4所示,本发明实施例的软件定义网路SDN安全通信的方法中,步骤13包括:As shown in Figure 4, in the method for secure communication of software-defined network SDN of the embodiment of the present invention, step 13 includes:

步骤133,在该检测结果为该第一SDN控制器不存在与该第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,根据所述第一网络授权请求,生成与该第一网络授权请求唯一对应的第一令牌码;Step 133, when the detection result is that the first SDN controller does not have a second network authorization request with the same user name, password and domain name as the first network authorization request, according to the first network authorization request, generate A first token code uniquely corresponding to the first network authorization request;

步骤134,验证该第一网络授权请求中的该用户名、该密码及该域名,并在验证通过时,生成携带有该第一网络授权请求及该第一令牌码的授权目标对象并发送该授权目标对象至该用户终端。Step 134, verify the user name, the password and the domain name in the first network authorization request, and when the verification is passed, generate an authorization target object carrying the first network authorization request and the first token code and send it to The authorized target object is to the user terminal.

这里的验证该第一网络授权请求中的该用户名、该密码及该域名的具体步骤包括:首先,验证该第一网络授权请求中该用户名、该密码及该域名是否完整;然后,在第一网络授权请求中该用户名、该密码及该域名完整之后,判断第一网络授权请求中的密码是否正确;最后,在第一网络授权请求中的密码为正确时,该第一网络授权请求为验证通过。这样可以增强第一网络授权请求的应用的准确性。Here, the specific steps of verifying the username, the password and the domain name in the first network authorization request include: first, verifying whether the username, the password and the domain name in the first network authorization request are complete; then, in After the user name, the password and the domain name in the first network authorization request are complete, it is judged whether the password in the first network authorization request is correct; finally, when the password in the first network authorization request is correct, the first network authorization The request is authenticated. This can enhance the accuracy of the application of the first network authorization request.

这里的步骤134在发送该授权目标对象至该用户终端时,并发送该授权目标对象至给云服务器进行存储。这样有利于后期云服务器判断第一网络授权请求是否为首次发出的用户请求,来减少出现对同一网络授权请求的重复授权的情况。Step 134 here sends the authorization target object to the cloud server for storage when sending the authorization target object to the user terminal. This is beneficial for the later cloud server to determine whether the first network authorization request is a user request sent for the first time, so as to reduce repeated authorizations for the same network authorization request.

本发明实施例中,对首次的第一网络授权请求生成唯一对应的第一令牌码,并反馈给用户终端的授权目标对象,这样可以实现令牌授权,保证只给新的网络授权请求发放新的访问令牌码,避免出现重复发放访问令牌码的情况。In the embodiment of the present invention, a unique and corresponding first token code is generated for the first first network authorization request, and fed back to the authorization target object of the user terminal, so that token authorization can be realized and only new network authorization requests are issued. A new access token code to avoid double-issuing access token codes.

如图5所示,本发明实施例的软件定义网路SDN安全通信的方法中,步骤13包括:As shown in Figure 5, in the method for secure communication of software-defined network SDN of the embodiment of the present invention, step 13 includes:

步骤135,在该检测结果为该第一SDN控制器存在与该第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,获取该第二网络授权请求唯一对应的第二令牌码,生成携带有该第一网络授权请求及该第二令牌码的授权目标对象并发送该授权目标对象至该用户终端。Step 135, when the detection result is that the first SDN controller has a second network authorization request that is the same as the user name, password and domain name of the first network authorization request, obtain the uniquely corresponding first network authorization request for the second network authorization request. Two token codes, generating an authorization target object carrying the first network authorization request and the second token code, and sending the authorization target object to the user terminal.

这里的第一网络授权请求及第二网络授权请求中的“第一”和“第二”,并不是对网络授权请求的顺序进行限定,而是为了方便区分当前发送的“第一网络授权请求”与之前已存储的“第二网络授权请求”的关系。此处的“第一网络授权请求”与之前已存储的“第二网络授权请求”的关系包括:“第一网络授权请求”与之前已存储的“第二网络授权请求”的内容不相同和“第一网络授权请求”与之前已存储的“第二网络授权请求”的内容相同。The "first" and "second" in the first network authorization request and the second network authorization request here are not to limit the order of network authorization requests, but to facilitate the distinction of the currently sent "first network authorization request". " and the previously stored "Second Network Authorization Request". Here, the relationship between the "first network authorization request" and the previously stored "second network authorization request" includes: the content of the "first network authorization request" is different from the previously stored "second network authorization request" and The "first network authorization request" has the same content as the previously stored "second network authorization request".

这里的步骤135在发送该授权目标对象至该用户终端时,并发送该授权目标对象至给云服务器进行存储。这样有利于后期云服务器判断第一网络授权请求是否为首次发出的用户请求,来减少出现对同一用户的重复授权的情况。通过将授权目标对象存储在云服务器,方便后期SDN控制器接收到新的网络授权请求时,利用云服务器检测是否存在网络授权请求。Step 135 here sends the authorization target object to the cloud server for storage when sending the authorization target object to the user terminal. This is beneficial for the later cloud server to judge whether the first network authorization request is a user request sent for the first time, so as to reduce repeated authorization for the same user. By storing the authorization target object in the cloud server, it is convenient for the later SDN controller to use the cloud server to detect whether there is a network authorization request when receiving a new network authorization request.

本发明实施例中,通过判断该第一网络授权请求已经存在与该第一网络授权请求相同的第二网络授权请求,第一SDN控制器就不需要重新生成新的令牌码,只需要利用已经存储相同的第二网络授权请求的令牌码,和当前的第一网络授权请求生成授权目标对象,这样对同一第一网络授权请求的多次刷新,只产生一个授权目标对象,避免了出现对多次刷新同一第一网络授权请求产生多个授权目标对象的情况,不仅提高了生成授权目标对象的效率,而且提高了生成授权目标对象的准确性。In the embodiment of the present invention, by judging that the first network authorization request already has a second network authorization request identical to the first network authorization request, the first SDN controller does not need to regenerate a new token code, and only needs to use The token code of the same second network authorization request has been stored, and the current first network authorization request generates an authorization target object, so that only one authorization target object is generated for multiple refreshes of the same first network authorization request, avoiding the occurrence of For the situation that multiple authorization target objects are generated by refreshing the same first network authorization request multiple times, not only the efficiency of generating authorization target objects is improved, but also the accuracy of generating authorization target objects is improved.

如图6所示,本发明实施例的软件定义网路SDN安全通信的方法中,在用户端的用户请求为具有终端应用的用户终端的多个第一网络授权请求时,所述步骤12包括:As shown in FIG. 6 , in the method for secure communication in a software-defined network SDN according to an embodiment of the present invention, when the user request at the user end is a plurality of first network authorization requests of a user terminal with a terminal application, the step 12 includes:

步骤125,分配每个第一网络授权请求对应的优先级。Step 125, allocating a priority corresponding to each first network authorization request.

这里的每个第一网络授权请求是指同一用户的不同请求。步骤1310具体根据每个第一网络授权请求中的应用请求的请求类型,分配每个第一网络授权请求对应的优先级。Each first network authorization request here refers to a different request of the same user. Step 1310 specifically allocates a priority corresponding to each first network authorization request according to the request type of the application request in each first network authorization request.

步骤126,按照该优先级发送该第一网络授权请求至该云服务器。Step 126, sending the first network authorization request to the cloud server according to the priority.

步骤127,按照该优先级接收由该云服务器针对该第一网络授权请求进行安全检测返回的检测结果。Step 127: Receive the detection result returned by the cloud server for the security detection of the first network authorization request according to the priority.

本发明实施例中,通过对多个第一网络授权请求,分配优先级,按照优先级顺序,避免了冲突,不仅能够完成对多个第一网络授权请求的处理,而且按照优先级也可以有效地区别对待每个第一网络授权请求,提高了处理的效率。In the embodiment of the present invention, by assigning priorities to multiple first network authorization requests, conflicts are avoided according to the priority order, and not only can the processing of multiple first network authorization requests be completed, but also effective Each first network authorization request is treated differently, thereby improving processing efficiency.

本发明实施例的软件定义网络SDN安全通信的方法中,在步骤13之前,所述的软件定义网络SDN安全通信的方法还包括:通过预定接口转换该检测结果的数据格式与该第一SDN控制器的数据格式相匹配。这样第一SDN控制器就可以利用预定接口,将云服务器的数据进行准确解读,并进行相应处理。In the method for secure communication of software-defined network SDN in the embodiment of the present invention, before step 13, the method for secure communication of software-defined network SDN further includes: converting the data format of the detection result and the first SDN control through a predetermined interface match the data format of the device. In this way, the first SDN controller can use the predetermined interface to accurately interpret the data of the cloud server and perform corresponding processing.

所述预定接口为API(Application Programming Interface,应用程序编程接口)接口,该预定接口包括但不限于这三部分功能将云服务层下发的数据格式转换为与控制层的格式相同:1.网络行为的管理,主要负责第一SDN控制器上云服务器产生的网络行为,将其转为流表项的形式。依据用户请求的许可或拒绝,发出是否进行数据转发的指令,以此保证云用户的接入安全性。另外还可以统计云服务器的物理地址相关信息,将用户请求的服务名称翻译成对应的物理相关地址,完成网络中以服务名称为依赖的资源发现;2.路由的选择,保障用户访问请求通过云服务器,根据全网的拓扑信息和链路损耗,为用户选择最优路径;3.流表的下发,保证第一SDN控制器产生的流表下发到OpenFlow交换机中,实现数据流的调配等等。The predetermined interface is an API (Application Programming Interface, application programming interface) interface, and the predetermined interface includes but is not limited to these three functions to convert the data format issued by the cloud service layer into the same format as the control layer: 1. Network Behavior management is mainly responsible for converting the network behavior generated by the cloud server on the first SDN controller into the form of a flow entry. According to the permission or refusal requested by the user, an instruction is issued whether to forward data, so as to ensure the access security of cloud users. In addition, it can also count the physical address related information of the cloud server, translate the service name requested by the user into the corresponding physical related address, and complete the resource discovery that depends on the service name in the network; 2. The selection of routing ensures that user access requests pass through the cloud The server, according to the topology information and link loss of the entire network, selects the optimal path for the user; 3. Delivery of the flow table, ensuring that the flow table generated by the first SDN controller is sent to the OpenFlow switch to realize the deployment of data flow wait.

API接口是云服务层和控制器之间的数据转换接口,主要负责云服务层和控制器的交互。API接口可以为云服务器到控制器的接口,其他部分功能策略可以预先存放在第一SDN控制器中,在需要时,第一SDN控制器下发到OpenFlow交换机。The API interface is the data conversion interface between the cloud service layer and the controller, and is mainly responsible for the interaction between the cloud service layer and the controller. The API interface may be an interface from the cloud server to the controller, and other functional policies may be pre-stored in the first SDN controller, and the first SDN controller sends it to the OpenFlow switch when needed.

本发明实施例中,API接口的数据格式,可以实现云服务器与第一SDN控制器的数据交互,API接口可以控制云用户的访问路由,达到提供接入云服务器的服务。In the embodiment of the present invention, the data format of the API interface can realize data interaction between the cloud server and the first SDN controller, and the API interface can control the access route of the cloud user to provide services for accessing the cloud server.

本发明实施例的软件定义网络SDN安全通信的方法中,在步骤11之前,该软件定义网络SDN安全通信还包括:In the method for secure communication of software-defined network SDN in the embodiment of the present invention, before step 11, the secure communication of software-defined network SDN also includes:

步骤16,建立该第一SDN控制器与至少一个第二SDN控制器连接,其中,该至少一个第二SDN控制器与该第SDN控制器处于不同域。Step 16, establishing a connection between the first SDN controller and at least one second SDN controller, wherein the at least one second SDN controller is in a different domain from the first SDN controller.

步骤17,获取来自至少一个该第二SDN控制器所在域的用户端的用户请求。Step 17, acquiring a user request from at least one client in the domain where the second SDN controller is located.

本发明实施例中,通过先将第一SDN控制器与至少一个第二SDN控制器建立连接,然后获取至少一个该第二SDN控制器所在域的用户端的用户请求,实现多域或跨域的用户端的令牌授权,这样可以对不同域内的用户端进行令牌授权及安全检测。In the embodiment of the present invention, by first establishing a connection between the first SDN controller and at least one second SDN controller, and then obtaining a user request from at least one user end in the domain where the second SDN controller is located, multi-domain or cross-domain Token authorization of the client, so that token authorization and security detection can be performed on the client in different domains.

第二实施例second embodiment

如图7所示,本发明实施例的令牌授权的整体流程如下。As shown in FIG. 7 , the overall process of token authorization in the embodiment of the present invention is as follows.

步骤701,用户终端发送第一用户授权请求,第一SDN控制器接收第一用户授权请求并加入具有优先级的应用申请列队。In step 701, the user terminal sends a first user authorization request, and the first SDN controller receives the first user authorization request and joins a priority application application queue.

步骤702,第一SDN控制器对接收到的用户终端的第一用户授权请求进行验证。Step 702, the first SDN controller verifies the received first user authorization request of the user terminal.

步骤703,判断第一网络授权请求的路径是否终结地址,返回第一网络授权请求路径允许访问的地址(该地址包括但不限于IP地址)。判断该IP地址是否合法,如果IP地址为空等的地址,判断第一网络授权请求的路径是允许访问的IP地址,则执行步骤704;如果IP地址不为空等的地址,判断第一网络授权请求的路径不是允许访问的IP地址,则执行步骤705。上述具体判断第一网络授权请求的路径是否终结的方法是对发送的第一网络授权请求中如URL(Uniform Resoure Locator,统一资源定位器)、RPC(Remote Procedure CallProtocol远程过程调用协议)地址等等访问方式进行判断得到,并携带在返回的授权目标对象的消息中。Step 703, judge whether the path of the first network authorization request terminates the address, and return the address (the address includes but not limited to IP address) that the path of the first network authorization request allows access to. Judging whether the IP address is legal, if the IP address is an empty address, judge that the path of the first network authorization request is an IP address that allows access, then perform step 704; if the IP address is not an empty address, judge that the first network authorization request is an IP address that allows access. If the path of the authorization request is not an IP address that is allowed to be accessed, step 705 is performed. The method for specifically judging whether the path of the first network authorization request is terminated is to send URL (Uniform Resource Locator, Uniform Resource Locator), RPC (Remote Procedure Call Protocol) addresses, etc. in the first network authorization request sent. The access mode is judged and carried in the returned authorization target object message.

步骤704,第一SDN控制器释放令牌授权并发消息给终端用户,令牌授权失败。In step 704, the first SDN controller releases the token authorization and sends a message to the terminal user that the token authorization fails.

步骤705,第一SDN控制器创建令牌授权,创建并分配一个与第一网络授权请求的终端用户唯一对应的令牌码。Step 705, the first SDN controller creates a token authorization, creates and distributes a token code uniquely corresponding to the terminal user requesting the authorization of the first network.

步骤706,第一SDN控制器申请注册鉴权第一网络授权请求。In step 706, the first SDN controller applies for a first network authorization request for registration and authentication.

步骤707,第一SDN控制器验证该第一网络授权请求中的用户名、用户名对应的密码及域名,如果第一网络授权请求中的用户名、密码及域名不完整或不对时,则执行步骤704,如果第一网络授权请求中的用户名、密码及域名完整,则执行步骤708;Step 707: The first SDN controller verifies the username, the password corresponding to the username, and the domain name in the first network authorization request, and if the username, password, and domain name in the first network authorization request are incomplete or incorrect, execute Step 704, if the user name, password and domain name in the first network authorization request are complete, execute step 708;

步骤708,判断密码是否正确,如果所述密码正确,则执行步骤409;Step 708, judging whether the password is correct, if the password is correct, then perform step 409;

步骤709,判断令牌授权类型是否为密码授权方式,如果不是密码授权方式,则执行步骤713;Step 709, judging whether the token authorization type is a password authorization method, if not a password authorization method, then perform step 713;

步骤710,如果是密码授权方式,取出第一网络授权请求中的用户名及密码,并把用户名、密码及令牌码生成密码授权对象。Step 710, if it is a password authorization method, take out the user name and password in the first network authorization request, and generate a password authorization object with the user name, password and token code.

步骤711,在第一网络授权请求中取出域名。Step 711, fetch the domain name from the first network authorization request.

步骤712,利用密码授权对象及域名生成授权目标对象,该授权目标对象是由验证所需用户名、密码和域名之后由授权者提供的。Step 712, using the password authorization object and the domain name to generate an authorization target object, which is provided by the authorizer after verifying the required user name, password and domain name.

步骤713,判断令牌授权类型是否为刷新令牌授权方式,如是,则执行步骤714。其中,刷新令牌是避免请求者在预设时间段内(服务器允许的客户端和服务端的时间差)内发送同样的请求两次或以上。In step 713, it is judged whether the token authorization type is a refresh token authorization method, and if yes, step 714 is executed. Among them, the refresh token is to prevent the requester from sending the same request twice or more within the preset time period (the time difference between the client and the server allowed by the server).

步骤714,获取与第一网络授权请求相同的刷新令牌授权方式的第二网络授权请求。Step 714, acquire a second network authorization request in the same refresh token authorization mode as the first network authorization request.

步骤715,利用第二网络授权请求的用户名、密码及域名生成授权目标对象。Step 715, using the user name, password and domain name of the second network authorization request to generate an authorization target object.

步骤716,第一SDN控制器返回携带有授权目标对象的响应。Step 716, the first SDN controller returns a response carrying the authorized target object.

本发明实施例中,利用令牌授权的方式,对接入的终端用户的第一网络授权请求进行认证和令牌授权,在第一SDN控制器对第一网络授权请求的身份进行验证,后续可以利用授权目标对象向第一SDN控制器请求访问令牌。In the embodiment of the present invention, token authorization is used to perform authentication and token authorization on the first network authorization request of the accessing terminal user, and the identity of the first network authorization request is verified at the first SDN controller. An access token may be requested from the first SDN controller using the authorization target object.

第三实施例third embodiment

如图8所示,本发明实施例的软件定义网络SDN安全通信的方法,应用于云服务器,包括:As shown in FIG. 8, the method for secure communication of a software-defined network SDN according to an embodiment of the present invention is applied to a cloud server, including:

步骤81,接收来自第一SDN控制器转发的用户请求,其中,所述用户请求由用户端向所述第一SDN控制器发送的;Step 81, receiving a user request forwarded from the first SDN controller, wherein the user request is sent by the client to the first SDN controller;

其中,该用户端包括云用户及终端用户,可以实现多个终端的数据安全检测。Wherein, the client includes cloud users and terminal users, and can implement data security detection of multiple terminals.

步骤82,针对所述用户请求进行安全检测,产生检测结果;Step 82, performing security detection on the user request, and generating a detection result;

步骤83,将所述检测结果发送至所述第一SDN控制器,由所述第一SDN控制器对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。Step 83, sending the detection result to the first SDN controller, and the first SDN controller processes the detection result, generates a processing result, and sends the detection result and/or the processing result to the client.

本发明实施例中,通过云服务器对第一SDN控制器提供接入安全功能,以服务的形式为用户端提供安全保障,形成专门应对接入安全问题进行服务,提高了第一SDN控制器云服务的安全性。In the embodiment of the present invention, the cloud server provides the access security function to the first SDN controller, and provides security protection for the user terminal in the form of service, forming a service specifically for access security issues, which improves the security of the first SDN controller cloud. Security of the Service.

本发明实施例的软件定义网络SDN安全通信的方法中,所述步骤81包括:接收来自第一SDN控制器转发的由云用户发送的用户接入请求。In the SDN secure communication method of the embodiment of the present invention, the step 81 includes: receiving the user access request sent by the cloud user and forwarded from the first SDN controller.

本发明实施例中,云服务器接收第一SDN控制器转发的用户接入请求,并对该用户接入请求进行安全检测,提高了用户接入请求接入第一SDN控制器的安全性。In the embodiment of the present invention, the cloud server receives the user access request forwarded by the first SDN controller, and performs security detection on the user access request, thereby improving the security of the user access request accessing the first SDN controller.

本发明实施例的软件定义网络SDN安全通信的方法中,所述步骤82包括:针对所述用户接入请求,检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器或接受访问所述第一SDN控制器。In the method for secure communication in a software-defined network SDN according to an embodiment of the present invention, the step 82 includes: for the user access request, detecting the security of the user access request and generating a denial of access to the first SDN controller or accept access to the first SDN controller.

本发明实施例中,云服务器对用户接入请求的安全检测之后,反馈该用户接入请求是否可以访问第一SDN控制器,完成对用户接入请求的安全检测处理的反馈。In the embodiment of the present invention, after the security detection of the user access request, the cloud server feeds back whether the user access request can access the first SDN controller, and completes the feedback of the security detection processing of the user access request.

本发明实施例的软件定义网络SDN安全通信的方法中,所述步骤81包括:接收来自第一SDN控制器转发的由具有终端应用的用户终端发送的至少一个第一网络授权请求,其中,所述第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。In the method for secure communication in a software-defined network (SDN) according to an embodiment of the present invention, the step 81 includes: receiving at least one first network authorization request sent by a user terminal with a terminal application and forwarded from the first SDN controller, wherein the The first network authorization request includes: the user name of the user terminal, the password corresponding to the user name, and the domain name where the user terminal is located.

本发明实施例中,由于云服务器存储与网络授权请求相关的授权目标对象,利用云服务器接收并判断第一网络授权请求,可以减轻第一SDN控制器的负荷。In the embodiment of the present invention, since the cloud server stores authorization target objects related to the network authorization request, the load of the first SDN controller can be reduced by using the cloud server to receive and judge the first network authorization request.

本发明实施例的软件定义网络SDN安全通信的方法中,所述步骤82包括:检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求,产生一检测所述第一SDN控制器存在所述第二网络授权请求的检测结果或所述第一SDN控制器不存在所述第二网络授权请求的检测结果。In the SDN secure communication method in the embodiment of the present invention, the step 82 includes: detecting whether the first SDN controller has the same username, password and domain name as the first network authorization request. A network authorization request, generating a detection result of detecting that the first SDN controller has the second network authorization request or a detection result that the first SDN controller does not have the second network authorization request.

本发明实施例中,如果第一网络授权请求不是首次发送的网络授权请求,那么云服务器就会存储有与第一网络授权请求相同的第二网络授权请求,第一SDN控制器就可以直接利用存储过的第二网络授权请求的令牌码,对第一网络授权请求进行令牌授权,不需要重新生成新的令牌码,从而减少了第一SDN控制器的令牌授权的流程,减轻了第一SDN控制器的负荷。In the embodiment of the present invention, if the first network authorization request is not the network authorization request sent for the first time, then the cloud server will store the second network authorization request identical to the first network authorization request, and the first SDN controller can directly use the The stored token code of the second network authorization request performs token authorization on the first network authorization request without regenerating a new token code, thereby reducing the token authorization process of the first SDN controller and reducing the load of the first SDN controller.

本发明实施例的软件定义网络SDN安全通信的方法还包括:The method for the software-defined network SDN security communication of the embodiment of the present invention also includes:

步骤84,接收并存储所述第一SDN控制器发送的授权目标对象,其中,所述授权目标对象包括:所述第一网络授权请求及由所述第一SDN控制器产生的第一令牌码及第二令牌码中的任一令牌码。Step 84: Receive and store the authorization target object sent by the first SDN controller, wherein the authorization target object includes: the first network authorization request and the first token generated by the first SDN controller code and any token code in the second token code.

本发明实施例中,云服务器存储有与第一网络授权请求相关的授权目标对象,有利于后续对刷新或重新发送的第一网络授权请求进行直接的认证判断,减轻了第一SDN控制器的负荷,也提高了数据交互的安全性。In the embodiment of the present invention, the cloud server stores the authorization target object related to the first network authorization request, which facilitates direct authentication judgment on the refreshed or resent first network authorization request, and reduces the burden on the first SDN controller. The load also improves the security of data interaction.

本发明实施例的软件定义网络SDN安全通信的方法还包括:The method for the software-defined network SDN security communication of the embodiment of the present invention also includes:

步骤85,检测所述第一SDN控制器的网络攻击信息,禁止打开并删除所述网络攻击信息,其中,所述网络攻击信息携带有窃取信息及转发网络的行为信息。Step 85: Detect the network attack information of the first SDN controller, prohibit opening and deleting the network attack information, wherein the network attack information carries behavior information of stealing information and forwarding network.

上述行为信息为多次转发信息或要求复制网络内容的信息。可以实现对第一SDN控制器的网络攻击信息的屏蔽。The above-mentioned behavior information refers to information that forwards information multiple times or requests to copy network content. Shielding of network attack information of the first SDN controller can be realized.

本发明实施例中,通过云服务器以网络攻击信息的服务的形式为第一SDN控制器提供安全保障,多个云服务器可以集群放在一起,形成专门应对接入安全问题的系统;云服务器还具有很好的扩展性,也能弥补传统网络在防御能力差、响应速度慢、系统规模小等等方面存在的不足,满足各种安全需要。In the embodiment of the present invention, the cloud server provides security guarantees for the first SDN controller in the form of network attack information services, and multiple cloud servers can be clustered together to form a system that specifically addresses access security issues; the cloud server also It has good scalability, and can also make up for the deficiencies of traditional networks in terms of poor defense capabilities, slow response speed, and small system size, etc., and meet various security needs.

第四实施例Fourth embodiment

如图9所示,本发明实施例的软件定义网络SDN安全通信的装置,应用于第一SDN控制器,所述软件定义网络SDN安全通信的装置包括:As shown in FIG. 9, the device for secure communication of software-defined network SDN according to the embodiment of the present invention is applied to the first SDN controller, and the device for secure communication of software-defined network SDN includes:

第一获取模块91,用于获取来自用户端的用户请求;The first acquiring module 91 is configured to acquire a user request from the client;

收发模块92,用于发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;The transceiver module 92 is configured to send the user request to the cloud server, and receive a detection result returned by the cloud server for security detection of the user request;

第一处理模块93,用于对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。The first processing module 93 is configured to process the detection result, generate a processing result, and send the detection result and/or the processing result to the user terminal.

本发明实施例中,第一SDN控制器与云服务器连接,通过云服务器对用户请求进行安全检测,可以提高第一SDN控制器的云安全性;由于第一SDN网络中的应用服务层及数据层分别与第一SDN控制器进行数据交互,因此与应用服务层及数据层交互数据,经云服务器安全检测第一SDN控制器,避免出现了第一SDN控制器与存储业务的安全隐患的问题;还可以利用云服务器协助第一SDN控制器处理用户请求,从而减轻SDN控制器监控数据的负担。In the embodiment of the present invention, the first SDN controller is connected to the cloud server, and the cloud server performs security detection on user requests, which can improve the cloud security of the first SDN controller; because the application service layer and data in the first SDN network Layers perform data interaction with the first SDN controller respectively, so they exchange data with the application service layer and the data layer, and the first SDN controller is detected by the cloud server to avoid potential safety hazards between the first SDN controller and the storage business ; It is also possible to use the cloud server to assist the first SDN controller in processing user requests, thereby reducing the burden on the SDN controller to monitor data.

需要说明的是,本发明提供的装置是应用上述软件定义网络SDN安全通信方法的装置,则上述软件定义网络SDN安全通信方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the device provided by the present invention is a device applying the above-mentioned software-defined network SDN secure communication method, and all embodiments of the above-mentioned software-defined network SDN secure communication method are applicable to the device, and can achieve the same or similar Beneficial effect.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述用户端的用户请求包括:云用户的用户接入请求和/或具有终端应用的用户终端的至少一个第一网络授权请求,其中,所述至少一个第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。In another embodiment of the present invention, in the device for SDN secure communication in a software-defined network, the user request of the client includes: a user access request of a cloud user and/or at least one first network authorization request of a user terminal with a terminal application, Wherein, the at least one first network authorization request includes: a user name of the user terminal, a password corresponding to the user name, and a domain name where the user terminal is located.

本发明又一实施例的软件定义网络SDN安全通信的装置中,在用户端的用户请求为云用户的用户接入请求时,所述收发模块92包括:In another embodiment of the present invention, in the software-defined network SDN secure communication device, when the user request at the client end is a user access request of a cloud user, the transceiver module 92 includes:

检测单元,用于检测所述云用户的用户接入请求为首次发送的用户接入请求时,转发所述用户接入请求至所述云服务器;A detecting unit, configured to forward the user access request to the cloud server when detecting that the user access request of the cloud user is the first user access request sent;

接收单元,用于接收由所述云服务器针对所述用户接入请求进行安全检测返回的检测结果,其中,所述检测结果包括:由所述云服务器检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器的检测结果或接受访问所述第一SDN控制器的检测结果。The receiving unit is configured to receive a detection result returned by the cloud server for security detection of the user access request, wherein the detection result includes: the cloud server detects the security of the user access request and generates A detection result of denying access to the first SDN controller or a detection result of accepting access to the first SDN controller.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述第一处理模块93,包括:In another embodiment of the present invention, in the software-defined network SDN secure communication device, the first processing module 93 includes:

产生单元,用于对所述检测结果进行处理,产生一流表项记录;A generating unit, configured to process the detection result and generate a first-class entry record;

第一发送单元,用于发送所述检测结果及所述流表项记录至所述云用户,其中,所述流表项记录包括:与所述用户接入请求对应的状态字段。A first sending unit, configured to send the detection result and the flow entry record to the cloud user, where the flow entry record includes: a status field corresponding to the user access request.

本发明又一实施例的软件定义网络SDN安全通信的装置还包括:The device for secure communication of software-defined network SDN in another embodiment of the present invention also includes:

检测模块,用于检测存在与所述云用户的用户接入请求对应的流表项记录,确定所述用户接入请求不为首次发送的用户接入请求;A detection module, configured to detect that there is a flow entry record corresponding to the user access request of the cloud user, and determine that the user access request is not a user access request sent for the first time;

反馈模块,用于针对所述云用户的用户接入请求返回给所述云用户的处理结果,其中,所述处理结果包括:通过所述流表项记录所述云用户的用户接入请求已经由所述云服务器检测安全并产生一接受访问所述第一SDN控制器的检测结果。A feedback module, configured to return a processing result to the cloud user regarding the user access request of the cloud user, wherein the processing result includes: recording through the flow entry that the user access request of the cloud user has The cloud server detects security and generates a detection result of accepting access to the first SDN controller.

本发明又一实施例的软件定义网络SDN安全通信的装置中,在用户端的用户请求为具有终端应用的用户终端的一个第一网络授权请求时,所述收发模块92包括:In another embodiment of the present invention, in the software-defined network SDN secure communication device, when the user request at the user end is a first network authorization request of a user terminal with a terminal application, the transceiver module 92 includes:

发送子模块,用于发送所述第一网络授权请求至所述云服务器;a sending submodule, configured to send the first network authorization request to the cloud server;

接收子模块,用于接收由所述云服务器针对所述第一网络授权请求进行安全检测返回的检测结果,其中,所述检测结果包括:检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求。The receiving submodule is configured to receive a detection result returned by the cloud server for the security detection of the first network authorization request, wherein the detection result includes: detecting whether the first SDN controller exists with the first SDN controller. A second network authorization request in which the user name, password and domain name of the network authorization request are the same.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述第一处理模块93包括:In another embodiment of the present invention, in the software-defined network SDN secure communication device, the first processing module 93 includes:

生成单元,用于在所述检测结果为所述第一SDN控制器不存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,根据所述第一网络授权请求,生成与所述第一网络授权请求唯一对应的第一令牌码;A generating unit configured to, when the detection result is that the first SDN controller does not have a second network authorization request that is the same as the user name, password, and domain name of the first network authorization request, according to the first A network authorization request, generating a first token code uniquely corresponding to the first network authorization request;

第一处理单元,用于验证所述第一网络授权请求中的所述用户名、所述密码及所述域名,并在验证通过时,生成携带有所述第一网络授权请求及所述第一令牌码的授权目标对象并发送所述授权目标对象至所述用户终端。A first processing unit, configured to verify the user name, the password, and the domain name in the first network authorization request, and generate a message containing the first network authorization request and the second network authorization request when the verification is passed. an authorization target object of a token code and send the authorization target object to the user terminal.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述第一处理模块93包括:第二处理单元,用于在所述检测结果为所述第一SDN控制器存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,获取所述第二网络授权请求唯一对应的第二令牌码,生成携带有所述第一网络授权请求及所述第二令牌码的授权目标对象并发送所述授权目标对象至所述用户终端。In another embodiment of the present invention, in the software-defined network SDN secure communication device, the first processing module 93 includes: a second processing unit, configured to, when the detection result is that the first SDN controller exists and the When the user name, password and domain name of the first network authorization request are all the same as the second network authorization request, obtain the second token code uniquely corresponding to the second network authorization request, and generate a second token code that carries the first network authorization request and Authorize the target object of the second token code and send the authorized target object to the user terminal.

本发明又一实施例的软件定义网络SDN安全通信的装置中,在用户端的用户请求为具有终端应用的用户终端的多个第一网络授权请求时,所述收发模块92包括:In another embodiment of the present invention, in the device for secure communication of software-defined network SDN, when the user request of the user end is a plurality of first network authorization requests of the user terminal with terminal application, the transceiver module 92 includes:

分配单元,用于分配每个第一网络授权请求对应的优先级;An allocation unit, configured to allocate a priority corresponding to each first network authorization request;

第二发送单元,用于按照所述优先级发送所述第一网络授权请求至所述云服务器;a second sending unit, configured to send the first network authorization request to the cloud server according to the priority;

收发单元,用于按照所述优先级接收由所述云服务器针对所述第一网络授权请求进行安全检测返回的检测结果。The transceiver unit is configured to receive, according to the priority, the detection result returned by the cloud server for the security detection of the first network authorization request.

本发明又一实施例的软件定义网络SDN安全通信的装置还包括:The device for secure communication of software-defined network SDN in another embodiment of the present invention also includes:

转换模块,用于通过预定接口转换所述检测结果的数据格式与所述第一SDN控制器的数据格式相匹配。A conversion module, configured to convert the data format of the detection result through a predetermined interface to match the data format of the first SDN controller.

本发明又一实施例的软件定义网络SDN安全通信的装置还包括:The device for secure communication of software-defined network SDN in another embodiment of the present invention also includes:

建立模块,用于建立所述第一SDN控制器与至少一个第二SDN控制器连接,其中,所述至少一个第二SDN控制器与所述第一SDN控制器处于不同域;An establishment module, configured to establish a connection between the first SDN controller and at least one second SDN controller, wherein the at least one second SDN controller is in a different domain from the first SDN controller;

获取模块,用于获取来自至少一个所述第二SDN控制器所在域的用户端的用户请求。An acquisition module, configured to acquire a user request from a user end in at least one domain where the second SDN controller is located.

本发明实施例中,建立不同域的终端用户的连接,可以实现跨域情况下的令牌授权。如图10所示具体跨域的结构,比如,终端用户的应用App2为被授权方,终端用户的应用App3为资源方。如果终端用户的应用App2要访问终端用户的应用App3的资源,就要从第一SDN控制器1001令牌Token获取访问令牌。一种方式是终端用户的应用App2直接获得终端用户的应用App3得到授权目标对象,使用授权目标对象从令牌Token得到访问令牌;另一种方式是终端用户的应用App3把终端用户的应用App2的网络授权请求转向到令牌Token,通过第二SDN控制器1002的令牌Token对终端用户的应用App3认证后,终端用户的应用App3给终端用户的应用App2发放授权目标对象,终端用户的应用App2使用授权目标对象从令牌Token获得访问令牌码。In the embodiment of the present invention, establishing connections of end users in different domains can realize token authorization in a cross-domain situation. As shown in FIG. 10 , the specific cross-domain structure, for example, the application App2 of the end user is the authorized party, and the application App3 of the end user is the resource party. If the terminal user's application App2 wants to access the resource of the terminal user's application App3, it needs to obtain the access token from the token Token of the first SDN controller 1001 . One way is that the end user's application App2 directly obtains the end user's application App3 to obtain the authorization target object, and uses the authorization target object to obtain the access token from the token Token; the other way is that the end user's application App3 uses the end user's application App2 The network authorization request of the terminal user is transferred to the token Token, and after the terminal user’s application App3 is authenticated by the token Token of the second SDN controller 1002, the terminal user’s application App3 issues an authorization target object to the terminal user’s application App2, and the terminal user’s application App2 uses the authorization target object to obtain the access token code from the token Token.

如图11所示,本发明实施例的第一SDN控制器与数据转发层的数据包的处理过程的实际应用的流程如下。As shown in FIG. 11 , the actual application process of the first SDN controller and the data packet processing process of the data forwarding layer in the embodiment of the present invention is as follows.

步骤31,数据转发层的包头信息提取模块提取数据帧包头信息数据包中的包头关键信息,并对包头关键信息进行处理和存储;Step 31, the header information extraction module of the data forwarding layer extracts the header key information in the header information packet of the data frame, and processes and stores the header key information;

步骤32,数据转发层将包头关键信息与状态表21进行比较和匹配,如果状态表21中没有关于该项的记录,则添加相关记录,并将其状态置为默认DEFAULT;Step 32, the data forwarding layer compares and matches the key information of the header with the state table 21, if there is no record about this item in the state table 21, then add a relevant record, and set its state to default DEFAULT;

步骤33,将匹配结果信息与该状态信息一并发送,与变换流表22进行比较和匹配。若变换流表22中没有相应记录,数据转发层发送收入封包数PacketIn消息到第一SDN控制器23,然后第一SDN控制器23匹配的连接状态表21下发流组FlowMod到数据转发层;Step 33 , send the matching result information together with the state information, and compare and match with the transformation flow table 22 . If there is no corresponding record in the conversion flow table 22, the data forwarding layer sends the income packet number PacketIn message to the first SDN controller 23, and then the connection state table 21 matched by the first SDN controller 23 sends the flow group FlowMod to the data forwarding layer;

步骤34,按照第一SDN控制器23指令更新变换流表22同时执行相应数据转发操作;Step 34, update the conversion flow table 22 according to the instruction of the first SDN controller 23 and perform corresponding data forwarding operations at the same time;

步骤35,将变换流表22中下一个状态的相关信息写回到状态表21;Step 35, write back the relevant information of the next state in the transformation flow table 22 to the state table 21;

步骤36,数据转发层向第一SDN控制器SDN23发送数据状态DATA_STATE_IN消息对第一SDN控制器23中的状态表21进行更新。Step 36 , the data forwarding layer sends a data state DATA_STATE_IN message to the first SDN controller SDN23 to update the state table 21 in the first SDN controller 23 .

第五实施例fifth embodiment

如图12所示,本发明实施例的软件定义网络SDN安全通信的装置,应用于云服务器,其中,包括:As shown in FIG. 12, the device for secure communication of software-defined network SDN according to the embodiment of the present invention is applied to a cloud server, including:

接收模块1201,用于接收来自第一SDN控制器转发的用户请求,其中,所述用户请求由用户端向所述第一SDN控制器发送的;The receiving module 1201 is configured to receive a user request forwarded from the first SDN controller, wherein the user request is sent by the user terminal to the first SDN controller;

产生模块1202,用于针对所述用户请求进行安全检测,产生检测结果;A generating module 1202, configured to perform security detection on the user request and generate a detection result;

第二处理模块1203,用于将所述检测结果发送至所述第一SDN控制器,由所述第一SDN控制器对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。The second processing module 1203 is configured to send the detection result to the first SDN controller, and the first SDN controller processes the detection result, generates a processing result and sends the detection result and/or Or the processing result is sent to the client.

本发明实施例中,通过云服务器对第一SDN控制器提供接入安全功能,以服务的形式为用户端提供安全保障,形成专门应对接入安全问题进行服务,提高了第一SDN控制器云服务的安全性。In the embodiment of the present invention, the cloud server provides the access security function to the first SDN controller, and provides security protection for the user terminal in the form of service, forming a service specifically for access security issues, which improves the security of the first SDN controller cloud. Security of the Service.

需要说明的是,本发明提供的装置是应用上述软件定义网络SDN安全通信的方法的装置,则上述软件定义网络SDN安全通信的方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the device provided by the present invention is a device that applies the above-mentioned method for secure communication of software-defined network SDN, and all embodiments of the above-mentioned method for secure communication of software-defined network SDN are applicable to the device, and can achieve the same or similar beneficial effects.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述接收模块1201包括:接收来自第一SDN控制器转发的由云用户发送的用户接入请求。In still another embodiment of the present invention, in the SDN secure communication device, the receiving module 1201 includes: receiving the user access request sent by the cloud user and forwarded from the first SDN controller.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述产生模块1202包括:In another embodiment of the present invention, in the device for secure communication of software-defined network SDN, the generating module 1202 includes:

针对所述用户接入请求,检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器或接受访问所述第一SDN控制器。For the user access request, detect the security of the user access request and generate a deny access to the first SDN controller or accept access to the first SDN controller.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述接收模块1201包括:接收来自第一SDN控制器转发的由具有终端应用的用户终端发送的至少一个第一网络授权请求,其中,所述第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。In the software-defined network SDN secure communication device according to another embodiment of the present invention, the receiving module 1201 includes: receiving at least one first network authorization request sent by a user terminal with a terminal application forwarded from the first SDN controller, Wherein, the first network authorization request includes: the user name of the user terminal, the password corresponding to the user name, and the domain name where the user terminal is located.

本发明又一实施例的软件定义网络SDN安全通信的装置中,所述产生模块1202包括:检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求,产生一检测所述第一SDN控制器存在所述第二网络授权请求的检测结果或所述第一SDN控制器不存在所述第二网络授权请求的检测结果。In yet another embodiment of the present invention, in the software-defined network SDN secure communication device, the generation module 1202 includes: detecting whether the first SDN controller has the same username, password and domain name as the first network authorization request. The same second network authorization request generates a detection result of detecting that the first SDN controller has the second network authorization request or that the first SDN controller does not have the second network authorization request.

本发明又一实施例的软件定义网络SDN安全通信的装置还包括:The device for secure communication of software-defined network SDN in another embodiment of the present invention also includes:

接收存储模块,用于接收并存储所述第一SDN控制器发送的授权目标对象,其中,所述授权目标对象包括:所述第一网络授权请求及由所述第一SDN控制器产生的第一令牌码及第二令牌码中的任一令牌码。A receiving and storing module, configured to receive and store the authorization target object sent by the first SDN controller, wherein the authorization target object includes: the first network authorization request and the first SDN generated by the first SDN controller Any token code in the first token code and the second token code.

本发明又一实施例的软件定义网络SDN安全通信的装置还包括:The device for secure communication of software-defined network SDN in another embodiment of the present invention also includes:

检测控制模块,用于检测所述第一SDN控制器的网络攻击信息,禁止打开并删除所述网络攻击信息,其中,所述网络攻击信息携带有窃取信息及转发网络的行为信息。The detection control module is used to detect the network attack information of the first SDN controller, prohibit opening and deleting the network attack information, wherein the network attack information carries behavior information of stealing information and forwarding network.

如图13所示,本发明实施例的云服务器的实际应用的流程如下。As shown in FIG. 13 , the actual application process of the cloud server in the embodiment of the present invention is as follows.

首先,需要说明的是:云服务器需要与云服务提供商进行配合,该云服务提供商具有大数据计算能力,通过集群应用、网格技术或分布式文件系统等功能,将网络中大量各种不同类型的存储设备通过应用软件集合起来协同工作,共同提供数据存储、处理和业务访问功能的一个系统。其次,需要说明的是:安全服务云(相当于上述的云服务器),把云计算的接入云服务器放在云服务提供商之外,由第三方提供,可以实现接入的外包,专门为云用户提供接入安全的服务,以服务的形式为用户提供安全保障。此处是以一个云服务提供商和一个安全服务云进行应用说明,实际应用也可以为部署多个云服务提供商和安全服务云,在此不再举例说明。First of all, it needs to be explained that the cloud server needs to cooperate with the cloud service provider. The cloud service provider has big data computing capabilities. Different types of storage devices work together through application software to jointly provide a system of data storage, processing and business access functions. Secondly, it needs to be explained that the security service cloud (equivalent to the above-mentioned cloud server) places the access cloud server of cloud computing outside the cloud service provider and is provided by a third party, which can realize the outsourcing of access, and is specially designed for Cloud users provide access security services and provide users with security protection in the form of services. Here, one cloud service provider and one security service cloud are used for application description. The actual application can also be the deployment of multiple cloud service providers and security service clouds, so no examples are given here.

步骤1101:当云用户(包括个人用户451或企业用户452)的用户接入请求要求进行安全服务时,OpenFlow交换机43根据用户接入请求的服务类型(该服务类型至少包括:数据完整性检测、统一用户管理、网络攻击探测)将用户接入请求分配给安全服务云41执行。Step 1101: When the user access request of the cloud user (including individual user 451 or enterprise user 452) requires security services, the OpenFlow switch 43 according to the service type requested by the user access (the service type includes at least: data integrity detection, Unified user management, network attack detection) assign user access requests to the security service cloud 41 for execution.

步骤1102:云服务供应商44实现对用户接入请求的用户数据的存储和处理并将存储处理结果提供给第一SDN控制器42。Step 1102: the cloud service provider 44 implements storage and processing of user data requested by the user, and provides the storage and processing results to the first SDN controller 42.

步骤1103:安全服务云41处理用户接入请求,决定用户接入请求的用户的数据的转发、阻断或用户接入访问或者拒绝访问,将决定结果通过API接口421通知第一SDN控制器42。Step 1103: the security service cloud 41 processes the user access request, determines the forwarding, blocking or user access or denial of user data of the user access request, and notifies the first SDN controller 42 of the decision result through the API interface 421 .

步骤1104:第一SDN控制器42生成相应的流表项,下发给OpenFlow交换机43(该OpenFlow交换机43为数据转发层的一个应用实体,在此仅仅为举例说明),OpenFlow交换机43执行操作。当后面有相同的用户接入请求时,OpenFlow交换机43可根据服务历史记录的流表项执行操作,用户接入请求无需再次通过安全服务云41。对于云用户定制的服务,可以直接在第一SDN控制器上配置对应流表项完成指定功能,第一SDN控制器42把OpenFlow交换机43和云用户、终端用户46的响应发送给安全服务云41。Step 1104: the first SDN controller 42 generates a corresponding flow entry, and sends it to the OpenFlow switch 43 (the OpenFlow switch 43 is an application entity of the data forwarding layer, which is only an example here), and the OpenFlow switch 43 executes the operation. When there is the same user access request later, the OpenFlow switch 43 can perform an operation according to the flow entry in the service history, and the user access request does not need to pass through the security service cloud 41 again. For services customized by cloud users, the corresponding flow entry can be directly configured on the first SDN controller to complete the specified function, and the first SDN controller 42 sends the responses of the OpenFlow switch 43 and cloud users and end users 46 to the security service cloud 41 .

如图14和图15所示,本发明实施例的第一SDN控制器及云服务器的实际应用如下。As shown in FIG. 14 and FIG. 15 , the actual application of the first SDN controller and the cloud server in the embodiment of the present invention is as follows.

需要说明的是:在具体的实施过程中,SDN网络包括五层,其中五层分别为:应用服务层51(相当于上述的终端用户)、界面监管层52(对应的应用实体可以为终端显示器)、控制层53(相当于上述的第一SDN控制器)、数据转发层54(对应的应用实体可以为交换机)、云服务层55(相当于上述的云服务器)。It should be noted that: in the specific implementation process, the SDN network includes five layers, of which the five layers are: application service layer 51 (equivalent to the above-mentioned terminal user), interface supervision layer 52 (the corresponding application entity can be a terminal display ), a control layer 53 (equivalent to the above-mentioned first SDN controller), a data forwarding layer 54 (the corresponding application entity may be a switch), and a cloud service layer 55 (equivalent to the above-mentioned cloud server).

应用服务层51向控制层53发送网络授权请求,控制层53根据应用服务层51的各种请求类型,分析控制层53状态,制定网络授权请求优先级,验证接收到的来自应用携带的数字签名,对网络授权请求进行验证,向应用服务层51发送访问授权令牌。The application service layer 51 sends a network authorization request to the control layer 53, and the control layer 53 analyzes the state of the control layer 53 according to various request types of the application service layer 51, formulates the priority of the network authorization request, and verifies the digital signature received from the application. , verify the network authorization request, and send the access authorization token to the application service layer 51 .

界面监管层52用于显示网络中的令牌授权信息,令牌授权过程,冲突分析和决策结果,网络拓扑、告警、链路等信息。The interface supervision layer 52 is used to display token authorization information in the network, token authorization process, conflict analysis and decision results, network topology, alarms, links and other information.

控制层53接收应用服务层51的各种用户请求,根据应用类型设定相应的优先级,通过令牌授权模块(相当于上述的第一处理单元和/或第二处理单元)向给用户请求发放授权码、或发放停止授权码,并通过优先级分析算法给各用户请求设定优先级;通过FlowMode消息和PacketIn消息与数据转发层54进行通讯。控制层53发出第一SDN控制器-交换机信息(数据转发层54数据也必须通过控制层53实现),用于控制OpenFlow交换机的操作,包括通讯握手、交换机流表配置、修改交换机状态、数据队列的设置、交换机状态的读取、发包方法,实现安全保障。The control layer 53 receives various user requests from the application service layer 51, sets the corresponding priority according to the application type, and requests the user through the token authorization module (equivalent to the above-mentioned first processing unit and/or second processing unit) Issue an authorization code, or issue a stop authorization code, and set priority for each user request through a priority analysis algorithm; communicate with the data forwarding layer 54 through a FlowMode message and a PacketIn message. The control layer 53 sends the first SDN controller-switch information (the data of the data forwarding layer 54 must also be realized by the control layer 53), which is used to control the operation of the OpenFlow switch, including communication handshake, switch flow table configuration, modification of switch status, and data queue The setting of the switch, the reading of the status of the switch, and the method of sending the package realize the security guarantee.

以下内容是各个层的具体内容:The following content is the specific content of each layer:

具体的,上述应用服务层51的应用根据来源和功能可以分为四种类型:命令行应用511、网管应用512、安全应用513和其它应用514,其中,Specifically, the applications of the above-mentioned application service layer 51 can be divided into four types according to sources and functions: command line applications 511, network management applications 512, security applications 513 and other applications 514, wherein,

命令行应用511是由控制器管理人员接入的应用,通过控制器预留的命令行(非开源)实现对控制器的配置、查询等操作,实现一些验证和调试的功能。The command line application 511 is an application accessed by the controller management personnel. Through the command line (non-open source) reserved by the controller, operations such as configuration and query of the controller are realized, and some functions of verification and debugging are realized.

网管应用512是用来实现网络管理员对控制器进行网络各种配置,并查看网络状态,如告警、拓扑等状态。The network management application 512 is used to enable the network administrator to perform various network configurations on the controller, and to view network status, such as alarm and topology status.

安全应用513是指网络中接入的安全服务云第三方机构,为用户提供安全方面的服务和保障。The security application 513 refers to a security service cloud third-party organization connected to the network, which provides security services and guarantees for users.

其它应用514指各种预留的处理应用,比如控制器软件升级、开启日志、内存泄露检测等等。Other applications 514 refer to various reserved processing applications, such as controller software upgrade, log opening, memory leak detection and so on.

具体的,上述界面监管层52包括两个模块:用户界面521、界面处理模块522,其中,Specifically, the interface supervision layer 52 includes two modules: a user interface 521 and an interface processing module 522, wherein,

用户界面521用于从界面处理模块522获取数据,然后把数据转为图形界面,为网管人员提供配置的窗口,并下发REST(Representational State Transfer,表征状态转移)或HTTP(HyperText Transfer Protocolc,超文本传输协议)协议发送配置至界面处理模块522。The user interface 521 is used to obtain data from the interface processing module 522, then converts the data into a graphical interface, provides configuration windows for network administrators, and sends REST (Representational State Transfer, representational state transfer) or HTTP (HyperText Transfer Protocol, hypertext Text Transfer Protocol) protocol to send the configuration to the interface processing module 522.

界面处理模块522,接收反馈模块531信息,以REST、HTTP协议的方式将响应结果发送给用户界面521,并把用户界面521指令缓存后,发送给反馈模块531。The interface processing module 522 receives the information from the feedback module 531, sends the response result to the user interface 521 in the form of REST and HTTP protocols, and caches the instructions of the user interface 521 before sending it to the feedback module 531.

具体的,控制层53包括反馈模块531、令牌授权模块532,认证授权模块533、优先级分析模块534、流表管理模块535、命令下发及连接状态表同步模块536、存储模块537及AIP接口模块538(相当于上述的转换模块),其中,Specifically, the control layer 53 includes a feedback module 531, a token authorization module 532, an authentication authorization module 533, a priority analysis module 534, a flow table management module 535, a command issuing and connection state table synchronization module 536, a storage module 537 and an AIP Interface module 538 (equivalent to the above-mentioned conversion module), wherein,

反馈模块531(相当于反馈模块),实现把认证授权信息、优先级分析与决策信息、反馈给网管人员。The feedback module 531 (equivalent to the feedback module) implements feedback of authentication and authorization information, priority analysis and decision information to network administrators.

令牌授权模块532(相当于上述的第一处理单元和/或第二处理单元),通过应用服务层51Token服务发来的网络授权请求向授权服务器请求访问令牌,并把访问令牌发送给认证授权模块3-3。The token authorization module 532 (equivalent to the above-mentioned first processing unit and/or the second processing unit) requests an access token from the authorization server through the network authorization request sent by the application service layer 51 Token service, and sends the access token to Authentication and authorization module 3-3.

认证授权模块533(相当于收发模块),接收应用服务层51的授权请求和令牌授权模块的令牌码,设置各应用访问优先级别,并给各要访问应用发放授权和令牌码。The authentication and authorization module 533 (equivalent to the transceiver module) receives the authorization request of the application service layer 51 and the token code of the token authorization module, sets the access priority level of each application, and issues authorization and token codes to each application to be accessed.

优先级分析模块534(相当于收发模块),分析各个用户请求的重要性,并判断是否与流表管理模块535中已有的流规则存在冲突,若存在冲突,则根据分析算法缓解冲突,对用户请求的流规则接收或拒绝操作,对流表管理模块535进行更新。优先级分析模块534还定义SDN控制器的连接状态表,负责和数据转发模块的SDN交换机中的连接状态表保持同步,同时当收到OpenFlow交换机发送PacketIn消息时,该模块将会将包头信息和状态信息与连接状态表或者防火墙规则集进行对比,分配相应状态,同时下发变换流表到OpenFlow交换机中。The priority analysis module 534 (equivalent to the transceiver module) analyzes the importance of each user request, and judges whether there is a conflict with the existing flow rules in the flow table management module 535. If there is a conflict, the conflict is alleviated according to the analysis algorithm. The flow rule acceptance or rejection operation requested by the user updates the flow table management module 535 . The priority analysis module 534 also defines the connection state table of the SDN controller, which is responsible for keeping synchronization with the connection state table in the SDN switch of the data forwarding module. The state information is compared with the connection state table or the firewall rule set, the corresponding state is assigned, and the transformation flow table is sent to the OpenFlow switch at the same time.

流表管理模块535(相当于第一处理模块),用于保存网络中正在运行的所有流表信息。流表管理模块535一方面是用户请求的流规则,为优先级分析模块534提供服务;另一方面是为命令下发及连接状态表同步模块提供流规则,以便向交换机进行下发OpenFlow消息。The flow table management module 535 (equivalent to the first processing module) is configured to save all flow table information running in the network. On the one hand, the flow table management module 535 is the flow rule requested by the user, which provides services for the priority analysis module 534; on the other hand, it provides the flow rule for the command issuing and connection state table synchronization module, so as to send OpenFlow messages to the switch.

命令下发及连接状态表同步模块536(相当于第一处理模块),用于在第一SDN控制器端建立连接状态表,与OpenFlow交换机中的状态表保持同步,同时当收到OpenFlow交换机发送PacketIn消息时,该模块将会将OpenFlow交换机中的包头信息和状态信息与连接状态表或者防火墙规则集进行对比,分配相应状态,同时下发变换流表到OpenFlow交换机中。Command issuance and connection state table synchronization module 536 (equivalent to the first processing module), used to establish a connection state table at the first SDN controller end, keep synchronous with the state table in the OpenFlow switch, and simultaneously receive when the OpenFlow switch sends When receiving a PacketIn message, the module will compare the packet header information and state information in the OpenFlow switch with the connection state table or firewall rule set, assign the corresponding state, and send the transformation flow table to the OpenFlow switch at the same time.

存储模块537(相当于第一处理模块)用来实现对各模块数据的存储,实现用户认证数据的持久化,实现拓扑资源的存储等等,保证断电后,数据的恢复。The storage module 537 (equivalent to the first processing module) is used to realize data storage of each module, realize persistence of user authentication data, realize storage of topological resources, etc., and ensure data recovery after power failure.

AIP模块538(相当于AIP接口)用来一方面实现对控制器的接口,另一方面实现对云服务模块的接口,负责云服务模块与SDN控制器的交互,保证云服务器的网络管理策略下发到OpenFlow交换机上,由OpenFlow交换机执行实施。The AIP module 538 (equivalent to the AIP interface) is used to realize the interface to the controller on the one hand, and to realize the interface to the cloud service module on the other hand, responsible for the interaction between the cloud service module and the SDN controller, and ensuring that the network management strategy of the cloud server Send it to the OpenFlow switch, and the OpenFlow switch will implement it.

具体的,数据转发层54包括交换机信息提取模块541、状态表模块542、流表模块543、数据检测模块544、数据队列模块545,其中,Specifically, the data forwarding layer 54 includes a switch information extraction module 541, a state table module 542, a flow table module 543, a data detection module 544, and a data queue module 545, wherein,

数据转发层54使用TLS(Transport Layer Security,安全传输层协议)来认证和加密网络设备端与第一SDN控制器之间的流量,使用TLS帮助验证控制器和网络设备或第一SDN控制器,防止窃听和伪造南向通信。通过OpenFlow交换机向第一SDN控制器发送PacketIn消息,用于第一SDN控制器的网络行为的刷新和交换机状态变更,在第一SDN控制器和OpenFlow交换机中部署SDN防火墙,在OpenFlow协议中添加新的消息和添加相关状态字段实现了SDN防火墙的部署。The data forwarding layer 54 uses TLS (Transport Layer Security, secure transport layer protocol) to authenticate and encrypt the traffic between the network device end and the first SDN controller, and uses TLS to help verify the controller and the network device or the first SDN controller, Prevents eavesdropping and forgery of southbound communications. Send a PacketIn message to the first SDN controller through the OpenFlow switch, for refreshing the network behavior of the first SDN controller and changing the switch state, deploying the SDN firewall in the first SDN controller and the OpenFlow switch, and adding new information to the OpenFlow protocol The message and adding related status fields realize the deployment of SDN firewall.

交换机信息提取模块541,用于提取数据帧包头部中关键信息,所述的关键信息包括数据包的源地址、源端口、目的地址、目的端口、序列号、确认号以及TCP(Transmission Control Protocol,传输控制协议)标志位;The switch information extraction module 541 is used to extract key information in the data frame packet header, and the key information includes source address, source port, destination address, destination port, sequence number, confirmation number and TCP (Transmission Control Protocol, transmission control protocol) flag;

状态表模块542,用于在所述的数据转发层中建立连接状态表,并同时将连接状态表的更新同步到所述的第一SDN控制器中,该模块的连接状态表的更新将由变换流表通过指令控制,如SET_STATE指令;The state table module 542 is used to establish a connection state table in the data forwarding layer, and at the same time synchronize the update of the connection state table to the first SDN controller. The update of the connection state table of this module will be performed by the transformation The flow table is controlled by instructions, such as the SET_STATE instruction;

流表模块543,用于在由第一SDN控制器下发指令在所述的数据转发层中建立变换流表,负责状态转换过程以及数据包转发操作。The flow table module 543 is configured to establish a conversion flow table in the data forwarding layer when the first SDN controller sends an instruction, and is responsible for the state transition process and data packet forwarding operation.

数据队列模块544,用于设置发送消息的数据队列、并存储队列信息,如Hello报文、响应请求、应答请求等。The data queue module 544 is configured to set a data queue for sending messages and store queue information, such as Hello messages, response requests, and response requests.

数据检测模块545,用于负责判别来到所述的数据转发层数据包属于连接设置计数器,检验连接状态的合法性。The data detection module 545 is responsible for judging that the data packet coming to the data forwarding layer belongs to the connection setting counter, and checking the legitimacy of the connection state.

连接状态表通过分别向SDN控制器和数据转发层54发送消息,实现这两个模块的同步,当第一SDN控制器或者数据转发层54交换机状态表发生更新时,分别向另一方发送消息,也命令另一方发生更新,并返回更新状态。The connection state table realizes the synchronization of these two modules by sending messages to the SDN controller and the data forwarding layer 54 respectively. When the first SDN controller or the data forwarding layer 54 switch state tables are updated, they send messages to the other party respectively, Also commands the other side to update, and returns the update status.

本发明实施例中,通过对OpenFlow协议的扩展,增加状态字段,使流表依据状态执行,实现对连接状态表的更新,实现在数据转发层的防火墙的部署。也可以实现针对第一SDN控制器的安全认证,北向为用户提供接入安全方面的服务,通过令牌授权的方式,为用户提供安全保障,并支持集群控制器和大量网络设备,支持对大量网络设备应用的云安全服务,并实时将网络状态反馈给用户。第一SDN控制器产生相应的流表项,下发给OpenFlow交换机执行,实现数据流的调配,同时将OpenFlow交换机的反馈信息发送给第一SDN控制器或网络管理人员决策。In the embodiment of the present invention, by extending the OpenFlow protocol, the state field is added, so that the flow table is executed according to the state, the update of the connection state table is realized, and the deployment of the firewall at the data forwarding layer is realized. It can also implement security authentication for the first SDN controller. The northbound service provides access security services for users, and provides security protection for users through token authorization. It also supports cluster controllers and a large number of network devices, and supports a large number of Cloud security service for network device applications, and feedback the network status to users in real time. The first SDN controller generates corresponding flow entries, sends them to the OpenFlow switch for execution, implements data flow allocation, and sends feedback information from the OpenFlow switch to the first SDN controller or network managers for decision-making.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (20)

1.一种软件定义网络SDN安全通信的方法,应用于第一SDN控制器,其特征在于,所述的软件定义网络SDN安全通信的方法包括:1. A method for software-defined network SDN secure communication, applied to the first SDN controller, characterized in that, the method for described software-defined network SDN secure communication comprises: 获取来自用户端的用户请求;Get the user request from the client; 发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;Sending the user request to a cloud server, and receiving a detection result returned by the cloud server for security detection of the user request; 对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。Processing the detection result, generating a processing result, and sending the detection result and/or the processing result to the client. 2.如权利要求1所述的软件定义网络SDN安全通信的方法,其特征在于,2. the method for software defined network SDN secure communication as claimed in claim 1, is characterized in that, 所述用户端的用户请求包括:云用户的用户接入请求和/或具有终端应用的用户终端的至少一个第一网络授权请求,其中,所述至少一个第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。The user request of the user terminal includes: a user access request of a cloud user and/or at least one first network authorization request of a user terminal with a terminal application, wherein the at least one first network authorization request includes: the user terminal user name, the password corresponding to the user name, and the domain name where the user terminal is located. 3.如权利要求2所述的软件定义网络SDN安全通信的方法,其特征在于,3. the method for software defined network SDN secure communication as claimed in claim 2, is characterized in that, 在用户端的用户请求为云用户的用户接入请求时,所述发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果,包括:When the user request at the client end is a user access request of a cloud user, the sending the user request to the cloud server, and receiving the detection result returned by the cloud server for security detection of the user request includes: 检测所述云用户的用户接入请求为首次发送的用户接入请求时,转发所述用户接入请求至所述云服务器;When detecting that the user access request of the cloud user is the user access request sent for the first time, forwarding the user access request to the cloud server; 接收由所述云服务器针对所述用户接入请求进行安全检测返回的检测结果,其中,所述检测结果包括:由所述云服务器检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器的检测结果或接受访问所述第一SDN控制器的检测结果。receiving a detection result returned by the cloud server for security detection of the user access request, wherein the detection result includes: the cloud server detects the security of the user access request and generates an access deny The detection result of the first SDN controller or the detection result of accepting access to the first SDN controller. 4.如权利要求3所述的软件定义网络SDN安全通信的方法,其特征在于,4. the method for software defined network SDN secure communication as claimed in claim 3, is characterized in that, 所述对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端,包括:The processing the detection result, generating the processing result and sending the detection result and/or the processing result to the client includes: 对所述检测结果进行处理,产生一流表项记录;Processing the detection result to generate a first-class entry record; 发送所述检测结果及所述流表项记录至所述云用户,其中,所述流表项记录包括:与所述用户接入请求对应的状态字段。Sending the detection result and the flow entry record to the cloud user, wherein the flow entry record includes: a status field corresponding to the user access request. 5.如权利要求2所述的软件定义网络SDN安全通信的方法,其特征在于,5. the method for software defined network SDN secure communication as claimed in claim 2, is characterized in that, 在所述获取来自用户端的用户请求之后,所述用户端的用户请求为云用户的用户接入请求时,所述的软件定义网络SDN安全通信的方法还包括:After the acquisition of the user request from the user terminal, when the user request of the user terminal is a user access request of a cloud user, the method for secure communication of a software-defined network SDN further includes: 检测存在与所述云用户的用户接入请求对应的流表项记录,确定所述用户接入请求不为首次发送的用户接入请求;Detecting that there is a flow entry record corresponding to the user access request of the cloud user, and determining that the user access request is not a user access request sent for the first time; 针对所述云用户的用户接入请求返回给所述云用户的处理结果,其中,所述处理结果包括:通过所述流表项记录所述云用户的用户接入请求已经由所述云服务器检测安全并产生一接受访问所述第一SDN控制器的检测结果。A processing result returned to the cloud user for the user access request of the cloud user, wherein the processing result includes: recording through the flow entry that the user access request of the cloud user has been sent by the cloud server Detect security and generate a detection result that access to the first SDN controller is accepted. 6.如权利要求2所述的软件定义网络SDN安全通信的方法,其特征在于,在用户端的用户请求为具有终端应用的用户终端的一个第一网络授权请求时,所述发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果,包括:6. The method for software-defined network SDN secure communication as claimed in claim 2, characterized in that, when the user request at the user end is a first network authorization request of a user terminal with a terminal application, the sending of the user request to the cloud server, and receive the detection result returned by the cloud server for the security detection of the user request, including: 发送所述第一网络授权请求至所述云服务器;sending the first network authorization request to the cloud server; 接收由所述云服务器针对所述第一网络授权请求进行安全检测返回的检测结果,其中,所述检测结果包括:检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求。receiving a detection result returned by the cloud server for security detection of the first network authorization request, wherein the detection result includes: detecting whether there is a user related to the first network authorization request in the first SDN controller The second network authorization request with the same name, password and domain name. 7.如权利要求6所述的软件定义网络SDN安全通信的方法,其特征在于,7. The method for software-defined network SDN security communication as claimed in claim 6, is characterized in that, 所述对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端,包括:The processing the detection result, generating the processing result and sending the detection result and/or the processing result to the client includes: 在所述检测结果为所述第一SDN控制器不存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,根据所述第一网络授权请求,生成与所述第一网络授权请求唯一对应的第一令牌码;When the detection result is that the first SDN controller does not have a second network authorization request with the same username, password and domain name as the first network authorization request, according to the first network authorization request, generate a first token code uniquely corresponding to the first network authorization request; 验证所述第一网络授权请求中的所述用户名、所述密码及所述域名,并在验证通过时,生成携带有所述第一网络授权请求及所述第一令牌码的授权目标对象并发送所述授权目标对象至所述用户终端。verifying the user name, the password and the domain name in the first network authorization request, and generating an authorization object carrying the first network authorization request and the first token code when the verification is passed object and send the authorized target object to the user terminal. 8.如权利要求6所述的软件定义网络SDN安全通信的方法,其特征在于,8. The method for software-defined network SDN security communication as claimed in claim 6, is characterized in that, 所述对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端,包括:The processing the detection result, generating the processing result and sending the detection result and/or the processing result to the client includes: 在所述检测结果为所述第一SDN控制器存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求时,获取所述第二网络授权请求唯一对应的第二令牌码,生成携带有所述第一网络授权请求及所述第二令牌码的授权目标对象并发送所述授权目标对象至所述用户终端。When the detection result is that the first SDN controller has a second network authorization request that is the same as the user name, password, and domain name of the first network authorization request, obtain a uniquely corresponding to the second network authorization request a second token code, generating an authorization target object carrying the first network authorization request and the second token code, and sending the authorization target object to the user terminal. 9.如权利要求2所述的软件定义网络SDN安全通信的方法,其特征在于,在用户端的用户请求为具有终端应用的用户终端的多个第一网络授权请求时,所述发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果,包括:9. The method for software-defined network SDN security communication as claimed in claim 2, is characterized in that, when the user request of the user terminal is a plurality of first network authorization requests of the user terminal with terminal applications, the sending of the user Request to the cloud server, and receive the detection result returned by the cloud server for the security detection of the user request, including: 分配每个第一网络授权请求对应的优先级;assigning a priority corresponding to each first network authorization request; 按照所述优先级发送所述第一网络授权请求至所述云服务器;sending the first network authorization request to the cloud server according to the priority; 按照所述优先级接收由所述云服务器针对所述第一网络授权请求进行安全检测返回的检测结果。receiving a detection result returned by the cloud server for security detection of the first network authorization request according to the priority. 10.如权利要求1至9任一项所述的软件定义网络SDN安全通信的方法,其特征在于,在对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端之前,所述软件定义网络SDN安全通信还包括:10. The method for secure communication in a software-defined network (SDN) according to any one of claims 1 to 9, wherein, when the detection result is processed, a processing result is generated and the detection result and/or the detection result is sent. Before the processing result is sent to the client, the software-defined network SDN secure communication also includes: 通过预定接口转换所述检测结果的数据格式与所述第一SDN控制器的数据格式相匹配。Converting the data format of the detection result through a predetermined interface to match the data format of the first SDN controller. 11.如权利要求1至9任一项所述的软件定义网络SDN安全通信的方法,其特征在于,在获取来自用户端的用户请求之前,所述的软件定义网络SDN安全通信的方法还包括:11. The method for secure communication of software-defined network SDN as claimed in any one of claims 1 to 9, wherein, before obtaining the user request from the user end, the method for secure communication of software-defined network SDN further comprises: 建立所述第一SDN控制器与至少一个第二SDN控制器连接,其中,所述至少一个第二SDN控制器与所述第一SDN控制器处于不同域;establishing a connection between the first SDN controller and at least one second SDN controller, wherein the at least one second SDN controller is in a different domain from the first SDN controller; 获取来自至少一个所述第二SDN控制器所在域的用户端的用户请求。Obtaining a user request from a client in the domain where the at least one second SDN controller is located. 12.一种软件定义网络SDN安全通信的方法,应用于云服务器,其特征在于,所述的软件定义网络SDN安全通信的方法包括:12. A method for secure communication of a software-defined network SDN, applied to a cloud server, characterized in that, the method for secure communication of a software-defined network SDN comprises: 接收来自第一SDN控制器转发的用户请求,其中,所述用户请求由用户端向所述第一SDN控制器发送的;receiving a user request forwarded from the first SDN controller, wherein the user request is sent by the client to the first SDN controller; 针对所述用户请求进行安全检测,产生检测结果;Carrying out security detection for the user request, and generating a detection result; 将所述检测结果发送至所述第一SDN控制器,由所述第一SDN控制器对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。sending the detection result to the first SDN controller, and the first SDN controller processes the detection result, generates a processing result, and sends the detection result and/or the processing result to the user terminal. 13.如权利要求12所述的软件定义网络SDN安全通信的方法,其特征在于,所述接收来自第一SDN控制器转发的用户请求,包括:13. The method for software-defined network SDN security communication as claimed in claim 12, is characterized in that, described receiving the user request that forwards from first SDN controller, comprises: 接收来自第一SDN控制器转发的由云用户发送的用户接入请求。The user access request sent by the cloud user and forwarded from the first SDN controller is received. 14.如权利要求13所述的软件定义网络SDN安全通信的方法,其特征在于,所述针对所述用户请求进行安全检测,产生检测结果,包括:14. The method for software-defined network SDN security communication as claimed in claim 13, is characterized in that, described user request is carried out security detection, produces detection result, comprises: 针对所述用户接入请求,检测所述用户接入请求的安全并产生一拒绝访问所述第一SDN控制器或接受访问所述第一SDN控制器。For the user access request, detect the security of the user access request and generate a deny access to the first SDN controller or accept access to the first SDN controller. 15.如权利要求13所述的软件定义网络SDN安全通信的方法,其特征在于,所述接收来自第一SDN控制器转发的用户请求,包括:15. The method for software-defined network SDN security communication as claimed in claim 13, is characterized in that, described receiving the user request that forwards from first SDN controller, comprises: 接收来自第一SDN控制器转发的由具有终端应用的用户终端发送的至少一个第一网络授权请求,其中,所述第一网络授权请求包括:所述用户终端的用户名、与所述用户名对应的密码及所述用户终端所在域名。receiving at least one first network authorization request sent by a user terminal with a terminal application forwarded by the first SDN controller, wherein the first network authorization request includes: the user name of the user terminal, and the user name The corresponding password and the domain name where the user terminal is located. 16.如权利要求15所述的软件定义网络SDN安全通信的方法,其特征在于,所述针对所述用户请求进行安全检测,产生检测结果,包括:16. The method for software-defined network SDN security communication as claimed in claim 15, is characterized in that, described user request is carried out security detection, produces detection result, comprises: 检测所述第一SDN控制器是否存在与所述第一网络授权请求的用户名、密码及域名均相同的第二网络授权请求,产生一检测所述第一SDN控制器存在所述第二网络授权请求的检测结果或所述第一SDN控制器不存在所述第二网络授权请求的检测结果。Detecting whether there is a second network authorization request in the first SDN controller that is the same as the user name, password, and domain name of the first network authorization request, and generating a method for detecting that the first SDN controller exists in the second network A detection result of the authorization request or a detection result of the first SDN controller not having the authorization request of the second network. 17.如权利要求16所述的软件定义网络SDN安全通信的方法,其特征在于,所述的软件定义网络SDN安全通信的方法还包括:17. The method for software-defined network SDN secure communication as claimed in claim 16, is characterized in that, the method for described software-defined network SDN secure communication also comprises: 接收并存储所述第一SDN控制器发送的授权目标对象,其中,所述授权目标对象包括:所述第一网络授权请求及由所述第一SDN控制器产生的第一令牌码及第二令牌码中的任一令牌码。receiving and storing the authorization target object sent by the first SDN controller, wherein the authorization target object includes: the first network authorization request, the first token code and the second token code generated by the first SDN controller Any token code in the binary token code. 18.如权利要求12至16任一项所述的软件定义网络SDN安全通信的方法,其特征在于,所述的软件定义网络SDN安全通信的方法还包括:18. The method for secure communication of a software-defined network SDN as claimed in any one of claims 12 to 16, wherein the method for secure communication of a software-defined network SDN further comprises: 检测所述第一SDN控制器的网络攻击信息,禁止打开并删除所述网络攻击信息,其中,所述网络攻击信息携带有窃取信息及转发网络的行为信息。Detecting the network attack information of the first SDN controller, prohibiting opening and deleting the network attack information, wherein the network attack information carries behavior information of stealing information and forwarding network. 19.一种软件定义网络SDN安全通信的装置,应用于第一SDN控制器,其特征在于,所述的软件定义网络SDN安全通信的装置包括:19. A device for secure communication of a software-defined network SDN, applied to a first SDN controller, characterized in that, the device for secure communication of a software-defined network SDN comprises: 第一获取模块,用于获取来自用户端的用户请求;The first obtaining module is used to obtain the user request from the client; 收发模块,用于发送所述用户请求至云服务器,并接收由所述云服务器针对所述用户请求进行安全检测返回的检测结果;A transceiver module, configured to send the user request to a cloud server, and receive a detection result returned by the cloud server for security detection of the user request; 第一处理模块,用于对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。The first processing module is configured to process the detection result, generate a processing result, and send the detection result and/or the processing result to the user terminal. 20.一种软件定义网络SDN安全通信的装置,应用于云服务器,其特征在于,所述的软件定义网络SDN安全通信的装置包括:20. A device for software-defined network SDN secure communication, applied to a cloud server, characterized in that, the device for software-defined network SDN secure communication comprises: 接收模块,用于接收来自第一SDN控制器转发的用户请求,其中,所述用户请求由用户端向所述第一SDN控制器发送的;A receiving module, configured to receive a user request forwarded from the first SDN controller, wherein the user request is sent from the user terminal to the first SDN controller; 产生模块,用于针对所述用户请求进行安全检测,产生检测结果;A generating module, configured to perform security detection on the user request and generate a detection result; 第二处理模块,用于将所述检测结果发送至所述第一SDN控制器,由所述第一SDN控制器对所述检测结果进行处理,产生处理结果并发送所述检测结果和/或所述处理结果至所述用户端。The second processing module is configured to send the detection result to the first SDN controller, and the first SDN controller processes the detection result, generates a processing result and sends the detection result and/or The processing result is sent to the client.
CN201610139226.9A 2016-03-11 2016-03-11 A method and device for software-defined network SDN secure communication Active CN107181720B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610139226.9A CN107181720B (en) 2016-03-11 2016-03-11 A method and device for software-defined network SDN secure communication
PCT/CN2017/074331 WO2017152754A1 (en) 2016-03-11 2017-02-22 Method and apparatus for secure communication of software defined network (sdn)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610139226.9A CN107181720B (en) 2016-03-11 2016-03-11 A method and device for software-defined network SDN secure communication

Publications (2)

Publication Number Publication Date
CN107181720A true CN107181720A (en) 2017-09-19
CN107181720B CN107181720B (en) 2021-06-15

Family

ID=59789977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610139226.9A Active CN107181720B (en) 2016-03-11 2016-03-11 A method and device for software-defined network SDN secure communication

Country Status (2)

Country Link
CN (1) CN107181720B (en)
WO (1) WO2017152754A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512699A (en) * 2018-03-15 2018-09-07 中国联合网络通信集团有限公司 Block chain service server data exception detection method, equipment and block catenary system
CN108768932A (en) * 2018-04-09 2018-11-06 中国电信股份有限公司上海分公司 A kind of secure connection method of lightweight SDN switch and controller
CN108810001A (en) * 2018-06-20 2018-11-13 郑州云海信息技术有限公司 A kind of security service control system and method based on SDN
CN108881059A (en) * 2018-05-29 2018-11-23 新华三技术有限公司 Controller role determines method, the network switching equipment, controller and network system
CN109561054A (en) * 2017-09-26 2019-04-02 华为技术有限公司 A kind of data transmission method, controller and access device
CN109743598A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Third party is authorized to access method, system and the readable storage medium storing program for executing of TV
CN110932814A (en) * 2019-12-05 2020-03-27 北京邮电大学 Software-defined network timing security protection method, device and system
CN111049886A (en) * 2019-11-29 2020-04-21 紫光云(南京)数字技术有限公司 Multi-region SDN controller data synchronization method, server and system
CN112217902A (en) * 2020-10-22 2021-01-12 新华三信息安全技术有限公司 Firewall data synchronization method and device
CN112637154A (en) * 2020-12-09 2021-04-09 迈普通信技术股份有限公司 Equipment authentication method and device, electronic equipment and storage medium
CN114143065A (en) * 2021-11-26 2022-03-04 杭州安恒信息安全技术有限公司 A security event processing method, device, equipment and medium
CN114338400A (en) * 2021-12-31 2022-04-12 中国电信股份有限公司 SDN dynamic control method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315704B (en) * 2021-05-20 2023-01-10 中国联合网络通信集团有限公司 Message forwarding method, SDN controller, switch and system
US20230164021A1 (en) * 2021-11-22 2023-05-25 Google Llc Sharded SDN Control Plane With Authorization
US11722570B1 (en) * 2022-05-13 2023-08-08 Microsoft Technology Licensing, Llc Sharing SDN policy state information between SDN appliances
CN114978942B (en) * 2022-05-13 2024-05-24 深信服科技股份有限公司 Router detection method and device, electronic equipment and storage medium
CN115514644B (en) * 2022-11-15 2023-03-10 阿里云计算有限公司 Entry consistency checking method, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051557A (en) * 2012-12-27 2013-04-17 华为技术有限公司 Data stream processing method and system, controller and switching equipment
CN103607379A (en) * 2013-11-04 2014-02-26 中兴通讯股份有限公司 Software definition network safety enforcement method, system and controller thereof
CN104104561A (en) * 2014-08-11 2014-10-15 武汉大学 SDN (self-defending network) firewall state detecting method and system based on OpenFlow protocol
CN104113839A (en) * 2014-07-14 2014-10-22 蓝盾信息安全技术有限公司 Mobile data safety protection system and method based on SDN
CN104363203A (en) * 2014-10-16 2015-02-18 贵州中科博智科技有限公司 SDN-based secure cloud access method
CN104767696A (en) * 2014-01-07 2015-07-08 上海贝尔股份有限公司 Method and device for controlling user access in SDN-based access network
US20150304281A1 (en) * 2014-03-14 2015-10-22 Avni Networks Inc. Method and apparatus for application and l4-l7 protocol aware dynamic network access control, threat management and optimizations in sdn based networks
CN104219218B (en) * 2013-06-04 2018-05-08 新华三技术有限公司 A kind of method and device of active safety defence

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227344B (en) * 2015-08-21 2019-03-22 烽火通信科技股份有限公司 Software defined network simulation system and method based on OpenStack

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051557A (en) * 2012-12-27 2013-04-17 华为技术有限公司 Data stream processing method and system, controller and switching equipment
CN104219218B (en) * 2013-06-04 2018-05-08 新华三技术有限公司 A kind of method and device of active safety defence
CN103607379A (en) * 2013-11-04 2014-02-26 中兴通讯股份有限公司 Software definition network safety enforcement method, system and controller thereof
CN104767696A (en) * 2014-01-07 2015-07-08 上海贝尔股份有限公司 Method and device for controlling user access in SDN-based access network
US20150304281A1 (en) * 2014-03-14 2015-10-22 Avni Networks Inc. Method and apparatus for application and l4-l7 protocol aware dynamic network access control, threat management and optimizations in sdn based networks
CN104113839A (en) * 2014-07-14 2014-10-22 蓝盾信息安全技术有限公司 Mobile data safety protection system and method based on SDN
CN104104561A (en) * 2014-08-11 2014-10-15 武汉大学 SDN (self-defending network) firewall state detecting method and system based on OpenFlow protocol
CN104363203A (en) * 2014-10-16 2015-02-18 贵州中科博智科技有限公司 SDN-based secure cloud access method

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561054A (en) * 2017-09-26 2019-04-02 华为技术有限公司 A kind of data transmission method, controller and access device
CN109561054B (en) * 2017-09-26 2020-12-01 华为技术有限公司 A data transmission method, controller and access device
CN108512699B (en) * 2018-03-15 2020-08-14 中国联合网络通信集团有限公司 Block chain service server data anomaly detection method and equipment and block chain system
CN108512699A (en) * 2018-03-15 2018-09-07 中国联合网络通信集团有限公司 Block chain service server data exception detection method, equipment and block catenary system
CN108768932A (en) * 2018-04-09 2018-11-06 中国电信股份有限公司上海分公司 A kind of secure connection method of lightweight SDN switch and controller
CN108881059B (en) * 2018-05-29 2022-05-24 新华三技术有限公司 Controller role determination method, network switching equipment, controller and network system
CN108881059A (en) * 2018-05-29 2018-11-23 新华三技术有限公司 Controller role determines method, the network switching equipment, controller and network system
CN108810001A (en) * 2018-06-20 2018-11-13 郑州云海信息技术有限公司 A kind of security service control system and method based on SDN
CN109743598A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Third party is authorized to access method, system and the readable storage medium storing program for executing of TV
CN111049886A (en) * 2019-11-29 2020-04-21 紫光云(南京)数字技术有限公司 Multi-region SDN controller data synchronization method, server and system
CN111049886B (en) * 2019-11-29 2023-07-07 紫光云(南京)数字技术有限公司 Multi-region SDN controller data synchronization method, server and system
CN110932814A (en) * 2019-12-05 2020-03-27 北京邮电大学 Software-defined network timing security protection method, device and system
CN112217902A (en) * 2020-10-22 2021-01-12 新华三信息安全技术有限公司 Firewall data synchronization method and device
CN112217902B (en) * 2020-10-22 2022-03-22 新华三信息安全技术有限公司 Firewall data synchronization method and device
CN112637154A (en) * 2020-12-09 2021-04-09 迈普通信技术股份有限公司 Equipment authentication method and device, electronic equipment and storage medium
CN112637154B (en) * 2020-12-09 2022-06-21 迈普通信技术股份有限公司 Equipment authentication method and device, electronic equipment and storage medium
CN114143065A (en) * 2021-11-26 2022-03-04 杭州安恒信息安全技术有限公司 A security event processing method, device, equipment and medium
CN114338400A (en) * 2021-12-31 2022-04-12 中国电信股份有限公司 SDN dynamic control method and device
CN114338400B (en) * 2021-12-31 2024-05-14 中国电信股份有限公司 SDN network dynamic control method and device

Also Published As

Publication number Publication date
WO2017152754A1 (en) 2017-09-14
CN107181720B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN107181720B (en) A method and device for software-defined network SDN secure communication
CN112422532B (en) Service communication method, system and device and electronic equipment
US10706427B2 (en) Authenticating and enforcing compliance of devices using external services
US11489872B2 (en) Identity-based segmentation of applications and containers in a dynamic environment
US10263855B2 (en) Authenticating connections and program identity in a messaging system
US8887296B2 (en) Method and system for object-based multi-level security in a service oriented architecture
WO2022247751A1 (en) Method, system and apparatus for remotely accessing application, device, and storage medium
CN103404103A (en) System and method for combining an access control system with a traffic management system
WO2014094151A1 (en) System and method for monitoring data in a client environment
US10218704B2 (en) Resource access control using named capabilities
US11784993B2 (en) Cross site request forgery (CSRF) protection for web browsers
CN114666341A (en) Decentralized SDP controller implementation method and computer storage medium
CN113472820A (en) Cloud resource security isolation control method and system based on zero trust model
EP1981242B1 (en) Method and system for securing a commercial grid network
Krol et al. Open security issues for edge named function environments
CN115913583A (en) Service data access method, device and equipment, and computer storage medium
ELHejazi et al. Improving the Security and Reliability of SDN Controller REST APIs Using JSON Web Token (JWT) with OpenID and auth2. 0
CN116260656B (en) Main body trusted authentication method and system in zero trust network based on blockchain
CN116074125B (en) End-to-end password middle station zero trust security gateway system
CN119544328A (en) Content distribution network access control method, device, node, medium and product
HK40061824A (en) Method, system and apparatus for remotely accessing application, and device and storage medium
Anwar et al. A Model-Driven Approach for Access Control in Internet of Things (IoT) Applications–
CN119071003A (en) Data message processing method, device, system and medium

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