Method and device for duplicating multicast packets
First Claim
1. A method for sending an Extensible Markup Language (XML) document by a client device that is an end-station device configured to connect to a router, the method comprising:
- obtaining route feature information that includes a type of the XML document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), and wherein the route feature information is not a destination address;
performing Efficient XML Interchange (EXI) encoding on the XML document to obtain an EXI encoded XML document;
adding the EXI encoded XML document to an EXI body of an EXI format data packet;
performing EXI encoding on the route feature information to obtain EXI encoded route feature information;
adding the EXI encoded route feature information to an EXI header of the EXI format data packet, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; and
sending the EXI format data packet to the router, wherein the EXI encoded route feature information included in the EXI header of the EXI format data packet is used for searching a corresponding destination address of a destination server for sending the XML document on the router to the destination server.
1 Assignment
0 Petitions
Accused Products
Abstract
A message sending method is provided, which includes: obtaining route feature information of a user, and sending a request of the user, where the request is data in an Efficient Extensible Markup Language (XML) Interchange (EXI) format, and the route feature information is carried in a header of the data in the EXI format. A message processing method, a client, a router, and a message processing system are further provided. Through preceding technical solutions, a user request message is routed according to route feature information in an EXI header, thereby reducing a system overhead and improving a distribution processing efficiency.
18 Citations
14 Claims
-
1. A method for sending an Extensible Markup Language (XML) document by a client device that is an end-station device configured to connect to a router, the method comprising:
-
obtaining route feature information that includes a type of the XML document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), and wherein the route feature information is not a destination address; performing Efficient XML Interchange (EXI) encoding on the XML document to obtain an EXI encoded XML document; adding the EXI encoded XML document to an EXI body of an EXI format data packet; performing EXI encoding on the route feature information to obtain EXI encoded route feature information; adding the EXI encoded route feature information to an EXI header of the EXI format data packet, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; and sending the EXI format data packet to the router, wherein the EXI encoded route feature information included in the EXI header of the EXI format data packet is used for searching a corresponding destination address of a destination server for sending the XML document on the router to the destination server. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for routing an Extensible Markup Language (XML) document by a router, the method comprising:
-
receiving an Efficient XML Interchange (EXI) format data packet from a client device, wherein an EXI header of the EXI format data packet includes EXI encoded route feature information, and wherein an EXI body of the EXI format data packet includes an EXI encoded XML document, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; obtaining the XML document by performing EXI decoding on the EXI body of the EXI format data packet; obtaining route feature information by performing EXI decoding on the EXI header of the EXI format data packet, wherein the route feature information includes a type of the XML document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), and the route feature information is not a destination address; finding a destination address by looking up a preset route table according to the route feature information; and sending the XML document to a destination server according to the destination address. - View Dependent Claims (11, 14)
-
-
7. A client device that is an end-station device configured to connect to a router, the client device comprising:
-
a memory that stores instructions; and
;a processor executing said instructions configured to; obtain route feature information including a type of an Extensible Markup Language (XML) document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), wherein the route feature information is not a destination address; perform Efficient XML Interchange (EXI) encoding on the XML document to obtain an EXI encoded XML document; add the EXI encoded XML document to an EXI body of an EXI format data packet; perform EXI encoding on the route feature information to obtain EXI encoded route feature information; add the EXI encoded route feature information to an EXI header of the EXI format data packet, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; and send the EXI format data packet to the router, wherein the EXI encoded route feature information included in the EXI header of the EXI format data packet is used for searching a corresponding destination address of a destination server for sending the XML document on the router to the destination server.
-
-
8. A router, which is a network element configured to connect to a client device that is an end-station device, comprising:
-
a memory that stores instructions; and a processor executing said instructions configured to; receive an Efficient Extensible Markup Language Interchange (EXI) format data packet from a client device, wherein an EXI header of the EXI format data packet includes EXI encoded route feature information, and wherein an EXI body of the EXI format data packet includes an EXI encoded XML document, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; obtain an Extensible Markup Language (XML) document by performing EXI decoding on the EXI body of the EXI format data packet; obtain route feature information by performing EXI decoding on the EXI header of the EXI format data packet, wherein the route feature information includes a type of an XML document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), and wherein the route feature information is not a destination address; find a destination address by looking up a preset route table according to the route feature information; and send the XML document to a destination server according to the destination address. - View Dependent Claims (12, 13)
-
-
9. A non-transitory computer-readable medium having computer executable instructions, configured to:
cause a client device that is an end-station device configured to connect to a router having a processor to execute the instructions to perform steps comprising; obtaining route feature information including a type of an Extensible Markup Language (XML) document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), and wherein the route feature information is not a destination address; performing Efficient XML Interchange (EXI) encoding on the XML document to obtain an EXI encoded XML document; adding the EXI encoded XML document to an EXI body of an EXI format data packet; performing EXI encoding on the route feature information to obtain EXI encoded route feature information; adding the EXI encoded route feature information to an EXI header of the EXI format data packet, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; and sending the EXI format data packet to a router, wherein the EXI encoded route feature information included in the EXI header of the EXI format data packet is used for searching a corresponding destination address of a destination server for sending the XML document on the router to the destination server.
-
10. A non-transitory computer-readable medium having computer executable instructions, configured to:
cause a router, which is a network element configured to connect to a client device that is an end-station device, having a processor to to execute the instructions to perform steps comprising; receiving an Efficient Extensible Markup Language Interchange (EXI) format data packet from a client device, wherein an EXI header of the EXI format data packet includes EXI encoded route feature information, and wherein an EXI body of the EXI format data packet includes an EXI encoded Extensible Markup Language (XML) document, wherein the EXI format data packet includes the EXI header and the EXI body, wherein the EXI header and the EXI body are separate parts of the EXI format data packet, and wherein each of the EXI header and the EXI body is encoded as binary data to obtain the EXI format data packet in the EXI format; obtaining an XML document by performing EXI decoding on the EXI body of the EXI format data packet; obtaining route feature information by performing EXI decoding on the EXI header of the EXI format data packet, wherein the route feature information includes a type of an Extensible Markup Language (XML) document, a priority of the XML document, or both, wherein the type of the XML document includes Call Control XML (CCXML), and wherein the route feature information is not a destination address; finding a destination address by looking up a preset route table according to the route feature information; and sending the XML document to a destination server according to the destination address.
Specification