CN101834803A - Method and device for processing messages - Google Patents

Method and device for processing messages Download PDF

Info

Publication number
CN101834803A
CN101834803A CN201010183576A CN201010183576A CN101834803A CN 101834803 A CN101834803 A CN 101834803A CN 201010183576 A CN201010183576 A CN 201010183576A CN 201010183576 A CN201010183576 A CN 201010183576A CN 101834803 A CN101834803 A CN 101834803A
Authority
CN
China
Prior art keywords
message
regulatory requirement
identification information
user
module
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
Application number
CN201010183576A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010183576A priority Critical patent/CN101834803A/en
Publication of CN101834803A publication Critical patent/CN101834803A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides method and device for processing messages, which relate to the communication field, and aim to solve the problem of low message managing flexibility in the prior art. The method comprises the following steps of: obtaining the identification information of the message to be sent in the local; finding the managing requirement corresponding to the message to be sent from the preset managing requirement corresponding to the identification information of the message in the local; and if the managing requirement is found, processing the message to be sent according to the found managing requirement. The technical scheme of the invention can be applied to the information processing field.

Description

Message processing method and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of message processing method and device.
Background technology
In the prior art, Ethernet switch is after receiving message, general only responsible two layers of forwarding, when if desired the message of special user or particular service being handled, need be on Ethernet switch at the access control list (ACL) of different regulatory requirement assignment configuration correspondences, and on each ACL the corresponding message identification information of configuration, after receiving message, on the ACL of this locality storage, search with the identification information of this message that receives, determine whether and to handle this message that receives, realize the purpose that special packet is carried out special processing.
In said process, the inventor finds prior art, and there are the following problems: if this locality disposes a plurality of ACL, just need all search with identification information on each ACL, required time is longer, and flexibility is relatively poor, and inconvenient user is configured.
Summary of the invention
The invention provides a kind of message processing method and device, solve the problem of administrative message flexibility ratio difference in the prior art.
For solving the problems of the technologies described above, the invention provides following technical scheme:
A kind of message processing method comprises:
Obtain the identification information of local message to be sent;
The regulatory requirement of the identification information correspondence of the message that sets in advance from this locality, search the regulatory requirement of the identification information correspondence of described message to be sent;
If find, then handle described message to be sent according to the regulatory requirement that finds.
Further, described message to be sent is discerned by user ID and/or service identification, wherein:
Described user ID comprises medium access control (MAC) address and/or VLAN ID (Vid);
Described service identification comprises in internal layer Vid, outer Vid, two layers of priority and the ethernet type at least one.
Further, described regulatory requirement comprises: the message with corresponding identification information is abandoned, adjusts forwarding priority, adjusts the priority in this message and adjusts among the ectonexine Vid at least a.
Further, the described step of handling described message to be sent according to the regulatory requirement that finds comprises:
Judge whether this locality can handle described a plurality of regulatory requirement simultaneously;
If can, then handle described a plurality of regulatory requirement simultaneously; Otherwise the disposal ability current according to this locality disposes the processing sequence to described a plurality of regulatory requirements, and according to described processing sequence, handles described regulatory requirement.
Further, described method also comprises:
When detecting user or professional regulatory requirement and change, obtain the user of described generation changes in demand or the identification information of professional message;
In the regulatory requirement of the identification information correspondence of the message that sets in advance in described this locality, search the management clauses and subclauses of the identification information of the user that comprises described generation changes in demand or professional message;
Show the described management clauses and subclauses that find;
Receive the adjustment of network maintenance staff to the described management clauses and subclauses that find.
A kind of message process device comprises:
First acquisition module is used to obtain the identification information of local message to be sent;
First searches module, links to each other with described first acquisition module, is used for the regulatory requirement of the identification information correspondence of the message that sets in advance from this locality, searches the regulatory requirement of the identification information correspondence of described message to be sent;
Processing module is searched module and is linked to each other with described first, is used for handling described message to be sent according to the regulatory requirement that finds after finding corresponding regulatory requirement.
Further, described first acquisition module is discerned described message to be sent by user ID and/or service identification, wherein:
Described user ID comprises medium access control (MAC) address and/or VLAN ID (Vid);
Described service identification comprises in internal layer Vid, outer Vid, two layers of priority and the ethernet type at least one.
Further, described regulatory requirement comprises: the message with corresponding identification information is abandoned, adjusts forwarding priority, adjusts the priority in this message and adjusts among the ectonexine Vid at least a.
Further, described processing module comprises:
Judging unit is used to judge whether this locality can handle described a plurality of regulatory requirement simultaneously;
Processing unit links to each other with described judging unit, is used for handling described a plurality of regulatory requirement simultaneously when described judgment unit judges can be handled; Perhaps, when described judgment unit judges can not be handled, the disposal ability current according to this locality disposed the processing sequence to described a plurality of regulatory requirements, and according to described processing sequence, handles described regulatory requirement.
Further, described device also comprises:
Second acquisition module is used for when detecting user or professional regulatory requirement and change, and obtains the user of described generation changes in demand or the identification information of professional message;
Second searches module, links to each other with described second acquisition module, is used for the regulatory requirement of the identification information correspondence of the message that sets in advance in described this locality, searches the management clauses and subclauses of the identification information of the user that comprises described generation changes in demand or professional message;
Display module is searched module and is linked to each other with described second, is used to show the described management clauses and subclauses that find;
Receiver module is searched module respectively at described display module and described first and is linked to each other, and is used to receive the adjustment of network maintenance staff to the described management clauses and subclauses that find.
One or more embodiment provided by the invention, because the frequency of the changes in demand of user and business is than the change frequency height of regulatory requirement in the network, so adopt the identification information modeling of message, with compare for the keyword modeling with the regulatory requirement in the prior art, reduce the maintenance times of model, the flexibility height is realized the management to a plurality of regulatory requirements simultaneously in a model, be general administrative model; Further, when user and professional changes in demand, user by this generations demand message or professional identification information just can one of quick lock in be managed clauses and subclauses adjust operation, searches for efficient and convenient.
Description of drawings
Fig. 1 is the schematic flow sheet of message processing method embodiment provided by the invention;
Fig. 2 is the schematic flow sheet of message processing method application example provided by the invention;
Fig. 3 is the structural representation of message process device embodiment among the present invention;
Fig. 4 is the structural representation of processing module 303 among the device embodiment shown in Figure 3;
Fig. 5 is another structural representation of device embodiment shown in Figure 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, the invention provides a kind of message processing method, comprising:
Step 101, obtain the identification information of local message to be sent;
The regulatory requirement of the identification information correspondence of step 102, the message that sets in advance from this locality, search the regulatory requirement of the identification information correspondence of described message to be sent;
If step 103 finds, then handle described message to be sent according to the regulatory requirement that finds.
The method that the embodiment of the invention provides, because the frequency of the changes in demand of user and business is than the change frequency height of regulatory requirement in the network, so adopt the identification information modeling of message, with compare for the keyword modeling with the regulatory requirement in the prior art, reduce the maintenance times of model, the flexibility height is realized the management to a plurality of regulatory requirements simultaneously in a model, be general administrative model.
The method that the embodiment of the invention is provided is further described below, detailed process as shown in Figure 2:
The mode that the data network of general telecommunications adopts time-shared charge to do one's best provides service for the user, can lose user's message at random when running into network congestion.If there is a user ABC to provide paid service for other people by the teledata net, this customer requirements can be paid but bandwidth need be guaranteed by flow, this means for telecommunications under the situation that can guarantee user bandwidth can charged extra, utilizes the method for this patent just can realize under this scene.Step is as follows:
The user domain that step 201, establishment are managed message.
Concrete, user domain is made up of the identification information and the regulatory requirement of message, wherein:
The identification information of message comprises user ID and/or service identification, and wherein user ID comprises medium access control (MAC) and/or Vid (vlan id, VLAN ID), and wherein Vid is used for dividing different VLAN.Service identification comprises in internal layer Vid, outer Vid, two layers of priority and the ethernet type at least one.
The regulatory requirement of message comprises following at least one:
Abandon, for example abandon non-effective message;
Adjust forwarding priority, for example, improve message forwarding priority for guaranteeing the propagation delay time of message;
Adjust the priority in this message, for example guarantee the transmission quality of message, improve the priority in this message;
Adjust internal layer Vid and/or outer Vid, comprise internal layer Vid and/or outer Vid are increased or revise, for example guarantee that message can transmit at the whole network adjust operation;
Bandwidth guarantees, for example distributes enough bandwidth for message.
For example, create a user domain called after user_ABC, the identification information that wherein disposes in this user domain is user's mac address, and regulatory requirement is counting, improve forwarding priority, revise priority in the message, carry out bandwidth guarantees.
Step 202, judge local whether can be to the management of regulatory requirement in the user domain.
Concrete, dispose following content if detect this locality, represent that then this locality can manage message, comprising:
The local traffic classification table that uses carries out statistical counting, and the action in use mac transmits improves forwarding priority, uses the priority mapping table to revise message priority, uses formation bandwidth assurance configuration list item to carry out bandwidth and guarantees.
If can manage, then execution in step 203; Otherwise flow process finishes (not shown).
Step 203, obtain the identification information of local message to be sent.
Step 204, from a plurality of user domain that this locality sets in advance, search the regulatory requirement in the user domain of the identification information that comprises this message to be sent.
Optionally, after execution of step 204, after the execution 205~206, execution in step 207 more earlier.
Step 205, judge locally currently whether can handle the cura generalis demand that finds simultaneously.
If then execution in step 207; Otherwise after the first execution in step 206, execution in step 207 again.
The processing sequence of the cura generalis demand of step 206, configuration message to be sent.
Wherein when the configuration process order, can be to generate at random, also can be each regulatory requirement configuration according to the strategy that sets in advance, as according to the hardware and software resource required in each regulatory requirement complete process or the priority of regulatory requirement, wherein the priority of this regulatory requirement can be that the network maintenance staff is from setting.
In the processing procedure by step 205 and step 206, finishing of regulatory requirement arranged, under the condition that does not influence local disposal ability, reduce the time delay of handling regulatory requirement.
Step 207, manage message to be sent according to the regulatory requirement of this message to be sent.
Concrete, if corresponding processing sequence is arranged, then handle according to processing sequence.As the mac coupling, the action in then transmitting according to mac improves forwarding priority in the mac forwarding process; Use stream table matching message mac that message is counted; Use the priority mapping table according to the priority in the packet forwarding priority modification message; According to configuration this formation message being carried out bandwidth at forwarding queue guarantees.
In management process, when detecting user or professional regulatory requirement and change, obtain the user of described generation changes in demand or the identification information of professional message; In the regulatory requirement of the identification information correspondence of the message that sets in advance in described this locality, search the management clauses and subclauses of the identification information of the user that comprises described generation changes in demand or professional message; Show the described management clauses and subclauses that find; Receive the adjustment of network maintenance staff to the described management clauses and subclauses that find.For example, increase or deletion regulatory requirement.
When user and professional regulatory requirement changed, by this user of demand message or professional identification information taking place just can quick lock in and this user or the relevant management request of business, finishes retouching operation, and the flexibility height is convenient to and user interactions.
Need to prove, because the frequency of the changes in demand of user and business is than the change frequency height of regulatory requirement in the network, so adopt the identification information modeling of message, with compare for the keyword modeling with the regulatory requirement in the prior art, reduce the maintenance times of model, the flexibility height is realized the management to a plurality of regulatory requirements simultaneously in a model, be general administrative model; Further, when user and professional changes in demand, user by this generations demand message or professional identification information just can one of quick lock in be managed clauses and subclauses adjust operation, searches for efficient and convenient.
As shown in Figure 3, the invention provides a kind of message process device embodiment, in conjunction with the method shown in Fig. 1 and 2 of the present invention, described device comprises:
First acquisition module 301 is used to obtain the identification information of local message to be sent;
First searches module 302, links to each other with described first acquisition module 301, is used for the regulatory requirement of the identification information correspondence of the message that sets in advance from this locality, searches the regulatory requirement of the identification information correspondence of described message to be sent;
Processing module 303 is searched module 302 and is linked to each other with described first, is used for handling described message to be sent according to the regulatory requirement that finds after finding corresponding regulatory requirement.
Wherein said first acquisition module is discerned described message to be sent by user ID and/or service identification, wherein:
Described user ID comprises medium access control (MAC) address and/or VLAN ID (Vid);
Described service identification comprises in internal layer Vid, outer Vid, two layers of priority and the ethernet type at least one.
Wherein said regulatory requirement comprises: the message with corresponding identification information is abandoned, adjusts forwarding priority, adjusts the priority in this message and adjusts among the ectonexine Vid at least a.
As shown in Figure 4, described processing module 303 can further include:
Judging unit 401 is used to judge whether this locality can handle described a plurality of regulatory requirement simultaneously;
Processing unit 402 links to each other with described judging unit, is used for handling described a plurality of regulatory requirement simultaneously when described judgment unit judges can be handled; Perhaps, when described judgment unit judges can not be handled, the disposal ability current according to this locality disposed the processing sequence to described a plurality of regulatory requirements, and according to described processing sequence, handles described regulatory requirement.
As shown in Figure 5, described device can further include:
Second acquisition module 501 is used for when detecting user or professional regulatory requirement and change, and obtains the user of described generation changes in demand or the identification information of professional message;
Second searches module 502, link to each other with described second acquisition module 501, the regulatory requirement that is used for the identification information correspondence of the message that sets in advance in described this locality, the management clauses and subclauses of searching the identification information of the user that comprises described generation changes in demand or professional message;
Display module 503 is searched module 502 and is linked to each other with described second, is used to show the described management clauses and subclauses that find;
Receiver module 504 is searched module 302 respectively at described display module 503 and described first and is linked to each other, and is used to receive the adjustment of network maintenance staff to the described management clauses and subclauses that find.
Device embodiment provided by the invention, because the frequency of the changes in demand of user and business is than the change frequency height of regulatory requirement in the network, so adopt the identification information modeling of message, with compare for the keyword modeling with the regulatory requirement in the prior art, reduce the maintenance times of model, the flexibility height is realized the management to a plurality of regulatory requirements simultaneously in a model, be general administrative model; Further, when user and professional changes in demand, user by this generations demand message or professional identification information just can one of quick lock in be managed clauses and subclauses adjust operation, searches for efficient and convenient.
The all or part of step that the one of ordinary skill in the art will appreciate that the foregoing description program circuit that can use a computer is realized, described computer program can be stored in the computer-readable recording medium, described computer program (as system, unit, device etc.) on the relevant hardware platform is carried out, when carrying out, comprise one of step or its combination of method embodiment.
Alternatively, all or part of step of the foregoing description also can use integrated circuit to realize, these steps can be made into integrated circuit modules one by one respectively, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in the foregoing description can adopt the general calculation device to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation element forms.
Each device/functional module/functional unit in the foregoing description is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.
The above-mentioned computer read/write memory medium of mentioning can be a read-only memory, disk or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.

Claims (10)

1. a message processing method is characterized in that, comprising:
Obtain the identification information of local message to be sent;
The regulatory requirement of the identification information correspondence of the message that sets in advance from this locality, search the regulatory requirement of the identification information correspondence of described message to be sent;
If find, then handle described message to be sent according to the regulatory requirement that finds.
2. method according to claim 1 is characterized in that, described message to be sent is discerned by user ID and/or service identification, wherein:
Described user ID comprises medium access control (MAC) address and/or VLAN ID (Vid);
Described service identification comprises in internal layer Vid, outer Vid, two layers of priority and the ethernet type at least one.
3. method according to claim 1 is characterized in that, described regulatory requirement comprises: the message with corresponding identification information is abandoned, adjusts forwarding priority, adjusts the priority in this message and adjusts among the ectonexine Vid at least a.
4. method according to claim 1 is characterized in that, the described step of handling described message to be sent according to the regulatory requirement that finds comprises:
Judge whether this locality can handle described a plurality of regulatory requirement simultaneously;
If can, then handle described a plurality of regulatory requirement simultaneously; Otherwise the disposal ability current according to this locality disposes the processing sequence to described a plurality of regulatory requirements, and according to described processing sequence, handles described regulatory requirement.
5. method according to claim 1 is characterized in that, described method also comprises:
When detecting user or professional regulatory requirement and change, obtain the user of described generation changes in demand or the identification information of professional message;
In the regulatory requirement of the identification information correspondence of the message that sets in advance in described this locality, search the management clauses and subclauses of the identification information of the user that comprises described generation changes in demand or professional message;
Show the described management clauses and subclauses that find;
Receive the adjustment of network maintenance staff to the described management clauses and subclauses that find.
6. a message process device is characterized in that, comprising:
First acquisition module is used to obtain the identification information of local message to be sent;
First searches module, links to each other with described first acquisition module, is used for the regulatory requirement of the identification information correspondence of the message that sets in advance from this locality, searches the regulatory requirement of the identification information correspondence of described message to be sent;
Processing module is searched module and is linked to each other with described first, is used for handling described message to be sent according to the regulatory requirement that finds after finding corresponding regulatory requirement.
7. device according to claim 6 is characterized in that, described first acquisition module is discerned described message to be sent by user ID and/or service identification, wherein:
Described user ID comprises medium access control (MAC) address and/or VLAN ID (Vid);
Described service identification comprises in internal layer Vid, outer Vid, two layers of priority and the ethernet type at least one.
8. device according to claim 6 is characterized in that, described regulatory requirement comprises: the message with corresponding identification information is abandoned, adjusts forwarding priority, adjusts the priority in this message and adjusts among the ectonexine Vid at least a.
9. device according to claim 6 is characterized in that, described processing module comprises:
Judging unit is used to judge whether this locality can handle described a plurality of regulatory requirement simultaneously;
Processing unit links to each other with described judging unit, is used for handling described a plurality of regulatory requirement simultaneously when described judgment unit judges can be handled; Perhaps, when described judgment unit judges can not be handled, the disposal ability current according to this locality disposed the processing sequence to described a plurality of regulatory requirements, and according to described processing sequence, handles described regulatory requirement.
10. device according to claim 6 is characterized in that, described device also comprises:
Second acquisition module is used for when detecting user or professional regulatory requirement and change, and obtains the user of described generation changes in demand or the identification information of professional message;
Second searches module, links to each other with described second acquisition module, is used for the regulatory requirement of the identification information correspondence of the message that sets in advance in described this locality, searches the management clauses and subclauses of the identification information of the user that comprises described generation changes in demand or professional message;
Display module is searched module and is linked to each other with described second, is used to show the described management clauses and subclauses that find;
Receiver module is searched module respectively at described display module and described first and is linked to each other, and is used to receive the adjustment of network maintenance staff to the described management clauses and subclauses that find.
CN201010183576A 2010-05-24 2010-05-24 Method and device for processing messages Pending CN101834803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010183576A CN101834803A (en) 2010-05-24 2010-05-24 Method and device for processing messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010183576A CN101834803A (en) 2010-05-24 2010-05-24 Method and device for processing messages

Publications (1)

Publication Number Publication Date
CN101834803A true CN101834803A (en) 2010-09-15

Family

ID=42718736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010183576A Pending CN101834803A (en) 2010-05-24 2010-05-24 Method and device for processing messages

Country Status (1)

Country Link
CN (1) CN101834803A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112242981A (en) * 2019-07-19 2021-01-19 西安中兴新软件有限责任公司 Website filtering method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514590A (en) * 2002-12-31 2004-07-21 深圳市中兴通讯股份有限公司上海第二 Sevice quality control/device and method based on virtual network marker
CN1677950A (en) * 2004-04-01 2005-10-05 华为技术有限公司 Data exchange method based on virtual local area network
CN1773949A (en) * 2005-10-28 2006-05-17 杭州华为三康技术有限公司 Switching in method for virtual special network and realizing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514590A (en) * 2002-12-31 2004-07-21 深圳市中兴通讯股份有限公司上海第二 Sevice quality control/device and method based on virtual network marker
CN1677950A (en) * 2004-04-01 2005-10-05 华为技术有限公司 Data exchange method based on virtual local area network
CN1773949A (en) * 2005-10-28 2006-05-17 杭州华为三康技术有限公司 Switching in method for virtual special network and realizing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112242981A (en) * 2019-07-19 2021-01-19 西安中兴新软件有限责任公司 Website filtering method and device

Similar Documents

Publication Publication Date Title
CN103348637B (en) For the method and apparatus that the frame delivery path in hybrid communication network is selected
CN103299602B (en) Data syn-chronization
KR101887581B1 (en) Flow-based packet transport device and packet management method thereof
CN103873451B (en) A kind of method, apparatus and system of data syn-chronization
CN108173691B (en) Cross-device aggregation method and device
CN107079046A (en) For providing system and method for the subnet through pipe (SA) query caching for dynamic cloud
CN103338269B (en) A kind of data transmission method and device
CN102195815B (en) Network management method and device
CN103841018A (en) Content centric network multiport forwarding method and router
CN101459526B (en) Projector sharing conference system based on service discovery
WO2005018254A3 (en) Provision of services by reserving resources in a communications network having resource management according to policy rules
CN110708256A (en) CDN scheduling method, device, network equipment and storage medium
CN103617007A (en) Method and system for achieving multilevel intelligent storage
Li Retracted: Design and implementation of music teaching assistant platform based on Internet of Things
CN1677982B (en) Device and method used for transmitting input frame in network switch
CN106330786A (en) MAC address synchronization method, apparatus and system
CN102143006B (en) Interface topology control method, system and device for communication equipment
CN101540730A (en) Address searching method, switch and network system
CN103516612A (en) Method for generating routing table items in a distributed router, and distributed router
CN102916874B (en) A kind of file transmitting method and equipment
CN118018472A (en) Data transmission processing method and device, storage medium and electronic device
CN103391487A (en) Method and device for transmitting services in multiple logical link identifier (LLID) mode
CN101980488A (en) Address resolution protocol (ARP) table entry management method and three-layer exchanger
CN101834803A (en) Method and device for processing messages
CN110190988A (en) A kind of service deployment method and 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100915