[go: up one dir, main page]

CN108156094A - A kind of communication control method and router of identity-based information - Google Patents

A kind of communication control method and router of identity-based information Download PDF

Info

Publication number
CN108156094A
CN108156094A CN201711258130.5A CN201711258130A CN108156094A CN 108156094 A CN108156094 A CN 108156094A CN 201711258130 A CN201711258130 A CN 201711258130A CN 108156094 A CN108156094 A CN 108156094A
Authority
CN
China
Prior art keywords
priority
data message
message
preset quantity
storage
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
CN201711258130.5A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201711258130.5A priority Critical patent/CN108156094A/en
Publication of CN108156094A publication Critical patent/CN108156094A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6245Modifications to standard FIFO or LIFO
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of communication control method and router of identity-based information, method includes:Including step:S100 receives data message;S200 parses to obtain the identity information of the data message;S300 obtains corresponding message priority according to the identity information, and the data message is sequentially stored into the storage area of corresponding storage priority according to the message priority;The storage priority is corresponded with the message priority;S400 sends the data message in the storage area successively according to the storage priority and preset quantity according to first in, first out mode.The present invention can promote bandwidth resource utilization in the case where ensureing the forwarding of high-priority data message prior.

Description

A kind of communication control method and router of identity-based information
Technical field
The present invention relates to field of communication technology, the espespecially a kind of communication control method and router of identity-based information.
Background technology
In smart home life, the phenomenon that we can usually encounter network interim card, the especially WIFI equipment of router When the excessive bandwidth occupancy of equipment is more than the total bandwidth that router is supported, phenomenon is completely apparent, and at this time user's is important Data communication quality is very poor.
In order to ensure communication quality, common method is exactly that router is set to set bandwidth speed limiting to equipment, so as to ensure The data communication of important equipment obtains enough bandwidth, to ensure the communication quality of important equipment.
But the problem of this method is brought is, one, the artificial speed limit of user to the planning of the occupancy of bandwidth may and it is unreasonable, lead The waste of bandwidth is caused.2nd, user setting speed limit allow important equipment data communicate after the completion of, by the equipment of speed limit to restore Speed limit is set change by full speed network it is necessary to be once again set up router, very inconvenient.
Invention content
The object of the present invention is to provide a kind of communication control methods and router of identity-based information, realize and are ensureing height In the case that priority data message prior forwards, bandwidth resource utilization is promoted.
Technical solution provided by the invention is as follows:
The present invention provides a kind of communication control method of identity-based information, including step:S100 receives data message; S200 parses to obtain the identity information of the data message;S300 obtains corresponding message priority according to the identity information, And the data message is sequentially stored into the storage area of corresponding storage priority according to the message priority;The storage is excellent First grade is corresponded with the message priority;S400 is according to the storage priority and preset quantity, according to first in, first out Mode sends the data message in the storage area successively.
Further, the step S400 includes step:S410 obtains the first preset quantity out of current storage area Data message, and send according to first in, first out mode the data message of first preset quantity;S420 is when described according to first entering First go out after the completion of the data message that mode sends the first preset quantity, according to storage priority orders, out of next storage area The data message of the second preset quantity is obtained, and the data message of second preset quantity is sent according to first in, first out mode; S430 return to step S410-420, until the data message in the storage area of all storage priority is sent completely.
Further, first preset quantity is more than second preset quantity.
Further, first preset quantity is equal to second preset quantity.
Further, step is included before the step S100:S010 sets the default list of identities of several priority levels; The default list of identities includes the default identity information of the equipment with priority;The step S300 includes step:S310 The identity information with the default list of identities is matched, obtains the corresponding message priority of the data message; Memory headroom is assigned as the storage of different memory sizes by S320 according to the message size and message priority of each data message Region;It is excellent that S330 according to the message priority, by the data message according to time order and function sequence is sequentially stored into corresponding storage The storage area of first grade.
The present invention also provides a kind of router, including:Receiving module receives data message;Parsing module, parsing obtain institute State the identity information of data message;Control module obtains corresponding message priority, and according to described according to the identity information The data message is sequentially stored into the storage area of corresponding storage priority by message priority;It is described storage priority with it is described Message priority corresponds;Sending module, according to the storage priority and preset quantity, according to first in, first out mode according to The secondary data message sent in the storage area.
Further, the sending module includes:Acquiring unit obtains the first preset quantity out of current storage area Data message;Transmitting element sends the data message of first preset quantity according to first in, first out mode;It is described to obtain list Member, it is excellent according to storing after the completion of the transmitting element sends the data message of the first preset quantity according to first in, first out mode First grade sequence obtains the data message of the second preset quantity out of next storage area;The transmitting element, according to first in, first out Mode sends the data message of second preset quantity;The acquiring unit and transmitting element cycle are obtained and are sent, Until the data message in the storage area of all storage priority is sent completely.
Further, first preset quantity is more than second preset quantity.
Further, first preset quantity is equal to second preset quantity.
Further, it further includes:Setup module sets the default list of identities of several priority levels;The default identity List includes the default identity information of the equipment with priority;The control module includes:Matching unit believes the identity Breath is matched with the default list of identities, obtains the corresponding message priority of the data message;Allocation unit, according to each Memory headroom is assigned as the storage area of different memory sizes by the message size and message priority of a data message;It preserves The data message according to the message priority, is sequentially stored into corresponding storage priority by unit according to time order and function sequence Storage area.
By a kind of communication control method and router of identity-based information provided by the invention, can bring with down toward A kind of few advantageous effect:
1) present invention is such different from the prior art, in order to ensure the communication quality of important equipment, in configuration of routers page Corresponding bandwidth speed limiting is set on face to each equipment, this speed limit communication mode may cause speed limit setting unreasonable, and After the completion of important equipment communication, need to log on the configuration of routers page or APP is controlled to be modified limit by router Speed setting, it is cumbersome, it has not been convenient to, it is unfavorable for the usage experience of user.This method of the present invention can be according to the practical shape of link State, it is dynamic to complete to store message and send, to reach in the case of different message priorities, pass through alternately poll Sending method while ensureing that high-priority data preferentially forwards, is more reasonably utilized the purpose of bandwidth.
2) different data messages can be stored into depositing for different storage priority by the present invention according to message priority Region is put, then the mode of the foundation first in, first out of alternate cycles goes out data message forwarding, can promote high priority and set While standby communication quality, the total bandwidth of router is not influenced, promotes integrated communication quality, increases bandwidth availability ratio.
3) the first preset quantity of the invention is more than the second preset quantity, can further promote the high equipment of priority and road By the communication quality of device.Due to not carrying out bandwidth speed limiting to any equipment, therefore, it is possible to ensure that high-priority data preferentially turns While hair, the total bandwidth of router is not influenced, can be more reasonably utilized bandwidth, promotes bandwidth availability ratio.
Description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, to a kind of identity-based information Above-mentioned characteristic, technical characteristic, advantage and its realization method of communication control method and router are further described.
Fig. 1 is a kind of flow chart of one embodiment of the communication control method of identity-based information of the present invention;
Fig. 2 is a kind of hair of the first in, first out of another embodiment of the communication control method of identity-based information of the present invention Send flow diagram;
Fig. 3 is a kind of flow chart of another embodiment of the communication control method of identity-based information of the present invention;
Fig. 4 is a kind of flow chart of another embodiment of the communication control method of identity-based information of the present invention;
Fig. 5 is a kind of structure diagram of one embodiment of router of the present invention.
Specific embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below The specific embodiment of the present invention.It should be evident that the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, so that simplified form is easy to understand, there is identical structure or function in some figures Component only symbolically depicts one of those or has only marked one of those.Herein, "one" is not only represented " only this " can also represent the situation of " more than one ".
A kind of one embodiment of the communication control method of identity-based information of the present invention, as shown in Figure 1, including:
S100 receives data message;
S200 parses to obtain the identity information of the data message;
S300 obtains corresponding message priority according to the identity information, and according to the message priority by the number The storage area of corresponding storage priority is sequentially stored into according to message;The storage priority and the message priority one are a pair of It should;
S400 sends the storage area successively according to the storage priority and preset quantity according to first in, first out mode Data message in domain.
Specifically, in the present embodiment, at present in WIFI data transmission technologies, data transmission can all follow FIFO and (first enter elder generation Go out) sequence carry out data transmission, be illustrated in fig. 2 shown below, that is, the MAC Address of processor not divided data, the number first received The storehouse for preparing forwarding can be introduced into according to message, also can first be forwarded the data message first received.But the number of this FIFO Network bandwidth is encountered according to frame forwarding mechanism to occupy to the limit, when the same time needs the data volume forwarded very big, waits to turn in storehouse Sending out data volume will be very big, and for equipment, data communication just has delay, and communication network will show interim card.Due to The mechanism of FIFO is equality to all data messages, so the data message of important equipment can not be allowed preferentially to send, thus just It cannot ensure the communication quality of important equipment.In order to ensure the communication quality of important equipment, the prior art is in configuration of routers Corresponding bandwidth speed limiting is set to each equipment on the page, from face ensure the data communication of important equipment obtain enough bandwidth with Ensure communication quality, this speed limit communication mode, first, speed limit installation warrants user subjectivity is set, speed limit setting may be caused not Rationally.Second is that even if speed limit setting is reasonable, but after the completion of important equipment communication, need to log on the configuration of routers page or Person controls APP to be modified speed limit and sets by router, cumbersome, it has not been convenient to, it is unfavorable for the usage experience of user.
The present invention is different from the prior art, and the present invention is when the data message that each equipment is sent is received, to every A data message is parsed, so as to obtain the identity information of each data message and the corresponding message prior of each data message Data message according to the message priority of data message, is corresponded to deposit and the one-to-one storage area of message priority by grade, Each storage area has the storage priority of oneself, each data message for storing the corresponding storage area storage of priority Message priority be identical, and according to storage priority and preset quantity, according to the sending method of first in, first out, send out successively Send the data message in storage area.Different data messages can be stored into different deposit by the present invention according to message priority The storage area of priority is put, then the mode of the foundation first in, first out of alternate cycles goes out data message forwarding, Neng Gouti While increasing priority device communication quality, the total bandwidth of router is not influenced, promotes integrated communication quality, increases bandwidth profit With rate.
Illustratively, it is assumed that have router A, equipment B and equipment C and server D, preset quantity 1, equipment B and equipment C It is required to access server D by router A, equipment B is important equipment, and equipment C is conventional equipment, therefore equipment B's is preferential Grade is more than the priority of equipment C, if equipment B is sent to router A accesses data message B1, B2, B3, equipment C is to router A It sends and accesses data message C1, C2, C3, router A can the access data message of analyzing device B and the access datagram of equipment C Text is obtained accessing the corresponding identity information of data message, because the priority of equipment B is more than the priority of equipment C, and be stored The storage priority of region E is more than the storage priority of storage area F, therefore, by access data message B1, B2, B3 of equipment B Storage area E is stored in, access data message C1, C2, C3 of equipment C are stored in storage area F;First, router A can first be sent Data message B1 to server D is accessed, retransmits and accesses data message C1 to server D;Then, router A, which is sent, accesses number According to message B2 to server D, retransmit and access data message C2 to server D;Finally, router A, which is sent, accesses data message B3 to server D is retransmited and is accessed data message C3 to server D, completes the transmission of the currently received data messages of router A Flow.
A kind of another embodiment of the communication control method of identity-based information of the present invention, as shown in figure 3, including:
S010 sets the default list of identities of several priority levels;The default list of identities includes setting with priority Standby default identity information;
S100 receives data message;
S200 parses to obtain the identity information of the data message;
S310 matches the identity information with the default list of identities, obtains the corresponding report of the data message Literary priority;
It is big to be assigned as different memories according to the message size and message priority of each data message by S320 for memory headroom Small storage area;
The data message is sequentially stored into corresponding storage by S330 according to the message priority according to time order and function sequence The storage area of priority;
Specifically, in the present embodiment, the identity information of obtained data message and the progress of default list of identities will be parsed Match, the corresponding message priority of data message can be obtained, since parsing can also access the message size of each data message, Therefore according to the message size and message priority of data message, storage allocation space is the storage area of different memory sizes, Then the message priority of each data message and timestamp are successively stored in the storage area of different storage priority.It presses Classified storage is carried out according to time order and function sequence and the sequence of message priority, sending datagram for router can be promoted Transmitting efficiency, ensure that the communication between router and equipment is unobstructed.Whole flow process is exactly the flow receive, store, sending, by It is stored while receiving, side transmission, the storage space of storage area can be enabled to discharge, there is no EMS memory occupations Situation reduces the loss ratio of data message, promotes the reliability of data transmission.
Illustratively, it is assumed that have router H, equipment I, equipment J and equipment K, equipment I is that (priority level is most for important equipment It is high), equipment J is minor equipment (priority level is taken second place), and equipment K is conventional equipment (priority zero), therefore equipment I is preferential Grade is more than the priority of equipment J, and the priority of equipment J is more than the priority of equipment K.If equipment I sends to router H and accesses Data message I1, I2, and it is I1 → I2 that router H, which receives the sequence of access data message that equipment I is sent,;Equipment J to Router H, which is sent, accesses data message J1, J2, J3, and router H receives the suitable of the access data message of equipment J transmissions Sequence is J3 → J1 → J2;Equipment K sends to router H and accesses data message K1, K2, K3, K4, and router H is received and set The sequence of access data message that standby K is sent is K4 → K3 → K1 → K2;Due to the access data of router H meeting analyzing devices I Message, the access data message of equipment J and the access data message of equipment K obtain accessing the corresponding identity information of data message, Because the priority of equipment I is more than the priority of equipment J, the priority of equipment J is more than the priority of equipment K, and storage area The storage priority in domain is respectively X > Y > Z, therefore, router H can by access data message I1, I2 of equipment I according to I1 → The sequence of I2 is sequentially stored into storage area X, by equipment J access data message J1, J2, J3 according to J3 → J1 → J2 sequence according to Secondary deposit storage area Y, by equipment K access data message K1, K2, K3, K4 according to K4 → K3 → K1 → K2 sequence successively It is stored in storage area Y.
S410 obtains the data message of the first preset quantity out of current storage area, and is sent according to first in, first out mode The data message of first preset quantity;
It is excellent according to storing after the completion of S420 sends the data message of the first preset quantity according to first in, first out mode described in First grade sequence, obtains the data message of the second preset quantity, and send institute according to first in, first out mode out of next storage area State the data message of the second preset quantity;
S430 return to step S410-420, until the data message in the storage area of all storage priority has been sent Into.
Specifically, in the present embodiment, the first preset quantity is more than the second preset quantity, and its purpose is to further be promoted The communication quality of the high equipment of priority and router.First preset quantity is equal to the second preset quantity, and the purpose is to can carry While rising the communication quality for sending higher priority devices, the communication quality of other low priority equipment is also ensured.Whether One preset quantity is more than the second preset quantity or the first preset quantity is equal to the second preset quantity, due to not to any equipment Bandwidth speed limiting is carried out, therefore, the total bandwidth of router is not influenced, increases bandwidth availability ratio.The present invention can be according to message Different data messages is stored into the storage area of different storage priority by priority, and then the foundation of alternate cycles first enters The mode first gone out goes out data message forwarding, while can promoting higher priority devices communication quality, does not influence router Total bandwidth, promoted integrated communication quality, increase bandwidth availability ratio.
Illustratively, as shown in figure 4, including step:
S11, data message to be forwarded is received;
The MAC Address of S12, detection data message;
S13, the data message for setting preferential equipment is stored to VC1;
S14, the data message for not setting preferential equipment is stored to VC2;
S15, the alternately data message in transmission VC1 and VC2.
In the setting of router, user can specify some equipment as high priority transfer equipment, user's setting After good, the MAC Address of this higher priority devices will be identified.When user opens this setting priority feature and assert preferential pass During defeated equipment, router will cancel the storehouse of script FIFO, and create two virtual channels.Herein, the two void are temporarily named Plan channel is VC1 and VC2, the two virtual channels are two sector addresses in memory headroom, for storing data message.Soft routing MAC Address in device detection data message, when the MAC Address for detecting data message is matched with MAC Address set by user, this A data message will be stored in VC1, when detecting that MAC Address and MAC Address set by user mismatch, this datagram Text will be stored in VC2.Each virtual channel follows the rule of FIFO, and data, which are first stored in, preferentially to be forwarded, at the same VC1 and Data meeting alternate transport in VC2, i.e. after VC1 follows rule one data message of transmission of FIFO, VC2 follows the rule of FIFO A data message is sent, after then VC1 follows rule one data message of transmission of FIFO again, is replaced successively.It is herein Alternate cycles transmission is illustratively carried out with a quantity forwarded, in order to which the data message for ensureing higher priority devices is preferentially sent out It send, the rule that VC1 follows FIFO can be set to send two (or three, as long as more than VC2 quantity forwardeds) datagrams The rule that Wen Hou, VC2 follow FIFO sends a data message, and then VC1 follows the rule of FIFO and sends two (or three again It is a, as long as more than VC2 quantity forwardeds) data message, replace successively.In this way, the equipment for being set priority is screened to In VC1, when the data volume that router to be forwarded is very big, the data message in VC1 will not be by other crowded data messages It influences, is had sent so as to smooth.2 virtual channels are established in WIFI data packet repeating process, make the number of preference faciltiy Enter individual virtual channel according to packet, reduce the time that significant data is lined up forwarding.In the actual use of router, Yong Hutong The mode for crossing set device priority improves communication quality, without logging in the configuration of routers page or using router control APP processed carries out speed-limiting bandwidth, the total bandwidth of router device equipment is not influenced, this communication mode is general compared to by setting The bandwidth speed limiting of logical equipment, while communication quality can be promoted, additionally it is possible to make full use of the network bandwidth of router, elevator belt Wide utilization rate.
A kind of one embodiment of router 100 of the present invention, as shown in figure 5, including:
Receiving module 110 receives data message;
Parsing module 120, parsing obtain the identity information of the data message;
Control module 130 obtains corresponding message priority, and according to the message priority according to the identity information The data message is sequentially stored into the storage area of corresponding storage priority;The storage priority and the message priority It corresponds;
According to the storage priority and preset quantity, institute is sent according to first in, first out mode successively for sending module 140 State the data message in storage area.
Specifically, in the prior art, in order to ensure the communication quality of important equipment, the prior art is matched in router 100 It puts and corresponding bandwidth speed limiting is set on the page to each equipment, such as network total bandwidth is 20M in user family, to ensure intelligence in family Can video conference communication, user often worries that bandwidth is inadequate, and the total bandwidth of other equipment would generally be set as by when setting 10M leaves other 10M for visual telephones.But under real network use, visual telephone is at all without the bandwidth of occupancy 10M, this is just Cause the waste of bandwidth resources.The present invention is when the data message that each equipment is sent is received, to each data message It is parsed, so as to obtain the identity information of each data message and the corresponding message priority of each data message, according to number According to the message priority of message, data message is corresponded into deposit and the one-to-one storage area of message priority, it is each to store Region all has the storage priority of oneself, and the message of each data message for storing the corresponding storage area storage of priority is excellent First grade is identical, and according to storage priority and preset quantity, according to the sending method of first in, first out, sends storage area successively Data message in domain.Different data messages can be stored into different storage priority by the present invention according to message priority Storage area, then the mode of the foundation first in, first out of alternate cycles data message forwarding is gone out, can be promoted high preferential While grade equipment communication quality, the total bandwidth of router 100 is not influenced, promotes integrated communication quality, increases bandwidth availability ratio.
Preferably, the sending module 140 includes:
Acquiring unit obtains the data message of the first preset quantity out of current storage area;
Transmitting element sends the data message of first preset quantity according to first in, first out mode;
The acquiring unit, when the transmitting element sends according to first in, first out mode the data message of the first preset quantity After the completion, according to storage priority orders, the data message of the second preset quantity is obtained out of next storage area;
The transmitting element sends the data message of second preset quantity according to first in, first out mode;
The acquiring unit and transmitting element cycle are obtained and are sent, until the storage area of all storage priority Interior data message is sent completely.
Specifically, in the present embodiment, the first preset quantity is more than the second preset quantity or the first preset quantity is equal to the Two preset quantities.Different data messages can be stored into depositing for different storage priority by the present invention according to message priority Region is put, then the mode of the foundation first in, first out of alternate cycles goes out data message forwarding, can promote high priority and set While standby communication quality, the total bandwidth of router 100 is not influenced, promotes integrated communication quality, increases bandwidth availability ratio.
Preferably, it further includes:
Setup module sets the default list of identities of several priority levels;The default list of identities includes having preferential The default identity information of the equipment of grade;
The control module 130 includes:
Judging unit, judges whether the identity information matches with the default list of identities;
Matching unit, when the judging unit judges that the identity information is matched with the default list of identities, matching Obtain the corresponding message priority of the data message;
Memory headroom according to the message size and message priority of each data message, is assigned as difference by allocation unit The storage area of memory size;
According to the message priority, the data message is sequentially stored into pair according to time order and function sequence for storage unit The storage area of priority should be stored.
Specifically, in the present embodiment, the identity information of obtained data message and the progress of default list of identities will be parsed Match, the corresponding message priority of data message can be obtained, since parsing can also access the message size of each data message, Therefore according to the message size and message priority of data message, storage allocation space is the storage area of different memory sizes, Then the message priority of each data message and timestamp are successively stored in the storage area of different storage priority.It is whole A flow is exactly the flow receive, store, sending, and due to being stored when receiving, side is sent, and can cause the storage of storage area Depositing space can discharge, and there is no the situations of EMS memory occupation, reduce the loss ratio of data message, promote the reliable of data transmission Property.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

1. a kind of communication control method of identity-based information, which is characterized in that including step:
S100 receives data message;
S200 parses to obtain the identity information of the data message;
S300 obtains corresponding message priority according to the identity information, and according to the message priority by the datagram Text is sequentially stored into the storage area of corresponding storage priority;The storage priority is corresponded with the message priority;
S400 is sent according to first in, first out mode in the storage area successively according to the storage priority and preset quantity Data message.
2. the communication control method of identity-based information according to claim 1, which is characterized in that the step S400 packets Include step:
S410 obtains the data message of the first preset quantity out of current storage area, and sends according to first in, first out mode described The data message of first preset quantity;
After the completion of S420 sends the data message of the first preset quantity according to first in, first out mode described in, according to storage priority Sequentially, the data message of the second preset quantity is obtained out of next storage area, and described is sent according to first in, first out mode The data message of two preset quantities;
S430 return to step S410-420, until the data message in the storage area of all storage priority is sent completely.
3. the communication control method of identity-based information according to claim 2, it is characterised in that:First present count Amount is more than second preset quantity.
4. the communication control method of identity-based information according to claim 2, it is characterised in that:First present count Amount is equal to second preset quantity.
5. according to the communication control method of claim 1-4 any one of them identity-based information, which is characterized in that the step Include step before rapid S100:
S010 sets the default list of identities of several priority levels;The default list of identities includes the equipment with priority Default identity information;
The step S300 includes step:
S310 matches the identity information with the default list of identities, and it is excellent to obtain the corresponding message of the data message First grade;
Memory headroom is assigned as different memory sizes by S320 according to the message size and message priority of each data message Storage area;
The data message is sequentially stored into corresponding storage preferentially by S330 according to the message priority according to time order and function sequence The storage area of grade.
6. a kind of router, which is characterized in that including:
Receiving module receives data message;
Parsing module, parsing obtain the identity information of the data message;
Control module obtains corresponding message priority, and according to the message priority by described according to the identity information Data message is sequentially stored into the storage area of corresponding storage priority;The storage priority and the message priority one are a pair of It should;
According to the storage priority and preset quantity, the storage is sent according to first in, first out mode successively for sending module Data message in region.
7. router according to claim 6, which is characterized in that the sending module includes:
Acquiring unit obtains the data message of the first preset quantity out of current storage area;
Transmitting element sends the data message of first preset quantity according to first in, first out mode;
The acquiring unit, when the transmitting element according to first in, first out mode send the first preset quantity data message complete Afterwards, according to storage priority orders, the data message of the second preset quantity is obtained out of next storage area;
The transmitting element sends the data message of second preset quantity according to first in, first out mode;
The acquiring unit and transmitting element cycle are obtained and are sent, until in the storage area of all storage priority Data message is sent completely.
8. router according to claim 7, it is characterised in that:First preset quantity is more than second present count Amount.
9. router according to claim 7, it is characterised in that:First preset quantity is equal to second present count Amount.
10. according to claim 6-9 any one of them routers, which is characterized in that further include:
Setup module sets the default list of identities of several priority levels;The default list of identities is included with priority The default identity information of equipment;
The control module includes:
The identity information with the default list of identities is matched, it is corresponding to obtain the data message by matching unit Message priority;
Memory headroom according to the message size and message priority of each data message, is assigned as different memories by allocation unit The storage area of size;
The data message according to the message priority, is sequentially stored into correspondence according to time order and function sequence and deposited by storage unit Put the storage area of priority.
CN201711258130.5A 2017-12-04 2017-12-04 A kind of communication control method and router of identity-based information Pending CN108156094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711258130.5A CN108156094A (en) 2017-12-04 2017-12-04 A kind of communication control method and router of identity-based information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711258130.5A CN108156094A (en) 2017-12-04 2017-12-04 A kind of communication control method and router of identity-based information

Publications (1)

Publication Number Publication Date
CN108156094A true CN108156094A (en) 2018-06-12

Family

ID=62466572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711258130.5A Pending CN108156094A (en) 2017-12-04 2017-12-04 A kind of communication control method and router of identity-based information

Country Status (1)

Country Link
CN (1) CN108156094A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487101A (en) * 2020-12-15 2021-03-12 深圳前海微众银行股份有限公司 Data processing method, node equipment and system of block chain
CN117235333A (en) * 2023-09-28 2023-12-15 国网冀北电力有限公司计量中心 A kind of front-end user data hierarchical classification processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487101A (en) * 2020-12-15 2021-03-12 深圳前海微众银行股份有限公司 Data processing method, node equipment and system of block chain
CN112487101B (en) * 2020-12-15 2025-07-15 深圳前海微众银行股份有限公司 Blockchain data processing method, node device and system
CN117235333A (en) * 2023-09-28 2023-12-15 国网冀北电力有限公司计量中心 A kind of front-end user data hierarchical classification processing method and device

Similar Documents

Publication Publication Date Title
CN103959724B (en) Mix networking path selection and load balance
CN108028803B (en) Method, controller and system for determining topology of service offerings in a network
CN110798860B (en) Data processing method, device and system
CN110493145A (en) A kind of caching method and device
CN109962760B (en) Service scheduling method suitable for wireless TDMA ad hoc network
US20150317583A1 (en) Business Scheduling Method and Apparatus and Convergence Device
CN111181873B (en) Data transmission method, data transmission device, storage medium and electronic equipment
CN103297347B (en) A kind of load balance process method and device
CN115396514B (en) Resource allocation method, device and storage medium
CN107306192B (en) A service data transmission method, device and system
WO2019119837A1 (en) Service identification method and device, and network device
WO2017036272A1 (en) Resource selection method and device
CN103259809A (en) Load balancer, load balancing method and stratified data center system
CN109155762A (en) Method and device for data transmission
WO2015096680A1 (en) Node distribution method and control center
CN101491030A (en) A method and apparatus for time synchronization of parameters
US20220217089A1 (en) Path traffic allocation method, network device, and network system
CN115632939B (en) Automatic network selection and routing method for achieving multi-target achievement of computational power network
CN112019363B (en) Method, device and system for determining service transmission requirement
EP4618503A1 (en) Data transmission processing method and device, storage medium, and electronic device
CN103945441B (en) The method and apparatus of adaptive adjustment qos parameter
CN112291791B (en) Power communication mesh bandwidth resource allocation method based on 5G slice
CN106572497B (en) A Heuristic D2D Resource Allocation Method Based on Proportional Fairness Algorithm
CN105764091B (en) A method of effective use wireless bandwidth
CN105262703A (en) Routing bandwidth allocation method based on double priorities

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180612

WD01 Invention patent application deemed withdrawn after publication