A method and device for selecting a service node

A technology of service node and service message, applied in the field of communication, can solve the problems of different first service node and second service node, failure of service response message transmission, etc.

Active Publication Date: 2020-08-11
SHENZHEN TENCENT COMP SYST CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The service request message and the service response message belong to the same session; the service message of the same session needs to pass through the same service node. The service response is processed; since the hash value obtained by the first switch is different from the hash value obtained by the second switch, the first service node and the second service node are different. Therefore, when the second service node receives the service response report The service response message will not be processed when the file is sent, resulting in the failure of the service response message transmission

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for selecting a service node
  • A method and device for selecting a service node
  • A method and device for selecting a service node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] The embodiment of the present invention provides a method for selecting a service node, see figure 1 , where the method includes:

[0025] Step 101: the first switch receives a first service message, and the first service message carries a first message type, a first source host identifier, and a first destination host identifier;

[0026] Step 102: According to the first message type and distribution strategy, select a host ID from the first source host ID and the first destination host ID, and the host ID is the same as the host ID selected by the second switch when receiving the second service message Same, the second service message and the first service message belong to the same session;

[0027] Step 103: According to the host ID, select the service node corresponding to the host ID from the set of service nodes.

[0028] In the embodiment of the present invention, the distribution strategy is set in advance, and the switch selects the host identifier according...

Embodiment 2

[0030] The embodiment of the present invention provides a method for selecting a service node. The service node is used to perform security filtering on service messages between two network areas; For the process of security filtering of service packets between network areas, for ease of description, the two network areas are referred to as the first network area and the second network area, see diagram 2-1 , when the first host in the first network area sends a service request message to the second host in the second network area, the first host sends the service request message to the first switch corresponding to the first network area, and the first The switch selects a service node from the set of service nodes, and the first switch sends the service request message to the service node; the service node filters out the unsafe content in the service request message, and sends the filtered message to the second host. When the second host returns a service response message ...

Embodiment 3

[0127] An embodiment of the present invention provides a device for selecting a service node, see image 3 , the device consists of:

[0128] A receiving module 301, configured to receive a first service message, where the first service message carries a first message type, a first source host identifier, and a first destination host identifier;

[0129]The first selection module 302 is configured to select a host ID from the first source host ID and the first destination host ID according to the first packet type and the distribution policy, and the host ID is consistent with the second switch when receiving the second service message The host identifiers selected at the time are the same, and the second service message and the first service message belong to the same session;

[0130] The second selection module 303 is configured to select the service node corresponding to the host ID from the set of service nodes according to the host ID.

[0131] Further, if the allocati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention, which belongs to the technical field of communication, discloses a method and device for selecting a service node. The method comprises: a first switch receives a first service message carrying a first message type, a first source host identifier and a first destination host identifier; according to the first message type as well as a distribution strategy, a host identifier is selected from the first source host identifier and the first destination host identifier, wherein the host identifier is identical with a host identifier that is selected by a second switch when receiving a second service message and the second service identifier and the first service identifier belongs to a same session; and on the basis of the host identifier, a service node corresponding to the host identifier is selected from a service node set. In addition, the device consists of a receiving module, a first selection module, and a second selection module. The service nodes that are selected by the first service message and the second service message that are belong to the same session are identical; and successful transmission of the first service message and the second service message can be guaranteed.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for selecting a service node. Background technique [0002] In the existing network, a set of service nodes is usually deployed between two network areas with different security level requirements. The set of service nodes includes multiple service nodes. Security filtering is performed. For example, the service node can be a firewall, which is used to filter unsafe content in service messages; another example, the service node can be an anti-virus device, which is used to filter viruses in service messages. [0003] For example, a specific example is used to describe the process that a service node performs security filtering on service packets between two network areas. For the convenience of description, the two network areas are respectively referred to as the first network area and the second network area. When When the first host in the first net...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/937H04L12/931H04L29/06
Inventor 陈平平黄倩钱笑宇刘晶吴志芳孙其琛
Owner SHENZHEN TENCENT COMP SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products