Background technology
Internet Group Management Protocol (Internet Group Management Protocol, IGMP) spying upon (SNOOPING) is that communication apparatus is by spying upon user's the IGMP message that joins request or leave, safeguard local multicast forwarding list item, thereby determine multicast data flow to which member port is transmitted.In this process, do not revise user's message, communication apparatus needs intact forwarding uplink and downlink IGMP message.
On the applied environment of IGMP V3, use in technology (IGMP V3SNOOPING) application scenarios of IGMP SNOOPING, the sending method of existing message and the terminal use of transmitting system can successively add a plurality of ISPs (Internet Service Provider, ISP) program, different ISP is by VLAN (Virtual Local Area Network, VLAN) or IP identify, also can once send and comprise a plurality of program (S, G) (in IGMP V3, adopt (S, G) group broadcasting program of sign, wherein S represents the IP address of program source, and G represents the group IP address of group broadcasting program) request message.
After terminal use's request program, when multicast router sent the message of V3 general polling as requestor, user terminal can carry a plurality of programs in a response message response also can only be carried a program.The situation of carrying a plurality of programs for a response message, standard according to IGMP SNOOPING realizes, although carry a plurality of programs in the message, but this message can intactly be transmitted to a plurality of ISP, therefore the server of each ISP can receive the response message that comprises a plurality of programs, because the program in the message belongs to different ISP, causes different ISP to receive identical message, causes leakage of information.Simultaneously, may there be potential safety hazard.Identical (S, G) the sign program may cause the forwarding of program stream mistake if for example different ISP adopts.
Summary of the invention
The embodiment of the invention provides a kind of sending method, dispensing device and transmission system of message, to realize the safety of message information.
The embodiment of the invention provides a kind of sending method of message, comprising:
Reception comprises the message of a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems;
The message that comprises a plurality of request programs that receives is divided into a plurality of sub-messages;
The a plurality of sub-message that resolves into is sent to content service system corresponding in described a plurality of content service system;
The described message that comprises a plurality of request programs that will receive is divided into a plurality of sub-messages and is specially: the information of the request program that belongs to the identical content service system in the described message is encapsulated as a sub-message respectively; Perhaps the information with each the request program in the described message is encapsulated as a sub-message.
The embodiment of the invention provides a kind of dispensing device of message, comprising:
Receiving element is used to receive the message that comprises a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems;
Processing unit, the message that comprises a plurality of request programs that is used for receiving is divided into a plurality of sub-messages;
Transmitting element, a plurality of sub-message that is used for resolving into send to the corresponding content service system of described a plurality of content service system;
Described processing unit specifically is used for the information of the request program that belongs to the identical content service system of described message is encapsulated as a sub-message respectively; Perhaps the information with each the request program in the described message is encapsulated as a sub-message.
The embodiment of the invention provides a kind of transmission system of message, comprise access point (Access Node, AN), this access point comprises:
Receiving element is used to receive the message that comprises a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems;
Processing unit, the message that comprises a plurality of request programs that is used for receiving is divided into a plurality of sub-messages;
Transmitting element, a plurality of sub-message that is used for resolving into send to the corresponding content service system of described a plurality of content service system;
Described processing unit specifically is used for the information of the request program that belongs to the identical content service system of described message is encapsulated as a sub-message respectively; Perhaps the information with each the request program in the described message is encapsulated as a sub-message.
The embodiment of the invention provides a kind of transmission system of message, comprising: access point is used for the transparent transmission message; Border router, this border router comprises:
Receiving element is used to receive the message that comprises a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems;
Processing unit, the message that comprises a plurality of request programs that is used for receiving is divided into a plurality of sub-messages;
Transmitting element, a plurality of sub-message that is used for resolving into send to the corresponding content service system of described a plurality of content service system;
Described processing unit specifically is used for the information of the request program that belongs to the identical content service system of described message is encapsulated as a sub-message respectively; Perhaps the information with each the request program in the described message is encapsulated as a sub-message.
The sending method of the embodiment of the invention, dispensing device and transmission system are according to content service systems different under the program that comprises in the message, dividing message is sub-message, include only the program that a corresponding content service system provides in each sub-message, therefore each content service system can only receive the sub-message of the program that book server provides, and do not receive the message of other guide service system, so guaranteed the safety of message information.
Embodiment
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
The embodiment of the invention is intended to solve in the IGMP V3SNOOPING model, and for carrying out many ISP multicast service, the problem of dissimilar user terminals, access device, access server compatibility ensures information security simultaneously.
IGMP V3 (corresponding rfc3376, Internet Group Management Protocol, Version3) under the SNOOPING pattern, if carry a plurality of programs that belong to a plurality of ISP in the response of a V3 (Report) message, then as shown in Figure 1, be the flow chart of the sending method of embodiment of the invention message, this method specifically comprises the steps:
Step 101 receives the message that comprises a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems;
Content service system can be a server, also can be that business provides network or system, and (S G) indicates the different program utilizations in the message, and S represents the IP address of program source, and G represents the group IP address of group broadcasting program;
Step 102 is divided into a plurality of sub-messages with the message that comprises a plurality of request programs that receives;
The program that belongs to the identical content service system can be encapsulated in the sub-message and send, also each program can be encapsulated as a sub-message, according to the content service system under the program, the message that encapsulation is belonged to a content service system all sends to this content service system; Therefore encapsulated message can followingly be carried out:
Step 201 determines that the affiliated a plurality of content services of request program that this message comprises provide system;
Step 202 is encapsulated as a sub-message respectively with the information of the request program that belongs to the identical content service system in the described message; Perhaps the information with each the request program in the described message is encapsulated as a sub-message;
And determine that the affiliated a plurality of content services of request program that this message is comprised provide system that a variety of methods can be arranged, for example utilize the VLAN at the affiliated content service system place of program to determine, like this when the definition program, the VLAN of the content service system correspondence under the meeting appointed program, from the described message that receives, obtain the VLAN at content service system place of the program source of the request program that this message comprises, need the VLAN at sub-message place is switched to the VLAN at this content service system place at last;
Also can utilize the difference of IP at content service system place of the program source of program to determine, because in the applied environment of IGMP V3SSM mapping, employing group IP+ source IP address sign program, the foundation of its encapsulated message is the source IP of program, when carrying a plurality of program in the message, program with identical sources IP is encapsulated in the sub-message, perhaps each program encapsulates a sub-message, from the described message that receives, obtain the IP of content service system of the program source of the request program that this message comprises, seek outgoing interface or, switch the VLAN of message by routing mode, send then by pre-configured IP and the corresponding relation of VLAN;
Can also utilize the different encapsulated messages that carry out jointly of the VLAN at the IP of content service system of program source of program and place, when at first defining program, the vlan of the content service system correspondence under the appointed program; By with already present program inspection, guarantee a plurality of identical (S, G) must be deployed among the different VLAN, i.e. (Vlan, G) be unique, like this in the environment of many ISP, each ISP can use identical (S, G) the different program of sign, when receiving the joining message of user, from the described message that receives, obtain the IP of content service system of program source of the request program that this message comprises and the VLAN at place, seek the corresponding relation of VLAN under outgoing interface or IP by pre-configured content service system and the content service system then by routing mode, the VLAN that switches user's request message is the VLAN of corresponding content service system correspondence;
Step 103 sends to content service system corresponding in described a plurality of content service system with a plurality of sub-message that resolves into.。
This step is exactly that described sub-message is sent to content service system under the request program that comprises in this sub-message.
The sending method of the embodiment of the invention is according to content service systems different under the program that comprises in the message, encapsulated message is sub-message, include only one or more programs that a corresponding content service system provides in each sub-message, therefore each content service system can only receive the sub-message of the program that book server provides, and do not receive the sub-message of other guide service system, make message information not leak, thereby guaranteed the safety of message information.
The dispensing device of embodiment of the invention message specifically comprises, receiving element is used to receive the message that comprises a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems; Processing unit, the message that comprises a plurality of request programs that is used for receiving is divided into a plurality of sub-messages, the information of the request program that belongs to the identical content service system in the described message can be encapsulated as a sub-message respectively, also the information of each the request program in the described message can be encapsulated as the subelement of a sub-message; Transmitting element, a plurality of sub-message that is used for resolving into send to the corresponding content service system of described a plurality of content service system.Can also comprise determining unit, be used for determining that the affiliated a plurality of content services of request program that this message is comprised provide system.
Therefore the dispensing device of embodiment of the invention message encapsulates and sends message according to the content service system under the program in the message, so no longer be intact E-Packeting, has guaranteed the safety of message information.
The transmission system of embodiment of the invention message comprises AN, and this access point comprises: receiving element, be used to receive the message that comprises a plurality of request programs, and described a plurality of request programs are provided by a plurality of content service systems; Processing unit, the message that comprises a plurality of request programs that is used for receiving is divided into a plurality of sub-messages, the information of the request program that belongs to the identical content service system in the described message can be encapsulated as a sub-message respectively, also the information of each the request program in the described message can be encapsulated as the subelement of a sub-message; Transmitting element, a plurality of sub-message that is used for resolving into send to the corresponding content service system of described a plurality of content service system.Can also comprise determining unit, be used for determining that the affiliated a plurality of content services of request program that this message is comprised provide system.
Therefore the transmission system of embodiment of the invention message is from the angle of application and information security, according to the content service system under the program in the message, utilize AN to encapsulate and send message,, guaranteed the safety of message information so no longer be intact E-Packeting.
As shown in Figure 2, be the structural representation of the transmission system of embodiment of the invention message, specifically comprise: AN21 is used for the above-mentioned message of transparent transmission; Border router 22, this border router 22 comprises: receiving element, be used to receive the message that comprises a plurality of request programs, described a plurality of request programs are provided by a plurality of content service systems; Processing unit, the message that comprises a plurality of request programs that is used for receiving is divided into a plurality of sub-messages; Transmitting element, a plurality of sub-message that is used for resolving into send to the corresponding content service system of described a plurality of content service system.
Therefore the transmission system of embodiment of the invention message is from the angle of application and information security, according to the content service system under the program in the message, utilize border router to encapsulate and send message,, guaranteed the safety of message information so no longer be intact E-Packeting.
It should be noted last that, above embodiment is only unrestricted in order to the technical scheme of the explanation embodiment of the invention, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement the technical scheme of the embodiment of the invention, and not break away from the spirit and scope of embodiment of the invention technical scheme.