CN104184727B - A kind of method and apparatus of message transmission - Google Patents

A kind of method and apparatus of message transmission Download PDF

Info

Publication number
CN104184727B
CN104184727B CN201410374672.9A CN201410374672A CN104184727B CN 104184727 B CN104184727 B CN 104184727B CN 201410374672 A CN201410374672 A CN 201410374672A CN 104184727 B CN104184727 B CN 104184727B
Authority
CN
China
Prior art keywords
message
site information
website
source
address header
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.)
Active
Application number
CN201410374672.9A
Other languages
Chinese (zh)
Other versions
CN104184727A (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN201410374672.9A priority Critical patent/CN104184727B/en
Publication of CN104184727A publication Critical patent/CN104184727A/en
Application granted granted Critical
Publication of CN104184727B publication Critical patent/CN104184727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of method and apparatus of message transmission, is related to the communications field, it is possible to increase communication efficiency of the message in transmitting procedure.Methods described includes:It is that message, the address header of the message include Source Site information and purpose site information between message or website in website to determine message;If the message is message in website, Source Site information and purpose site information are not carried in the address header of the message, and be transmitted;If message message between website, the Source Site information and the purpose site information are carried in the address header of the message, and it is transmitted.The route that the present invention is used in distributed system.

Description

A kind of method and apparatus of message transmission
Technical field
The present invention relates to the communications field, more particularly to a kind of method and apparatus of message transmission.
Background technology
With the continuous development of field of storage technology, by multiple data centers (website, a usual data center/website Be exactly a cluster) composition more live data centers be applied to disaster recovery solution by people more and more.More numbers living Be different from a traditional data center according to center, the pattern of a Disaster Preparation Center is, it is to allow multiple data centers simultaneously In operation.In this way, more live data centers can not only realize disaster tolerance function, and available data center can be made full use of Resource.
Under the scene at more live data centers, it can usually be related to the communication between website and in website.It is it is then desired to a kind of The general routing mechanism between website and in website can be applied to.A kind of possible correlation technique be in communication process, no matter Communication information is the message in website or the message between website, and Source Site information and point of destination are carried all in the communication information Point information, transmission of the communication information between website and in website is realized whereby.Passed however, message can be reduced in this way Communication efficiency during defeated.
The content of the invention
The embodiments of the invention provide a kind of method and apparatus of message transmission, to improve the communication efficiency of message.
First aspect, there is provided a kind of method of message transmission, methods described include:
Determine that message is message between message or website in website, the address header of the message include Source Site information and Purpose site information;
If the message is message in website, Source Site letter is not carried in the address header of the message when being transmitted Breath and purpose site information;
If message message between website, the Source Site is carried when being transmitted in the address header of the message Information and the purpose site information.
With reference in a first aspect, in the first possible implementation of first aspect, gone back in the address header of the message Including source node identification, methods described also includes:
The address header of the message is recombinated so that the Source Site information and the purpose site information phase It is adjacent;
The Source Site information or the source node identification are pointed to using message pointer;
By entering line displacement to the message pointer so that carried in the address header of the message or do not carry the source station Point information and the purpose site information.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect In, the message pointer points to the Source Site information,
If the message is message in website, Source Site information and purpose are not carried in the address header of the message Site information includes:
If the message is message in website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are not carried in the address header of the message;
If message message between website, carries the Source Site information and institute in the address header of the message Purpose website packet is stated to include:
If message message between website, line displacement is not entered to the message pointer so that the address header of the message The middle carrying Source Site information and the purpose site information.
With reference to the first possible implementation of first aspect, in the third possible implementation of first aspect In, the message pointer points to the source node identification in the address header,
If the message is message in website, Source Site information and purpose are not carried in the address header of the message Site information includes:
If the message is message in website, line displacement is not entered to the message pointer so that the address header of the message In do not carry the Source Site information and the purpose site information;
If message message between website, carries the Source Site information and institute in the address header of the message Purpose website packet is stated to include:
If message message between website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are carried in the address header of the message.
Any of the third possible implementation with reference to first aspect to first aspect, the of first aspect In four kinds of possible implementations, the determination message is that message includes between message or website in website:
Judge whether Source Site information in the address header of the message and purpose site information are consistent;
It is if consistent, it is determined that the message is message in website;
It is if inconsistent, it is determined that message message between website.
Second aspect, there is provided a kind of device of message transmission, described device include:
Determining unit, for determining that message is message between message or website in website, wrapped in the address header of the message Include Source Site information and purpose site information;
Processing unit, if the message is determined for the determining unit as message in website, in the address of the message Source Site information and purpose site information are not carried in head;
The processing unit, if being additionally operable to the determining unit determines message message between website, in the message Address header in carry the Source Site information and the purpose site information;
Transmission unit, for transmitting the message after the processing unit processes.
With reference to second aspect, in the first possible implementation of second aspect, gone back in the address header of the message Including source node identification,
The processing unit, it is additionally operable to recombinate the address header of the message so that the Source Site information It is adjacent with the purpose site information;The source in the address header of the Source Site information or the message is pointed to using message pointer Node identification;By entering line displacement to the message pointer so that carried in the address header of the message or do not carry the source Site information and the purpose site information.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect In, the message pointer points to the Source Site information,
The processing unit is specifically used for:
If the message is message in website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are not carried in the address header of the message;
If message message between website, line displacement is not entered to the message pointer so that the address header of the message The middle carrying Source Site information and the purpose site information.
With reference to the first possible implementation of second aspect, in the third possible implementation of second aspect In, the message pointer points to the source node identification in the address header,
The processing unit is specifically used for:
If the message is message in website, line displacement is not entered to the message pointer so that the address header of the message In do not carry the Source Site information and the purpose site information;
If message message between website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are carried in the address header of the message.
Any of the third possible implementation with reference to second aspect to second aspect, the of second aspect In four kinds of possible implementations, the determining unit is specifically used for:
Judge whether Source Site information in the address header of the message and purpose site information are consistent;
It is if consistent, it is determined that the message is message in website;
It is if inconsistent, it is determined that message message between website.
After adopting the above technical scheme, the method and apparatus of message transmission provided in an embodiment of the present invention, can confirm When message is message in website, transmission does not carry message in the website of Source Site information and purpose site information, and true Recognize message and send message between the website for carrying the Source Site information and the purpose site information during message between website, so Adaptively the address header of message is adjusted, the bandwidth that message is consumed in website can be reduced, improves the communication of message Efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the flow chart of the method for message transmission provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of the message addresses head in the embodiment of the present invention after reorganization.;
Fig. 3 A are the schematic diagrames of application program provided in an embodiment of the present invention (APP) communication interaction example.;
Schematic diagram when Fig. 3 B are message pointer sensing Source Site information in the embodiment of the present invention;
Schematic diagram when Fig. 3 C are message pointer sensing source node identifications in the embodiment of the present invention;
Fig. 4 is the structured flowchart of the device of message transmission provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention can be applied to distributed system, wherein, cluster/website can pass through wired or nothing by multiple nodes Line is connected and formed.The communication addressing mode of cluster/website is followed successively by node, process, module.In embodiments of the present invention, save Point can be the storage device in a group of planes/website, for example, server, personal computer (PC) etc..Process refers to one in node The activity that individual program and its data are occurred when sequentially being performed on CPU.Module is then responsible for a certain concrete function of completion process.
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is the flow chart of the method for message transmission provided in an embodiment of the present invention.Reference picture 1, the embodiment of the present invention carries For a kind of method of message transmission, methods described includes:
Step 11, determine that message is that message, the address header of the message include source station between message or website in website Point information and purpose site information.
Message refers to a kind of message in Intra-site transmission in website in the embodiment of the present invention.Message is between website A kind of message that message can be transmitted between different websites.
If step 12, the message are message in website, do not carried in the address header of the message when being transmitted Source Site information and purpose site information.
If step 13, message message between website, institute is carried when being transmitted in the address header of the message State Source Site information and the purpose site information.
The method of message transmission provided in an embodiment of the present invention, it can be sent not when confirmation message is message in website Message in the website of Source Site information and purpose site information is carried, and sends and takes in confirmation message message between website Message between website with the Source Site information and the purpose site information, so adaptively the address header of message is carried out Adjustment, can reduce the bandwidth that message is consumed in website, improve the communication efficiency of message.
In one embodiment of the invention, alternatively, determine that message is message or station in website described in step 11 Message may include between point:
Judge whether Source Site information in the address header of the message and purpose site information are consistent;
It is if consistent, it is determined that the message is message in website;
It is if inconsistent, it is determined that message message between website.
In another embodiment of the present invention, source node identification (Src Node are also included in the address header of the message Id), alternatively, the method for message transmission provided in an embodiment of the present invention is in addition to including 11~step 13 of above-mentioned steps, also It may include:
The address header of the message is recombinated so that the Source Site information and the purpose site information phase It is adjacent;
The source node identification in the address header of the Source Site information or the message is pointed to using message pointer;
By entering line displacement to the message pointer so that carried in the address header of the message or do not carry the source station Point information and the purpose site information.
Fig. 2 is the schematic diagram of the message addresses head in the embodiment of the present invention after reorganization.Knowable to reference picture 2, After above-mentioned reorganization, the Source Site information and purpose site information in address header are adjacent, and are all located at source node mark Before knowledge (Src Node Id).Source node identification (Src Node Id), originating process mark (Src Process Id), source module Identify (Src Module Id) and destination node mark (Dst Node Id), purpose process identification (PID) (Dst Node Id), mesh Module id (Dst Node Id) collectively constituted the address header of message in website.Meanwhile when the address header of message in website Source Site information and purpose site information with reference to shown in Fig. 2 can collectively constitute the address header of message between website afterwards.This hair Bright embodiment may be implemented in website between the address header and website of message between the address header of message by offset message pointer Switching at runtime.
In practical application scene, due to needing the scene for carrying out cross-site communication only to account for the sub-fraction of the traffic, absolutely Between node in same website all occurs for most communication, thus, in embodiments of the present invention, it is preferable that Ke Yili Source node identification is initially pointed to the message pointer, i.e. points to the position of message in website.And disappear between transmitting station is needed During breath, then by the message pointer offset point to Source Site information.
The situation of the Source Site information is pointed to the message pointer below and the message pointer points to the source and saved The situation of point identification is further detailed respectively.
Wherein:
When the message pointer points to the Source Site information, if the message is message in website, described Not carrying Source Site information and purpose site information in the address header of message may include:
If the message is message in website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are not carried in the address header of the message;
Now, if message message between website, the Source Site letter is carried in the address header of the message Breath and the purpose site information may include:
If message message between website, line displacement is not entered to the message pointer so that the address header of the message The middle carrying Source Site information and the purpose site information.
When the message pointer points to the source node identification in the address header, if the message is to disappear in website Breath, not carrying Source Site information and purpose site information in the address header of the message may include:
If the message is message in website, line displacement is not entered to the message pointer so that the address header of the message In do not carry the Source Site information and the purpose site information;
Now, if message message between website, the Source Site letter is carried in the address header of the message Breath and the purpose website packet include:
If message message between website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are carried in the address header of the message.
Although the above embodiment of the present invention to the address header of message using by reorganizing, and offset message The mode of pointer carries in the address header of the message to realize or does not carry the Source Site information and the purpose website Information, but it should be recognized that the present invention does not limit to and this, in embodiments of the present invention, other modes can also be used Realize transmission message when in the address header of the message carry or do not carry the Source Site information and the purpose website letter Breath.For example, when needing message in transmitting station, message between website can be converted to by station to realize by memory copying Message in point, so as to the Source Site information and purpose website information removing that are included message between website;And needing dispatching station Between point during message, then Source Site information and purpose site information is added.
From the foregoing, it will be observed that the method for message transmission provided in an embodiment of the present invention, the address header of message is carried out again Tissue, by message pointer offset, the position of message is transmitted in station corresponding to when message in transmitting station, so Site information (including Source Site information and purpose site information) will not be in station and be transmitted;When message between transmitting station When, message pointer offset is transmitted to the position of message between website, such site information will be sent to distance station Point.
In a distributed system, many message (such as distributed lock adds unblock, configuration data record modification, heartbeat message) All it is several~hundreds of byte, and the byte number (such as 32 bytes) of site information has large effect to the efficiency of transmission of message. Therefore, the embodiment of the present invention can effectively reduce due to introduce site information and caused by efficiency reduce.
To more fully understand the present invention, the embodiment of the present invention is described in detail with reference to Fig. 3 A.
Fig. 3 A are the schematic diagrames of application program provided in an embodiment of the present invention (APP) communication interaction example.Reference picture 3A, with Exemplified by the one-way communication of message, the method for message transmission provided in an embodiment of the present invention may include:
Application program (APP) in step 31, first node calls route messages interface to carry out Message Processing.
Step 32, first node build distributed route messages, solicitation message structure using message Routing Framework, and filled out The destination address information and source address information of message transmission are write, message call routing module sends message.
Wherein, source address information includes source node identification (Src Node Id), originating process mark (Src Process Id) And source module mark (Src Module Id);Destination address information includes destination node mark (Dst Node Id), purpose Process identification (PID) (Dst Node Id) and purpose module id (Dst Node Id).
After step 33, Message routing module receive the message, judge Source Site information and purpose site information whether one Cause.Now, message pointer points to Source Site information (src site info) place, as shown in Figure 3A.
If step 34, Source Site information are identical with purpose site information, step 341 and 351 is performed;If Source Site Information is different with purpose site information, then performs step 342 and 352.
Message pointer (* msg) is displaced to source node identification (Src Node Id) place by step 341, Message routing module, Now as shown in Figure 3 B, message pointer points to source node identification, and disappears using message pointer (* msg) as between data call node Interface bottom is ceased to send.
Step 342, message pointer (* msg) need not enter line displacement, Message routing module using message pointer (* msg) as Message interface bottom is sent between data call website.Now, message pointer still points to Source Site information (src site info) Place, as shown in Figure 3A.
Step 351, the message Routing Framework module receiving terminal of section point receive bottom (between node) and are received back to key use, Message is built, the site information of local is filled up to Source Site information and purpose site information, calls business application to carry out Processing.
Step 352, the message Routing Framework module receiving terminal of section point receive bottom (between website) and are received back to key use, Message is built, the site information of message is filled up to Source Site information and purpose site information, calls business application to carry out Processing.
Step 36, application program are handled.
It should be noted that the first node, the section point in the embodiment of the present invention be in same cluster/ Node in website;3rd node is node in another cluster/website, another cluster/website be with it is described Different cluster/the website of cluster/website residing for first node or section point.
In embodiments of the present invention, cluster/website is made up of multiple nodes wired or wireless connection.Cluster leads to Letter addressing system is node, process, module.In embodiments of the present invention, node can be the storage device in a group of planes/website, For example, server, personal computer (PC) etc..Process refers to that a program in node and its data sequentially perform on CPU When the activity that is occurred.Module is then responsible for a certain concrete function of completion process.
Only enter in step 33 of the embodiment of the present invention so that message pointer points to Source Site information (Src site info) place as an example Row explanation, certainly, the message pointer can also point to source node identification (Src node id).
The method of message transmission provided in an embodiment of the present invention, by website by the way of restructuring address information and skew Message makes a distinction between message and website, can not only reduce and useless site information is transmitted in website, improve in website and disappear The communication efficiency (especially for the small message (several byte~hundreds of bytes) in cluster) is ceased, and is reduced in message The memory copying in portion.In addition, it can be risen by message is effectively isolated between message and website in website, while by both to online The influence of level is isolated.
Fig. 4 is a kind of structured flowchart of the device of message transmission provided in an embodiment of the present invention.During the embodiment of the present invention carries The device of message transmission can be a kind of storage device, such as server, PC (PC) etc..Reference picture 4, described device 40 include determining unit 41, processing unit 42 and transmission unit 43.
Wherein:
The determining unit 41, for determining that message is message, the address of the message between message or website in website Head includes Source Site information and purpose site information;
The processing unit 42, if determining that the message for message in website, disappears described for the determining unit 41 Source Site information and purpose site information are not carried in the address header of breath;
The processing unit 42, if being additionally operable to the determining unit 41 determines message message between website, described The Source Site information and the purpose site information are carried in the address header of message;
The transmission unit 43, for transmitting the message after the processing unit 42 is handled.
The device of message transmission provided in an embodiment of the present invention, it can be sent not when confirmation message is message in website Message in the website of Source Site information and purpose site information is carried, and sends and takes in confirmation message message between website Message between website with the Source Site information and the purpose site information, so adaptively the address header of message is carried out Adjustment, can reduce the bandwidth that message is consumed in website, improve the communication efficiency of message.
Alternatively, in one embodiment of the invention, the determining unit 41 is specifically used for:
Judge whether Source Site information in the address header of the message and purpose site information are consistent;
It is if consistent, it is determined that the message is message in website;
It is if inconsistent, it is determined that message message between website.
Alternatively, in another embodiment of the present invention, source node identification, institute are also included in the address header of the message Processing unit 42 is stated, is additionally operable to recombinate the address header of the message so that the Source Site information and the mesh Site information it is adjacent;The source node mark in the address header of the Source Site information or the message is pointed to using message pointer Know;By entering line displacement to the message pointer so that carried in the address header of the message or do not carry the Source Site letter Breath and the purpose site information.
Wherein, alternatively, when the message pointer points to the Source Site information, the processing unit 42 is specifically used In:
If the message is message in website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are not carried in the address header of the message;
If message message between website, line displacement is not entered to the message pointer so that the address header of the message The middle carrying Source Site information and the purpose site information.
Alternatively, when the message pointer points to the source node identification in the address header, the processing unit 42 has Body is used for:
If the message is message in website, line displacement is not entered to the message pointer so that the address header of the message In do not carry the Source Site information and the purpose site information;
If message message between website, the message pointer is entered into line displacement to point in the address header of the message Source node identification so that Source Site information and purpose site information are carried in the address header of the message.
The device of message transmission provided in an embodiment of the present invention, by website by the way of restructuring address information and skew Message makes a distinction between message and website, can not only reduce and useless site information is transmitted in website, improve in website and disappear The communication efficiency (especially for the small message (several byte~hundreds of bytes) in cluster) is ceased, and is reduced in message The memory copying in portion.In addition, it can be risen by message is effectively isolated between message and website in website, while by both to online The influence of level is isolated.
It should be noted that:Device only being partitioned into above-mentioned each functional unit for the message transmission that above-described embodiment provides Row can be completed by different functional units as needed and by above-mentioned function distribution for example, in practical application, will be somebody's turn to do The internal structure of device is divided into different functional units, to complete all or part of function described above.It is in addition, above-mentioned The device and the embodiment of the method for message transmission for the message transmission that embodiment provides belong to same design, and it is detailed that it implements process See embodiment of the method, repeat no more here.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined See the part explanation of embodiment of the method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute State in process, method, article or the equipment of key element and other identical element also be present.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (8)

  1. A kind of 1. method of message transmission, it is characterised in that methods described includes:
    The address header of message is recombinated so that Source Site information and purpose site information are adjacent, the ground of the message Location head includes the Source Site information, the purpose site information and source node identification, message pointer and initially points to the source Site information;
    It is message between message or website in website to determine message;
    If the message is message in website, the message pointer is entered into line displacement to point to the source in the address header of the message Node identification so that do not carry Source Site information and purpose site information in the address header of the message;
    If message message between website, line displacement is not entered to the message pointer so that taken in the address header of the message With the Source Site information and the purpose site information.
  2. 2. according to the method for claim 1, it is characterised in that the determination message is to disappear in website between message or website Breath includes:
    Judge whether Source Site information in the address header of the message and purpose site information are consistent;
    It is if consistent, it is determined that the message is message in website;
    It is if inconsistent, it is determined that message message between website.
  3. A kind of 3. method of message transmission, it is characterised in that methods described includes:
    The address header of message is recombinated so that Source Site information and purpose site information are adjacent, the ground of the message Location head includes the Source Site information, the purpose site information and source node identification, message pointer and initially points to the source Node identification;
    It is message between message or website in website to determine message;
    If the message is message in website, line displacement is not entered to the message pointer so that in the address header of the message not Carry the Source Site information and the purpose site information;
    If message message between website, the message pointer is entered into line displacement to point to the source in the address header of the message Site information so that Source Site information and purpose site information are carried in the address header of the message.
  4. 4. according to the method for claim 3, it is characterised in that the determination message is to disappear in website between message or website Breath includes:
    Judge whether Source Site information in the address header of the message and purpose site information are consistent;
    It is if consistent, it is determined that the message is message in website;
    It is if inconsistent, it is determined that message message between website.
  5. 5. a kind of device of message transmission, it is characterised in that described device includes:
    Processing unit, for being recombinated to the address header of the message so that the Source Site information and the purpose Site information is adjacent, and the address header of the message includes the Source Site information, the purpose site information and source node mark Know, message pointer initially points to the Source Site information;
    Determining unit, for determining that message is message between message or website in website;
    The processing unit, for determining that the message is in website after message, by the message pointer in the determining unit Enter line displacement to point to the source node identification in the address header of the message so that do not carry source station in the address header of the message Point information and purpose site information, if the determining unit determines message message between website, not to the message pointer Enter line displacement so that the Source Site information and the purpose site information are carried in the address header of the message;
    Transmission unit, for transmitting the message after the processing unit processes.
  6. 6. device according to claim 5, it is characterised in that the determining unit is specifically used for:
    Judge whether Source Site information in the address header of the message and purpose site information are consistent;
    It is if consistent, it is determined that the message is message in website;
    It is if inconsistent, it is determined that message message between website.
  7. 7. a kind of device of message transmission, it is characterised in that described device includes:
    Processing unit, for being recombinated to the address header of the message so that the Source Site information and the purpose Site information is adjacent, and the address header of the message includes the Source Site information, the purpose site information and source node mark Know, message pointer initially points to the source node identification;
    Determining unit, for determining that message is message between message or website in website;
    The processing unit, for after the determining unit determines the message for message in website, not referring to the message Pin enters line displacement so that does not carry the Source Site information and the purpose site information in the address header of the message;Institute State determining unit and determine that the message pointer after message, is entered line displacement to point to the ground of the message by the message between website Source Site information in the head of location so that Source Site information and purpose site information are carried in the address header of the message;
    Transmission unit, for transmitting the message after the processing unit processes.
  8. 8. device according to claim 7, it is characterised in that the determining unit is specifically used for:
    Judge whether Source Site information in the address header of the message and purpose site information are consistent;
    It is if consistent, it is determined that the message is message in website;
    It is if inconsistent, it is determined that message message between website.
CN201410374672.9A 2014-07-31 2014-07-31 A kind of method and apparatus of message transmission Active CN104184727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410374672.9A CN104184727B (en) 2014-07-31 2014-07-31 A kind of method and apparatus of message transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410374672.9A CN104184727B (en) 2014-07-31 2014-07-31 A kind of method and apparatus of message transmission

Publications (2)

Publication Number Publication Date
CN104184727A CN104184727A (en) 2014-12-03
CN104184727B true CN104184727B (en) 2017-11-17

Family

ID=51965469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410374672.9A Active CN104184727B (en) 2014-07-31 2014-07-31 A kind of method and apparatus of message transmission

Country Status (1)

Country Link
CN (1) CN104184727B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812091A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Data transmission method and site

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588898A (en) * 2004-07-26 2005-03-02 毛德操 Method for addressing and routing in internet accoring to path

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102845123B (en) * 2011-04-19 2015-07-08 华为技术有限公司 Virtual private cloud connection method and tunnel proxy server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588898A (en) * 2004-07-26 2005-03-02 毛德操 Method for addressing and routing in internet accoring to path

Also Published As

Publication number Publication date
CN104184727A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN1937541B (en) Network performance test method
CN104995902B (en) Method and system for the Seamless Network communication between IPV4 and IPV6 device
CN109587275A (en) A kind of method for building up and proxy server of communication connection
CN104581652B (en) Message treatment method, the method and apparatus for selecting MME
CN109246172A (en) A kind of method, apparatus and computer storage medium for restoring session
CN105490884B (en) A kind of VXLAN tunnel detection method and device
CN104219125B (en) The method, apparatus and system to be E-Packeted centered on information in network ICN
CN107508907A (en) A kind of data transmission method and device
CN106921578A (en) The generation method and device of a kind of forwarding-table item
CN106878072A (en) A kind of message transmitting method and device
JP2013175916A5 (en)
CN107820246A (en) The methods, devices and systems of user authentication
CN106454814A (en) GTP tunnel communication system and method
CN104885523B (en) Fault handling method, packet data network, mobile management entity and network system
CN110392066A (en) A kind of method and apparatus of access service
CN107154917A (en) Data transmission method and server
CN110337103A (en) A kind of connectionless data hided transmission method based on 802.11 agreements
CN103796191A (en) Method, device and terminal for sending data to user terminal
CN104184727B (en) A kind of method and apparatus of message transmission
CN107277882A (en) A kind of data routing method, device and base station
CN107104919A (en) The processing method of firewall box, SCTP SCTP packet
CN104284383B (en) A kind of method and apparatus for keeping business continuance
CN103051484B (en) Session service processing method, system and Session Border Controll
CN101895522A (en) Host identity tag acquisition method and system
CN107659966A (en) Data transmission method, the network equipment, user terminal, gateway device

Legal Events

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

Effective date of registration: 20220915

Address after: No.1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan, 611730

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: Qingshui River District, Chengdu high tech Zone, Western China, Sichuan

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.