CN105939287A - Message processing method and apparatus - Google Patents
Message processing method and apparatus Download PDFInfo
- Publication number
- CN105939287A CN105939287A CN201610349777.8A CN201610349777A CN105939287A CN 105939287 A CN105939287 A CN 105939287A CN 201610349777 A CN201610349777 A CN 201610349777A CN 105939287 A CN105939287 A CN 105939287A
- Authority
- CN
- China
- Prior art keywords
- message
- scheduling
- session
- labelling
- application type
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a message processing method and apparatus. The method comprises the following steps: when it is determined that a to-be-sent message is not a first message of a session and no scheduling mark used for indicating a scheduling rule is not stored in the session information of the session, identifying an application type corresponding to the message; if the identified application type is a preset application type, selecting an outlet link according to the scheduling rule corresponding to the application type to send the message, storing the scheduling mark corresponding to the scheduling rule in the session information of the session, and storing a corresponding relation of message feature of the message and the scheduling mark in the scheduling information. By adopting the method, the message corresponding to the application type with higher user experience requirements can be effectively scheduled to meet the user experience requirements.
Description
Technical field
The application relates to network communication technology field, particularly relates to process the method and device of message.
Background technology
In actual applications, user may be to some application type, and (Peer to Peer is called for short such as P2P
P2P) application type such as application, IM (Instant Messaging, instant messaging) has higher experience requirements.
In the case of this kind, the message corresponding to these application types then can be scheduling by the network equipment so that should
A little messages are transmitted by the network link of high-quality, so that user has good experience.Prior art
In, the network equipment can carry out application by literary composition of reporting for the first time session and identify, if the application type identified belongs to
When user has the application type of higher experience requirements, then according to the scheduling rule pre-set, process this meeting
The message of words, such as, selects the message of the most crowded this session of network link transmission.
But, some application type is only just can be identified by the literary composition of reporting for the first time of session, this kind
In the case of, then go out application type due to None-identified, thus user cannot be had the application of higher experience requirements
Message corresponding to type is scheduling, thus cannot meet the experience requirements of user.
Summary of the invention
In view of this, the application provides a kind of method and device processing message, to realize effectively to user
There is the message corresponding to the application type of higher experience requirements to be scheduling, meet the experience requirements of user.
Specifically, the application is achieved by the following technical solution:
First aspect according to the embodiment of the present application, it is provided that a kind of method processing message, described method includes:
When determining that message to be sent is not the literary composition of reporting for the first time of session, and the session information of described session does not stores
When the scheduling labelling indicating scheduling rule, identify the application type corresponding to described message;
If the application type identified is default application type, then according to the scheduling that described application type is corresponding
Rule selects outbound to send described message, and preserves described scheduling rule in the session information of described session
Then corresponding scheduling labelling, preserves the message characteristic of described message and described scheduling labelling in schedule information
Corresponding relation, described schedule information for send session report for the first time literary composition time according to described message characteristic obtain right
The scheduling labelling answered, is scheduling described literary composition of reporting for the first time with the scheduling rule corresponding according to described scheduling labelling.
In one embodiment, described method also includes:
If described message to be sent is the literary composition of reporting for the first time of session, then the message characteristic of literary composition of reporting for the first time described in basis is searched
Described schedule information, obtains the scheduling labelling corresponding with described message characteristic;
According to the scheduling rule that described scheduling labelling is corresponding, outbound is selected to send described message, and in institute
State and the session information of session preserves the scheduling labelling that described scheduling rule is corresponding.
In another embodiment, described method also includes:
If reporting for the first time described in not storing in described schedule information during the message characteristic of literary composition, literary composition of reporting for the first time described in identification is corresponding
Application type;
If the application type identified described in is default application type, then corresponding according to described application type
Scheduling rule selects outbound to send described message, and preserves described tune in the session information of described session
The scheduling labelling that metric is then corresponding, the message characteristic of literary composition of reporting for the first time described in preservation in schedule information and described scheduling
The corresponding relation of labelling.
In another embodiment, described method also includes:
If the application type identified described in is not default application type, then by corresponding for described application type
Application labelling is saved in the session information of described session;
Message after the described message to be sent of transmission, and in the session information of session belonging to described message
When there is not scheduling labelling, according to the described application labelling in described session information, determine and do not dispatch described report
Literary composition.
In another embodiment, described message characteristic includes: purpose IP address and destination slogan.
Second aspect according to the embodiment of the present application, it is provided that a kind of device processing message, described device includes:
For working as, recognition unit, determines that message to be sent is not the literary composition of reporting for the first time of session, and the meeting of described session
When words information does not stores the scheduling labelling for indicating scheduling rule, identify the application corresponding to described message
Type;
First processing unit, for when the application type identified is default application type, according to described
The scheduling rule that application type is corresponding selects outbound to send described message, and at the session letter of described session
Preserving the scheduling labelling that described scheduling rule is corresponding in breath, the message preserving described message in schedule information is special
Levy and the corresponding relation of described scheduling labelling, described schedule information for send session report for the first time literary composition time according to
Described message characteristic obtains corresponding scheduling labelling, with the scheduling rule corresponding according to described scheduling labelling to institute
State literary composition of reporting for the first time to be scheduling.
In one embodiment, described device also includes:
Acquiring unit, if being used for the literary composition of reporting for the first time that described message to be sent is session, then literary composition of reporting for the first time described in basis
Message characteristic search described schedule information, obtain the scheduling labelling corresponding with described message characteristic;
Second processing unit: for the scheduling rule corresponding according to described scheduling labelling, selects outbound to send out
Send described message, and in the session information of described session, preserve the scheduling labelling that described scheduling rule is corresponding.
In another embodiment, described recognition unit, it is additionally operable to:
If reporting for the first time described in not storing in described schedule information during the message characteristic of literary composition, literary composition of reporting for the first time described in identification is corresponding
Application type;
Described first processing unit, is additionally operable to: the application type identified described in if is default application type,
Then outbound is selected to send described message according to the scheduling rule that described application type is corresponding, and in described meeting
The session information of words preserves the scheduling labelling that described scheduling rule is corresponding, schedule information preserves described head
The message characteristic of message and the corresponding relation of described scheduling labelling.
In another embodiment, described device also includes:
Storage unit, if the application type identified described in Yong Yu is not default application type, then by described
The application labelling that application type is corresponding is saved in the session information of described session;
3rd processing unit, for the message after the described message to be sent of transmission, and described message institute
When the session information of genus session does not exist scheduling labelling, according to the described application labelling in described session information,
Determine and do not dispatch described message.
In another embodiment, described message characteristic includes: purpose IP address and destination slogan.
Accompanying drawing explanation
Fig. 1 illustrates the application scenarios schematic diagram that the embodiment of the present application realization processes the method for message.
Fig. 2 illustrates the embodiment flow chart that the application processes the method for message.
Fig. 3 illustrates another embodiment flow chart that the application processes the method for message.
Fig. 4 illustrates another embodiment flow chart that the application processes the method for message.
Fig. 5 is a kind of hardware structure diagram that the application processes the device place network equipment of message.
Fig. 6 illustrates the application and processes one embodiment flow chart of device of message.
Fig. 7 illustrates another embodiment flow chart that the application processes the device of message.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches
Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.
Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application
Formula.On the contrary, they only with describe in detail in appended claims, the application some in terms of mutually one
The example of the apparatus and method caused.
It is only merely for describing the purpose of specific embodiment at term used in this application, and is not intended to be limiting this
Application." a kind of ", " described " of singulative used in the application and appended claims
" it is somebody's turn to do " be also intended to include most form, unless context clearly shows that other implications.It is also understood that
Term "and/or" used herein refer to and comprise any of one or more project of listing being associated or
Likely combine.
Although should be appreciated that may use term first, second, third, etc. to describe various letter in the application
Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information district each other
Separately.Such as, in the case of without departing from the application scope, the first information can also be referred to as the second information,
Similarly, the second information can also be referred to as the first information.Depend on linguistic context, word as used in this
" if " can be construed to " ... time " or " when ... time " or " in response to determining ".
Along with the development of network, disparate networks application emerges in an endless stream, and the kind of application type is the most various,
In actual application, user is likely to there is some application type higher experience requirements.In prior art,
When user has higher experience requirements to some application type, technological means can be passed through so that network sets
Standby (such as switch) can identify the application type belonging to message to be sent, if this application type is
User has the application type of higher experience requirements, then the network equipment can be by this message lattice chain by high-quality
Road is transmitted, so that user obtains good experience.Specifically, if message to be sent is session
Report for the first time literary composition time, the network equipment can identify its affiliated application type according to this literary composition of reporting for the first time, if being identified
Application type be default application type (i.e. user has the application type of higher experience requirements), then may be used
This literary composition of reporting for the first time is dispatched with the scheduling rule corresponding according to this application type, and in the session information of this session
Add the scheduling labelling that this application type is corresponding.Follow-up, when sending other message of this session, the most permissible
According to the scheduling labelling preserved in the session information of this session, obtain corresponding scheduling rule, to dispatch this its
Its message.
But, some application type is only just can be identified by the literary composition of reporting for the first time of session, then,
In this case, then cannot exactly the message of some application type be scheduling, it is impossible to meet user
Experience requirements.Based on this, the application provide process message method and device, with realize effectively to
Family has the application type of higher experience requirements to be scheduling, and meets the experience requirements of user.
Following Fig. 1, illustrates the application scenarios schematic diagram that the embodiment of the present application realization processes the method for message.
Fig. 1 includes: client 11, the network equipment 12, server 13, server 14.Wherein, network sets
Standby 12 can be the equipment such as router or switch, and assumes the server that server 13 is certain video website,
Server 14 is the server of certain cloud disk website.Client 11 can pass through the network equipment 12, respectively with clothes
Business device 13, server 14 communicate, such as, client 11 can and server 13 between communicate,
To obtain Online Video resource, it is also possible to communicate with server 14, to upload or to download data.It is assumed that
Client 11 has higher experience requirements to Online Video viewing, then the network equipment 12 is forwarding client 11
With when communicating between server 13 during produced message, the side processing message that the application provides can be performed
Method, with by this message of the link transmission of high-quality, thus meets the experience requirements of client 11.
It is understood that in the application scenarios shown in Fig. 1 only as a example by there is a client 11, actual
In application, multiple client can be there is, each client can by the network equipment 12 respectively with service
Device 13, server 14 communicate, and client 11 only illustrates as a example by computer, in actual application
Client can also is that mobile phone, panel computer etc. other possess the terminal of network resource transmission function;In like manner,
In actual application, it is also possible to there is multiple server, this is not restricted by the application.
Following Fig. 2, illustrates the embodiment flow chart that the application processes the method for message, this Fig. 2 institute
The flow process shown is on the basis of application scenarios shown in above-mentioned Fig. 1, as a example by the network equipment 12 performs the method,
May comprise steps of:
Step S201: when determining that message to be sent is not the literary composition of reporting for the first time of session, and the session letter of described session
When breath does not stores the scheduling labelling for indicating scheduling rule, identify the application type corresponding to described message.
From the above mentioned, the network equipment 12, when sending message, if this message is the literary composition of reporting for the first time of session, then identifies
Application type belonging to this message, and identifying application type, and the application type identified is default
Application type time, the session information of session belonging to this message preserves the scheduling mark that this application type is corresponding
Note, this scheduling labelling can serve to indicate that scheduling rule.So, the network equipment 12 send message time, if
Determine that this message is not the literary composition of reporting for the first time of session, and determine in the session information of session belonging to this message and do not preserve
Having scheduling labelling, it may be said that bright, the network equipment 12 does not identify application type by the literary composition of reporting for the first time of this session,
Or, the application type identified not is default application type.
Determine that message to be sent is not the literary composition of reporting for the first time of session for the above-mentioned network equipment, and the meeting of described session
Words information has not stored scheduling labelling time, it is understood that there may be two kinds of situations, in order to realize exactly to preset
The message corresponding to application type be scheduling, to meet the experience requirements of user, in this step, permissible
Continue to carry out application according to this message to identify, to identify the application type corresponding to this message.
In the foregoing description, the most how to determine that whether message to be sent is the literary composition of reporting for the first time of session, and
How to carry out what application identified according to message, may refer to associated description of the prior art, the application is to this
It is not described in detail.
Step S202: if the application type identified is default application type, then according to described application type
Corresponding scheduling rule selects outbound to send described message, and preserves in the session information of described session
The scheduling labelling that described scheduling rule is corresponding, preserves the message characteristic of described message with described in schedule information
Scheduling labelling corresponding relation, described schedule information for send session report for the first time literary composition time according to described message
Feature obtains corresponding scheduling labelling, with the scheduling rule corresponding according to described scheduling labelling to described literary composition of reporting for the first time
It is scheduling.
In order to realize that the message corresponding to default application type is scheduling, can pre-save default
Application type and the corresponding relation of scheduling rule, it is also possible to pre-save scheduling rule corresponding with scheduling labelling
Relation.Above-mentioned two " corresponding relation " refers respectively to obtain corresponding scheduling rule by application type;
The scheduling labelling of correspondence can be obtained by scheduling rule, or the tune of correspondence can be obtained by scheduling labelling
Metric is then.
In this step, however, it is determined that when the application type identified in step S201 is default application type,
Such as, the application type identified is that client 11 has the Online Video of higher experience requirements to watch, the most permissible
According to the corresponding relation of above-mentioned application type Yu scheduling rule, obtain the scheduling rule that this application type is corresponding,
Then outbound is selected to send this message according to this scheduling rule, to realize being somebody's turn to do by the link transmission of high-quality
Message so that client 11 obtains good experience.And, it is also possible in the session corresponding to this message
In session information, preserve the scheduling labelling corresponding to this scheduling rule, with facilitate follow-up can be according to this session
The scheduling labelling preserved in information processes other messages of this session.
In this application, it is also possible in schedule information, preserve the message characteristic of this message and the right of scheduling labelling
Should be related to.Follow-up, the network equipment 12 send session report for the first time literary composition time, then can according to this report for the first time literary composition report
Literary composition feature obtains corresponding scheduling labelling with described schedule information, with the scheduling rule corresponding according to this scheduling labelling
Then described literary composition of reporting for the first time is scheduling.The most how to obtain the scheduling labelling of correspondence, may refer to following
Associated description in embodiment, is first not detailed at this.
Additionally, in this application, however, it is determined that the application type identified in step S201 should not for preset
When using type, application labelling corresponding for this application type can be saved in the session letter of session belonging to this message
In breath.Thus, follow-up retransmit other of this session non-report for the first time literary composition time, according to the meeting of session belonging to this message
Words information does not exist scheduling labelling, but there is application labelling, can the most directly determine belonging to this message
Application type is not default application type, owing to can no longer identify the application type belonging to this message,
Thus improve the treatment effeciency of message.It is understood that is identified in determining step S201 should
When being not the application type preset by type, the session information of session belonging to this message preserves application labelling
The method processing message as just illustration the application is how to improve treatment effeciency, applies in reality
In, it is also possible to take other measure, such as, the session information of session belonging to this message preserves the first mark
Knowing, this first mark have identified the application type belonging to this session for expression.Based on same thought,
By preserving described first mark in the session information of session belonging to message, it is also possible to improve the process of message
Efficiency, this is not restricted by the application.
As seen from the above-described embodiment, by determining that message to be sent is not the literary composition of reporting for the first time of session and described
When the session information of session has not stored scheduling labelling, continue to identify the application type of described message, in institute
When the application type identified is default application type, this message is scheduling, and in described session
Session information adds scheduling labelling, and in schedule information, preserves message characteristic and the scheduling of described message
The corresponding relation of labelling, it is achieved that according to session report for the first time literary composition unidentified go out application type time, still can have
Effect ground identifies application type according to the non-literary composition of reporting for the first time of session, such that it is able to effectively there is higher experience to user
The message corresponding to application type required is scheduling, and meets the experience requirements of user.
Following Fig. 3, illustrates another embodiment flow chart that the application processes the method for message, this Fig. 3
Shown flow process is on the basis of the application scenarios shown in above-mentioned Fig. 1 and the flow process shown in Fig. 2, still with network
As a example by equipment 12 performs the method, describe in detail in method provided herein, be how place is comprehended
The literary composition of reporting for the first time of words, may comprise steps of:
Step S301: if described message to be sent is the literary composition of reporting for the first time of session, then the report of literary composition of reporting for the first time described in basis
Literary composition feature searches schedule information, if finding described message characteristic in described schedule information, then performs step
S302, if not finding described message characteristic in described schedule information, then performs step S304.
By the description in above-described embodiment, schedule information can be preserved message characteristic and scheduling labelling
Corresponding relation, and the application type belonging to all messages corresponding to this message characteristic all be preset application class
Type.In one example, this message characteristic can include purpose IP address and the destination slogan of message.It
So different clients can be because visits using purpose IP address and destination slogan as this message characteristic
When asking same purpose IP address and destination slogan, it is believed that its application type accessed is identical.Such as,
As shown in fig. 1, it is assumed that in Fig. 1, there is also another client, this another client and client 11 all exist
Communicate with server 13, although the source IP ground of the message that this another client and client 11 are sent
Location and source port number also differ, and its session set up with server 13 also and differs, but can pass through
The purpose IP address of its message sent is consistent with destination slogan, show that these two clients all exist
Communicate with server 13, and server 13 is the server of certain video website, its application provided
Type is Online Video viewing, then, the application type that this another client and client 11 are accessed is the most all
Watch for Online Video.
In this application, the network equipment 12 is when sending message, if this message is the literary composition of reporting for the first time of session, then first
First search above-mentioned schedule information, if finding this message in schedule information according to the message characteristic of this literary composition of reporting for the first time
Feature, can immediately arrive at this application type corresponding to literary composition of reporting for the first time is default application type, such that it is able to
No longer identify this application type corresponding to literary composition of reporting for the first time, improve the treatment effeciency of message, now can continue
Perform step S302;If not finding this message characteristic in schedule information, step S304 can be continued executing with.
Step S302: obtain the scheduling labelling corresponding with described message characteristic.
Step S303: select outbound to send described message according to the scheduling rule that described scheduling labelling is corresponding,
And in the session information of described session, preserve the scheduling labelling that described scheduling rule is corresponding, terminate flow process.
In step S302 and step S303, from the above mentioned, schedule information can preserve message characteristic with
The corresponding relation of scheduling labelling, and the corresponding relation of scheduling labelling and scheduling rule can be pre-saved, that
, when execution of step S301, if the message characteristic of literary composition of reporting for the first time described in finding in schedule information, then may be used
The scheduling labelling corresponding to obtain this message characteristic, obtains the scheduling rule that this scheduling labelling is corresponding then, from
And select outbound to send this literary composition of reporting for the first time according to this scheduling rule, and in this session of session belonging to literary composition of reporting for the first time
Information preserves this scheduling labelling, with according to the scheduling labelling preserved in session information, to other of this session
Non-literary composition of reporting for the first time is scheduling.
Step S304: the application type that literary composition of reporting for the first time described in identification is corresponding, it is judged that described in the application type that identifies
Whether it is default application type, the most then performs step S305, otherwise, perform step S306.
In the application, the most how to identify the application type that literary composition of reporting for the first time is corresponding, may refer to prior art
In associated description, the application is not described in detail.
Step S305: select outbound to send described message according to the scheduling rule that described application type is corresponding,
And in the session information of described session, preserve the scheduling labelling that described scheduling rule is corresponding, in schedule information
Report for the first time described in preservation the corresponding relation of message characteristic and described scheduling labelling of literary composition, terminate flow process.
From the above mentioned, the corresponding relation of application type and scheduling rule can be pre-saved, then, in this step
In Zhou, then can obtain, according to described corresponding relation, the scheduling rule corresponding to application type recognized,
Then outbound is selected to send this literary composition of reporting for the first time, to meet the experience requirements of user according to this scheduling rule.
Further, the application type owing to being identified is default application type, locates to improve in the application
The efficiency of reason message, can preserve this literary composition corresponding relation with scheduling labelling of reporting for the first time, so in schedule information
Processing and the most how to improve in the application the efficiency processing message, may refer in step S301 is relevant
Describe, do not remake at this and be described in detail.
Step S306: application labelling corresponding for described application type is saved in the session information of described session.
Step S307: the message after the described message to be sent of transmission, and session belonging to described message
When session information does not exist scheduling labelling, according to the described application labelling in described session information, determine not
Dispatch described message.
In step S306 with step S307, the session information of session preserves application labelling, Yi Jiru
What processes the message after described message to be sent according to this application labelling, may refer in above-described embodiment
Associated description, do not remake at this and be described in detail.
As seen from the above-described embodiment, by determining that message to be sent is the literary composition of reporting for the first time of session, according to this
Civilian message characteristic of reporting for the first time searches schedule information, when finding this message characteristic, can immediately arrive at this
The application type that literary composition of reporting for the first time is corresponding is default application type, thus improves the treatment effeciency of message,
When not finding this message characteristic, then identify this application corresponding to literary composition of reporting for the first time, safeguard according to recognition result
Described schedule information, such that it is able to effectively have user corresponding to the application type of higher experience requirements
Message is scheduling, and meets the experience requirements of user.
Following Fig. 4, illustrates another embodiment flow chart that the application processes the method for message, should
Flow process shown in Fig. 4 is on the application scenarios shown in above-mentioned Fig. 1 and the basis of the flow process shown in Fig. 2, Fig. 3
On, still as a example by the network equipment 12 performs the method, describe in detail in method provided herein,
It is how to process message to be sent, may comprise steps of:
Step S401: judge that whether message to be sent is the literary composition of reporting for the first time of session, the most then perform step S402,
Otherwise, step S403 is performed.
Step S402: search schedule information according to the message characteristic of described message, if it is special to find described message
Levy, then perform step S409, otherwise perform step S404.
Step S403: judge whether to have stored in the session information of session belonging to described message scheduling labelling, if
It is then to perform step S405, otherwise perform step S404.
Step S404: identify the application type that described message is corresponding, it is judged that described in the application type that identifies be
The no application type for presetting, the most then perform step S406, otherwise, perform step S407.
Step S405: select outbound to send described message according to the scheduling rule that described scheduling labelling is corresponding,
Terminate flow process.
Step S406: select outbound to send described message according to the scheduling rule that described application type is corresponding,
And in the session information of described session, preserve the scheduling labelling that described scheduling rule is corresponding, in schedule information
Preserve the message characteristic of described message and the corresponding relation of described scheduling labelling, terminate flow process.
Step S407: application labelling corresponding for described application type is saved in the session information of described session.
Step S408: the message after the described message to be sent of transmission, and session belonging to described message
When session information does not exist scheduling labelling, according to the described application labelling in described session information, determine not
Dispatch described message, terminate flow process.
Step S409: obtain the scheduling labelling corresponding with described message characteristic.
Step S410: select outbound to send described message according to the scheduling rule that described scheduling labelling is corresponding,
And in the session information of described session, preserve the scheduling labelling that described scheduling rule is corresponding.
Above-mentioned steps S401 may refer to step S201 shown in above-mentioned Fig. 2 extremely to the detailed description of step S402
Step S202, and step S301 shown in Fig. 3 is to the associated description of step S307, does not remake the most superfluous at this
State.
As seen from the above-described embodiment, by determine message to be sent be session report for the first time literary composition time, according to this
Civilian message characteristic of reporting for the first time searches schedule information, when finding this message characteristic, can immediately arrive at this head
The application type that message is corresponding is default application type, thus improves the treatment effeciency of message, is not looking into
When finding this message characteristic, then identify this application corresponding to literary composition of reporting for the first time, and safeguard according to recognition result described
Schedule information, such that it is able to effectively there is the message corresponding to application type of higher experience requirements to enter to user
Row scheduling, meets the experience requirements of user;By determining that message to be sent is not the literary composition of reporting for the first time of session,
And when the session information of described session has not stored scheduling labelling, continue to identify the application type of described message,
When the application type identified is default application type, this message is scheduling, and in described meeting
The session information of words adds scheduling labelling, and preserve in schedule information the message characteristic of described message with
Scheduling labelling corresponding relation, it is achieved that according to session report for the first time literary composition unidentified go out application type time, still may be used
Application type is identified, such that it is able to effectively user is had higher with non-literary composition of reporting for the first time according to session effectively
Message corresponding to the application type of experience requirements is scheduling, and meets the experience requirements of user.
Corresponding with the embodiment of the method for aforementioned processing message, present invention also provides the device processing message
Embodiment.
The application processes the embodiment of the device of message and can apply on network devices.Device embodiment is permissible
Realized by software, it is also possible to realize by the way of hardware or software and hardware combining.As a example by implemented in software,
As the device on a logical meaning, it is that the processor by its place network equipment is by non-volatile memories
Computer program instructions corresponding in device reads and runs formation in internal memory.For hardware view, such as Fig. 5
Shown in, process a kind of hardware structure diagram of the device place network equipment of message for the application, except Fig. 5 institute
Outside the processor 51, internal memory 52, network interface 53 and the nonvolatile memory 54 that show, embodiment
The network equipment at middle device place is generally according to the actual functional capability of this network equipment, it is also possible to include other hardware,
This is repeated no more.
Refer to Fig. 6, illustrate the application and process one embodiment flow chart of device of message, may include that
Recognition unit the 61, first processing unit 62.
Wherein, this recognition unit 61, may be used for when determining that message to be sent is not the literary composition of reporting for the first time of session,
And when the session information of described session does not stores the scheduling labelling for indicating scheduling rule, identify described report
Application type corresponding to literary composition;
This first processing unit 62, may be used for when the application type identified is default application type,
Outbound is selected to send described message according to the scheduling rule that described application type is corresponding, and in described meeting
The session information of words preserves the scheduling labelling that described scheduling rule is corresponding, preserves described in schedule information
The message characteristic of message and the corresponding relation of described scheduling labelling, described schedule information is for sending session
Report for the first time literary composition time obtain corresponding scheduling labelling according to described message characteristic, with according to described scheduling labelling pair
Described literary composition of reporting for the first time is scheduling by the scheduling rule answered.
Refer to Fig. 7, illustrate another embodiment flow chart that the application processes the device of message, this Fig. 7
Shown device is on the basis of above-mentioned Fig. 6 shown device, it is also possible to including: at acquiring unit 63, second
Reason unit 64.
Wherein, this acquiring unit 63, if may be used for the literary composition of reporting for the first time that described message to be sent is session, then
Message characteristic according to described literary composition of reporting for the first time searches described schedule information, obtains the tune corresponding with described message characteristic
Scale designation;
This second processing unit 64: may be used for the scheduling rule corresponding according to described scheduling labelling, selects
Outbound sends described message, and it is corresponding to preserve described scheduling rule in the session information of described session
Scheduling labelling.
In one embodiment, this recognition unit 61, it is also possible to be used for: if not storing in described schedule information
During the message characteristic of described literary composition of reporting for the first time, the application type that literary composition of reporting for the first time described in identification is corresponding;
This first processing unit 62, it is also possible to be used for: the application type identified described in if is default application
Type, then according to the scheduling rule selection outbound described message of transmission that described application type is corresponding, and
The session information of described session preserves the scheduling labelling that described scheduling rule is corresponding, preserves in schedule information
The message characteristic of described literary composition of reporting for the first time and the corresponding relation of described scheduling labelling.
In another embodiment, described device can also include: storage unit the 65, the 3rd processing unit 66.
Wherein, this storage unit 65, if the application type identified described in may be used for is not default application
Type, then be saved in application labelling corresponding for described application type in the session information of described session;
3rd processing unit 66, may be used for the message after the described message to be sent of transmission, and institute
State the session information of session belonging to message does not exist scheduling labelling time, according in described session information
Application labelling, determines and does not dispatches described message.
In yet another embodiment, described message characteristic includes: purpose IP address and destination slogan.
In said apparatus, the function of unit and the process that realizes of effect specifically refer to corresponding step in said method
Rapid realizes process, does not repeats them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees
The part of embodiment of the method illustrates.Device embodiment described above is only schematically, wherein
The described unit illustrated as separating component can be or may not be physically separate, as unit
The parts of display can be or may not be physical location, i.e. may be located at a place, or also may be used
To be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs
Realize the purpose of the application scheme.Those of ordinary skill in the art in the case of not paying creative work,
I.e. it is appreciated that and implements.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all in this Shen
Within spirit please and principle, any modification, equivalent substitution and improvement etc. done, should be included in this Shen
Within the scope of please protecting.
Claims (10)
1. the method processing message, it is characterised in that described method includes:
When determining that message to be sent is not the literary composition of reporting for the first time of session, and the session information of described session does not stores
When the scheduling labelling indicating scheduling rule, identify the application type corresponding to described message;
If the application type identified is default application type, then according to the scheduling that described application type is corresponding
Rule selects outbound to send described message, and preserves described scheduling rule in the session information of described session
Then corresponding scheduling labelling, preserves the message characteristic of described message and described scheduling labelling in schedule information
Corresponding relation, described schedule information for send session report for the first time literary composition time according to described message characteristic obtain right
The scheduling labelling answered, is scheduling described literary composition of reporting for the first time with the scheduling rule corresponding according to described scheduling labelling.
Method the most according to claim 1, it is characterised in that described method also includes:
If described message to be sent is the literary composition of reporting for the first time of session, then the message characteristic of literary composition of reporting for the first time described in basis is searched
Described schedule information, obtains the scheduling labelling corresponding with described message characteristic;
According to the scheduling rule that described scheduling labelling is corresponding, outbound is selected to send described message, and in institute
State and the session information of session preserves the scheduling labelling that described scheduling rule is corresponding.
Method the most according to claim 2, it is characterised in that described method also includes:
If reporting for the first time described in not storing in described schedule information during the message characteristic of literary composition, literary composition of reporting for the first time described in identification is corresponding
Application type;
If the application type identified described in is default application type, then corresponding according to described application type
Scheduling rule selects outbound to send described message, and preserves described tune in the session information of described session
The scheduling labelling that metric is then corresponding, the message characteristic of literary composition of reporting for the first time described in preservation in schedule information and described scheduling
The corresponding relation of labelling.
4. according to the method described in claim 1 or 3, it is characterised in that described method also includes:
If the application type identified described in is not default application type, then by corresponding for described application type
Application labelling is saved in the session information of described session;
Message after the described message to be sent of transmission, and in the session information of session belonging to described message
When there is not scheduling labelling, according to the described application labelling in described session information, determine and do not dispatch described report
Literary composition.
5. according to the arbitrary described method of claims 1 to 3, it is characterised in that described message characteristic includes:
Purpose IP address and destination slogan.
6. the device processing message, it is characterised in that described device includes:
For working as, recognition unit, determines that message to be sent is not the literary composition of reporting for the first time of session, and the meeting of described session
When words information does not stores the scheduling labelling for indicating scheduling rule, identify the application corresponding to described message
Type;
First processing unit, for when the application type identified is default application type, according to described
The scheduling rule that application type is corresponding selects outbound to send described message, and at the session letter of described session
Preserving the scheduling labelling that described scheduling rule is corresponding in breath, the message preserving described message in schedule information is special
Levy and the corresponding relation of described scheduling labelling, described schedule information for send session report for the first time literary composition time according to
Described message characteristic obtains corresponding scheduling labelling, with the scheduling rule corresponding according to described scheduling labelling to institute
State literary composition of reporting for the first time to be scheduling.
Device the most according to claim 6, it is characterised in that described device also includes:
Acquiring unit, if being used for the literary composition of reporting for the first time that described message to be sent is session, then literary composition of reporting for the first time described in basis
Message characteristic search described schedule information, obtain the scheduling labelling corresponding with described message characteristic;
Second processing unit: for the scheduling rule corresponding according to described scheduling labelling, selects outbound to send out
Send described message, and in the session information of described session, preserve the scheduling labelling that described scheduling rule is corresponding.
Device the most according to claim 7, it is characterised in that described recognition unit, is additionally operable to:
If reporting for the first time described in not storing in described schedule information during the message characteristic of literary composition, literary composition of reporting for the first time described in identification is corresponding
Application type;
Described first processing unit, is additionally operable to: the application type identified described in if is default application type,
Then outbound is selected to send described message according to the scheduling rule that described application type is corresponding, and in described meeting
The session information of words preserves the scheduling labelling that described scheduling rule is corresponding, schedule information preserves described head
The message characteristic of message and the corresponding relation of described scheduling labelling.
9. according to the device described in claim 6 or 8, it is characterised in that described device also includes:
Storage unit, if the application type identified described in Yong Yu is not default application type, then by described
The application labelling that application type is corresponding is saved in the session information of described session;
3rd processing unit, for the message after the described message to be sent of transmission, and described message institute
When the session information of genus session does not exist scheduling labelling, according to the described application labelling in described session information,
Determine and do not dispatch described message.
10. according to the arbitrary described device of claim 6~8, it is characterised in that described message characteristic includes:
Purpose IP address and destination slogan.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610349777.8A CN105939287A (en) | 2016-05-23 | 2016-05-23 | Message processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610349777.8A CN105939287A (en) | 2016-05-23 | 2016-05-23 | Message processing method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105939287A true CN105939287A (en) | 2016-09-14 |
Family
ID=57152070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610349777.8A Pending CN105939287A (en) | 2016-05-23 | 2016-05-23 | Message processing method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105939287A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080162639A1 (en) * | 2006-12-28 | 2008-07-03 | Research And Industrial Cooperation Group | System and method for identifying peer-to-peer (P2P) application service |
CN102480503A (en) * | 2010-11-23 | 2012-05-30 | 杭州华三通信技术有限公司 | P2P (peer-to-peer) traffic identification method and P2P traffic identification device |
CN102904828A (en) * | 2012-10-26 | 2013-01-30 | 杭州迪普科技有限公司 | Load balancing method and device |
CN103297270A (en) * | 2013-05-24 | 2013-09-11 | 华为技术有限公司 | Application type recognition method and network equipment |
CN104901897A (en) * | 2015-05-26 | 2015-09-09 | 杭州华三通信技术有限公司 | Determination method and device of application type |
CN105591973A (en) * | 2015-12-31 | 2016-05-18 | 杭州数梦工场科技有限公司 | Application recognition method and apparatus |
CN105592137A (en) * | 2015-10-14 | 2016-05-18 | 杭州华三通信技术有限公司 | Application type identification method and device |
-
2016
- 2016-05-23 CN CN201610349777.8A patent/CN105939287A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080162639A1 (en) * | 2006-12-28 | 2008-07-03 | Research And Industrial Cooperation Group | System and method for identifying peer-to-peer (P2P) application service |
CN102480503A (en) * | 2010-11-23 | 2012-05-30 | 杭州华三通信技术有限公司 | P2P (peer-to-peer) traffic identification method and P2P traffic identification device |
CN102904828A (en) * | 2012-10-26 | 2013-01-30 | 杭州迪普科技有限公司 | Load balancing method and device |
CN103297270A (en) * | 2013-05-24 | 2013-09-11 | 华为技术有限公司 | Application type recognition method and network equipment |
CN104901897A (en) * | 2015-05-26 | 2015-09-09 | 杭州华三通信技术有限公司 | Determination method and device of application type |
CN105592137A (en) * | 2015-10-14 | 2016-05-18 | 杭州华三通信技术有限公司 | Application type identification method and device |
CN105591973A (en) * | 2015-12-31 | 2016-05-18 | 杭州数梦工场科技有限公司 | Application recognition method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8352546B1 (en) | Contextual and location awareness for device interaction | |
US9544409B2 (en) | Automated caller identifier from contact lists of a user's contacts | |
US8860777B2 (en) | Multi-enterprise video conference service | |
US10080158B2 (en) | Providing multiple interfaces for traffic | |
US11134035B2 (en) | Method and device for securely sending message | |
CN108432200B (en) | Method for protecting and controlling access to private personal information | |
US10135763B2 (en) | System and method for secure and efficient communication within an organization | |
US11336734B1 (en) | System and method for aggregating communication connections | |
US20170359778A1 (en) | Multi-Channel Communications For Sending Push Notifications To Mobile Devices | |
US20170317961A1 (en) | Email notifications | |
US9891970B2 (en) | Techniques to share application data through a messaging system | |
US11523000B1 (en) | Management of VoIP device contact lists in a data communications services system | |
JP2020526991A (en) | Techniques for multi-agent messaging | |
JP2014123363A (en) | Service and management layer for various data connection | |
CN111163102B (en) | Data processing method and device, network equipment and readable storage medium | |
US20110191427A1 (en) | Communication method adapted for users using multiple communication facilities | |
US8731532B2 (en) | Method for delivering electronic documents using mobile telephony identifiers in a secure manner in conjunction with internet protocols and address systems | |
CN105939287A (en) | Message processing method and apparatus | |
US20170310629A1 (en) | Providing Reverse Preference Designations In a Network | |
EP2976858B1 (en) | Global email identity preferences | |
CN106060155A (en) | P2P (Peer to Peer) resource sharing method and device | |
CN108769274B (en) | Conversational file transmission method and device, and equipment/terminal/server | |
CA2695189C (en) | System for intelligent context-based adjustments of coordination and communication between multiple mobile hosts engaging in services | |
CN111200692B (en) | Voice equipment, processing method, device and storage medium for network telephone | |
CN113347208B (en) | Method and apparatus for determining network node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant after: Hangzhou Dipu Polytron Technologies Inc Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant before: Hangzhou Dipu Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160914 |
|
RJ01 | Rejection of invention patent application after publication |