CN109787823A - Service quality QoS labeling method, device and storage medium - Google Patents
Service quality QoS labeling method, device and storage medium Download PDFInfo
- Publication number
- CN109787823A CN109787823A CN201910014190.5A CN201910014190A CN109787823A CN 109787823 A CN109787823 A CN 109787823A CN 201910014190 A CN201910014190 A CN 201910014190A CN 109787823 A CN109787823 A CN 109787823A
- Authority
- CN
- China
- Prior art keywords
- service
- message
- class
- qos
- label
- 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.)
- Granted
Links
Abstract
The embodiment of the present application provides a kind of service quality QoS labeling method, device and storage medium, wherein, this method comprises: obtaining the message on customer equipment, it determines the class of service and the corresponding service quality QoS label of the class of service belonging to it, determines multiple subservice types and the corresponding QoS label of each subservice type that the class of service includes.The technical solution realizes the business subdivision to message, and network can control the business of interface and the service of connection devices, improves business operation, interface management efficiency.
Description
Technical field
This application involves fields of communication technology more particularly to a kind of service quality QoS labeling method, device and storage to be situated between
Matter.
Background technique
Service quality (quality of service, QoS) refers to that a network can be specified using various basic technologies
Network communication better service ability is provided, be a kind of security mechanism of network, be for solving network delay and obstruction etc.
A kind of technology of problem.
In existing network service docking operation, the big bandwidth circuit of operator can be carried out with customer rs router equipment
Docking to realize the carrying of business, but big bandwidth circuit only can physical interface to customer rs router equipment and logic interfacing carry out
Operation, can not identify and control the specific business opened in customer rs router equipment, thus, network can not set interface and docking
The problem of standby business is controlled, and business operation, interface management low efficiency are caused.
Summary of the invention
The application provides a kind of service quality QoS labeling method, device and storage medium, to overcome network in the prior art
The problem of business of interface and the service of connection devices can not being controlled, causing business operation, interface management low efficiency.
A kind of service quality QoS labeling method that the application first aspect provides, comprising:
Obtain the message on customer equipment;
According to the content of fixed field in the heading of the message, class of service belonging to the message and institute are determined
State the corresponding service quality QoS label of class of service;
According to the application mode of the class of service, multiple subservice types that the class of service includes and every are determined
The corresponding QoS label of a sub- type of service.
In a kind of possible design of first aspect, each QoS label is nested in the QoS marker using nested mode
In, each QoS marks the priority of corresponding subservice type.
In the alternatively possible design of first aspect, in the heading according to the message in fixed field
Hold, determine class of service belonging to the message and the corresponding service quality QoS label of the class of service, comprising:
According to the content of the fixed field, inquiry business classification policy determines class of service belonging to the message, institute
Stating traffic classification policy includes: the content of fixed field and the mapping relations of class of service;
According to preset QoS table of grading, the corresponding QoS marker of the class of service is determined.
Another in first aspect may design, the method also includes:
According to preset flow control policy, the message is handled.
It is described according to preset flow control policy in the above-mentioned possible design of first aspect, at the message
Reason, comprising:
Based on class of service mode, the message is handled by token bucket mode, the processing includes: opening and closing control
System, forwarding, traffic monitoring.
The application second aspect provides a kind of service quality QoS labelling apparatus, comprising: obtains module, the first determining module
With the second determining module;
The acquisition module, for obtaining the message on customer equipment;
First determining module determines the report for the content of fixed field in the heading according to the message
Class of service belonging to text and the corresponding service quality QoS label of the class of service;
Second determining module determines that the class of service includes for the application mode according to the class of service
Multiple subservice types and each subservice type corresponding QoS label.
In a kind of possible design of second aspect, each QoS label is nested in the QoS marker using nested mode
In, each QoS marks the priority of corresponding subservice type.
In the alternatively possible design of second aspect, first determining module, comprising: the first determination unit, second
Determination unit;
First determination unit, for the content according to the fixed field, inquiry business classification policy, determine described in
Class of service belonging to message, the traffic classification policy include: the content of fixed field and the mapping relations of class of service;
Second determination unit, for determining the corresponding QoS mark of the class of service according to preset QoS table of grading
Note.
Another in second aspect may design, described device further include: processing module;
The processing module, for handling the message according to preset flow control policy.
It is described according to preset flow control policy in the above-mentioned possible design of second aspect, at the message
Reason, comprising:
The processing module, be specifically used for be based on class of service mode, by token bucket mode to the message at
Reason, the processing includes: open and close control, forwarding, traffic monitoring.
The application third aspect provides a kind of QoS marker device, including processor, memory and is stored in the memory
Computer program that is upper and can running on a processor, the processor realized when executing described program such as above-mentioned first aspect with
And method described in each embodiment of first aspect.
The application fourth aspect provides a kind of storage medium, and instruction is stored in the storage medium, when it is in computer
When upper operation, so that computer executes the method as described in above-mentioned first aspect and each embodiment of first aspect.
Service quality QoS labeling method, device and storage medium provided by the embodiments of the present application, server by utilizing is from client
The message got in equipment determines class of service and the corresponding service quality QoS label of the class of service belonging to it,
It determines the multiple subservice types and the corresponding QoS label of each subservice type that the class of service includes, realizes
Business subdivision to message, network can control the business of interface and the service of connection devices, improve business operation, mouthpiece
Manage efficiency.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of network constructing system provided in this embodiment;
Fig. 2 is the flow diagram of QoS marker embodiment of the method one provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of message in the present embodiment;
Fig. 4 is the flow diagram of QoS marker embodiment of the method two provided by the embodiments of the present application;
Fig. 5 is the flow diagram of QoS marker embodiment of the method three provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of QoS marker Installation practice one provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of QoS marker Installation practice two provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of QoS marker Installation practice three provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram of QoS marker Installation practice four provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Service quality QoS labeling method provided by the embodiments of the present application is suitable for network constructing system.Fig. 1 is the present embodiment
The structural schematic diagram of the network constructing system of offer.As shown in Figure 1, the network constructing system includes: server 11, the network equipment
12 and customer equipment 13.
Under normal conditions, in network constructing system, which can pass through network side edge (provider
Edge, PE) realization of equipment 121, at the edge of network, server 11 can pass through the PE equipment 121 and customer equipment 13 carries out
Docking, specifically, server 11 receives the report that customer equipment 13 transmits by the business interface of PE equipment 121 and customer equipment 13
Text.
Illustratively, customer equipment 13 may include: customer rs router and switch device.The switch device can be
Three-tier switch.The present embodiment is not defined the specific manifestation form of customer equipment.
In the present embodiment, in order to which the message of depth analysis customer equipment 13 may be implemented and by message institute in server 11
The class of service of category is finely divided into the purpose of multiple subservice types, and the business interface in PE equipment 121 is segmented into multiple
Sub-interface, wherein some sub-interfaces are used to carry out message interaction with customer equipment 13, and other sub-interface has mirror image function
Can, such server 11 can actively be obtained from customer equipment 13 by the sub-interface with image feature in PE equipment 121
Take the message being stored in customer equipment 13, i.e. crawl data packet.
Illustratively, in the present embodiment, in order to realize control to message on network, server 11 is needed to passing through
The message that sub-interface with image feature is got carries out depth analysis, and after PE equipment 121 gets message, which is sent out
It gives server 11 and carries out data analysis, for example, the sub- industry for including to class of service belonging to the message and the class of service
Service type is finely divided and stamps corresponding QoS marker or QoS label.
It is worth noting that network constructing system provided by the embodiments of the present application is not limited to include server, network
Equipment and customer equipment can also include other equipment, details are not described herein again under certain application scenarios.
Service quality QoS labeling method, device and storage medium provided by the embodiments of the present application, using from customer equipment
The message got determines class of service and the corresponding service quality QoS label of the class of service belonging to it, and determining should
The corresponding QoS label of the multiple subservice types and each subservice type that class of service includes, realizes to message
Business subdivision, network can control the business of interface and the service of connection devices, improve business operation, interface management effect
Rate.In the following, being described in detail by technical solution of the specific embodiment to the application.
It should be noted that these specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.
Fig. 2 is the flow diagram of QoS marker embodiment of the method one provided by the embodiments of the present application.This method can be applicable in
Server in the network constructing system shown in Fig. 1.Optionally, as shown in Fig. 2, the QoS marker method may include walking as follows
It is rapid:
Step 21: obtaining the message on customer equipment.
In network transmission, message is the data cell exchanged in network with transmission, i.e. the website number disposably to be sent
According to block, message contains complete data information to be sent, and length is very inconsistent, and length is unlimited and variable.
In the network constructing system of the present embodiment, server and customer equipment carry out data exchange by message.Work as clothes
When business device needs to carry out QoS marker to the message on customer equipment, server needs to obtain message from customer equipment first.Specifically
, server can receive the message of client device transmissions by the business interface on the network equipment, can also be by from business
The sub-interface with image feature segmented out in interface obtains the message in customer equipment.In the present embodiment, which sets
It is standby to be realized by PE equipment.
Illustratively, as an example, by marking a logic interfacing from the business interface in PE equipment, that is, have
The sub-interface for having image feature is that PE equipment opens pseudo-wire (PW) artificial service, realizes pseudo-wire function by signaling or static configuration
Can, due to pseudo-wire be it is directive, be a data channel that is virtual, being connected directly, two numbers of plies of user can be completed
According to transparent transmission, thus, in the present embodiment, server can by the sub-interface with image feature in the PE equipment from
Message is obtained in customer equipment and is transferred in network constructing system.
As another example, server can also be by the business interface of PE equipment and customer equipment from customer equipment
Obtain message.
In the present embodiment, PE equipment and customer equipment (for example, customer equipment router and switch device) pass through industry
Business interface can communicate, thus, message can be sent to PE equipment by customer equipment, be received by PE equipment and to receiving
Message parsed and handled.
Step 22: according to the content of fixed field in the heading of the message, determine class of service belonging to the message with
And the corresponding QoS marker of the class of service.
Optionally, message is the data unit of network transmission, and in transmission process, message can constantly be encapsulated ingredient
Group, packet, frame etc., the mode of encapsulation are some message segments of addition, i.e. the data organized with certain format of heading.
Illustratively, Fig. 3 is the structural schematic diagram of message in the present embodiment.As shown in figure 3, a message includes heading
And message content.Optionally, which may include: the information such as type of message, message version, header length;Message content
In can be the data to be transmitted of encapsulation.
In the present embodiment, server analyzes the application layer protocol message in data protocol when analyzing message,
It, should so that it is determined that going out by the user private network address interface of network address and interface IP address identification customer equipment institute band in message
Class of service belonging to message, and corresponding QoS marker is stamped, it lays a good foundation for the monitoring management of subsequent packet.
In the present embodiment, referring to shown in Fig. 3, after server gets the message of customer equipment, first by this
Message is parsed, and determines the heading of the message, secondly obtains the content of each field in heading.Illustratively, message
Some fixed field in head can store or be arranged the content that the message corresponds to class of service, i.e. the content of the fixed field can
To be used to indicate class of service belonging to the message.For example, call charge service, control business.
Further, since QoS can provide better service ability for specified network communication, for solve network delay and
The problems such as obstruction, so, after determining class of service belonging to the message, it is first determined go out the corresponding QoS of the class of service
Label, and the QoS marker is stamped for the message, reference frame is provided for the transmission control of subsequent packet in a network.
Step 23: according to the application mode of the class of service, determine multiple subservice types that the class of service includes with
And the corresponding QoS label of each subservice type.
Illustratively, in the present embodiment, belonging to server determines it according to the content of fixed field in heading
After class of service, in order to further enhance server to the control performance of the class of service, server can also be to class of service
Application mode analyzed, multiple subservices which includes are determined according to the application mode.For example, service class
Other application mode may include: network segment control, adress analysis and traffic monitoring etc..Correspondingly, the sub- industry that class of service includes
Service type may include: priority-labeled, redirection, packet filtering.
In the present embodiment, in order to which each subservice is controlled and supervised, sub- industry can also be stored in server
The mapping relations of service type and QoS label, so, when server determines multiple subservice types that class of service includes
Afterwards, by the mapping relations of inquiry subservice type and QoS label, the corresponding QoS label of each subservice is determined.
Illustratively, referring to shown in above-mentioned Fig. 3, for the message, for example, according to type of message corresponding field in heading
Content determine the corresponding class of service of message QoS marker corresponding with the class of service, server also defines this
The corresponding QoS label of the subservice and each subservice that class of service includes, for example, the first QoS label, the 2nd QoS
Son label etc..
Illustratively, not there is no the scheme being finely divided to class of service belonging to message in the prior art, thus, in order to
Realize the subdivision to class of service, the mark that can be segmented the application mode of class of service as class of service in the present embodiment
Standard, so, according to the difference of application mode, the subservice type that class of service includes also is different, therefore the embodiment of the present application
The subservice type that the specific manifestation form of restriction subservice type and each class of service include.
It is worth noting that the present embodiment can also be using the content of message as the standard of classification, due to message content packet
The scope that includes than wide, so, carried out according to message content it is that class of service is finely divided the result is that not no scope limitation,
For example, it can be one by the narrow of five-tuple (source address, source port number, protocol number, destination address, destination slogan) determination
Small range alsos relate to all messages of certain network segment.
Optionally, in the present embodiment, each QoS label is nested in above-mentioned QoS marker using nested mode, each
QoS marks the priority of corresponding subservice type.
Illustratively, above-mentioned subservice type is the subset of class of service, and each subservice type corresponds to a QoS
Son label, correspondingly, each QoS label can be nested using nested mode in order to improve the control efficiency of subservice type
In above-mentioned QoS marker, i.e., above-mentioned QoS label belongs to the form of the subset of QoS marker.
Illustratively, in the present embodiment, each QoS label can correspond to the priority of subservice type, that is, service
Device can mark when determining subservice while requested service according to QoS and execute sequence.Control efficiency can be improved in this way,
Avoid managerial confusion.
QoS marker method provided by the embodiments of the present application, server is by obtaining the message on customer equipment, according to the report
The content of fixed field in the heading of text determines class of service belonging to the message and the corresponding QoS mark of the class of service
Note, according to the application mode of the class of service, determines the multiple subservice types and each subservice that the class of service includes
The corresponding QoS label of type.In the technical solution, server, which can be realized, is finely divided the business on customer equipment, mentions
High business operation, interface management efficiency.
Illustratively, on the basis of the above embodiments, Fig. 4 is QoS marker method provided by the embodiments of the present application implementation
The flow diagram of example two.As shown in figure 4, in the present embodiment, above-mentioned steps 22 are (according to fixed word in the heading of the message
The content of section, determines class of service belonging to the message and the corresponding QoS marker of the class of service) it can be as follows
It realizes:
Step 41: according to the content of the fixed field, inquiry business classification policy determines service class belonging to the message
Not.
Wherein, which includes: the content of fixed field and the mapping relations of class of service.
Optionally, in the present embodiment, before the message for obtaining customer equipment, network manager can be set server
Traffic classification policy, for example, integrating the information such as the port numbers of source address, destination address, MAC Address, IP agreement or application program
Classify to message, that is, the mapping relations of the content of fixed field and class of service in message are established in advance, by the mapping
Relationship is stored into server, and determines that message corresponds to the business classification plan of class of service using the mapping relations as server
Slightly.
Under normal conditions, the business classification foundation of server is the heading information of encapsulated message.
Correspondingly, after server is by carrying out the content that fixed field is determined in analysis to the message got, according to this
The content search traffic classification policy of fixed field, may thereby determine that out class of service belonging to the message.
Step 42: according to preset QoS table of grading, determining the corresponding QoS marker of the class of service.
In the present embodiment, it is configured in the classification process of QoS firstly the need of the data packet to various different business classifications
Different priority, for example, server and customer equipment be in network transmission process, number that can first to multiple classs of service
According to packet according to priority arrangement, then in the transmission of data packets of class of service, server and customer equipment can be according to
This priority executes corresponding QoS behavior, i.e., can store preset QoS table of grading in server and customer equipment.
Thus, in the present embodiment, after server determines class of service belonging to the message, according to the class of service
The preset QoS table of grading is inquired, determines the corresponding QoS marker of the class of service.
QoS marker method provided by the embodiments of the present application, content of the server according to the fixed field, inquiry business classification
Strategy determines class of service belonging to the message, according to preset QoS table of grading, determines the corresponding QoS mark of the class of service
Note.In the technical solution, server can determine the class of service and corresponding QoS marker of outgoing packet, be follow-up business classification
Subdivision provide realization may.
Illustratively, on the basis of the above embodiments, Fig. 5 is QoS marker method provided by the embodiments of the present application implementation
The flow diagram of example three.As shown in figure 5, in the present embodiment, this method can also include the following steps:
Step 51: according to preset flow control policy, above-mentioned message being handled.
Optionally, the step 51 can be located at above-mentioned steps 23 after execute, i.e., server to the message got into
It, can be according to flow control policy preset in server to the report after industry business classifies and stamps QoS marker and QoS label
Text is handled.Wherein, which is used to indicate server and handles the message got.
Illustratively, which can be achieved by the steps of:
Based on class of service mode, the message is handled by token bucket mode.
Wherein, which includes: open and close control, forwarding, traffic monitoring.
As an example, server can be based on class of service mode, using classifying mode in the message got
Data packet carry out depth analysis, and focused ion beam FIB (focused ion beam, FIB) can be used after analysis to report
Data packet in text is forwarded.
As another example, in the present embodiment, for the message got, it is based on class of service, it can be to service
The interface of device and customer equipment carries out stream configuration and supervision.For example, for the flow rate for entering network, it can be to beyond part
Flow be disposed, for example, the supervision based on interface, or the supervision based on classification.
It, can be based on most-often used in shaping network flow and rate limit for the subservice type that class of service includes
Token bucket algorithm realize that the message flow of interface is regulated and controled, opened and closed etc. and operate.
QoS marker method provided by the embodiments of the present application, server are determining that the affiliated class of service of outgoing packet includes more
It, can also be right according to preset flow control policy after a sub- type of service and the corresponding QoS label of each subservice type
Message is handled, and be can be realized and is controlled the business to interface and the service of connection devices, and business operation, interface management are improved
Efficiency.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 6 is the structural schematic diagram of QoS marker Installation practice one provided by the embodiments of the present application.The device can integrate
In the terminal, it can also be realized by server.As shown in fig. 6, the apparatus may include: it is true to obtain module 61, first
Cover half block 62 and the second determining module 63.
Wherein, acquisition module 61, for obtaining the message on customer equipment;
First determining module 62 determines the report for the content of fixed field in the heading according to the message
Class of service belonging to text and the corresponding service quality QoS label of the class of service;
Second determining module 63 determines that the class of service includes for the application mode according to the class of service
Multiple subservice types and each subservice type corresponding QoS label.
Illustratively, in a kind of possible design of the present embodiment, each QoS label is nested in institute using nested mode
It states in QoS marker, each QoS marks the priority of corresponding subservice type.
Illustratively, on the basis of above-described embodiment, Fig. 7 is QoS marker Installation practice provided by the embodiments of the present application
Two structural schematic diagram.As shown in fig. 7, in the present embodiment, above-mentioned first determining module 62 may include: the first determination unit
71, the second determination unit 72.
Wherein, first determination unit 71, for the content according to the fixed field, inquiry business classification policy, really
Class of service belonging to the fixed message.
Optionally, which includes: the content of fixed field and the mapping relations of class of service.
Second determination unit 72, for determining the corresponding QoS mark of the class of service according to preset QoS table of grading
Note.
Fig. 8 is the structural schematic diagram of QoS marker Installation practice three provided by the embodiments of the present application.As shown in figure 8, the dress
Setting can also include: processing module 81.
The processing module 81, for handling the message according to preset flow control policy.
Illustratively, the processing module 81 is specifically used for being based on class of service mode, by token bucket mode to the report
Text is handled.
Wherein, which includes: open and close control, forwarding, traffic monitoring.
Device provided by the embodiments of the present application can be used for executing method of the Fig. 2 into embodiment illustrated in fig. 5, realize former
Reason is similar with technical effect, and details are not described herein.
It should be noted that it should be understood that the modules of apparatus above division be only a kind of logic function division,
It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with
All realized by way of processing element calls with software;It can also all realize in the form of hardware;It can also part mould
Block realizes that part of module passes through formal implementation of hardware by way of processing element calls software.For example, determining module can be with
For the processing element individually set up, it also can integrate and realized in some chip of above-mentioned apparatus, in addition it is also possible to program
The form of code is stored in the memory of above-mentioned apparatus, is called by some processing element of above-mentioned apparatus and is executed above true
The function of cover half block.The realization of other modules is similar therewith.Furthermore these modules completely or partially can integrate together, can also
With independent realization.Processing element described here can be a kind of integrated circuit, the processing capacity with signal.In the process of realization
In, each step of the above method or the above modules can by the integrated logic circuit of the hardware in processor elements or
The instruction of software form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (application specific integrated circuit, ASIC), or, one
Or multi-microprocessor (digital signal processor, DSP), or, one or more field programmable gate array
(field programmable gate array, FPGA) etc..For another example, when some above module dispatches journey by processing element
When the form of sequence code is realized, which can be general processor, such as central processing unit (central
Processing unit, CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate one
It rises, is realized in the form of system on chip (system-on-a-chip, SOC).
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid state disk (SSD)) etc..
Fig. 9 is the structural schematic diagram of QoS marker Installation practice four provided by the embodiments of the present application.As shown in figure 9, the dress
Setting may include: processor 91, memory 92, communication interface 93 and system bus 94, and the memory 92 and the communication connect
Mouth 93 connect with the processor 91 by the system bus 94 and completes mutual communication, and the memory 92 is for depositing
Computer executed instructions are stored up, the communication interface 93 is used for and other equipment are communicated, which executes the calculating
The implementation of server in the embodiment of the method as shown in above-mentioned Fig. 2 to Fig. 5 is realized when machine program.
The system bus mentioned in the Fig. 9 can be Peripheral Component Interconnect standard (peripheral component
Interconnect, PCI) bus or expanding the industrial standard structure (extended industry standard
Architecture, EISA) bus etc..The system bus can be divided into address bus, data/address bus, control bus etc..For
Convenient for indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.Communication interface
For realizing the communication between database access device and other equipment (such as client, read-write library and read-only library).Memory
May include random access memory (random access memory, RAM), it is also possible to further include nonvolatile memory
(non-volatile memory), for example, at least a magnetic disk storage.
Above-mentioned processor can be general processor, including central processor CPU, network processing unit (network
Processor, NP) etc.;It can also be digital signal processor DSP, application-specific integrated circuit ASIC, field programmable gate array
FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Optionally, the embodiment of the present application also provides a kind of storage medium, and instruction is stored in the storage medium, when its
When being run on computer, so that computer executes the method such as above-mentioned Fig. 2 to embodiment illustrated in fig. 5.
Optionally, the embodiment of the present application also provides a kind of chip of operating instruction, and the chip is for executing above-mentioned Fig. 2 extremely
The method of embodiment illustrated in fig. 5.
The embodiment of the present application also provides a kind of program product, and described program product includes computer program, the computer
Program is stored in a storage medium, at least one processor can read the computer program from the storage medium, described
The method that at least one processor can realize above-mentioned Fig. 2 to embodiment illustrated in fig. 5 when executing the computer program.
In the application, "at least one" refers to one or more, and " multiple " refer to two or more."and/or",
The incidence relation of affiliated partner is described, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A,
Exist simultaneously A and B, the case where individualism B, wherein A, B can be odd number or plural number.Character "/" typicallys represent front and back and closes
Connection object is a kind of relationship of "or";In formula, character "/" indicates that forward-backward correlation object is the relationship of a kind of " being divided by ".
At least one of " following (a) " or its similar expression, refer to these in any combination, including individual event (a) or complex item
Any combination of (a).For example, at least one (a) in a, b or c, can indicate: a, b, c, a-b, a-c, b-c or a-b-
C, wherein a, b, c can be individually, be also possible to multiple.
It is understood that the area that the various digital numbers involved in embodiments herein only carry out for convenience of description
Point, it is not intended to limit the range of embodiments herein.
It is understood that magnitude of the sequence numbers of the above procedures are not meant to execute in embodiments herein
Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, without coping with embodiments herein
Implementation process constitutes any restriction.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of service quality QoS labeling method characterized by comprising
Obtain the message on customer equipment;
According to the content of fixed field in the heading of the message, class of service belonging to the message and the industry are determined
The corresponding service quality QoS label of classification of being engaged in;
According to the application mode of the class of service, the multiple subservice types and every height that the class of service includes are determined
The corresponding QoS label of type of service.
2. the method according to claim 1, wherein each QoS label be nested in using nested mode it is described
In QoS marker, each QoS marks the priority of corresponding subservice type.
3. the method according to claim 1, wherein fixed field in the heading according to the message
Content determines class of service belonging to the message and the corresponding service quality QoS label of the class of service, comprising:
According to the content of the fixed field, inquiry business classification policy determines class of service belonging to the message, the industry
Business classification policy includes: the content of fixed field and the mapping relations of class of service;
According to preset QoS table of grading, the corresponding QoS marker of the class of service is determined.
4. method according to claim 1-3, which is characterized in that the method also includes:
According to preset flow control policy, the message is handled.
5. according to the method described in claim 4, it is characterized in that, described according to preset flow control policy, to the message
It is handled, comprising:
Based on class of service mode, the message is handled by token bucket mode, it is described processing include: open and close control,
Forwarding, traffic monitoring.
6. a kind of service quality QoS labelling apparatus characterized by comprising obtain module, the first determining module and second determines
Module;
The acquisition module, for obtaining the message on customer equipment;
First determining module determines the message institute for the content of fixed field in the heading according to the message
The class of service of category and the corresponding service quality QoS label of the class of service;
Second determining module determines that the class of service includes more for the application mode according to the class of service
A sub- type of service and the corresponding QoS label of each subservice type.
7. device according to claim 6, which is characterized in that each QoS label is nested in described using nested mode
In QoS marker, each QoS marks the priority of corresponding subservice type.
8. device according to claim 6 or 7, which is characterized in that described device further include: processing module;
The processing module, for handling the message according to preset flow control policy.
9. a kind of QoS marker device, including processor, memory and it is stored on the memory and can runs on a processor
Computer program, which is characterized in that the processor is realized when executing described program such as any one of the claims 1-5 institute
The method stated.
10. a kind of storage medium, which is characterized in that instruction is stored in the storage medium, when run on a computer,
So that computer executes the method according to claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910014190.5A CN109787823B (en) | 2019-01-08 | 2019-01-08 | QoS marking method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910014190.5A CN109787823B (en) | 2019-01-08 | 2019-01-08 | QoS marking method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109787823A true CN109787823A (en) | 2019-05-21 |
CN109787823B CN109787823B (en) | 2022-01-25 |
Family
ID=66499160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910014190.5A Active CN109787823B (en) | 2019-01-08 | 2019-01-08 | QoS marking method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109787823B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414928A (en) * | 2019-07-09 | 2019-11-05 | 京信通信系统(中国)有限公司 | Service stream classification processing method, device and communication equipment |
CN110493824A (en) * | 2019-08-28 | 2019-11-22 | 京信通信系统(中国)有限公司 | Data dispatching method, device, access network equipment and storage medium based on QoS |
CN110958185A (en) * | 2019-11-27 | 2020-04-03 | 新华三半导体技术有限公司 | QoS configuration method and device based on service |
CN111698179A (en) * | 2020-05-29 | 2020-09-22 | 北京百度网讯科技有限公司 | Traffic scheduling method, device and related equipment |
CN113497758A (en) * | 2020-04-03 | 2021-10-12 | 华为技术有限公司 | Service execution method, device and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043369A (en) * | 2006-06-30 | 2007-09-26 | 华为技术有限公司 | Service gradation based loss distribution method |
CN101272324A (en) * | 2008-04-30 | 2008-09-24 | 华为技术有限公司 | Service quality control method and network appliance |
CN102143035A (en) * | 2010-06-04 | 2011-08-03 | 华为技术有限公司 | Data traffic processing method, network device and network system |
US20130077486A1 (en) * | 2011-06-27 | 2013-03-28 | Seth Keith | Prioritizing classes of network traffic to provide a predetermined quality of service |
US20150009826A1 (en) * | 2012-02-17 | 2015-01-08 | Vid Scale, Inc | Hierarchical traffic differentiation to handle congestion and/or manage user quality of experience |
CN104320354A (en) * | 2014-10-21 | 2015-01-28 | 中国联合网络通信集团有限公司 | Data processing method and device |
CN104684029A (en) * | 2013-12-02 | 2015-06-03 | 中国移动通信集团公司 | Control method and equipment for quality of service (QoS) |
-
2019
- 2019-01-08 CN CN201910014190.5A patent/CN109787823B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043369A (en) * | 2006-06-30 | 2007-09-26 | 华为技术有限公司 | Service gradation based loss distribution method |
CN101272324A (en) * | 2008-04-30 | 2008-09-24 | 华为技术有限公司 | Service quality control method and network appliance |
CN102143035A (en) * | 2010-06-04 | 2011-08-03 | 华为技术有限公司 | Data traffic processing method, network device and network system |
US20130077486A1 (en) * | 2011-06-27 | 2013-03-28 | Seth Keith | Prioritizing classes of network traffic to provide a predetermined quality of service |
US20150009826A1 (en) * | 2012-02-17 | 2015-01-08 | Vid Scale, Inc | Hierarchical traffic differentiation to handle congestion and/or manage user quality of experience |
CN104684029A (en) * | 2013-12-02 | 2015-06-03 | 中国移动通信集团公司 | Control method and equipment for quality of service (QoS) |
CN104320354A (en) * | 2014-10-21 | 2015-01-28 | 中国联合网络通信集团有限公司 | Data processing method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414928A (en) * | 2019-07-09 | 2019-11-05 | 京信通信系统(中国)有限公司 | Service stream classification processing method, device and communication equipment |
CN110414928B (en) * | 2019-07-09 | 2022-07-29 | 京信网络系统股份有限公司 | Service flow classification processing method and device and communication equipment |
CN110493824A (en) * | 2019-08-28 | 2019-11-22 | 京信通信系统(中国)有限公司 | Data dispatching method, device, access network equipment and storage medium based on QoS |
CN110493824B (en) * | 2019-08-28 | 2022-11-01 | 京信网络系统股份有限公司 | Data scheduling method and device based on QoS, access network equipment and storage medium |
CN110958185A (en) * | 2019-11-27 | 2020-04-03 | 新华三半导体技术有限公司 | QoS configuration method and device based on service |
CN110958185B (en) * | 2019-11-27 | 2020-12-08 | 新华三半导体技术有限公司 | QoS configuration method and device based on service |
CN113497758A (en) * | 2020-04-03 | 2021-10-12 | 华为技术有限公司 | Service execution method, device and system |
CN113497758B (en) * | 2020-04-03 | 2023-02-14 | 华为技术有限公司 | Service execution method, device and system |
CN111698179A (en) * | 2020-05-29 | 2020-09-22 | 北京百度网讯科技有限公司 | Traffic scheduling method, device and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109787823B (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109787823A (en) | Service quality QoS labeling method, device and storage medium | |
US10452843B2 (en) | Self-adaptive application programming interface level security monitoring | |
US10382295B2 (en) | Metadata correlation and disambiguation | |
US10320644B1 (en) | Traffic analyzer for isolated virtual networks | |
CN105765946B (en) | Support the method and system of the service chaining in data network | |
Mattos et al. | An agile and effective network function virtualization infrastructure for the Internet of Things | |
WO2020228398A1 (en) | Message detection method, device and system | |
CN107005584A (en) | Inline service switch | |
CN101473598A (en) | Communicating packets between forwarding contexts using virtual interfaces | |
US20100042565A1 (en) | Mezzazine in-depth data analysis facility | |
CN109714238A (en) | A kind of method and apparatus for realizing inter-virtual machine communication | |
CN105827629B (en) | Software definition safe flow guide device and its implementation under cloud computing environment | |
EP3854033B1 (en) | Packet capture via packet tagging | |
CN105099916B (en) | Open flows route exchange device and its processing method to data message | |
CN109247065A (en) | Enable the lasting stream identifier of different application | |
US20210399959A1 (en) | Highly probable identification of related messages using sparse hash function sets | |
CN103329493A (en) | On-chip packet cut-through | |
Kiran et al. | Understanding flows in high-speed scientific networks: A netflow data study | |
CN107086960B (en) | Message transmission method and device | |
Guo et al. | FullSight: A feasible intelligent and collaborative framework for service function chains failure detection | |
CN110099011A (en) | A kind of method and system of entity gateway accessing virtual home gateway | |
US20200162562A1 (en) | Service function chain (sfc) based multi-tenancy processing method | |
US20130201865A1 (en) | System and method for detecting rogue traffic using flow statistics with a list of authorized engines | |
WO2022253190A1 (en) | Service flow performance testing method and apparatus, and communication network | |
WO2022253192A1 (en) | Message forwarding method and apparatus, and communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |