CN108737378A - A kind of dual mode communication network-building method and system based on media access control layer - Google Patents

A kind of dual mode communication network-building method and system based on media access control layer Download PDF

Info

Publication number
CN108737378A
CN108737378A CN201810344117.XA CN201810344117A CN108737378A CN 108737378 A CN108737378 A CN 108737378A CN 201810344117 A CN201810344117 A CN 201810344117A CN 108737378 A CN108737378 A CN 108737378A
Authority
CN
China
Prior art keywords
communication network
sent
service
data
network pattern
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
Application number
CN201810344117.XA
Other languages
Chinese (zh)
Other versions
CN108737378B (en
Inventor
崔文朋
郑哲
王亮
乔磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Global Energy Interconnection Research Institute
State Grid Shanghai Electric Power 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 State Grid Corp of China SGCC, Global Energy Interconnection Research Institute, State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201810344117.XA priority Critical patent/CN108737378B/en
Publication of CN108737378A publication Critical patent/CN108737378A/en
Application granted granted Critical
Publication of CN108737378B publication Critical patent/CN108737378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The dual mode communication network-building method and system, this method that the present invention provides a kind of based on media access control layer include:Business datum to be sent is obtained, business datum to be sent, which is carried out framing, generates data frame;By the type of service of business datum to be sent, data frame is stored in each transmission data chained list corresponding with type of service;The data for obtaining user setting send task, obtain current data frame to be sent from each transmission data chained list according to service priority in task;The constructing communication network pattern of current data frame to be sent is determined according to type of service;Current data frame to be sent is packetized into each data packet according to the frame length that carries corresponding with constructing communication network pattern, generates subpackage information;Each data packet and subpackage information are sent.Dual mode communication networking is realized in media access control layer, is shielded physical layer difference, is realized the optimal selection of network insertion, switch speed is fast, accidentally cuts that rate is low, improves the capacity of entire communication system, enhances data transmission efficiency.

Description

A kind of dual mode communication network-building method and system based on media access control layer
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of dual mode communication networking side based on media access control layer Method and system.
Background technology
With the development of the communication technology, the business demand of network communication is also constantly increasing, the application scenarios of network communication Also more and more, for different communication access technologies, since it has differences in terms of technological maheup, it is only applicable to spy Fixed application scenarios meet specific type of service, and for different communication modes while having intrinsic advantage, there is also respective Shortcoming, single communication mode can not effectively carry diversified business demand.It is diversified logical in order to meet Letter demand, there has been proposed dual mode communication, dual mode communication is not that simply there are two the access technology structures for having consummating function At, but the network of overlapping covering is formed using the characteristic of each access technology to the abundant fusion of two kinds of communication technologys, to Make end-user's mind and efficiently obtains network service.In the environment of dual mode communication, terminal can be according to local environment and industry The optimal network of the selection such as service type dynamic is accessed, and the gravity treatment and switching of network can be carried out according to transformation.
However, being realized based on physical layer more than existing dual mode communication technology, due to the bottom of each wireless access technology Layer have differences, such as physical transfer equipment and transmission medium difference, this species diversity make physical layer realize dual mode communication Process it is more complicated, and since the different communication technologys is in coverage area, mobility support, link rate and access way It is etc. facilitating different, thus existing realize that dual mode communication switches when carrying out the switching of communication pattern by physical layer Speed and accuracy are affected.
Invention content
The technical problem to be solved in the present invention is to overcome dual mode communication technology in the prior art to be mostly to be based on physical layer Come what is realized, since the bottom of each wireless access technology has differences so that realize that the process of dual mode communication compares in physical layer Complexity, and existing dual mode communication accidentally cuts the problem that rate is high, switch speed is slow there is also channel.
According to first aspect an embodiment of the present invention provides a kind of dual mode communication networking side based on media access control layer Method, including:Business datum to be sent is obtained, the business datum to be sent, which is carried out framing, generates data frame;It is waited for according to described The data frame is stored in each transmission data chained list corresponding with the type of service by the type of service for sending business datum In;The data for obtaining user setting send task, and according to the service priority in the data transmission task from each hair It send and obtains current data frame to be sent in data link table;The logical of the current data frame to be sent is determined according to the type of service Believe networking model;According to the frame length that carries corresponding with the constructing communication network pattern by the current data frame subpackage to be sent At each data packet, and generate subpackage information;Each data packet and the subpackage information are sent.
With reference to first aspect, in first aspect first embodiment, the type of service includes:First type of service, Second type of service and third type of service determine the constructing communication network of the current data frame to be sent according to the type of service Pattern, including:The constructing communication network pattern of first type of service is determined as the first constructing communication network pattern;By second industry The constructing communication network pattern of service type is determined as the second constructing communication network pattern;The constructing communication network pattern of the third type of service is true It is set to the first constructing communication network pattern or the second constructing communication network pattern.
With reference to first aspect, in first aspect second embodiment, by the constructing communication network mould of the third type of service Formula is determined as the first constructing communication network pattern or the second constructing communication network pattern, including:The first constructing communication network pattern is obtained to have sent out The total waiting time that quantity, number of retransmissions and each data packet for the data packet sent are sent;Obtain the second constructing communication network pattern The total waiting time that quantity, number of retransmissions and each data packet of the data packet sent are sent;According to first constructing communication network Total waiting time, second constructing communication network that quantity, number of retransmissions and each data packet for the data packet that pattern has been sent are sent The total waiting time that quantity, number of retransmissions and each data packet of the data packet that pattern has been sent are sent calculates selective value;Judge institute State whether selective value is positive number;When the selective value is positive number, then select the first constructing communication network pattern for the communication Networking model.
With reference to first aspect, in first aspect third embodiment, it is calculated by the following formula the selective value:
Wherein, Q is the selective value, PAFor the quantity for the data packet that the first constructing communication network pattern has been sent, RAFor institute State the number of retransmissions for the data packet that the first constructing communication network pattern has been sent, TAIt has been sent for the first constructing communication network pattern each The total waiting time of data packet, PBFor the quantity for the data packet that the second constructing communication network pattern has been sent, RBIt is logical for described second The number of retransmissions for the data packet that letter networking model has been sent, TBEach data packet sent for the second constructing communication network pattern Total waiting time.
With reference to first aspect, in the 4th embodiment of first aspect, when the selective value is not positive number, then institute is selected It is the constructing communication network pattern to state the second constructing communication network pattern.
With reference to first aspect, described to believe each data packet and the subpackage in the 5th embodiment of first aspect Breath is sent to receiving module corresponding with the constructing communication network pattern by the sending module, including:Step S61:Judge institute State whether the channel under constructing communication network pattern is idle state;Step S62:When the channel is idle state, then by each institute It states data packet and the subpackage information is sent to the receiving module by the sending module.
With reference to first aspect, in first aspect sixth embodiment, the bimodulus based on media access control layer is logical Believe that network-building method further includes:Step S63:When the channel is not idle state, then enter wait state, when record waits for Between, and re-execute step S61 according to preset period of time.
With reference to first aspect, in the 7th embodiment of first aspect, the bimodulus based on media access control layer is logical Believe that network-building method further includes:Each data packet is integrated into data to be received by the receiving module according to the subpackage information Frame;The reception data frame is stored in opposite with the type of service by the type of service for obtaining the data frame to be received In each reception data link table answered, and obtains from each reception data link table and to receive data frame and be sent to each upper-layer service and answer With.
According to second aspect, the embodiment of the present invention provides a kind of dual mode communication networking system based on media access control layer System, including:The business datum to be sent is carried out framing life by data frame construction unit for obtaining business datum to be sent At data frame;The data frame is stored in by data frame storage unit for the type of service according to the business datum to be sent In each transmission data chained list corresponding with the type of service;Current data frame acquiring unit to be sent, for obtaining user The data of setting send task, and according to the service priority in shown data transmission task from each transmission data chained list Obtain current data frame to be sent;Constructing communication network mode selecting unit described is currently waited for for being determined according to the type of service The constructing communication network pattern of transmission data frame;Packet generation unit, for being held according to corresponding with the constructing communication network pattern It carries frame length and the current data frame to be sent is packetized into each data packet, and generate subpackage information;Data packet transfer unit is used It is sent in by each data packet and the subpackage information.
It is described non-temporary an embodiment of the present invention provides a kind of non-transient computer readable storage medium according to the third aspect State computer-readable recording medium storage computer instruction, the computer instruction is for making the computer execute first aspect Or the dual mode communication network-building method based on media access control layer described in any one optional mode of first aspect.
According to fourth aspect, an embodiment of the present invention provides a kind of computer program product, the computer program product Including the calculation procedure being stored in non-transient computer readable storage medium, the computer program includes program instruction, when When described program instruction is computer-executed, keep any one of the computer execution first aspect or first aspect optional The dual mode communication network-building method based on media access control layer described in mode.
Technical solution of the present invention has the following advantages that:
The embodiment of the present invention is by obtaining business datum to be sent and by its framing at data frame, then according to industry to be sent Data frame is stored in corresponding transmission data chained list by the type of business data, and sending task determination according to the data of user setting works as Preceding data frame to be sent by determining that the type of service of current data frame to be sent determines its constructing communication network pattern, and will work as Preceding data frame to be sent carries out each data packet of subpackage generation and subpackage information is sent.Above-mentioned dual mode communication network-building method, Dual mode communication networking is realized in the top dielectric MAC layer of physical layer, to shield the bottom of different wireless access technologys Data transmission, can dynamically be switched to optimal wireless access technology by layer difference according to the current link-quality of different links In, switch speed is fast, accidentally cuts that rate is low, to realize the optimal selection of network insertion, improves the capacity of entire communication system, Enhance data transmission efficiency.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, other drawings may also be obtained based on these drawings.
Fig. 1 is the flow chart of the dual mode communication network-building method based on media access control layer in the embodiment of the present invention;
Fig. 2 is the flow chart that third type of service determines constructing communication network pattern in the embodiment of the present invention;
Fig. 3 is another flow chart of the dual mode communication network-building method based on media access control layer in the embodiment of the present invention;
Fig. 4 is another flow chart of the dual mode communication network-building method based on media access control layer in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the dual mode communication group network system based on media access control layer in the embodiment of the present invention;
Fig. 6 is the constructing communication network in the embodiment of the present invention when the type of service of data frame to be sent is third type of service The structural schematic diagram of mode selecting unit;
Fig. 7 is the structural schematic diagram of data packet transfer unit in the embodiment of the present invention;
Fig. 8 is another structural representation of the dual mode communication group network system based on media access control layer in the embodiment of the present invention Figure;
Fig. 9 is the structural schematic diagram of Computer equipment of the embodiment of the present invention.
Specific implementation mode
Technical scheme of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill The every other embodiment that personnel are obtained without making creative work, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that term " first ", " second ", " third " are used for description purposes only, It is not understood to indicate or imply relative importance.
As long as in addition, technical characteristic involved in invention described below different embodiments non-structure each other It can be combined with each other at conflict.
Embodiment 1
The embodiment of the present invention provides a kind of dual mode communication network-building method based on media access control layer, as shown in Figure 1, should Dual mode communication network-building method based on media access control layer includes:
Step S1:Business datum to be sent is obtained, business datum to be sent, which is carried out framing, generates data frame.This is to be sent Business datum includes the different types of business datum such as video data, audio data.
Step S2:It is according to the type of service of business datum to be sent, data frame deposit is corresponding with type of service each In transmission data chained list.The type of service includes:First type of service, the second type of service and third type of service these three industry Service type.Wherein, the first type of service indicates that business datum to be sent class data in order to control, the second type of service indicate to be sent Business datum is management class data, and third type of service indicates that business datum to be sent applies data to be pure.
Step S3:Obtain user setting data send task, and according to the service priority in data transmission task from Current data frame to be sent is obtained in each transmission data chained list.The data send user in all business datums to be sent of task and exist The business datum sent is currently needed, the data frame of multiple and different types of service may be included, it is excellent according to the business of user setting The transmission sequence for smoothly determining each data frame of first grade.
Step S4:The constructing communication network pattern of current data frame to be sent is determined according to type of service.The type of service is divided into Three classes correspond to a corresponding constructing communication network pattern per one kind type of service.
Step S5:Current data frame to be sent is packetized into respectively according to the frame length that carries corresponding with constructing communication network pattern Data packet, and generate subpackage information.Since the length of different physical-layer techniques transmissible data frame every time is different, carrying out Before data are sent, the maximum frame size that can be carried according to physical layer is needed to carry out subpackage processing to data frame.
Step S6:Each data packet and subpackage information are sent.Each data packet and subpackage information are eventually by physical layer It is sent.
S1 to step S6 through the above steps, the dual mode communication networking based on media access control layer of the embodiment of the present invention Method, the top dielectric MAC layer realized in physical layer realize dual mode communication networking, shield different wireless access skills Data transmission can dynamically be switched to optimal wireless connect by the bottom difference of art according to the current link-quality of different links Enter in technology, switch speed is fast, accidentally cuts that rate is low, to realize the optimal selection of network insertion, improves entire communication system Capacity, enhance data transmission efficiency.
Below in conjunction with specific example to the dual mode communication network-building method based on media access control layer of the embodiment of the present invention It is described further.
Specifically, above-mentioned step S1:Business datum to be sent is obtained, business datum to be sent, which is carried out framing, generates number According to frame.When there is business datum to need to send, these business datums are obtained in media access control layer first, and to these numbers It is sent convenient for follow-up according to framing is carried out.
In a preferred embodiment, above-mentioned step S2:According to the type of service of business datum to be sent, data frame is deposited Enter in each transmission data chained list corresponding with type of service.According to the different type of business datum to be sent, by business number According to type of service be divided into the first type of service, the second type of service and third type of service this three classes, the first type of service table Show that business datum to be sent class data in order to control, the second type of service indicate that business datum to be sent is management class data, third Type of service indicates that business datum to be sent applies data to be pure.Different types of service corresponds to different constructing communication network moulds Business datum to be sent is stored according to type of service in different data link tables by formula, is convenient for follow-up searching data chained list.
Wherein, the constructing communication network pattern of the first type of service is determined as the first constructing communication network pattern, by the second service class The constructing communication network pattern of type is determined as the second constructing communication network pattern, and the constructing communication network pattern of third type of service is determined as first Constructing communication network pattern or the second constructing communication network pattern.Also, under the first constructing communication network pattern, all business datums to be sent It is only capable of being sent by physical layer A, that is, controls class data and be only capable of sending by physical layer A;Under the second constructing communication network pattern, All business datums to be sent are only capable of being sent by physical layer B, that is, manage class data and be only capable of sending by physical layer B; And pure application data can both have been sent by physical layer A, can also be sent by physical layer B.It should be noted that in the present invention The alphabetical A and B being previously mentioned in embodiment are only used for two different wireless network access technologies of description physical layer, and refer not to The type and title of specific access technology, the present invention is not limited thereto.
Specifically, above-mentioned step S3:The data for obtaining user setting send task, and according in data transmission task Service priority obtains current data frame to be sent from each transmission data chained list.In practical applications, possible user setting There are many different types of business datums to need to send in transmission task, it is therefore desirable to which the business that these business datums are arranged is sent Priority, and business datum to be sent is sent successively according to the sequence of the service priority.
Specifically, above-mentioned step S4:The constructing communication network pattern of current data frame to be sent is determined according to type of service.When When type of service is the first type of service, which is only capable of sending by physical layer A;When type of service is the When two types of service, which is only capable of sending by physical layer B;When type of service is the first type of service When, which can be sent by physical layer A, can also be sent by physical layer B.
In a preferred embodiment, as shown in Fig. 2, above-mentioned be determined as by the constructing communication network pattern of third type of service The process of one constructing communication network pattern or the second constructing communication network pattern, specifically includes:
Step S401:Obtain quantity, number of retransmissions and each data packet of the data packet that the first constructing communication network pattern has been sent The total waiting time of transmission, these acquired data informations are for evaluating the current communication conditions of the first constructing communication network pattern.
Step S402:Obtain quantity, number of retransmissions and each data packet of the data packet that the second constructing communication network pattern has been sent The total waiting time of transmission.These acquired data informations are used to evaluate the current communication conditions of the second constructing communication network pattern, And current communication conditions compare with the first constructing communication network pattern, to select the better wireless access technology of communication conditions Send current data frame to be sent.
Step S403:According to quantity, number of retransmissions and each data packet of the data packet that the first constructing communication network pattern has been sent Quantity, number of retransmissions and each data packet for the data packet that the total waiting time of transmission, the second constructing communication network pattern have been sent are sent Total waiting time calculate selective value.
Specifically, upper selective value can be calculated by following formula:
Wherein, Q is selective value, PAFor the quantity for the data packet that the first constructing communication network pattern has been sent, RAFor the first communication set The number of retransmissions for the data packet that net pattern has been sent, TAWhen total waiting of each data packet sent for the first constructing communication network pattern Between, PBFor the quantity for the data packet that the second constructing communication network pattern has been sent, RBThe data packet sent for the second constructing communication network pattern Number of retransmissions, TBFor the total waiting time for each data packet that the second constructing communication network pattern has been sent.
Step S404:Judge whether selective value is positive number;
Step S405:When selective value is positive number, then select the first constructing communication network pattern for constructing communication network pattern.Selective value For positive number, illustrates that the current communication conditions of the first constructing communication network pattern are better than the second constructing communication network pattern, select the first communication set Net pattern sends data frame to be sent for constructing communication network pattern.
Step S406:When selective value is not positive number, then select the second constructing communication network pattern for constructing communication network pattern.Selection Value is not positive number, then illustrates that the current communication conditions of the second constructing communication network pattern are better than the first constructing communication network pattern, therefore select The second constructing communication network pattern sends data frame to be sent for constructing communication network pattern.
Specifically, above-mentioned step S5:It will be current to be sent according to the frame length that carries corresponding with constructing communication network pattern Data frame is packetized into each data packet, and generates subpackage information.In practical applications, since different physical-layer techniques are sent every time The length of frame may be different, before carrying out data frame transmission, need the maximum frame size logarithm that can be carried according to physical layer Subpackage processing is carried out according to frame, then sends each data packet successively.
In a preferred embodiment, as shown in figure 3, above-mentioned step S6:Each data packet and subpackage information are sent, Including:
Step S61:Judge whether the channel under constructing communication network pattern is idle state.In practical applications, it is understood that there may be Channel under present communications networking model is in occupied state, transmission task can not be executed at this time, therefore, in transmission data It needs to judge the channel status under present communications networking model before packet.
Step S62:When channel is idle state, then each data packet and subpackage information are sent.If channel shape State is the free time, then can directly send data packet and subpackage information by physical layer.
Step S63:When channel is not idle state, then enter wait state, record the stand-by period, and according to it is default when Between the period re-execute step S61.If channel current state is busy condition, illustrates that the channel is occupied, needs to wait for, It waits for after reaching preset latency time period, rejudges the state of present channel, until when channel status is idle, will count It is sent by physical layer according to packet and subpackage information.
In a preferred embodiment, as shown in figure 4, the above-mentioned dual mode communication networking side based on media access control layer Method further includes:
Step S7:Each data packet is integrated into data frame to be received according to subpackage information.
Specifically, in one embodiment, after the sending module of physical layer sends above-mentioned data packet and subpackage information, object The receiving module of reason layer receives above-mentioned data packet and subpackage information, and the data frame for being included by these physical layer data packets is whole The data frame to be received of synthetic medium MAC layer, is stored in fixed storage address.
Step S8:It is corresponding with type of service will to receive data frame deposit for the type of service for obtaining data frame to be received It is each to receive in data link table, and obtain reception data frame from each reception data link table and be sent to each upper-layer service application.
Specifically, in one embodiment, media access control layer needs to parse above-mentioned data frame to be received, from The middle type of service for obtaining these data frames to be received, is then divided data frame to be received according to different types of service Class, and be stored in the corresponding reception data link table of each type of service, it will finally receive each data frame being stored in data link table and send out Different upper-layer service applications is given, so far, completes from user and sends business datum to upper-layer service application reception business number According to overall process, whole process is completed in media access control layer, shields the difference of physical-layer techniques well.
S1 to step S8 through the above steps, the dual mode communication group based on media access control layer of the embodiment of the present invention Network method realizes the top dielectric MAC layer realization dual mode communication networking in physical layer, shields different wireless access skills Data transmission can dynamically be switched to optimal wireless connect by the bottom difference of art according to the current link-quality of different links Enter in technology, switch speed is fast, accidentally cuts that rate is low, to realize the optimal selection of network insertion, improves entire communication system Capacity, enhance data transmission efficiency.
Embodiment 2
The embodiment of the present invention provides a kind of dual mode communication group network system based on media access control layer, as shown in figure 5, should Dual mode communication group network system based on media access control layer includes:
Business datum to be sent is carried out framing and generates number by data frame construction unit 1 for obtaining business datum to be sent According to frame.Step S1 in detailed content reference implementation example 1.
Data frame storage unit 2, for the type of service according to business datum to be sent, by data frame deposit and service class In the corresponding each transmission data chained list of type.Step S2 in detailed content reference implementation example 1.
Current data frame acquiring unit 3 to be sent, the data for obtaining user setting send task, and according to institute's registration Current data frame to be sent is obtained from each transmission data chained list according to the service priority in transmission task.Detailed content is with reference to real Apply the step S3 in example 1.
Constructing communication network mode selecting unit 4, the constructing communication network for determining current data frame to be sent according to type of service Pattern.Step S4 in detailed content reference implementation example 1.
Packet generation unit 5, will be current to be sent for the basis frame length that carries corresponding with constructing communication network pattern Data frame is packetized into each data packet, and generates subpackage information.Step S5 in detailed content reference implementation example 1.
Data packet transfer unit 6, for sending each data packet and subpackage information.Detailed content reference implementation example 1 In step S6.
By the collaborative work of above-mentioned each component part, the bimodulus based on media access control layer of the embodiment of the present invention is logical Believe group network system, the top dielectric MAC layer realized in physical layer realizes dual mode communication networking, shields different wireless The bottom difference of access technology can dynamically switch to data transmission according to the current link-quality of different links optimal In wireless access technology, switch speed is fast, accidentally cuts that rate is low, to realize the optimal selection of network insertion, improves entire logical The capacity of letter system, enhances data transmission efficiency.
In a preferred embodiment, as shown in fig. 6, when number to be sent in above-mentioned constructing communication network mode selecting unit 4 According to frame type of service be third type of service when, above-mentioned constructing communication network mode selecting unit 4 specifically includes:
First constructing communication network pattern information acquisition submodule 401, the number sent for obtaining the first constructing communication network pattern The total waiting time sent according to the quantity of packet, number of retransmissions and each data packet.Step in detailed content reference implementation example 1 S401。
Second constructing communication network pattern information acquisition submodule 402, the number sent for obtaining the second constructing communication network pattern The total waiting time sent according to the quantity of packet, number of retransmissions and each data packet.Step in detailed content reference implementation example 1 S402。
Selective value computational submodule 403, the quantity of the data packet for having been sent according to the first constructing communication network pattern retransmit The quantity for the data packet that number and the total waiting time of each data packet transmission, the second constructing communication network pattern have been sent, number of retransmissions And the total waiting time that each data packet is sent calculates selective value.Step S403 in detailed content reference implementation example 1.
Selective value judging submodule 404, for judging whether selective value is positive number.In detailed content reference implementation example 1 Step S404.
Determine the first constructing communication network pattern submodule 405, when selective value is positive number, determination the first constructing communication network pattern Submodule 405 is for selecting the first constructing communication network pattern for constructing communication network pattern.Step in detailed content reference implementation example 1 S405。
Determine the second constructing communication network pattern submodule 406, when selective value is not positive number, determination the second constructing communication network mould Formula module 406 is for selecting the second constructing communication network pattern for constructing communication network pattern.Step in detailed content reference implementation example 1 S406。
In a preferred embodiment, as shown in fig. 7, above-mentioned data packet transfer unit 6 specifically includes:
Channel status judging submodule 61, for judging whether the channel under constructing communication network pattern is idle state.In detail Step S61 in content reference implementation example 1.
First sending submodule 62, when channel is idle state, the first sending submodule 62 be used for each data packet and Subpackage information is sent.Step S62 in detailed content reference implementation example 1.
Second sending submodule 63, when channel is not idle state, the second sending submodule 63 for make data packet and Subpackage information enters wait state, records the stand-by period, and the state of channel is rejudged according to preset period of time, until letter When road state is idle, data packet and subpackage information are sent by physical layer.Step in detailed content reference implementation example 1 Rapid S63.
In a preferred embodiment, as shown in figure 8, the above-mentioned dual mode communication group network system based on media access control layer Further include:
Data frame integral unit 7 is received, for each data packet to be integrated into data frame to be received according to subpackage information.In detail Step S7 in content reference implementation example 1.
Receive Frame processes unit 8, the type of service for obtaining data frame to be received, will receive data frame deposit with In the corresponding each reception data link table of type of service, and obtains reception data frame from each reception data link table and be sent on each Layer service application.Step S8 in detailed content reference implementation example 1.
It is double based on media access control layer in the embodiment of the present invention by the cooperative cooperating of above-mentioned each component part Mould constructing communication network system realizes the top dielectric MAC layer realization dual mode communication networking in physical layer, shields different nothings The bottom difference of line access technology can dynamically switch to data transmission according to the current link-quality of different links optimal Wireless access technology in, switch speed is fast, accidentally cuts that rate is low, to realize the optimal selection of network insertion, improves entire The capacity of communication system, enhances data transmission efficiency.
Embodiment 3
The embodiment of the present invention provides a kind of non-transient computer storage medium, which is stored with computer Executable instruction, the computer executable instructions can perform double based on media access control layer in above-mentioned any embodiment 1 Mould constructing communication network method.Wherein, above-mentioned storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive, abbreviation:) or solid state disk (Solid-State Drive, SSD) etc. HDD;It should Storage medium can also include the combination of the memory of mentioned kind.
Embodiment 4
The embodiment of the present invention provides a kind of electronic equipment of the dual mode communication network-building method based on media access control layer, Structural schematic diagram is as shown in figure 9, the equipment includes:One or more processors 410 and memory 420, at one in Fig. 9 For reason device 410.
Executing the electronic equipment of the dual mode communication network-building method based on media access control layer can also include:Input unit 430 and output device 440.
Processor 410, memory 420, input unit 430 and output device 440 can pass through bus or other modes It connects, in Fig. 9 for being connected by bus.
Processor 410 can be central processing unit (Central Processing Unit, CPU).Processor 410 may be used also Think other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.General processor can be microprocessor or the processing Device can also be any conventional processor etc..
Memory 420 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non- Transient computer executable program and module, such as the dual mode communication group based on media access control layer in the embodiment of the present application Corresponding program instruction/the module of network method, processor 410 by operation be stored in non-transient software program in memory 420, Instruction and module, the various function application to execute server and data processing, that is, realize above method embodiment Dual mode communication network-building method based on media access control layer.
Memory 420 may include storing program area and storage data field, wherein storing program area can store operation system System, the required application program of at least one function;Storage data field can be stored according to the bimodulus based on media access control layer The processing system of constructing communication network uses created data etc..In addition, memory 420 may include high random access storage Device can also include non-transient memory, a for example, at least disk memory, flush memory device or other non-transient solid-states Memory device.In some embodiments, it includes the memory remotely located relative to processor 410 that memory 420 is optional, these Remote memory can pass through network connection to the dual mode communication group network system based on media access control layer.The reality of above-mentioned network Example includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 430 can receive input number or character information, and generate with based on media access control layer The related key signals input of the related user setting of processing system and function control of dual mode communication networking operation.Output device 440 may include that display screen etc. shows equipment.
One or more module is stored in memory 420, when being executed by one or more processor 410, is held Row method as Figure 1-Figure 4.
The said goods can perform the method that the embodiment of the present invention is provided, and has the corresponding function module of execution method and has Beneficial effect.The not technical detail of detailed description in embodiments of the present invention, for details, reference can be made in embodiment as Figure 1-Figure 4 Associated description.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or It changes still within the protection scope of the invention.

Claims (11)

1. a kind of dual mode communication network-building method based on media access control layer, which is characterized in that including:
Business datum to be sent is obtained, the business datum to be sent, which is carried out framing, generates data frame;
It is according to the type of service of the business datum to be sent, data frame deposit is corresponding with the type of service each In transmission data chained list;
The data for obtaining user setting send task, and according to the service priority in the data transmission task from each hair It send and obtains current data frame to be sent in data link table;
The constructing communication network pattern of the current data frame to be sent is determined according to the type of service;
The current data frame to be sent is packetized into each number according to the frame length that carries corresponding with the constructing communication network pattern According to packet, and generate subpackage information;
Each data packet and the subpackage information are sent.
2. the dual mode communication network-building method according to claim 1 based on media access control layer, which is characterized in that described Type of service includes:First type of service, the second type of service and third type of service,
The constructing communication network pattern of the current data frame to be sent is determined according to the type of service, including:
The constructing communication network pattern of first type of service is determined as the first constructing communication network pattern;
The constructing communication network pattern of second type of service is determined as the second constructing communication network pattern;
The constructing communication network pattern of the third type of service is determined as the first constructing communication network pattern or the second constructing communication network pattern.
3. the dual mode communication network-building method according to claim 2 based on media access control layer, which is characterized in that by institute The constructing communication network pattern for stating third type of service is determined as the first constructing communication network pattern or the second constructing communication network pattern, including:
Obtain that the quantity of the data packet that the first constructing communication network pattern has been sent, number of retransmissions and each data packet send is total etc. Wait for the time;
Obtain that the quantity of the data packet that the second constructing communication network pattern has been sent, number of retransmissions and each data packet send is total etc. Wait for the time;
Quantity, number of retransmissions and each data packet of the data packet sent according to the first constructing communication network pattern are sent total etc. That waits for that the quantity of the data packet that time, the second constructing communication network pattern have sent, number of retransmissions and each data packet send is total etc. Wait for that the time calculates selective value;
Judge whether the selective value is positive number;
When the selective value is positive number, then select the first constructing communication network pattern for the constructing communication network pattern.
4. the dual mode communication network-building method according to claim 3 based on media access control layer, which is characterized in that pass through Following formula calculates the selective value:
Wherein, Q is the selective value, PAFor the quantity for the data packet that the first constructing communication network pattern has been sent, RAIt is described The number of retransmissions for the data packet that one constructing communication network pattern has been sent, TAEach data sent for the first constructing communication network pattern The total waiting time of packet, PBFor the quantity for the data packet that the second constructing communication network pattern has been sent, RBFor second communication set The number of retransmissions for the data packet that net pattern has been sent, TBEach data packet sent for the second constructing communication network pattern it is total etc. Wait for the time.
5. the dual mode communication network-building method according to claim 3 based on media access control layer, which is characterized in that also wrap It includes:
When the selective value is not positive number, then select the second constructing communication network pattern for the constructing communication network pattern.
6. the dual mode communication network-building method according to claim 1 based on media access control layer, which is characterized in that described Each data packet and the subpackage information are sent, including:
Step S61:Judge whether the channel under the constructing communication network pattern is idle state;
Step S62:When the channel is idle state, then each data packet and the subpackage information are sent.
7. the dual mode communication network-building method according to claim 6 based on media access control layer, which is characterized in that also wrap It includes:
Step S63:When the channel is not idle state, then enter wait state, record the stand-by period, and according to it is default when Between the period re-execute step S61.
8. the dual mode communication network-building method according to claim 1 based on media access control layer, which is characterized in that also wrap It includes:
Each data packet is integrated into data frame to be received according to the subpackage information;
The reception data frame is stored in opposite with the type of service by the type of service for obtaining the data frame to be received In each reception data link table answered, and obtains from each reception data link table and to receive data frame and be sent to each upper-layer service and answer With.
9. a kind of dual mode communication group network system based on media access control layer, which is characterized in that including:
The business datum to be sent is carried out framing generation by data frame construction unit (1) for obtaining business datum to be sent Data frame;
Data frame storage unit (2), for according to the business datum to be sent type of service, by the data frame deposit with In the corresponding each transmission data chained list of type of service;
Current data frame acquiring unit (3) to be sent, the data for obtaining user setting send task, and according to shown data Service priority in transmission task obtains current data frame to be sent from each transmission data chained list;
Constructing communication network mode selecting unit (4), for determining the logical of the current data frame to be sent according to the type of service Believe networking model;
Packet generation unit (5), will be described current for the basis frame length that carries corresponding with the constructing communication network pattern Data frame to be sent is packetized into each data packet, and generates subpackage information;
Data packet transfer unit (6), for sending each data packet and the subpackage information.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Store up computer instruction, when the computer instruction is executed by processor realize as described in any one of claim 1-8 based on The dual mode communication network-building method of media access control layer.
11. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
The memory being connect at least one processor communication;Wherein, be stored with can be by described at least one for the memory The instruction that a processor executes, described instruction is executed by least one processor, so that at least one processor is held Dual mode communication network-building method based on media access control layer of the row as described in any one of claim 1-8.
CN201810344117.XA 2018-04-17 2018-04-17 Dual-mode communication networking method and system based on medium access control layer Active CN108737378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810344117.XA CN108737378B (en) 2018-04-17 2018-04-17 Dual-mode communication networking method and system based on medium access control layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810344117.XA CN108737378B (en) 2018-04-17 2018-04-17 Dual-mode communication networking method and system based on medium access control layer

Publications (2)

Publication Number Publication Date
CN108737378A true CN108737378A (en) 2018-11-02
CN108737378B CN108737378B (en) 2021-03-23

Family

ID=63938966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810344117.XA Active CN108737378B (en) 2018-04-17 2018-04-17 Dual-mode communication networking method and system based on medium access control layer

Country Status (1)

Country Link
CN (1) CN108737378B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698160A (en) * 2019-12-27 2020-09-22 国网上海市电力公司 Ring network system, and data processing method and device of nodes in network system
CN113709131A (en) * 2021-08-22 2021-11-26 山东云海国创云计算装备产业创新中心有限公司 Network data transmission method and device, computer equipment and readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100189088A1 (en) * 2002-01-29 2010-07-29 Palm, Inc. Dynamic networking modes method and apparatus
CN101925019A (en) * 2009-06-11 2010-12-22 北京大学 Mobile communication network and optimized networking method thereof
CN102083177A (en) * 2011-01-12 2011-06-01 意法·爱立信半导体(北京)有限公司 Communication implementation method and terminal
US20120324262A1 (en) * 2011-06-15 2012-12-20 Metanoia Communications Inc. Automatic Power Saving for Communication Systems
CN103384400A (en) * 2012-05-04 2013-11-06 英特尔移动通信有限责任公司 Communication devices and methods for selecting a radio access mode
CN103916916A (en) * 2012-12-31 2014-07-09 联想(北京)有限公司 Multi-mode terminal level switching method, multi-mode terminal and wireless access point

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100189088A1 (en) * 2002-01-29 2010-07-29 Palm, Inc. Dynamic networking modes method and apparatus
CN101925019A (en) * 2009-06-11 2010-12-22 北京大学 Mobile communication network and optimized networking method thereof
CN102083177A (en) * 2011-01-12 2011-06-01 意法·爱立信半导体(北京)有限公司 Communication implementation method and terminal
US20120324262A1 (en) * 2011-06-15 2012-12-20 Metanoia Communications Inc. Automatic Power Saving for Communication Systems
CN103384400A (en) * 2012-05-04 2013-11-06 英特尔移动通信有限责任公司 Communication devices and methods for selecting a radio access mode
CN103916916A (en) * 2012-12-31 2014-07-09 联想(北京)有限公司 Multi-mode terminal level switching method, multi-mode terminal and wireless access point

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698160A (en) * 2019-12-27 2020-09-22 国网上海市电力公司 Ring network system, and data processing method and device of nodes in network system
CN113709131A (en) * 2021-08-22 2021-11-26 山东云海国创云计算装备产业创新中心有限公司 Network data transmission method and device, computer equipment and readable medium
CN113709131B (en) * 2021-08-22 2024-01-09 山东云海国创云计算装备产业创新中心有限公司 Network data transmission method, device, computer equipment and readable medium

Also Published As

Publication number Publication date
CN108737378B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN104581892B (en) A kind of data transmission method and device of terminal
JP2021522750A (en) Communication method and communication device
CN112291366B (en) Data transmission method and device, storage medium and electronic equipment
WO2021148052A1 (en) Pdcch monitoring method and apparatus, user equipment, and storage medium
US9998298B2 (en) Data transmission method, apparatus, and computer storage medium
CN110268751A (en) Method and system for selection access and mobile management function to ps domain in access net environment
US9847937B2 (en) Hardware acceleration for routing programs
CN110366276A (en) Serviceization framework base station
US8973074B2 (en) Method and system for isochronous communication in audio/video networks
CN108737378A (en) A kind of dual mode communication network-building method and system based on media access control layer
CN110996372A (en) Message routing method, device and system and electronic equipment
CN114339719A (en) DPI data acquisition method and related device
CN113727399A (en) Target cell determination method and device
CN111796935A (en) Consumption instance distribution method and system for calling log information
CN110768903A (en) Method, device, terminal and storage medium for optimizing network connection
CN110351146A (en) A kind of server-side example determines method, system, client and storage medium
CN113827953B (en) Game control system
RU2608580C1 (en) Method and device for control channel transmitting
TWI778614B (en) Method, terminal, base station, and computer-readable storage medium for determining and indicating access parameters
CN108449562A (en) A kind of method and device for adding web camera in network hard disk video recorder
WO2016197607A1 (en) Method and apparatus for realizing route lookup
US20210105662A1 (en) Network service device, session management device and operation methods thereof
CN114760249A (en) SDN network-based data processing method, device and equipment
CN105656789B (en) A kind of MAC Address notifying method and core node
CN116708532B (en) Local area network connection method, device, computer equipment and readable storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200422

Address after: 100192 Beijing, Haidian District West Road, No. 66, Zhongguancun Dongsheng science and Technology Park, building A, building No. 3

Applicant after: BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Applicant after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Address before: 102209 Beijing City, the future of science and Technology City Binhe Road, No. 18, No.

Applicant before: GLOBAL ENERGY INTERCONNECTION RESEARCH INSTITUTE Co.,Ltd.

Applicant before: STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER Co.

Applicant before: STATE GRID CORPORATION OF CHINA

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211015

Address after: 100192 building 3, A District, Dongsheng science and Technology Park, Zhongguancun, 66 Haidian District West Road, Beijing.

Patentee after: BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Patentee after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Patentee after: Zhongguancun Xinhai preferred Technology Co.,Ltd.

Address before: 100192 building 3, A District, Dongsheng science and Technology Park, Zhongguancun, 66 Haidian District West Road, Beijing.

Patentee before: BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Patentee before: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20240704

Address after: 100192 building 3, A District, Dongsheng science and Technology Park, Zhongguancun, 66 Haidian District West Road, Beijing.

Patentee after: BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Country or region after: China

Patentee after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Address before: 100192 building 3, A District, Dongsheng science and Technology Park, Zhongguancun, 66 Haidian District West Road, Beijing.

Patentee before: BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Country or region before: China

Patentee before: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Patentee before: Zhongguancun Xinhai preferred Technology Co.,Ltd.