CN111432352A - Message transmission method, device, equipment and storage medium - Google Patents

Message transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN111432352A
CN111432352A CN202010236542.4A CN202010236542A CN111432352A CN 111432352 A CN111432352 A CN 111432352A CN 202010236542 A CN202010236542 A CN 202010236542A CN 111432352 A CN111432352 A CN 111432352A
Authority
CN
China
Prior art keywords
message
air interface
terminal
interface resource
transmission
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
CN202010236542.4A
Other languages
Chinese (zh)
Other versions
CN111432352B (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.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202010236542.4A priority Critical patent/CN111432352B/en
Publication of CN111432352A publication Critical patent/CN111432352A/en
Application granted granted Critical
Publication of CN111432352B publication Critical patent/CN111432352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a message transmission method, which comprises the following steps: when a multicast message is transmitted to a terminal, determining the message length of the multicast message and the terminal receiving capability of the current terminal; determining a message length threshold value and a receiving capacity threshold value to be used currently according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively matched with corresponding weights; if the message length of the multicast message is larger than the message length threshold, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability smaller than the receiving capability threshold. By applying the technical scheme provided by the embodiment of the application, whether the multicast message is converted into the unicast message for transmission is determined in a self-adaptive manner based on the message length and the terminal receiving capacity of the multicast message, rather than in a cutting-and-cutting manner, the success rate of message transmission can be effectively improved, and the service experience of the terminal is improved. The application also discloses a message transmission device, equipment and a storage medium, which have corresponding technical effects.

Description

Message transmission method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for packet transmission.
Background
Wi-Fi (Wireless-Fidelity) is a technology that can wirelessly connect terminals such as personal computers and handheld devices (mobile phones and tablet computers) to each other. At present, a wireless local area network constructed by using a Wi-Fi technology is widely applied to more and more scenes, such as multimedia service scenes of an electronic schoolbag and the like.
In the wireless local area network, the transmission of the message can be performed through a wireless air interface. The messages can be divided into multicast messages and unicast messages. In the wireless air interface, the information can be simultaneously transmitted to the terminals in the multicast group through the multicast message, so that the occupation of air interface resources can be reduced. However, when the wireless air interface transmits the multicast packet, there is no acknowledgement mechanism, and the wireless environment is complex and variable, so packet loss is easy. Therefore, in the occasion with high requirement on transmission quality, the network experience of the user is difficult to guarantee. This requires the transfer of multicast messages to unicast message transmission.
In the prior art, a multicast packet may be converted into a unicast packet by a switch for transmission. However, this method has a certain disadvantage because the multicast messages are all converted into unicast messages or not converted through the switch control. When the multicast messages are all converted into unicast messages for transmission, if the number of terminals is large, the occupation of air interface resources is large, and the terminal experience is not good. If none, part of the terminal traffic experience may be made unstable.
Disclosure of Invention
The application aims to provide a message transmission method, a message transmission device, message transmission equipment and a message transmission storage medium, so as to adaptively determine whether to transmit a multicast message to a unicast message or not and improve the service experience of a terminal.
In order to solve the technical problem, the application provides the following technical scheme:
a message transmission method comprises the following steps:
when a multicast message is transmitted to a terminal, determining the message length of the multicast message and the terminal receiving capacity of the current terminal;
determining a message length threshold value and a receiving capacity threshold value to be used currently according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively matched with corresponding weights;
if the message length of the multicast message is larger than the message length threshold, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability smaller than the receiving capability threshold.
In one embodiment of the present application, the processing result is obtained by:
respectively matching corresponding weights based on transmission reliability and air interface resource occupation to establish the objective function, wherein the parameters to be processed of the objective function are a message length threshold and a receiving capacity threshold;
determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource;
and processing the objective function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain the processing result.
In a specific embodiment of the present application, the processing the objective function based on the weight of the transmission reliability and the weight occupied by the air interface resource includes:
determining a processing algorithm corresponding to the current wireless environment;
and processing the objective function by using the processing algorithm based on the weight of the transmission reliability and the weight occupied by the air interface resource.
In a specific embodiment of the present application, the determining, according to the current air interface resource, the weight of the transmission reliability and the weight occupied by the air interface resource includes:
searching the weight of the transmission reliability corresponding to the current air interface resource and the weight occupied by the air interface resource in the corresponding relation of the air interface resource and the weight;
in the corresponding relationship between the air interface resource and the weight, the larger the remaining capacity of the air interface resource is, the larger the corresponding weight of the transmission reliability is, and the smaller the remaining capacity of the air interface resource is, the larger the weight occupied by the corresponding air interface resource is.
In one embodiment of the present application, the method further includes:
and when a set processing triggering condition is reached, repeatedly executing the step of determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource, and the step of processing the objective function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain the processing result.
In one embodiment of the present application, for each terminal, the terminal reception capability of the terminal is determined by:
acquiring transmission data of the terminal, wherein the transmission data comprises at least two of signal intensity, transmission rate, retransmission rate and bit error rate;
and determining the terminal receiving capacity of the terminal according to the transmission data.
In one embodiment of the present application, the method further includes:
and if the message length of the multicast message is not greater than the message length threshold, transmitting the multicast message to each terminal.
A message transmission apparatus, comprising:
the length and capability determining module is used for determining the message length of the multicast message and the terminal receiving capability of the current terminal when the multicast message is transmitted to the terminal;
a threshold determination module, configured to determine a length threshold and a receiving capability threshold of a currently inactive message according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively in cooperation with corresponding weights;
and the message transmission module is used for converting the multicast message into a unicast message and transmitting the unicast message to a terminal with the receiving capability smaller than the receiving capability threshold if the message length of the multicast message is larger than the message length threshold.
A message transmission device, comprising:
a memory for storing a computer program;
a processor configured to implement the steps of any of the message transmission methods described above when executing the computer program.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the message transmission method of any of the above.
By applying the technical scheme provided by the embodiment of the application, when a multicast message is transmitted to a terminal, the message length of the multicast message and the terminal receiving capability of the current terminal are determined, the message length threshold and the receiving capability threshold of the current standby message are determined according to the processing results of the objective functions established respectively by matching corresponding weights based on transmission reliability and air interface resource occupation, if the message length of the multicast message is greater than the message length threshold, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability less than the receiving capability threshold, namely, whether the multicast message is converted into the unicast message for transmission is determined in a self-adaptive manner on the basis of the message length and the terminal receiving capability of the multicast message aiming at different terminals, so that the message transmission success rate can be effectively improved, and the terminal service experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a message transmission control system in an embodiment of the present application;
fig. 2 is a flowchart of an implementation of a message transmission method in the embodiment of the present application;
fig. 3 is a flowchart of another implementation of a message transmission method in the embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a process of processing an objective function according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a message transmission apparatus in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a message transmission device in an embodiment of the present application.
Detailed Description
The core of the application is to provide a message transmission method, which can be realized by a message transmission control system.
As shown in fig. 1, the message transmission control system may include a wireless access point and a wireless access point controller, where the wireless access point controller may control a plurality of wireless access points in a centralized manner, and the wireless access points are ap (access points) for establishing connection between a wired network and a wireless network, and each wireless access point may be accessed by a plurality of terminals to implement network connection.
When a service server such as a multimedia server and the like has a multicast message to transmit to a terminal, the wireless access point can determine the message length of the multicast message and the terminal receiving capability of the current terminal, determine the message length threshold value and the receiving capability threshold value of the current standby message according to the processing result of the objective function established respectively by matching corresponding weights based on transmission reliability and empty resource occupation, and if the message length of the multicast message is greater than the message length threshold value, convert the multicast message into a unicast message and transmit the unicast message to the terminal with the receiving capability less than the receiving capability threshold value.
For different terminals, whether the multicast message is converted into the unicast message for transmission is determined in a self-adaptive mode based on the message length and the terminal receiving capacity of the multicast message, instead of being transmitted in a cutting mode, and the service experience of the terminal can be effectively improved.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 2, an implementation flowchart of a message transmission method provided in the embodiment of the present application is shown, where the method may include the following steps:
s210: when a multicast message is transmitted to a terminal, determining the message length of the multicast message and the terminal receiving capability of the current terminal.
In practical applications, there may be multicast packets that need to be transmitted to the terminal through the wireless access point according to service requirements. When there is a multicast packet to be transmitted to the terminal, the wireless access point may first determine the packet length of the multicast packet and the terminal receiving capability of the current terminal.
The current terminal is connected with the wireless access point, and the terminal in the multicast group is a transmission target of the multicast message, and can be all terminals in the multicast group or an appointed terminal in the multicast group.
The message length of the multicast message can be obtained in the length field of the multicast message header, and the length of the message body is represented.
The terminal reception capability may be determined by various indexes. In one embodiment of the present application, for each terminal, the terminal receiving capability of the terminal may be determined by:
the method comprises the following steps: acquiring transmission data of the terminal, wherein the transmission data comprises at least two of signal intensity, transmission rate, retransmission rate and bit error rate;
step two: and determining the terminal receiving capability of the terminal according to the transmission data.
For convenience of description, the above two steps are combined for illustration.
The wireless access point may monitor terminals accessing the wireless access point, and obtain transmission data of each terminal, such as signal strength, transmission rate, retransmission rate, bit error rate, and the like, where the transmission data may include at least two of the terminals. According to the transmission data, the terminal receiving capability of each terminal can be evaluated, and the terminal receiving capability of each terminal can be determined. For example, a weighted sum of several transmitted data may be determined as the terminal reception capability.
For a terminal, the stronger the signal strength, the higher the transmission rate, the lower the retransmission rate, and the lower the error rate, the stronger the terminal receiving capability of the terminal is, the greater the probability that the multicast packet transmitted to the terminal is successfully received is, and the unicast conversion probability for the terminal can be appropriately reduced.
For example, a terminal with a signal strength of-30 dBm and a transmission rate of 20Mbps in an a environment and a signal strength of-80 dBm and a transmission rate of 10Mbps in a B environment has a stronger terminal receiving capability in the a environment than in the B environment.
S220: and determining the length threshold value and the receiving capacity threshold value of the message to be used currently according to the processing result of the objective function established based on the transmission reliability and the air interface resource occupation respectively matched with the corresponding weight.
In the embodiment of the application, the message length threshold and the receiving capacity threshold to be used at present can be obtained by processing the objective function. The objective function is established based on transmission reliability and air interface resource occupation respectively matched with corresponding weights. The final objective is to obtain a policy of converting multicast messages into unicast messages, which has high transmission reliability and low occupation of air interface resources.
In a wireless lan, an empty port can be understood as a virtual logical port on an AP (Access Point) and a STA (Station). The 802.11 standard defines a set of wireless transmission specifications over the air interface, including the frequency of use, bandwidth, access timing, and coding method of each wireless channel. The air interfaces are invisible, links established between the air interfaces are called wireless links, the STA and the AP can be communicated through the wireless links, and a wireless bridge can be established between the AP and the AP through the wireless links. The amount of the air interface resource can represent the strength of the transmission capability which can be carried by the wireless link.
In practical applications, the objective function may be processed by the wireless access point, may be processed by the wireless access point controller, or may be processed by a special computer, a server, or the like besides the wireless access point and the wireless access point controller. The process of processing the objective function can also be considered as an optimization process.
The wireless access point can obtain the processing result, and can determine the message length threshold value and the receiving capability threshold value to be used currently according to the processing result.
S230: if the message length of the multicast message is larger than the message length threshold, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability smaller than the receiving capability threshold.
In the embodiment of the present application, after determining the length threshold and the receiving capability threshold of the current standby packet according to the processing result, it may be determined whether to convert the multicast packet into the unicast packet for transmission for each terminal.
For each terminal, if the message length of the multicast message is greater than the determined message length threshold and the terminal receiving capability of the terminal is less than the determined receiving capability threshold, the terminal can be considered to meet the condition of converting the multicast message into the unicast message for transmission, and the multicast message can be converted into the unicast message for transmission to the terminal. That is, if the packet length of the multicast packet is greater than the determined packet length threshold, the multicast packet may be converted into a unicast packet and transmitted to each terminal whose terminal receiving capability is less than the determined receiving capability threshold.
It can be understood that the longer the message length of the multicast message, the higher the requirement for transmission reliability, the more unicast transmission needs to be switched, and the weaker the terminal receiving capability, the more unicast transmission needs to be switched, so as to improve the transmission reliability. Multicast is the implementation of multipoint network connections between a sender and a receiver, where one sender transmits the same data to multiple receivers simultaneously, and only one copy of the same data packet is needed. Unicast is a point-to-point network connection between a single sender and a single receiver, with one sender transmitting data to only one receiver at a time. Wi-Fi monopolizes an air interface medium, unicast messages need to be confirmed by an opposite end response confirmation message, namely an ack message, multiple unicast messages need to occupy the air interface medium for a longer time, and air interface resource occupation is increased. The multicast message is converted into the unicast message for transmission, so that the transmission reliability is improved at the cost of increasing the occupation of air interface resources.
In this embodiment of the present application, if the packet length of the multicast packet is not greater than the determined packet length threshold, the multicast packet may be transmitted to each terminal, that is, the multicast packet is transmitted in a multicast manner, so as to improve transmission efficiency.
For ease of understanding, the embodiments of the present application will be described using the process shown in fig. 3.
S310: the wireless access point receives a multicast message to be transmitted to the terminal;
s320: judging whether the message length of the multicast message is larger than the determined message length threshold value or not; if yes, executing S330, if no, executing S350;
s330: for each terminal, judging whether the terminal receiving capacity of the terminal is smaller than the determined receiving capacity threshold value; if yes, executing S340, if no, executing S350;
s340: converting the multicast message into a unicast message for transmission;
s350: the multicast message is not transmitted to the unicast message.
By applying the method provided by the embodiment of the application, when a multicast message is transmitted to a terminal, the message length of the multicast message and the terminal receiving capacity of the current terminal are determined, the message length threshold value and the receiving capacity threshold value of the current standby message are determined according to the processing results of the objective functions established respectively by matching corresponding weights based on transmission reliability and air interface resource occupation, if the message length of the multicast message is greater than the message length threshold value, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capacity less than the receiving capacity threshold value, namely, whether the multicast message is converted into the unicast message for transmission is determined in a self-adaptive mode aiming at different terminals based on the message length and the terminal receiving capacity of the multicast message, the message transmission success rate can be effectively improved, and the terminal service experience is improved.
In one embodiment of the present application, the processing result may be obtained by:
the method comprises the following steps: respectively matching corresponding weights based on transmission reliability and air interface resource occupation, and establishing an objective function, wherein parameters to be processed of the objective function are a message length threshold and a receiving capacity threshold;
step two: determining the weight of transmission reliability and the weight occupied by the air interface resources according to the current air interface resources;
step three: and processing the target function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain a processing result.
For convenience of description, the above three steps are combined for illustration.
In this embodiment of the present application, an objective function may be established based on transmission reliability and air interface resource occupation respectively in cooperation with corresponding weights, where parameters to be processed of the objective function are a message length threshold and a receiving capability threshold. The final objective of the objective function is to obtain a multicast-to-unicast strategy with high transmission reliability and low air interface resource occupation.
And acquiring the current air interface resource. The current air interface resource refers to an air interface resource corresponding to the processing of the objective function. According to the current air interface resource, the weight of the transmission reliability and the weight occupied by the air interface resource can be determined. Specifically, the weight of the transmission reliability corresponding to the current air interface resource and the weight occupied by the air interface resource may be searched in the corresponding relationship between the air interface resource and the weight, where in the corresponding relationship between the air interface resource and the weight, the larger the remaining capacity of the air interface resource is, the larger the weight of the corresponding transmission reliability is, the smaller the remaining capacity of the air interface resource is, and the larger the weight occupied by the corresponding air interface resource is.
In practical application, a corresponding relationship between the air interface resource and the weight may be pre-established according to prior knowledge, historical data, and the like, where in the corresponding relationship, the larger the remaining capacity of the air interface resource is, the larger the weight of the corresponding transmission reliability is, the smaller the remaining capacity of the air interface resource is, and the larger the weight occupied by the corresponding air interface resource is. The corresponding relation can be stored in an array form, and each array is the weight of the transmission reliability corresponding to different intervals of the residual capacity of the air interface resource and the weight occupied by the air interface resource.
For example, the remaining capacity of the air interface resource is 50%, and in the interval [ 50%, 60%), the weight of the corresponding transmission reliability is 0.5, and the weight occupied by the air interface resource is 0.5; the remaining capacity of the air interface resource is 30%, and in the interval [ 20%, 40%), the weight of the corresponding transmission reliability is 0.4, and the weight occupied by the air interface resource is 0.6. In the corresponding relationship, the closer the remaining capacity of the air interface resource is to the extreme value, the faster the weight is increased, for example, the remaining capacity of the air interface resource is 10%, the corresponding transmission reliability weight is 0.1, and the occupied weight of the air interface resource is 0.9.
And processing the target function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain a processing result, and determining the length threshold and the receiving capacity threshold of the current standby message according to the processing result.
Specifically, a processing algorithm corresponding to the current wireless environment may be determined, and the target function is processed using the processing algorithm based on the weight of the transmission reliability and the weight occupied by the air interface resource.
Different wireless environments may correspond to different processing algorithms. If the number of the currently used wireless terminals is fixed and the flow change is not large, the current wireless environment is considered to be relatively stable, and the time can be converted into the precision by corresponding to an improved algorithm aiming at a processing algorithm in the prior art, so that the accuracy of a processing result is improved. If the number of the currently used wireless terminals is changed at will and the flow rate is high and low, the current wireless environment is considered to be variable, the method can correspond to a particle swarm optimization algorithm, the convergence rate of the processing algorithm is high, and the optimal solution can be approached quickly.
After the processing result is obtained, the processing result can be applied to the decision of converting multicast into unicast, and the length threshold and the receiving capability threshold of the current standby message are determined according to the processing result. And determining whether to transmit the multicast message to the unicast message or not by taking the determined message length threshold and the receiving capacity threshold as reference.
In the application, the function value of the objective function may represent the overall transmission reliability and the air interface resource occupation, and the larger the final function value is, the higher the overall transmission reliability is, the lower the air interface resource occupation is. The two to-be-processed parameters of the message length threshold and the receiving capacity threshold in the target function are continuously adjusted through a processing algorithm, so that the target function obtains a value close to the maximum, and the message length threshold and the receiving capacity threshold are processing results, so that the final message length threshold and the final receiving capacity threshold to be used at present can be determined.
In an embodiment of the present application, when the set processing trigger condition is reached, the step of determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource, and the step of determining the weight based on the transmission reliability and the weight occupied by the air interface resource are repeatedly performed.
In practical applications, it may be considered that the set process trigger condition is reached when the set time interval is reached, or the set process trigger condition is reached when the process command is received, or the set process trigger condition is reached when the wireless environment changes from a steady state to a volatile state, or from a volatile state to a steady state.
When the set processing triggering condition is reached, the steps of determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource, processing the objective function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain a processing result can be repeatedly executed, so that the current standby message length threshold value and the receiving capacity threshold value are determined according to the updated processing result, and whether the multicast message is converted into the unicast message is judged based on the determined message length threshold value and the determined receiving capacity threshold value.
Fig. 4 shows a process for processing an objective function, which includes:
s410: matching corresponding weights based on transmission reliability and air interface resource occupation allocation, and establishing a target function;
s420: determining the weight of transmission reliability and the weight occupied by the air interface resources according to the current air interface resources;
s430: determining a processing algorithm corresponding to the current wireless environment;
s440: processing the target function by using a processing algorithm based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain a processing result;
upon reaching the set process trigger condition, the operations of steps S420-S440 are repeated.
The embodiment of the application comprehensively considers a plurality of factors and decides the specific strategy of converting the multicast message into the unicast message, thereby ensuring the stable terminal experience of the multicast multimedia service. According to different air interface resource conditions, the terminal with different terminal receiving capabilities is decided, whether the multicast message with different message lengths is transmitted to the unicast message or not is determined, the transmission reliability and the air interface resource occupation are considered, and the purposes of higher transmission reliability and lower air interface resource occupation are taken as targets. When the air interface resource is sufficient, more multicast messages can be transmitted to unicast messages for more terminals, and when the air interface resource is insufficient, only partial terminals with weak receiving capability and large multicast messages can be transmitted to unicast messages, so that terminal experience is improved.
Corresponding to the above method embodiments, the present application further provides a message transmission apparatus, and the message transmission apparatus described below and the message transmission method described above may be referred to correspondingly.
Referring to fig. 5, the apparatus includes the following modules:
a length and capability determining module 510, configured to determine, when there is a multicast packet to be transmitted to a terminal, a packet length of the multicast packet and a terminal receiving capability of a current terminal;
a threshold determining module 520, configured to determine a length threshold and a receiving capability threshold of a currently inactive message according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively in cooperation with corresponding weights;
a message transmission module 530, configured to convert the multicast message into a unicast message and transmit the unicast message to a terminal whose receiving capability is smaller than the receiving capability threshold if the message length of the multicast message is larger than the message length threshold.
By applying the device provided by the embodiment of the application, when a multicast message is transmitted to a terminal, the message length of the multicast message and the terminal receiving capability of the current terminal are determined, the message length threshold value and the receiving capability threshold value of the current standby message are determined according to the processing results of the objective functions established respectively by matching corresponding weights based on transmission reliability and air interface resource occupation, if the message length of the multicast message is greater than the message length threshold value, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability smaller than the receiving capability threshold value, namely, for different terminals, based on the message length and the terminal receiving capability of the multicast message, whether the multicast message is converted into the unicast message is determined in a self-adaptive manner instead of being performed in a cutting manner, so that the message transmission success rate can be effectively improved, and the terminal service experience is improved.
In a specific embodiment of the present application, the method further includes a processing result obtaining module, configured to obtain a processing result through the following steps:
respectively matching corresponding weights based on transmission reliability and air interface resource occupation, and establishing an objective function, wherein parameters to be processed of the objective function are a message length threshold and a receiving capacity threshold;
determining the weight of transmission reliability and the weight occupied by the air interface resources according to the current air interface resources;
and processing the target function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain a processing result.
In a specific embodiment of the present application, the processing result obtaining module is configured to:
determining a processing algorithm corresponding to the current wireless environment;
and processing the target function by using a processing algorithm based on the weight of the transmission reliability and the weight occupied by the air interface resource.
In a specific embodiment of the present application, the processing result obtaining module is configured to:
searching the weight of the transmission reliability corresponding to the current air interface resource and the weight occupied by the air interface resource in the corresponding relation of the air interface resource and the weight;
in the corresponding relationship between the air interface resource and the weight, the larger the remaining capacity of the air interface resource is, the larger the weight of the corresponding transmission reliability is, the smaller the remaining capacity of the air interface resource is, and the larger the weight occupied by the corresponding air interface resource is.
In a specific embodiment of the present application, the processing result obtaining module is further configured to:
and when the set processing triggering condition is reached, repeatedly executing the step of determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource, and the step of processing the target function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain a processing result.
In one embodiment of the present application, the length and capability determining module 510 is configured to determine, for each terminal, a terminal receiving capability of the terminal by:
acquiring transmission data of the terminal, wherein the transmission data comprises at least two of signal intensity, transmission rate, retransmission rate and bit error rate;
and determining the terminal receiving capability of the terminal according to the transmission data.
In a specific embodiment of the present application, the message transmission module 530 is further configured to:
and if the message length of the multicast message is not greater than the message length threshold, transmitting the multicast message to each terminal.
Corresponding to the above method embodiment, an embodiment of the present application further provides a message transmission device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the message transmission method when executing the computer program.
As shown in fig. 6, which is a schematic view of a composition structure of a message transmission device, the message transmission device may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 all communicate with each other through a communication bus 13.
In the embodiment of the present application, the processor 10 may be a Central Processing Unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic device, etc.
The processor 10 may call a program stored in the memory 11, and in particular, the processor 10 may perform operations in an embodiment of the message transmission method.
The memory 11 is used for storing one or more programs, the program may include program codes, the program codes include computer operation instructions, in this embodiment, the memory 11 stores at least the program for implementing the following functions:
when a multicast message is transmitted to a terminal, determining the message length of the multicast message and the terminal receiving capability of the current terminal;
determining a message length threshold value and a receiving capacity threshold value to be used currently according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively matched with corresponding weights;
if the message length of the multicast message is larger than the message length threshold, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability smaller than the receiving capability threshold.
In one possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as an optimization function and a comparison function), and the like; the storage data area may store data created during use, such as monitoring data, threshold data, and the like.
Further, the memory 11 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The communication interface 13 may be an interface of a communication module for connecting with other devices or systems.
Of course, it should be noted that the structure shown in fig. 6 does not constitute a limitation on the message transmission device in the embodiment of the present application, and in practical applications, the message transmission device may include more or less components than those shown in fig. 6, or some components in combination.
Corresponding to the above method embodiments, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the message transmission method are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The principle and the implementation of the present application are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A method for packet transmission, comprising:
when a multicast message is transmitted to a terminal, determining the message length of the multicast message and the terminal receiving capacity of the current terminal;
determining a message length threshold value and a receiving capacity threshold value to be used currently according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively matched with corresponding weights;
if the message length of the multicast message is larger than the message length threshold, the multicast message is converted into a unicast message and transmitted to the terminal with the receiving capability smaller than the receiving capability threshold.
2. The method of claim 1, wherein the processing result is obtained by:
respectively matching corresponding weights based on transmission reliability and air interface resource occupation to establish the objective function, wherein the parameters to be processed of the objective function are a message length threshold and a receiving capacity threshold;
determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource;
and processing the objective function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain the processing result.
3. The method according to claim 2, wherein the processing the objective function based on the weight of the transmission reliability and the weight of the air interface resource occupancy comprises:
determining a processing algorithm corresponding to the current wireless environment;
and processing the objective function by using the processing algorithm based on the weight of the transmission reliability and the weight occupied by the air interface resource.
4. The method according to claim 2, wherein the determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource includes:
searching the weight of the transmission reliability corresponding to the current air interface resource and the weight occupied by the air interface resource in the corresponding relation of the air interface resource and the weight;
in the corresponding relationship between the air interface resource and the weight, the larger the remaining capacity of the air interface resource is, the larger the corresponding weight of the transmission reliability is, and the smaller the remaining capacity of the air interface resource is, the larger the weight occupied by the corresponding air interface resource is.
5. The method of claim 2, further comprising:
and when a set processing triggering condition is reached, repeatedly executing the step of determining the weight of the transmission reliability and the weight occupied by the air interface resource according to the current air interface resource, and the step of processing the objective function based on the weight of the transmission reliability and the weight occupied by the air interface resource to obtain the processing result.
6. The method according to any of the claims 1 to 5, characterized in that for each terminal, the terminal reception capability of the terminal is determined by:
acquiring transmission data of the terminal, wherein the transmission data comprises at least two of signal intensity, transmission rate, retransmission rate and bit error rate;
and determining the terminal receiving capacity of the terminal according to the transmission data.
7. The method of claim 6, further comprising:
and if the message length of the multicast message is not greater than the message length threshold, transmitting the multicast message to each terminal.
8. A message transmission apparatus, comprising:
the length and capability determining module is used for determining the message length of the multicast message and the terminal receiving capability of the current terminal when the multicast message is transmitted to the terminal;
a threshold determination module, configured to determine a length threshold and a receiving capability threshold of a currently inactive message according to a processing result of a target function established based on transmission reliability and air interface resource occupation respectively in cooperation with corresponding weights;
and the message transmission module is used for converting the multicast message into a unicast message and transmitting the unicast message to a terminal with the receiving capability smaller than the receiving capability threshold if the message length of the multicast message is larger than the message length threshold.
9. A message transmission device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the message transmission method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the message transmission method according to any one of claims 1 to 7.
CN202010236542.4A 2020-03-30 2020-03-30 Message transmission method, device, equipment and storage medium Active CN111432352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010236542.4A CN111432352B (en) 2020-03-30 2020-03-30 Message transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010236542.4A CN111432352B (en) 2020-03-30 2020-03-30 Message transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111432352A true CN111432352A (en) 2020-07-17
CN111432352B CN111432352B (en) 2022-03-22

Family

ID=71549291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010236542.4A Active CN111432352B (en) 2020-03-30 2020-03-30 Message transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111432352B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973081B1 (en) * 2000-10-12 2005-12-06 Realnetworks, Inc. System and method for seamlessly joining multicast session
CN101296104A (en) * 2007-04-26 2008-10-29 株式会社日立制作所 Order program data distribution system
CN102474654A (en) * 2009-08-04 2012-05-23 高通股份有限公司 Internet radio broadcast using cellular
CN102970153A (en) * 2012-12-04 2013-03-13 福建星网锐捷网络有限公司 Multicast message processing method, device and system
CN105992155A (en) * 2015-01-30 2016-10-05 中国移动通信集团公司 Method, device and system for unicast-multicast dynamic switching in network
WO2016188057A1 (en) * 2015-05-25 2016-12-01 深圳市中兴微电子技术有限公司 Unicast/multicast traffic scheduling management method and apparatus
CN106954192A (en) * 2017-03-22 2017-07-14 上海斐讯数据通信技术有限公司 A kind of file transmitting method and system
CN107343224A (en) * 2016-04-28 2017-11-10 中兴通讯股份有限公司 A kind of multicast distribution method, unicast compensation method, content augmentation method and system
CN107659899A (en) * 2016-07-26 2018-02-02 华为技术有限公司 A kind of multicast service handling method and access point
GB2552705A (en) * 2016-08-04 2018-02-07 British Telecomm Mobile communications network
CN107770221A (en) * 2016-08-19 2018-03-06 阿里巴巴集团控股有限公司 Transmission method, server conversion equipment, client conversion equipment and the system of data
CN107820218A (en) * 2016-09-14 2018-03-20 华为技术有限公司 The establishing method and equipment of message transmissions mode
CN109104697A (en) * 2017-06-20 2018-12-28 中国电信股份有限公司 Multicast control method and radio reception device for WLAN
CN105338420B (en) * 2014-08-15 2019-02-26 中国电信股份有限公司 Media playing method and device and offer device and play system
CN109963203A (en) * 2017-12-25 2019-07-02 中国移动通信集团福建有限公司 Video flowing conversion and adaptive method for switching and device, equipment and medium
CN109982266A (en) * 2017-12-28 2019-07-05 华为技术有限公司 A kind of communication means and Related product
US20200037251A1 (en) * 2017-01-06 2020-01-30 Huawei Technologies Co., Ltd. Methods and Devices for Sending and Receiving Wake-Up Frame

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973081B1 (en) * 2000-10-12 2005-12-06 Realnetworks, Inc. System and method for seamlessly joining multicast session
CN101296104A (en) * 2007-04-26 2008-10-29 株式会社日立制作所 Order program data distribution system
CN102474654A (en) * 2009-08-04 2012-05-23 高通股份有限公司 Internet radio broadcast using cellular
CN102970153A (en) * 2012-12-04 2013-03-13 福建星网锐捷网络有限公司 Multicast message processing method, device and system
CN105338420B (en) * 2014-08-15 2019-02-26 中国电信股份有限公司 Media playing method and device and offer device and play system
CN105992155A (en) * 2015-01-30 2016-10-05 中国移动通信集团公司 Method, device and system for unicast-multicast dynamic switching in network
WO2016188057A1 (en) * 2015-05-25 2016-12-01 深圳市中兴微电子技术有限公司 Unicast/multicast traffic scheduling management method and apparatus
CN107343224A (en) * 2016-04-28 2017-11-10 中兴通讯股份有限公司 A kind of multicast distribution method, unicast compensation method, content augmentation method and system
CN107659899A (en) * 2016-07-26 2018-02-02 华为技术有限公司 A kind of multicast service handling method and access point
GB2552705A (en) * 2016-08-04 2018-02-07 British Telecomm Mobile communications network
CN107770221A (en) * 2016-08-19 2018-03-06 阿里巴巴集团控股有限公司 Transmission method, server conversion equipment, client conversion equipment and the system of data
CN107820218A (en) * 2016-09-14 2018-03-20 华为技术有限公司 The establishing method and equipment of message transmissions mode
US20200037251A1 (en) * 2017-01-06 2020-01-30 Huawei Technologies Co., Ltd. Methods and Devices for Sending and Receiving Wake-Up Frame
CN106954192A (en) * 2017-03-22 2017-07-14 上海斐讯数据通信技术有限公司 A kind of file transmitting method and system
CN109104697A (en) * 2017-06-20 2018-12-28 中国电信股份有限公司 Multicast control method and radio reception device for WLAN
CN109963203A (en) * 2017-12-25 2019-07-02 中国移动通信集团福建有限公司 Video flowing conversion and adaptive method for switching and device, equipment and medium
CN109982266A (en) * 2017-12-28 2019-07-05 华为技术有限公司 A kind of communication means and Related product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曹继军等: "一种提高应用层组播转发速率的机制", 《国防科技大学学报》 *
金志权等: "按需分枝组播", 《软件学报》 *

Also Published As

Publication number Publication date
CN111432352B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN108667739B (en) Congestion control method, device and system
US20190109787A1 (en) Method for transmitting data streams, and device
CN106612284B (en) Streaming data transmission method and device
CN101326844B (en) Method and apparatus for distributing bandwidth of radio communication system
CN101039273B (en) Communication equipment, transmission control method and transmission control program
KR20050100398A (en) Method and apparatus for transmitting information within a communication system
CN111131179B (en) Service processing method, device, network equipment and storage medium
US7646738B2 (en) Wireless network information distribution method
CN103312469A (en) Method and device for selecting ACK-leader in multicast retransmission
CN113347681B (en) Data transmission method and device, storage medium and electronic device
US20160316022A1 (en) Communication device, communication processing method, and storage medium
CN113783660B (en) Transmission method, transmitting terminal and receiving terminal
CN111432352B (en) Message transmission method, device, equipment and storage medium
US11696112B2 (en) TS operation for RTA session management
CN115119317B (en) Method and system for optimizing allocation of satellite multicast communication outbound resources
JP2008289080A (en) Terminal device, network device, and data communication method
Wu et al. Queueing analysis for delay/disruption tolerant networks with random link interruptions
CN115001999A (en) Network state detection method in wireless ad hoc network
CN113141270A (en) LoRa gateway configuration method, device and storage medium based on SAGA technology
WO2014101047A1 (en) Method, device, and system for identifying network packet loss type
CN107786310B (en) Data packet transmission method and node
CN112004184A (en) Automatic configuration method of Bluetooth mesh friendship function
JPH1032605A (en) Communication access control system and adaptor
CN115297178B (en) Message sending method and device, storage medium and electronic device
CN112153664A (en) Parameter optimization method, device, base station, server and 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
GR01 Patent grant
GR01 Patent grant