CN110022335B - Data packet transmitting method, device, server and computer readable storage medium - Google Patents

Data packet transmitting method, device, server and computer readable storage medium Download PDF

Info

Publication number
CN110022335B
CN110022335B CN201810019152.4A CN201810019152A CN110022335B CN 110022335 B CN110022335 B CN 110022335B CN 201810019152 A CN201810019152 A CN 201810019152A CN 110022335 B CN110022335 B CN 110022335B
Authority
CN
China
Prior art keywords
data packet
packet
data
server
sending
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.)
Active
Application number
CN201810019152.4A
Other languages
Chinese (zh)
Other versions
CN110022335A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810019152.4A priority Critical patent/CN110022335B/en
Publication of CN110022335A publication Critical patent/CN110022335A/en
Application granted granted Critical
Publication of CN110022335B publication Critical patent/CN110022335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

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

Abstract

The embodiment of the invention provides a data packet sending method, a data packet sending device, a server and a computer readable storage medium, and belongs to the technical field of networks. The method comprises the following steps: acquiring the number of target users to receive data packets; when the number of the target users is larger than a first preset threshold value and at least two data packets to be sent are stored in the server, generating a packet combination data packet according to the at least two data packets to be sent; and when the packet combination data packet meets the preset condition, sending the packet combination data packet to the terminal where the target user is located. In the embodiment of the invention, the number of the target users to receive the data packets is acquired before the data packets are required to be sent to the users, and when the number of the users is large, the data packets are merged and then sent, so that the times of sending the data packets by the server can be effectively reduced, the load of the server is reduced, the live broadcast quality or the reliability of user group data synchronization is improved, and the service quality is improved.

Description

Data packet transmitting method, device, server and computer readable storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for sending a data packet, a server, and a computer-readable storage medium.
Background
With the development of network technology and the diversification of terminal functions, people increasingly like to share data with other people through a network, for example, people can establish a live broadcast room through a terminal and perform live broadcast in the live broadcast room, and other people can enter the live broadcast room, watch live broadcast content and interact with an initiator of the live broadcast room, or people can establish a user group through the terminal and issue messages or perform voice and video chatting in the user group.
At present, the above process is usually implemented by data interaction between a terminal where a user is located and a server. When any user in the live broadcast room or the user group performs an operation on the terminal of the user, for example, an operation such as a gift sending operation, a praise operation, an attention operation, a share operation and the like performed in the live broadcast room, or an operation such as a message publishing operation, a voice chat operation, a video chat operation and the like performed in the user group, the terminal where the user is located sends a data packet to the server, and the data packet carries an operation content of the user. And the server receives the data packet and sends the data packet to the terminal of each user in the live broadcast room or the user group, so that each user in the live broadcast room or the user group can see the operation of other users in the live broadcast room or the user group.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
when the number of the target users is large and the number of the data packets sent by each user is large, the server needs to send a large number of data packets, which may cause overload of a CPU of the server, thereby possibly affecting live broadcast quality or reliability of data synchronization of user groups, and affecting service quality.
Disclosure of Invention
The embodiment of the invention provides a data packet sending method, a data packet sending device, a server and a computer readable storage medium, and solves the problem that the overload of a CPU affects the service quality in the prior art. The technical scheme is as follows:
in one aspect, a data packet sending method is provided, and is applied to a server, where the method includes:
acquiring the number of target users to receive data packets;
when the number of the target users is larger than a first preset threshold value and at least two data packets to be sent are stored in the server, generating a packet combination data packet according to the at least two data packets to be sent;
and when the packet combination data packet meets the preset condition, sending the packet combination data packet to the terminal where the target user is located.
In one aspect, an apparatus for sending a data packet is provided, where the apparatus is applied to a server, and the apparatus includes:
the detection module is used for acquiring the number of target users to receive the data packets;
the merging module is used for generating a packet merging data packet according to the at least two data packets to be sent when the number of the target users is larger than a first preset threshold and the server stores the at least two data packets to be sent;
and the sending module is used for sending the packet combination data packet to the terminal of the target user when the packet combination data packet meets the preset condition.
In one aspect, a server is provided, which includes: a processor; a memory for storing a computer program; the processor is configured to execute a computer program stored in a memory, and implement the packet transmission method.
In one aspect, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, implements the packet sending method.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the number of the target users to receive the data packets is acquired before the data packets are required to be sent to the users, and when the number of the users is large, the data packets are merged and then sent, so that the times of sending the data packets by the server can be effectively reduced, the load of the server is reduced, the live broadcast quality or the reliability of user group data synchronization is improved, and the service quality is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a live webcasting system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for sending a data packet according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data structure of a single data packet according to an embodiment of the present invention;
fig. 4 is a schematic data structure diagram of a combined packet data packet according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a data structure of a combined packet data packet according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for sending a data packet according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a network architecture of an application scenario according to an embodiment of the present invention;
fig. 8 is a flowchart of a method for sending a data packet according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data packet sending apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a live webcasting system according to an embodiment of the present invention, where live webcasting is an emerging social networking method, and is a social networking method in which multiple users can view the same live content through the live webcasting system at the same time. The terminal can acquire live broadcast data through live broadcast application on the terminal and also can acquire live broadcast data through a portal.
The method comprises the steps that a user operates on the terminal, the terminal can send a network live broadcast request to the server, the server creates a live broadcast room for the user, the live broadcast room is an online virtual room providing barrage type video live broadcast, an originator of the live broadcast room is a main broadcast, the main broadcast can display audio and video contents such as games, movies, TV plays, singing and the like in the live broadcast room, other users can enter the live broadcast room through the terminal, the display contents of the main broadcast are watched in the live broadcast room, interaction can be carried out with the main broadcast, and the like.
As shown in fig. 1, the webcast system may include two network architectures according to different types of data packets. The first Network architecture includes at least one terminal and a Content Delivery Network (CDN). The at least one terminal may obtain the audio/video service provided by the CDN. For a live broadcast room, one of the terminals is the terminal where the main broadcast is located, and the other terminals are the terminals where the audience is located. The terminal where the anchor is located can send the audio and video uplink data packet to the CDN, and the CDN can send the audio and video uplink data packet to the terminal where the audience is located, so that the terminal where the audience is located can view the audio and video content sent by the terminal where the anchor is located. The second network architecture comprises at least one terminal and a message transit distribution server. In the network architecture, the message relay distribution server does not distinguish whether the terminal is a terminal where the audience is located or a terminal where the anchor is located, and the message relay distribution server can broadcast the message sent by any terminal to other terminals, so that all terminals in the live broadcast room can see the message, and the message is usually the interactive content.
Fig. 2 is a flowchart of a method for sending a data packet according to an embodiment of the present invention. In the embodiment of the present invention, the packet sending method is only described as being applied to a live webcast scenario, and referring to fig. 2, the packet sending method includes the following steps:
201. when receiving the data packet, the server acquires the number of target users to receive the data packet.
When any user in the live broadcast room performs some operation, for example, interactive operations such as approval, gift sending, attention, sharing, room entrance and exit, chat, and the like, the terminal where the user is located may send a data packet to the server, where the data packet carries the operation content of the user, that is, service data. The server receives the data packet, can detect the number of users in the live broadcast room, the number of users in the live broadcast room is the number of target users of the data packet to be received, the target users can be the number of online users in the live broadcast room, and then whether the scale of the current live broadcast room is large or not can be determined according to the number of the target users, so as to determine the processing mode of the data packet.
202. When the number of the target users is larger than a first preset threshold value and at least two data packets to be sent are stored in the server, the server generates a packet-combined data packet according to the at least two data packets to be sent.
The technician can preset the first preset threshold value in the server, and the server uses the first preset threshold value as a basis for processing the data packet in the live broadcast room before broadcasting. The setting of the first preset threshold may be determined by a technician based on the processing capability of the server, and certainly, in an actual application, the setting of the first preset threshold may also be determined by combining the processing capability of the terminal, for example, the first preset threshold may be 20, and certainly, the first preset threshold may also be adjusted in the subsequent processing capability enhancement or actual use condition of the server or the terminal, which is not specifically limited in the present invention.
The number of the target users is larger than a first preset threshold value, which indicates that the scale of the live broadcast room is large, if the number of the data packets sent by each target user is large, the number of the data packets received by the server will be large, and since the server also needs to send each data packet to the terminal where each target user is located, the number of the data packets sent by the server is large. For the scene, the server can combine a plurality of data packets and then send the data packets, so that the times of sending the data packets by the server can be effectively reduced, the load of the server is reduced, and correspondingly, the times of receiving the data packets by the terminal where the user of the live broadcast room is located can also be reduced, and the load of the terminal is reduced.
The process of the server generating a packet-combined data packet according to the at least two data packets to be sent may be: the server combines the at least two data packets to be sent into a packet combination data packet according to the receiving time of the at least two data packets to be sent, and generates a length field, a packet combination command word field and a data packet number field of the packet combination data packet based on the packet combination data packet. As the data packet to be sent may be at least two data packets to be sent, or may be at least one data packet, and the at least one data packet may be a single data packet or a packet-combined data packet, for two possible situations of the data packet to be sent, the server may also process the data packet by using the following two processing methods, respectively:
and in the first processing mode, when the at least two data packets to be sent comprise received data packets to be sent and a single data packet, the server adds the single data packet to the data packets to be sent, and adds a length field, a packet combination command word field and a data packet number field of a packet combination data packet in front of the data packets to be sent.
In the first processing mode, the data structure of a single data packet is as shown in fig. 3, and the data packet may include three fields, a first field is a data length, a second field is a sub-command word, the sub-command word is used for indicating a data type of the data packet, and a third field is service data. Usually, the server sends the data packet to the terminal, and the terminal, upon receiving the data packet, may first read the first field and read the length of the data packet, and then the terminal parses the sub-command word to determine the data type of the data packet, so that the service data may be parsed by using a corresponding service protocol.
When the server merges two data packets, the server may add a data packet with a later receiving time to a data packet with a earlier receiving time, and add three fields before the two data packets, thereby obtaining a packet-merged data packet, where the packet-merged command word field is used to indicate a data type of the packet-merged data packet. As shown in fig. 4, the data structure of the combined packet includes the three fields, and then the two combined packets are respectively, and the data structure of each packet in the combined packet is the same as the data structure before combination. In practical implementation, the server calculates the total length of the packet-combined data packet, fills the total length into the length field of the packet-combined data packet, fills the data type of the packet-combined data packet into the packet-combined command word field, and sets the number field of the data packets to 2.
In practical application, the length field length of the packet combination data packet in the newly added three fields can be 2 bytes, the packet combination command field length can be 1 byte, and the data packet number field length can be 2 bytes, so that compared with the original multiple data packets, the packet combination data packet only newly adds 5 bytes, and the embodiment of the invention can send more data packets to the terminal at one time by adding little extra consumption, thereby reducing the times of sending the data packets by the server and the times of receiving the data packets by the terminal, and reducing the loads of the server and the terminal.
And in a second processing mode, when the at least two data packets to be sent comprise received data packets to be sent and packet combination data packets, the server adds the data packets to be sent to the packet combination data packets, and updates the length field, the packet combination command word field and the data packet number field of the packet combination data packets in the packet combination data packets.
In the second processing mode, the server has a currently received data packet and a packet combination data packet, the packet combination data packet may be obtained by combining a plurality of data packets before, and after the server receives the data packet this time, the server may add the data packet to the packet combination data packet, and update the length field, the packet combination command word field, and the data packet number field of the packet combination data packet existing in the packet combination data packet. The server can obtain the packet-combined data packet shown in fig. 5 by the second processing method.
203. And when the packet combination data packet meets the preset conditions, the server sends the packet combination data packet to the terminal where the target user is located.
Whether the combined packet data packet meets the preset condition can be measured from three dimensions: the number of data packets in the packet-combined data packet, the length of the packet-combined data packet, and the time interval between the current system time and the last data packet transmission time, after the server obtains the packet-combined data packet through the above step 202, the server may determine whether the packet-combined data packet meets the preset condition according to the three dimensions, thereby determining whether to transmit the packet-combined data packet.
When the packet-combined data packet meets a preset condition corresponding to at least one of the three dimensions, the server sends the packet-combined data packet, specifically, when the number of data packets in the packet-combined data packet is greater than a second preset threshold, the server sends the packet-combined data packet to a terminal where a target user is located, so that the data packet can be prevented from being sent excessively frequently; when the length of the packet-combined data packet is greater than a third preset threshold value, the server sends the packet-combined data packet to a terminal where a target user is located, so that excessive and frequent data packet sending can be avoided; or when the time interval between the current system time and the last data packet sending time exceeds a first preset time interval, the server sends the packet-combined data packet to the terminal where the target user is located, so that the influence on the real-time property of data packet sending and the influence on user experience caused by the fact that the data packet is not sent for a long time can be avoided.
It should be noted that the second preset threshold may be determined by a technician according to actual statistics, and the third preset threshold may be determined by the technician based on the processing capability of the server, for example, the second preset threshold may be 30, and the third preset threshold may be 4096 bytes, that is, 4 kbytes. The first preset time interval may also be determined by the experience of the technician or the actual survey result, in order to avoid that the live broadcast quality is affected by not sending the data packet for a long time, the first preset time interval is generally small, for example, 1 second(s).
According to the embodiment of the invention, through the preset conditions of the three dimensions, the packet sending times of the server and the packet receiving times of the terminal are reduced as much as possible under the condition that the time delay of the data packet is not increased too much, and the loads of the server and the terminal are reduced, so that the condition that the live broadcast quality is influenced is avoided.
In a possible implementation, a timeout mechanism may also be provided on the server: the server detects whether the server stores a data packet to be sent or not at regular time, and when the timer indicates that the time interval between the current system time and the last detection time exceeds a second preset time interval and the server stores the data packet to be sent, the server sends the data packet to the terminal where the target user is located.
When the server does not receive the data packet for a long time, the data packet stored on the server may not be sent for a long time due to no data packet drive, thereby affecting the live broadcast quality. The embodiment of the invention is provided with the timer, and when the time reaches a second preset time interval, whether the data packet to be sent is stored in the server is detected, so that the situation that the data packet stored in the server is not sent for a long time is avoided. In a specific implementation, in order to avoid that the data packets are not sent for a long time and the live broadcast quality is affected, the second preset time interval is generally smaller, and the second preset time interval may be equal to the first preset time interval, for example, 1s, or may be another smaller value, which is not limited in the present invention.
Of course, the above-mentioned process of determining whether to send the stored data packet to the terminal where the target user is located is triggered by the server only when the server receives the data packet, and the timeout mechanism is set to avoid the situation that the data packet stored in the server is not sent for a long time. In practical application, the server may also periodically detect whether the server stores the data packet, and when the server stores the data packet, the server sends the stored data packet to the terminal where the target user is located.
It should be noted that, when the server sends the data packet to the terminal where the target user is located in the live broadcast room, the server may send the data packet to the terminal where each user is located in the live broadcast room, or may also be the terminal where some users are located in the live broadcast room, for example, the server may only send the data packet to the terminal where the online user is located in the live broadcast room, or the server may only send the data packet to the terminal where the user with the high priority is located, or the server may only send the data packet to the terminal where the selected user is located. The same process as the live broadcast room described above is repeated for the case where the server sends the data packet to the terminal where the target user in the user group is located.
204. And when the packet combination data packet does not meet the preset condition, the server stores the packet combination data packet.
Specifically, the step 204 may be: and when the number of the data packets in the packet-combined data packet is less than or equal to a second preset threshold, the length of the packet-combined data packet is less than or equal to a third preset threshold, and the time interval between the current system time and the last data packet sending time does not exceed a first preset time interval, the server stores the packet-combined data packet.
The server may store the combined packet data packet first, and when waiting for receiving the next data packet, combine the combined packet data packet with the next data packet and send the combined packet data packet, or send the combined packet data packet through an timeout mechanism, that is, when the next data packet is not received yet at a later time, but the time interval between the system time of the time and the last data packet sending time is greater than a second preset time interval, the server may send the combined packet data packet.
It should be noted that the way for the server to store the packet combination data packet may be a cache, and when the server subsequently sends the packet combination data packet to the terminal, the server may further clear the packet combination data packet from the cache, so as to avoid unnecessary resource occupation and consumption.
205. When the number of the target users is greater than a first preset threshold and a single data packet to be sent is stored in the server, the server determines whether the data packet meets a preset condition, and if so, executes step 206; if not, step 207 is performed.
The above steps 202 to 204 are the cases when the number of the target users is greater than the first preset threshold and the server stores at least two data packets to be sent, and in practical application, there is another possible scenario: the number of the target users is greater than the first preset threshold, but only the data packets received in step 201 are in the server. In this scenario, since the server does not store other data packets except the currently received data packet, the server does not need to perform the merging step of step 202, and also does not need to perform a step of determining whether the merged data packet meets the preset condition so as to determine whether the merged data packet needs to be sent. The server can directly determine whether the data packet meets the preset condition or not to determine the processing mode of the data packet.
206. And when the data packet meets the preset conditions, the server sends the data packet to the terminal where the target user is located.
This step 206 is similar to step 203 except that the data packet is a single data packet, and thus the data packet has only two dimensions, one is the length of the data packet and the other is the time interval between the current system time and the last data packet transmission time.
When the data packet meets a preset condition corresponding to at least one of the two dimensions, the server sends the data packet, and specifically, when the length of the data packet is greater than a third preset threshold, the server sends the data packet to a terminal where each user in the live broadcast room is located; or when the time interval between the current system time and the last data packet sending time exceeds a first preset time interval, the server sends the data packet to the terminal where each user in the live broadcast room is located.
207. And when the data packet does not meet the preset condition, the server stores the data packet.
Step 207 is the same as step 204, and specifically may be: and when the length of the data packet is less than or equal to a third preset threshold value and the time interval between the current system time and the last data packet sending time does not exceed a first preset time interval, the server stores the data packet.
It should be noted that, the server determines whether to send the data packet according to whether the data packet meets a preset condition, and when the server stores the data packet and subsequently receives the data packet, the above steps 201 to 204 may be executed again, and when the number of the target users is less than or equal to a first preset threshold, the following step 208 is executed.
In the above step 202 to step 207, the number of target users is greater than the first preset threshold, and because the number of target users is greater, in practical application, the server may further perform flow control on the data packet in the direct broadcast process through the following steps (1) and (2):
(1) in each statistical period, the server performs real-time statistics on the number of the received data packets in each statistical period and the sum of the number of target users to receive each data packet.
The statistical period may be a relatively short period of time, for example, 3s, the statistical period may be set to count the data packet transmission requirement in a short period of time, and when the data packet transmission requirement is very large, the data packet is screened, so as to achieve the flow control effect. In practical applications, the statistical period may be freely set, and the present invention is not particularly limited thereto.
For example, taking a statistical period of 3s as an example, assuming that, in a certain statistical period, when the time elapses by 0.5s with the start time of the statistical period as a starting point, the server receives 5 packets, and when the server receives the 5 packets, the number of target users acquired is 1000, 999, 1010, 1020, and 1006, respectively, the number of packets counted by the server at the time of 0.5s is 5, and the sum of the number of target users to receive each of the 5 packets is 5035.
(2) And the server maintains a sending list according to the number of the data packets and/or the sum value, wherein the sending list comprises the data types of the data packets allowed to be sent.
The server can determine how to maintain the sending list according to whether the data packet meets the preset flow control condition, so that the sending condition of the data packet is controlled, and the purpose of flow control is achieved. It should be noted that, if the data packet sending condition is not controlled, the number of the data packets received by the server is the number of the data packets that the terminal where the target user is located needs to receive, and the sum is the number of the data packets that the server needs to send. Thus, the number of packets affects the load of the terminal, and the sum affects the load of the server. The server can control the data packet sending condition by maintaining the sending list, thereby effectively avoiding the server and the terminal from overloading and influencing the live broadcast quality.
Specifically, when the number of the data packets and the statistical result of the sum are different, the server has different maintenance procedures for the sending list, and the step (2) may include the following two cases:
in the first case, when the number of the data packets is greater than the fourth preset threshold and/or when the sum is greater than the fifth preset threshold, the server deletes the data type with the later preset number of bits in the priority sequence from the sending list according to the priority of the data type.
The setting of the fourth preset threshold may be determined by a technician based on the processing capability of the terminal, and the setting of the fifth preset threshold may be determined by the technician based on the processing capability of the server, for example, the fourth preset threshold may be 100, the fifth preset threshold may be 6 thousands, of course, the fourth preset threshold and the fifth preset threshold may also be adjusted when the processing capability of the subsequent server or terminal is enhanced or based on an actual use condition, which is not specifically limited in the present invention.
In this case, as long as at least one of the number of the data packets and the sum meets a preset flow control condition, the server may perform the step of deleting the data type with the last preset number of bits in the priority ranking from the sending list, where the preset number of bits may be freely set by a technician, and the present invention is not particularly limited to this, and specifically, the first case may include the following three scenarios:
in the first scenario, the number of the data packets is greater than the fourth preset threshold, but the sum is less than or equal to the fifth preset threshold.
In the second scenario, the sum is greater than the fifth preset threshold, but the number of the data packets is less than or equal to the fourth preset threshold.
In a third scenario, the number of the data packets is greater than a fourth preset threshold, and the sum is greater than a fifth preset threshold.
In the first scene, the overload condition of the terminal can occur due to the excessive number of the data packets, the overload condition of the server can occur due to the excessive sum value in the second scene, and the overload phenomenon can occur in both the terminal and the server in the third scene, so that the live broadcast quality is influenced, therefore, the server can delete a part of the data packets, the load of the server and the terminal is reduced, and the live broadcast quality is ensured.
When the server filters and deletes the data packet, the data type with the preset number of bits in the priority sequence can be deleted from the sending list according to the priority of the data type, and the priority of the data type is set according to the service importance of the data packet.
Specifically, the data types of the data packets may be divided into five categories, wherein the priority ordering may be: the gift and leader board change is a first priority; the chat message is a second priority; the message that the user enters and exits the live room is the third priority; the concern anchor and the share anchor are a fourth priority; like is the fifth priority.
When the number of the data packets and the sum satisfy any one of the above conditions, the server may discard the data packets with the preset number of bits after the priority ranking. For example, taking the preset number of bits as one bit as an example, the server may discard the data packet whose data type of the fifth priority is favorable, so as to reduce the number of data packets that the server needs to send and the number of data packets that the terminal needs to receive, under the condition that more important service data is ensured to be complete. It should be noted that, according to the data statistics result, almost half of the data packets in the live broadcast room with a large number of users have the data type of like data, so that half of the data packets in the live broadcast room can be reduced through the above steps.
If the server performs the deleting operation, the number of the data packets and the sum still conform to the preset flow control condition, and the server can continue to delete the data type with the preset number of bits in the priority sequence in the sending list. For example, the server deletes the approval data type of the fifth priority from the sending list, and the number of the data packets that the server needs to send is still greater than the fourth preset threshold, or the number of the data packets that the terminal needs to receive is still greater than the fifth preset threshold, the server may continue to delete the attention anchor and the sharing anchor data type of the fourth priority from the sending list.
In one possible implementation manner, the server may further classify the data types of the data packets into six categories, wherein the gifts in the first priority are classified into two categories according to the value of the gifts, one is a common gift, and the other is a luxury gift, and the priority ranking may further be: the luxury gift is a first priority, and the common gift and the leader board change are a second priority; the chat message is of third priority; the message that the user enters and exits the live room is the fourth priority; the focus anchor and the share anchor are a fifth priority; like is the sixth priority.
In a possible implementation manner, after deleting the data type with the preset number of bits after the priority ranking from the sending list according to the priority of the data type, a data packet with the data type with the preset number of bits after the priority ranking is reserved in the packet-combined data packet. Specifically, in order not to affect the live broadcast quality and ensure the diversity of the live broadcast data types, after the server deletes the data type with the preset digit number in the priority sequence from the sending list, in the packet-combined data packet, the server can keep a data packet with the data type with the preset digit number in the priority sequence, so that the deleted data packet with the data type cannot be completely deleted, and the live broadcast quality and the diversity of the live broadcast data types are also ensured while the sending requirement of the data packet is reduced.
In the second case, when the number of the data packets is less than or equal to the fourth preset threshold and the sum is less than or equal to the fifth preset threshold, the server adds the data type of the later preset number of bits in the priority sequence deleted in the previous statistical period to the sending list again.
In the second case, if the number of the data packets and the sum do not meet the preset flow control condition, it indicates that the interaction demand of the live broadcast room does not exceed the load of the server and the terminal, and therefore, the server can add the data type of the later preset digits in the priority sequence deleted in the last statistical period into the sending list again, so that more data packets can be ensured as much as possible without overload, thereby improving the live broadcast quality and improving the user experience.
It should be noted that the flow control process is performed in real time, and therefore, the server dynamically adjusts the sending condition of the data packet according to real-time statistical data, so as to ensure that the server and the terminal are not overloaded, and improve the live broadcast quality.
In a possible implementation manner, the server may further detect a type of the data packet when it is determined that the number of the target users is greater than a first preset threshold, and directly send the data packet to the terminal where the target user is located when the type of the data packet is a specified type. For example, the specified type may be a kick-out room data type.
208. And when the number of the target users is smaller than or equal to the first preset threshold value, the server sends the data packet to the terminal where the target users are located.
The number of the target users is smaller than or equal to a first preset threshold value, which indicates that the size of the live broadcast room is small, even if the users in the live broadcast room frequently operate in the live broadcast room, the number of the data packets received by the server and the number of the data packets required to be sent by the server are not too large, the server is completely capable of processing the data packets in the live broadcast room, the live broadcast quality is not affected, and the server can directly send the data packets to the terminal where the target users are located.
When the terminal where the target user is located receives the data packet or the packet-combined data packet sent by the server, the data packet or the packet-combined data packet can be analyzed to obtain the service data content, and the service data content is displayed on the terminal where the target user is located, so that the user can see the dynamic change in the live broadcast room.
Fig. 6 is a flowchart of a data packet sending method according to an embodiment of the present invention, where fig. 6 is a specific example of the data packet sending method, as shown in fig. 6, when a server receives a data packet, it may detect whether the number of target users to receive the data packet is greater than 20, if not, the server may directly send the data packet, if yes, the server may continue to detect whether the data type of the data packet is the data type with priority set above, if not, the data type of the data packet may be the specified type, for example, kicking out a room, entering and exiting a room, the server may directly send the data packet, and if yes, the server may merge the data packet with a previously stored data packet to obtain a combined packet data packet. The server can judge whether the number of the data packets of the packet-combined data packet is less than or equal to 30, whether the length of the packet-combined data packet is less than or equal to 4 kbytes, whether the current system time does not exceed 1s from the last data packet transmission, if the judgment result of any one of the three conditions is negative, the server can transmit the packet-combined data packet, and if the judgment results of the three conditions are positive, the server can store the packet-combined data packet. In addition, when the timer indicates that the current system time is more than 1s from the last detection time, the server may send the stored packet-combined data packet. According to the test result, compared with a mode of directly sending the data packet, the mode of combining and then sending the data packet improves the sending performance of the data packet by 6 times. For example, the method of directly transmitting data packets may transmit 100 data packets every 3s, and the method of combining and then transmitting data packets may transmit 600 data packets every 3s, where the above data is merely an exemplary illustration, and the present invention is not limited thereto.
Fig. 7 is a schematic diagram of a network architecture of an application scenario according to an embodiment of the present invention, and referring to fig. 7, since a live broadcast application may cover multiple countries, and network environments of different countries have an isomerization feature, an address of a server of a specified country may be stored in the server, and accordingly, the server may send a data packet to a terminal where a target user of the specified country is located through the server of the specified country, so that an acceleration point is deployed in the specified country, and problems of low transmission efficiency and low transmission quality caused by international bandwidth transmission may be solved, thereby improving live broadcast quality. For example, a server cluster for a live application may be deployed in hong kong, china, and the server cluster may be an Internet Data Center (IDC) cluster in hong kong, china. The live broadcast application has been expanded to overseas markets, and users in malaysia and users in thailand can also use the live broadcast application, acceleration point clusters can be deployed in malaysia and thailand, and when the IDC cluster in hong kong in china wants to send a data packet to an overseas user, the data packet can be sent to the acceleration point cluster first, and the acceleration point cluster forwards the data packet to the user in the corresponding country. According to the test result, the data packet transmission delay of overseas users can be reduced by half by deploying the acceleration points.
In the embodiment of the invention, the number of target users to receive the data packets is obtained before the data packets are required to be sent to the users in the live broadcast room, and when the number of the users is large, the data packets are merged and then sent, so that the times of sending the data packets by the server can be effectively reduced, the load of the server is reduced, and the live broadcast quality is improved.
Furthermore, the data packets are merged and then sent, and the times of receiving the data packets by the terminal can be effectively reduced, so that the load of the terminal is reduced, and the live broadcast quality is improved.
Furthermore, the embodiment of the invention only increases little extra consumption in the process of merging the data packets, and can send more data packets to the terminal at one time, thereby reducing the times of sending the data packets by the server and the times of receiving the data packets by the terminal, reducing the loads of the server and the terminal, improving the live broadcast quality and improving the user experience.
Furthermore, the embodiment of the invention judges whether the packet-combined data packet is sent or not through the preset conditions of three dimensions, thereby ensuring that the packet sending times of the server and the packet receiving times of the terminal are reduced as much as possible under the condition of not increasing the time delay of the data packet too much, reducing the loads of the server and the terminal and further avoiding the occurrence of the condition of influencing the live broadcast quality.
Furthermore, the embodiment of the invention counts the receiving and sending conditions of the data packet in real time and controls the sending condition of the data packet according to the receiving and sending conditions, thereby effectively avoiding overload of the server and the terminal and influencing the live broadcast quality.
Furthermore, the embodiment of the invention reduces the number of the data packets to be sent by the server and the number of the data packets to be received by the terminal by ensuring the integrity of more important service data, thereby reducing the load of the server and the terminal and avoiding the occurrence of the condition of influencing the live broadcast quality.
Furthermore, the embodiment of the invention reserves a data packet of the data type with the preset digit in the priority sequence in the packet combination data packet, thereby ensuring the live broadcast quality and the diversity of the live broadcast data types.
Furthermore, the embodiment of the invention can solve the problems of low transmission efficiency and low transmission quality caused by international bandwidth transmission by deploying the server in the specified country and sending the data packet to the user in the specified country through the server in the specified country, thereby improving the live broadcast quality.
In practical application, the data packet transmission method may be applied to the above-mentioned live network scenario, as well as to a scenario such as message distribution, video chat, or voice chat in a user group, that is, the target user may be a user in a live broadcast room, or a user in a user group. Referring to fig. 8, in these scenarios, the packet sending method may include the following steps:
801. when the data packet is received, the server acquires the number of users in the user group to receive the data packet.
Similarly to step 201, when any user in the user group exits the user group, a new user joins the user group, any user initiates a voice chat, a video chat or issues a message in the group, and the like, the terminal where the user is located may send a data packet to the server, and the server receives the data packet, may detect the number of users in the user group, where the number of users in the user group is the number of target users to receive the data packet in step 201, and the target users may be the number of online users in the user group.
802. When the number of users in the user group is greater than a first preset threshold value and at least two data packets to be sent are stored in the server, the server generates a packet-combined data packet according to the at least two data packets to be sent.
803. And when the packet combination data packet meets the preset conditions, the server sends the packet combination data packet to a terminal where the user in the user group is located.
804. And when the packet combination data packet does not meet the preset condition, the server stores the packet combination data packet.
805. When the number of the user group users is greater than a first preset threshold and a single data packet to be sent is stored in the server, the server determines whether the data packet meets a preset condition, and if so, executes step 806; if not, step 807 is performed.
806. And when the data packet meets the preset conditions, the server sends the data packet to the terminal where the target user is located.
807. And when the data packet does not meet the preset condition, the server stores the data packet.
808. And when the number of the users in the user group is smaller than or equal to the first preset threshold value, the server sends the data packet to the terminal where the users in the user group are located.
The steps 802 to 808 are similar to the steps 202 to 208, in which the users in the user group in the steps 802 to 808 are the target users in the steps 202 to 208, and the target users in the steps 202 to 208 are the users in the live room.
In the embodiment of the invention, the number of the target users to receive the data packets is obtained before the data packets are required to be sent to the users in the user group, and when the number of the users is large, the data packets are merged and then sent, so that the times of sending the data packets by the server can be effectively reduced, the load of the server is reduced, and the reliability of data synchronization of the user group is improved.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 9 is a schematic structural diagram of a data packet transmitting apparatus according to an embodiment of the present invention. The apparatus is applied to a server, and referring to fig. 9, the apparatus includes:
a detection module 901, configured to obtain the number of target users that are to receive a data packet;
a merging module 902, configured to generate a packet merging data packet according to at least two data packets to be sent when the number of the target users is greater than a first preset threshold and the server stores the at least two data packets to be sent;
a sending module 903, configured to send the packet combination data packet to the terminal where the target user is located when the packet combination data packet meets a preset condition.
In one embodiment, the merge module 902 is configured to: and combining the at least two data packets to be sent into a packet combination data packet according to the receiving time of the at least two data packets to be sent, and generating a length field, a packet combination command word field and a data packet number field of the packet combination data packet based on the at least packet combination data packet.
In one embodiment, the apparatus further comprises:
the determining module is used for determining whether the data packets meet preset conditions or not when the number of the target users is larger than a first preset threshold and a single data packet to be sent is stored in the server;
the sending module 903 is further configured to send the data packet to the terminal where the target user is located when the data packet meets a preset condition.
In one embodiment, the apparatus further comprises:
and the second storage module is used for storing the packet combination data packet when the packet combination data packet does not accord with the preset condition.
In one embodiment, the sending module 903 is configured to:
when the number of the data packets in the packet-combined data packet is greater than a second preset threshold value, sending the packet-combined data packet to a terminal where the target user is located; or the like, or, alternatively,
when the length of the packet-combined data packet is greater than a third preset threshold value, the packet-combined data packet is sent to a terminal where the target user is located; or the like, or, alternatively,
and when the time interval between the current system time and the last data packet sending time exceeds a first preset time interval, sending the packet-combined data packet to the terminal where the target user is located.
In an embodiment, the sending module 903 is further configured to send the data packet to the terminal where the target user is located when the number of the target users is smaller than or equal to the first preset threshold.
In one embodiment, the sending module 903 is further configured to:
regularly detecting whether a data packet to be sent is stored in the server;
and when the timer indicates that the time interval between the current system time and the last detection time exceeds a second preset time interval and the server stores the data packet to be sent, sending the data packet to the terminal where the target user is located.
In one embodiment, the apparatus further comprises:
the counting module is used for counting the number of the received data packets in each counting period and the sum of the number of the target users to receive each data packet in real time in each counting period;
and the list maintenance module is used for maintaining a sending list according to the number of the data packets and/or the sum, wherein the sending list comprises the data types of the data packets allowed to be sent.
In one embodiment, the list maintenance module is to:
when the number of the data packets is larger than a fourth preset threshold and/or when the sum is larger than a fifth preset threshold, deleting the data types with the preset number of bits in the priority sequence from the sending list according to the priority of the data types;
and when the number of the data packets is less than or equal to a fourth preset threshold and the sum value is less than or equal to a fifth preset threshold, adding the data type of the later preset number of bits in the priority sequence deleted in the previous statistical period into the sending list again.
In one embodiment, the apparatus further comprises:
and the reserving module is used for reserving a data packet of which the data type is the data type with the preset digit behind the priority sequence in the packet-combined data packet.
In one embodiment, the priority of the data type is set according to the service importance of the data packet.
In an embodiment, the server stores an address of a server in a specified country, and accordingly, the sending module 903 is further configured to send the data packet to the terminal where the target user in the specified country is located through the server in the specified country.
In one embodiment, the target user is a user in a user group, or the target user is a user in a live room.
The device provided by the embodiment of the invention acquires the number of target users to receive the data packets before the data packets need to be sent to the users, and when the number of the users is large, the data packets are merged and then sent, so that the times of sending the data packets by the server can be effectively reduced, the load of the server is reduced, the live broadcast quality or the reliability of data synchronization of user groups is improved, and the service quality is improved.
It should be noted that: in the above embodiment, when the data packet sending device sends a data packet, only the division of the functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the data packet sending apparatus and the data packet sending method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server 1000 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1001 and one or more memories 1002, where the memory 1002 stores at least one instruction or a computer program, and the at least one instruction or the computer program is loaded and executed by the processors 1001 to implement the methods provided by the method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, storing a computer program, which when processed and executed, implements the above-described packet transmission method. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (25)

1. A data packet sending method is applied to a server, and the method comprises the following steps:
acquiring the number of target users to receive data packets;
when the number of the target users is larger than a first preset threshold value and at least two data packets to be sent are stored in the server, generating a packet combination data packet according to the at least two data packets to be sent;
when the packet combination data packet meets the preset condition, the packet combination data packet is sent to the terminal where the target user is located;
in each statistical period, counting the number of the received data packets in each statistical period in real time and the sum of the number of target users to receive each data packet;
and when the number of the data packets is smaller than or equal to a fourth preset threshold value and the sum value is smaller than or equal to a fifth preset threshold value, adding the data types of the later preset digits in the priority sequence deleted in the last statistical period into a sending list again, wherein the sending list comprises the data types of the data packets allowed to be sent.
2. The method of claim 1, wherein generating a combined packet data packet according to the at least two data packets to be transmitted comprises:
and combining the at least two data packets to be sent into a combined packet data packet according to the receiving time of the at least two data packets to be sent, and generating a length field, a combined packet command word field and a data packet number field of the combined packet data packet based on the combined packet data packet.
3. The method of claim 1, further comprising:
when the number of the target users is larger than a first preset threshold value and a single data packet to be sent is stored in the server, determining whether the data packet meets a preset condition;
and when the data packet meets the preset condition, sending the data packet to the terminal where the target user is located.
4. The method of claim 1, further comprising:
and when the packet combination data packet does not meet the preset condition, storing the packet combination data packet.
5. The method according to claim 1, wherein the sending the packet combination data packet to the terminal where the target user is located when the packet combination data packet meets a preset condition includes:
when the number of the data packets in the packet-combined data packet is larger than a second preset threshold value, the packet-combined data packet is sent to a terminal where the target user is located; or the like, or, alternatively,
when the length of the packet combination data packet is larger than a third preset threshold value, the packet combination data packet is sent to a terminal where the target user is located; or the like, or, alternatively,
and when the time interval between the current system time and the last data packet sending time exceeds a first preset time interval, sending the packet-combined data packet to the terminal where the target user is located.
6. The method of claim 1, further comprising:
and when the number of the target users is smaller than or equal to the first preset threshold value and a single data packet is stored in the server, sending the data packet to the terminal where the target users are located.
7. The method of claim 1, further comprising:
regularly detecting whether a data packet to be sent is stored in the server;
and when the timer indicates that the time interval between the current system time and the last detection time exceeds a second preset time interval and the server stores the data packet to be sent, sending the data packet to the terminal where the target user is located.
8. The method of claim 1, further comprising:
and when the number of the data packets is greater than a fourth preset threshold value and/or when the sum value is greater than a fifth preset threshold value, deleting the data types with the preset number of bits in the priority sequence from the sending list according to the priority of the data types.
9. The method of claim 8, wherein after removing the data type with the last predetermined number of bits in the priority order from the transmission list according to the priority of the data type, the method further comprises:
and reserving a data packet with a data type of a preset digit after the priority sequence in the packet-combined data packet.
10. The method according to claim 1, wherein the server stores an address of a server in a specified country, and accordingly, the sending the combined packet data packet to the terminal where the target user is located comprises: and sending a data packet to the terminal of the target user in the specified country through the server in the specified country.
11. The method of claim 1, wherein the target user is a user in a user group, or wherein the target user is a user in a live room.
12. A packet transmission apparatus, applied to a server, the apparatus comprising:
the detection module is used for acquiring the number of target users to receive the data packets;
the merging module is used for generating a packet merging data packet according to the at least two data packets to be sent when the number of the target users is larger than a first preset threshold and the server stores the at least two data packets to be sent;
the sending module is used for sending the packet combination data packet to a terminal where the target user is located when the packet combination data packet meets a preset condition;
the device further comprises:
the counting module is used for counting the number of the received data packets in each counting period and the sum of the number of the target users to receive each data packet in real time in each counting period;
and the list maintenance module is used for maintaining a sending list according to the number of the data packets and/or the sum, wherein the sending list comprises the data types of the data packets allowed to be sent.
13. The apparatus of claim 12, wherein the merging module is configured to: and combining the at least two data packets to be sent into a packet combination data packet according to the receiving time of the at least two data packets to be sent, and generating a length field, a packet combination command word field and a data packet number field of the packet combination data packet based on the at least packet combination data packet.
14. The apparatus of claim 12, further comprising:
the determining module is used for determining whether the data packets meet preset conditions or not when the number of the target users is larger than a first preset threshold and a single data packet to be sent is stored in the server;
and the sending module is further used for sending the data packet to the terminal where the target user is located when the data packet meets the preset condition.
15. The apparatus of claim 12, further comprising:
and the second storage module is used for storing the packet combination data packet when the packet combination data packet does not accord with the preset condition.
16. The apparatus of claim 12, wherein the sending module is configured to:
when the number of the data packets in the packet-combined data packet is larger than a second preset threshold value, the packet-combined data packet is sent to a terminal where the target user is located; or the like, or, alternatively,
when the length of the packet combination data packet is larger than a third preset threshold value, the packet combination data packet is sent to a terminal where the target user is located; or the like, or, alternatively,
and when the time interval between the current system time and the last data packet sending time exceeds a first preset time interval, sending the packet-combined data packet to the terminal where the target user is located.
17. The apparatus according to claim 12, wherein the sending module is further configured to send the data packet to the terminal where the target user is located when the number of the target users is smaller than or equal to the first preset threshold.
18. The apparatus of claim 12, wherein the sending module is further configured to:
regularly detecting whether a data packet to be sent is stored in the server;
and when the timer indicates that the time interval between the current system time and the last detection time exceeds a second preset time interval and the server stores the data packet to be sent, sending the data packet to the terminal where the target user is located.
19. The apparatus of claim 12, wherein the list maintenance module is further configured to:
and when the number of the data packets is greater than a fourth preset threshold value and/or when the sum value is greater than a fifth preset threshold value, deleting the data types with the preset number of bits in the priority sequence from the sending list according to the priority of the data types.
20. The apparatus of claim 19, further comprising:
and the reserving module is used for reserving a data packet of which the data type is the data type with the preset number of bits after the priority sequence in the packet-combined data packet.
21. The apparatus of claim 12, wherein the priority of the data type is set according to a traffic importance of the data packet.
22. The apparatus according to claim 12, wherein the server has an address of a server in a specified country stored thereon, and accordingly, the sending module is further configured to send the data packet to the terminal where the target user in the specified country is located through the server in the specified country.
23. The apparatus of claim 12, wherein the target user is a user in a user group, or wherein the target user is a user in a live room.
24. A server, comprising:
a processor;
a memory for storing a computer program;
wherein the processor is adapted to execute a computer program stored on the memory to perform the method steps of any of claims 1-11.
25. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 11.
CN201810019152.4A 2018-01-09 2018-01-09 Data packet transmitting method, device, server and computer readable storage medium Active CN110022335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810019152.4A CN110022335B (en) 2018-01-09 2018-01-09 Data packet transmitting method, device, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810019152.4A CN110022335B (en) 2018-01-09 2018-01-09 Data packet transmitting method, device, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110022335A CN110022335A (en) 2019-07-16
CN110022335B true CN110022335B (en) 2021-10-29

Family

ID=67187770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810019152.4A Active CN110022335B (en) 2018-01-09 2018-01-09 Data packet transmitting method, device, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110022335B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112136104A (en) * 2019-07-29 2020-12-25 深圳市大疆创新科技有限公司 Data packet writing method and device, control terminal and movable platform
CN112839308B (en) * 2019-11-25 2022-06-03 成都鼎桥通信技术有限公司 Data processing method, device and storage medium
CN111404908B (en) * 2020-03-10 2021-09-10 腾讯科技(深圳)有限公司 Data interaction method and device, electronic equipment and readable storage medium
CN114885360B (en) * 2022-06-09 2024-07-26 中国联合网络通信集团有限公司 Time delay reliability determining method, access network equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559695A (en) * 2016-10-14 2017-04-05 北京金山安全软件有限公司 Barrage message processing method and device and electronic equipment
CN107231294A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 Message treatment method and device
CN107231350A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 A kind of message treatment method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160005064A1 (en) * 2014-03-04 2016-01-07 Paul Joseph Pedroni System and Method for Music-based Social Interaction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559695A (en) * 2016-10-14 2017-04-05 北京金山安全软件有限公司 Barrage message processing method and device and electronic equipment
CN107231294A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 Message treatment method and device
CN107231350A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 A kind of message treatment method and device

Also Published As

Publication number Publication date
CN110022335A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
US10891177B2 (en) Message management method and device, and storage medium
CN110022335B (en) Data packet transmitting method, device, server and computer readable storage medium
CN108259383B (en) Data transmission method and network equipment
CN111447447B (en) Live broadcast encoding method and device and electronic equipment
CN106330757B (en) Flow control method and device
CN108494676B (en) Data transmission method, data transmission device, data transceiving equipment, data transceiving system and storage medium
EP2760163A1 (en) Network latency optimization
WO2023103419A1 (en) Message queue-based method and apparatus for sending 5g messages in batches, and electronic device
US11863841B2 (en) Video playing control method and system
CN108924609B (en) Streaming media data transmission method, electronic equipment, device and storage medium
US11924255B2 (en) Data transmission method and apparatus, server, storage medium, and program product
US20240106891A1 (en) Peer-to-peer network scheduling method and system
CN117614517B (en) Multilink data transmission method and device based on data transmission quantity control
CN112312162B (en) Video server for transmitting video stream
WO2023125380A1 (en) Data management method and corresponding apparatus
CN112188144B (en) Audio transmission method and device, storage medium and electronic device
CN111510737B (en) Video data transmission method, device, equipment and storage medium
CN117395167A (en) Service level configuration method and device
CN105791987B (en) media data playing method and terminal
CN113835905B (en) Message queue load balancing method and device, electronic equipment and medium
CN111538572A (en) Task processing method, device, scheduling server and medium
CN110351577B (en) Live broadcast information processing method and device, storage medium and electronic equipment
CN112533012A (en) Live broadcast room interactive information method and device
CN111491207A (en) Video data processing method and device in live broadcast and electronic equipment
CN113824689A (en) Edge computing network, data transmission method, device, equipment 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