CN115119010B - Wheat connecting method, device, electronic equipment and storage medium - Google Patents

Wheat connecting method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115119010B
CN115119010B CN202210760741.4A CN202210760741A CN115119010B CN 115119010 B CN115119010 B CN 115119010B CN 202210760741 A CN202210760741 A CN 202210760741A CN 115119010 B CN115119010 B CN 115119010B
Authority
CN
China
Prior art keywords
terminal
response
wheat connecting
wheat
communication
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
CN202210760741.4A
Other languages
Chinese (zh)
Other versions
CN115119010A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202210760741.4A priority Critical patent/CN115119010B/en
Publication of CN115119010A publication Critical patent/CN115119010A/en
Application granted granted Critical
Publication of CN115119010B publication Critical patent/CN115119010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a wheat connecting method, a device, electronic equipment and a storage medium, which are applied to the technical field of Internet, wherein the method comprises the following steps: acquiring a wheat connecting parameter of at least one wheat connecting response terminal, wherein the wheat connecting parameter is used for indicating the network communication quality between a wheat connecting initiating terminal and the wheat connecting response terminal; selecting a target communication terminal with the best network communication quality from at least one communication terminal, establishing a communication session between the communication initiating terminal and the target communication terminal, and pushing communication data corresponding to the communication session. The method and the device solve the problems that in the prior art, when the current network is poor, the live broadcast picture is blocked, delayed and the like are easily caused by randomly selecting the wheat connecting response terminal.

Description

Wheat connecting method, device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of internet, in particular to a wheat connecting method, a wheat connecting device, electronic equipment and a storage medium.
Background
When the interactive live broadcast service is initially started, audiences can only watch the anchor in one direction; later, due to the interaction requirement of audiences, the interaction function of the characters and the barrage is gradually developed; in order to further enrich the interaction experience of the host and the audience, live-broadcast communication service is generated, namely, the host can perform multi-person audio-video interaction with a specific audience (which can be called as communication audience or communication fan), and the common audience can watch the audio-video interaction process of the host and the communication audience.
However, in the related art, when a host selects a link audience to link, the host will choose randomly, and if the current network of the selected user is not good, the situation such as blocking and delay of the live broadcast picture is easy to cause.
Disclosure of Invention
The application provides a wheat connecting method, a device, electronic equipment and a storage medium, which are used for solving the problems that in the prior art, a wheat connecting response terminal is randomly selected, and when the current network is poor, the conditions such as live broadcast picture blocking and time delay are easily caused.
In a first aspect, an embodiment of the present application provides a wheat connecting method, including:
acquiring a wheat connecting parameter of at least one wheat connecting response terminal, wherein the wheat connecting parameter is used for indicating the network communication quality between a wheat connecting initiating terminal and the wheat connecting response terminal;
selecting a target communication terminal with the best network communication quality from at least one communication terminal, establishing a communication session between the communication initiating terminal and the target communication terminal, and pushing communication data corresponding to the communication session.
Optionally, the method further comprises:
based on the headset parameters, determining a candidate headset response terminal set in the at least one headset response terminal, wherein the candidate headset response terminal set is a set of headset response terminals with a first preset value before the best network communication quality;
and when the communication parameters of the target communication terminal do not meet the expected conditions, reselecting the communication session communication terminal from the candidate communication terminal set.
Optionally, the wheat connecting parameters include: the selecting the target link response terminal with the best link quality from the at least one link response terminal comprises the following steps:
sequencing the at least one wheat connecting response terminal according to the quality of the picture quality to obtain a first sequencing result;
if the number of the first link response terminals is at least two in the first sequencing result, sequencing the first link response terminals according to the length of the routing length to obtain a second sequencing result, wherein the first link response terminals are link response terminals with optimal picture quality; if the number of the first connecting response terminals is one in the first sequencing result, determining that the first connecting response terminal is the target connecting response terminal;
if the number of the second wheat connecting response terminals is at least two in the second sequencing result, sequencing the second wheat connecting response terminals according to the number of the historical wheat connecting times to obtain a third sequencing result, wherein the second wheat connecting response terminals are the wheat connecting response terminals with the shortest routing length; if the number of the second wheat connecting response terminals is one in the second sequencing result, determining that the second wheat connecting response terminals are the target wheat connecting response terminals;
and taking the wheat connecting response terminal with the largest historical wheat connecting times in the third sequencing result as the target wheat connecting response terminal.
Optionally, the wheat connecting parameters include: the step of determining a candidate link response terminal set in the at least one link response terminal based on the link parameters comprises the following steps:
filtering the continuous-wheat response terminals of which the continuous-wheat parameters meet preset filtering conditions to obtain the candidate continuous-wheat response terminal set; the filtering conditions include: the picture quality is lower than at least one of the preset picture quality, the historical number of times of connecting wheat is smaller than a second preset value and the routing length is larger than a third preset value.
Optionally, after obtaining the headset parameters of the at least one headset response terminal, the method further includes:
determining pattern description information of each wheat connecting response terminal according to the wheat connecting parameters, wherein the pattern description information is used for indicating the quality degree of the picture display quality;
and displaying each pattern description information corresponding to the wheat connecting response terminal.
Optionally, the determining the pattern description information of each headset response terminal according to the headset parameters includes:
determining a first sub-quality interval in which the wheat connecting parameter is located in a first preset quality interval;
and determining the first pattern description information corresponding to the first sub-quality interval as the pattern description information of the wheat connecting response terminal.
Optionally, when the number of the headset parameters is at least two, determining the pattern description information of each headset response terminal according to the headset parameters includes:
determining a second sub-quality interval in which each wheat connecting parameter is located in a corresponding second preset quality interval;
determining second pattern description information corresponding to each second sub-quality interval;
and determining the pattern description information of the wheat connecting response terminal according to each piece of the second pattern description information.
Optionally, the determining the pattern description information of the headset response terminal according to each piece of the second pattern description information includes:
if the second pattern description information indicating that the picture display quality is poor exists in the second pattern description information, determining that the pattern description information of the wheat connecting response terminal indicates that the picture display quality is poor;
and if the second pattern description information indicates that the picture display quality is excellent, determining that the pattern description information of the wheat connecting response terminal indicates that the picture display quality is excellent.
Optionally, the obtaining the headset parameter of the at least one headset response terminal includes:
acquiring delivery information sent by each wheat connecting response terminal;
determining target delivery information in the delivery information of each wheat connecting response terminal;
and determining the wheat connecting parameters of the wheat connecting response terminal according to the target delivery information.
Optionally, the target delivery information includes a frame quantization parameter, a retransmission amount, a packet loss amount, network delay information and a total packet transmission amount, and determining the wheat connecting parameter of the wheat connecting response terminal according to the target delivery information includes:
determining a definition subinterval in which the picture quantization parameter is located in a preset definition interval, and taking picture definition corresponding to the definition subinterval as picture definition of the picture quantization parameter;
determining a retransmission rate according to the retransmission amount and the total amount of the transmission packets;
determining a packet loss rate according to the packet loss amount and the total packet transmission amount;
determining the smoothness of the picture according to the retransmission rate, the packet loss rate and the network delay information;
and determining the definition of the picture and the fluency of the picture as the wheat connecting parameters.
Optionally, the determining the target delivery information in the delivery information of each wheat connecting response terminal includes:
and determining the maximum value in each delivery information as the target delivery information.
In a second aspect, embodiments of the present application provide a wheat connecting device, including:
the communication terminal comprises an acquisition module, a communication module and a communication module, wherein the acquisition module is used for acquiring a communication parameter of at least one communication response terminal, and the communication parameter is used for indicating the network communication quality between a communication initiation terminal and the communication response terminal and pushing communication data corresponding to the communication dialogue;
and the wheat connecting module is used for selecting a target wheat connecting response terminal with optimal network communication from at least one wheat connecting response terminal, and establishing a communication dialogue between the wheat connecting initiating terminal and the target wheat connecting response terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the wheat connecting method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the wheat connecting method of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the wheat connecting parameters of at least one wheat connecting response terminal are obtained, and the wheat connecting parameters are used for indicating the network communication quality between the wheat connecting initiating terminal and the wheat connecting response terminal; and selecting a target communication terminal with the best network communication quality from at least one communication terminal, and establishing a communication dialogue between the communication initiating terminal and the target communication terminal. In this way, the target communication terminal with the best network communication quality is selected from at least one communication terminal through the communication parameters, and the communication dialogue is established between the target communication terminal with the best network communication quality and the communication initiation terminal, so that the communication quality between the target communication terminal and the communication initiation terminal is ensured, and the conditions of blocking and time delay in the connection process of the communication response terminal selected randomly are avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is an application scenario diagram of a wheat connecting method according to an embodiment of the present application;
FIG. 2 is a flow chart of a wheat connecting method according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a wheat connecting device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
Before describing embodiments of the present invention in further detail, the terms and terminology involved in the embodiments of the present invention will be described, and the terms and terminology involved in the embodiments of the present invention will be used in the following explanation.
Quantization Parameter (QP): reflects the space detail compression condition, such as small QP, most of the details are reserved; QP increases, some detail is lost, code rate decreases, but image distortion increases and quality decreases.
According to an embodiment of the application, a wheat connecting method is provided. Alternatively, in the embodiment of the present application, the above-mentioned wheat linking method may be applied to a hardware environment formed by the terminal 101 and the server 102 as shown in fig. 1. As shown in fig. 1, the server 102 is connected to the terminal 101 through a network, which may be used to provide services (such as video services, application services, etc.) to the terminal or clients installed on the terminal, and a database may be provided on the server or independent of the server, for providing data storage services to the server 102, where the network includes, but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, or the like.
The wheat connecting method in the embodiment of the present application may be executed by the server 102, may be executed by the terminal 101, or may be executed by both the server 102 and the terminal 101. The terminal 101 may execute the wheat connecting method according to the embodiment of the present application, or may be executed by a client installed thereon.
In one implementation scenario of the present application, but not limited to, multi-person video communication is possible, and the frames of each communication response terminal are displayed on the same large screen, in the communication process, the communication initiation terminal can select any communication response terminal in the large screen to perform communication according to the need. In the live broadcasting process, the audience can request to connect with the host through the client on the connecting wheat response terminal, the host can trigger the connecting wheat starting operation by clicking the connecting wheat button on the live broadcasting interface, and the client of the connecting wheat initiating terminal responds to the connecting wheat starting operation and sends the applicable connecting wheat notification to the service server.
Taking a server to execute the wheat connecting method according to the embodiment of the present application as an example, fig. 2 is a schematic flow chart of an alternative wheat connecting method according to the embodiment of the present application, as shown in fig. 2, the flow of the method may include the following steps:
step 201, obtaining a wheat connecting parameter of at least one wheat connecting response terminal, wherein the wheat connecting parameter is used for indicating the network communication quality between a wheat connecting initiating terminal and the wheat connecting response terminal;
in some embodiments, after the headset initiating terminal initiates the headset, the headset responding terminal generally receives the headset signal capable of performing headset and sends the headset parameter of itself to the headset responding terminal, so that the headset initiating terminal obtains at least one headset parameter of the headset responding terminal.
When the headset response terminal transmits the headset parameters, the headset response terminal may transmit the headset parameters according to a preset transmission rule, for example, the headset parameters are transmitted once every first preset time period. The first preset duration may be set according to practical situations, for example, set to 5 seconds.
The communication parameters are used for indicating the network communication quality between the communication initiating terminal and the communication responding terminal. The variety of the link parameters is various, and for example, the link parameters can include the picture quality, the historical link times, the route length and the like of the link response terminal. The picture quality can be, but is not limited to, the service type, the picture definition and the picture fluency of the communication response terminal. The service type indicates the data source of the wheat connecting parameters, and the data source comprises the wheat connecting response terminal directly sent to the wheat connecting initiating terminal or the wheat connecting response terminal server sent to the wheat connecting initiating terminal.
In an optional embodiment, the obtaining the headset parameter of the at least one headset response terminal includes:
acquiring delivery information sent by each wheat connecting response terminal; determining target delivery information in the delivery information of each wheat connecting response terminal; and determining the wheat connecting parameters of the wheat connecting response terminal according to the target delivery information.
In some embodiments, the delivery information of the headset response terminal may be obtained according to a preset rule, for example, the delivery information in the second preset duration is obtained. The second preset duration may be set according to practical situations, for example, set to 20 seconds. Wherein the second preset time period is longer than the first preset time period.
Further, after the delivery information is acquired, since the acquired delivery information includes at least one delivery information, the target delivery information can be determined from the delivery information, and then the wheat connecting parameter can be determined according to the target delivery information.
In an optional embodiment, the determining the target delivery information in the delivery information of each of the headset response terminals includes:
and determining the maximum value in each type of delivery information as the target delivery information.
In some embodiments, the delivery information may be more than one type, and thus, in the acquired delivery information, the maximum value of each type of delivery information may be determined as the target delivery information according to different types of delivery information.
In an optional embodiment, the target delivery information includes a frame quantization parameter, a retransmission amount, a packet loss amount, network delay information, and a total packet transmission amount, and determining the headset parameter of the headset response terminal according to the target delivery information includes:
determining a definition subinterval in which the picture quantization parameter is located in a preset definition interval, and taking picture definition corresponding to the definition subinterval as picture definition of the picture quantization parameter; determining a retransmission rate according to the retransmission amount and the total amount of the transmission packets; determining a packet loss rate according to the packet loss amount and the total packet transmission amount; determining the smoothness of the picture according to the retransmission rate, the packet loss rate and the network delay information; and determining the definition of the picture and the fluency of the picture as the wheat connecting parameters.
In some embodiments, the typical picture quantization parameters often have different formats, such as h.264 and VP8, where the value range is 0 to 51 when the format is h.264, and the value range is 1 to 127 when the format is VP8, and the different value ranges are divided to determine the value ranges of different picture resolutions, so that after the picture quantization parameters are obtained, the definition subinterval to which the picture quantization parameters belong can be determined, so as to determine the picture definition.
For example, when the format is h.264, the 0 to 51 may be mapped to 0 to 100, and the preset definition interval is divided into: the h.264 range 56 to 66 indicates that the picture sharpness is medium, less than 56 indicates that the picture sharpness is good, and more than 66 indicates that the picture sharpness is poor.
When the format is VP8 definition, a qp value of 70 or less may indicate that the picture definition is good, a picture definition of 100 or more indicates that the picture definition is blurred, and a picture definition of 70-100 indicates that the picture definition is moderate.
Wherein, the picture fluency can be divided as follows: the picture fluency is 0-50, the picture fluency is 50-80 is medium, and the picture fluency is more than 80 is poor.
In addition, after the retransmission amount and the total packet transmission amount are obtained, dividing the retransmission amount by the total packet transmission amount to obtain a retransmission rate, and dividing the packet loss amount by the total packet transmission amount to obtain a packet loss rate, then determining the picture smoothness based on the retransmission rate, the packet loss rate and the network delay information. Specifically, the frame smoothness may be a sum of the retransmission rate, the packet loss rate and the network delay information, where the retransmission rate and the packet loss rate are smaller than 1, and are calculated according to a ratio of corresponding percentages during calculation.
Step 202, selecting a target communication terminal with the best network communication quality from at least one communication terminal, establishing a communication session between the communication initiating terminal and the target communication terminal, and pushing communication data corresponding to the communication session.
In some embodiments, after the headset parameters are obtained, because the headset parameters of the headset response terminals may be different, the network communication quality between the different headset response terminals and the headset initiating terminal is different, in order to avoid the situation that the communication quality is poor after the headset is performed between the headset response terminals and the headset initiating terminal, a target headset response terminal with the best network communication quality is selected from at least one headset response terminal, and a communication session is established between the target headset response terminal with the best network communication quality and the headset initiating terminal, so that the headset quality of the target headset response terminal and the headset initiating terminal is ensured.
The communication session may be a voice session or an audio-video session.
And pushing communication data corresponding to the communication dialogue while establishing the communication dialogue between the communication initiating terminal and the target communication responding terminal, so that the communication dialogue condition between the target communication responding terminal and the communication initiating terminal can be watched by the communication responding terminal and/or other terminals watching live broadcast based on the communication data.
In an alternative embodiment, the wheat connecting method provided in the present application further includes:
based on the headset parameters, determining a candidate headset response terminal set in the at least one headset response terminal, wherein the candidate headset response terminal set is a set of headset response terminals with a first preset value before the best network communication quality; and when the communication parameters of the target communication terminal do not meet the expected conditions, reselecting the communication session communication terminal from the candidate communication terminal set.
In some embodiments, in the process of connecting with the wheat connecting initiating terminal, the target wheat connecting responding terminal may move or other problems occur due to the terminal, so that the wheat connecting parameters of the target wheat connecting responding terminal do not meet the expected conditions. Firstly, a candidate communication terminal set with better network communication quality is determined based on the communication parameters of each communication terminal, and when the communication parameters of the target communication terminal do not meet the expected conditions, the communication terminal for communication conversation can be directly reselected from the candidate communication terminal set. Therefore, when the communication session quality is poor due to the fact that the previous connection target communication response terminal is not capable of meeting the expected conditions due to the communication parameters, the communication session communication response terminal can be directly reselected from the candidate communication response terminal set, the communication parameters are not required to be compared again, and the time for establishing the communication session with the communication response terminal is saved.
In an alternative embodiment, the wheat linking parameters include: the selecting the target link response terminal with the best link quality from the at least one link response terminal comprises the following steps:
sequencing the at least one wheat connecting response terminal according to the quality of the picture quality to obtain a first sequencing result; if the number of the first link response terminals is at least two in the first sequencing result, sequencing the first link response terminals according to the length of the routing length to obtain a second sequencing result, wherein the first link response terminals are link response terminals with optimal picture quality; if the number of the first connecting response terminals is one in the first sequencing result, determining that the first connecting response terminal is the target connecting response terminal; if the number of the second wheat connecting response terminals is at least two in the second sequencing result, sequencing the second wheat connecting response terminals according to the number of the historical wheat connecting times to obtain a third sequencing result, wherein the second wheat connecting response terminals are the wheat connecting response terminals with the shortest routing length; if the number of the second wheat connecting response terminals is one in the second sequencing result, determining that the second wheat connecting response terminals are the target wheat connecting response terminals; and taking the wheat connecting response terminal with the largest historical wheat connecting times in the third sequencing result as the target wheat connecting response terminal.
In some embodiments, the target headset response terminal is finally determined by sorting and screening the picture quality, the historical headset times, the routing length and the like in the headset parameters one by one. It can be understood that the above-mentioned sequence of sorting the headset response terminals according to the picture quality, the historical headset times and the routing length may also be other manners, for example, sorting the headset response terminals according to the sequence of the routing length, the picture quality and the historical headset times.
In an alternative embodiment, the wheat linking parameters include: the step of determining a candidate link response terminal set in the at least one link response terminal based on the link parameters comprises the following steps:
filtering the continuous-wheat response terminals of which the continuous-wheat parameters meet preset filtering conditions to obtain the candidate continuous-wheat response terminal set; the filtering conditions include: the picture quality is lower than at least one of the preset picture quality, the historical number of times of connecting wheat is smaller than a second preset value and the routing length is larger than a third preset value.
In an optional embodiment, after obtaining the headset parameters of the at least one headset response terminal, the method further includes:
determining pattern description information of each wheat connecting response terminal according to the wheat connecting parameters, wherein the pattern description information is used for indicating the quality of the picture display quality of the wheat connecting response terminal; and displaying each pattern description information corresponding to the wheat connecting response terminal.
In some embodiments, after determining the linking parameter, the linking parameter includes a picture definition and a picture smoothness, and when determining the corresponding pattern description information, the linking parameter may be determined according to the picture definition and the picture smoothness. For example, when the picture smoothness is excellent and the picture sharpness is also excellent, the picture display quality is determined to be excellent, and thus the pattern description information is determined to indicate that the picture display quality is excellent.
The pattern description information may be indicated by a color, or may be indicated by a pattern or a symbol, or may be displayed in combination with the pattern description information.
For example, if the picture display quality is excellent, green is displayed; the picture display quality is medium, yellow is displayed, the picture display quality is poor, and red is displayed. The pattern may be any pattern, for example, a signal pattern.
In an optional embodiment, the determining the pattern description information of each headset response terminal according to the headset parameters includes:
determining a first sub-quality interval in which the wheat connecting parameter is located in a first preset quality interval; and determining the first pattern description information corresponding to the first sub-quality interval as the pattern description information of the wheat connecting response terminal.
In some embodiments, the headset parameters may vary with the network conditions of the headset responsive terminal. In different application scenarios, the variety of the wheat connecting parameters may be one or more.
Specifically, when the linking parameter is one type, taking the linking parameter as the picture definition as an example, after obtaining the picture definition each time, a first sub-quality section where the picture definition is located in a first preset quality section can be determined first; and determining the first pattern description information corresponding to the first sub-quality interval as the pattern description information of the wheat connecting response terminal.
Based on the above related embodiments, the first preset quality interval is 0-100, if the picture definition is 110VP8, the first sub-quality interval where the picture definition is located is determined to be more than 100, so that the picture definition can be determined to be very blurred in picture quality, and further, the pattern description information is determined to be red.
In an optional embodiment, when the number of the headset parameters is at least two, the determining, according to the headset parameters, the pattern description information of each headset response terminal includes:
determining a second sub-quality interval in which each wheat connecting parameter is located in a corresponding second preset quality interval; determining second pattern description information corresponding to each second sub-quality interval; and determining the pattern description information of the wheat connecting response terminal according to each piece of the second pattern description information.
Specifically, when the linking parameters are more than two, taking the linking parameters as the picture definition and the picture fluency as examples, after the picture definition and the picture fluency are obtained each time, after the second sub-quality intervals where the picture definition and the picture fluency are respectively located are respectively determined, determining the pattern description information according to each second sub-quality interval.
In an optional embodiment, the determining the pattern description information of the headset response terminal according to each piece of the second pattern description information includes:
if the second pattern description information indicating that the picture display quality is poor exists in the second pattern description information, determining that the pattern description information of the wheat connecting response terminal indicates that the picture display quality is poor; and if the second pattern description information indicates that the picture display quality is excellent, determining that the pattern description information of the wheat connecting response terminal indicates that the picture display quality is excellent.
Based on the above related embodiments, the second preset quality interval of the picture definition is 0-127, the second preset quality interval of the picture smoothness is greater than 0, if the picture definition is 110VP8, the first sub-quality interval where the picture definition is located is determined to be more than 100, and the first sub-quality interval where the picture smoothness is determined to be more than 80 is determined to be 95, so that the picture definition can be determined to be very blurred in picture quality and poor in picture smoothness, and further, the pattern description information can be determined to be red.
In some embodiments, all the headset response terminals are often displayed on the display end of the server, so that related personnel can select to headset, after the pattern description information is determined, the pattern description information corresponding to each headset response terminal can be correspondingly displayed, so that the related personnel can directly observe the headset response terminal with better network state through the pattern description information, and headset is initiated to the related personnel.
Based on the same conception, the embodiment of the present application provides a wheat connecting device, the specific implementation of which can be referred to the description of the embodiment of the method, and the repetition is omitted, as shown in fig. 3, where the device mainly includes:
the obtaining module 301 is configured to obtain a headset parameter of at least one headset response terminal, where the headset parameter is used to indicate network communication quality between a headset initiating terminal and the headset response terminal;
and the communication module 302 is configured to select a target communication response terminal with optimal network communication from at least one communication response terminal, establish a communication session between the communication initiation terminal and the target communication response terminal, and push communication data corresponding to the communication session.
Based on the same conception, the embodiment of the application also provides an electronic device, as shown in fig. 4, which mainly includes: a processor 401, a memory 402 and a communication bus 403, wherein the processor 401 and the memory 402 perform communication with each other through the communication bus 403. The memory 402 stores a program executable by the processor 401, and the processor 401 executes the program stored in the memory 402 to implement the following steps:
acquiring a wheat connecting parameter of at least one wheat connecting response terminal, wherein the wheat connecting parameter is used for indicating the network communication quality between a wheat connecting initiating terminal and the wheat connecting response terminal;
selecting a target communication terminal with the best network communication quality from at least one communication terminal, establishing a communication session between the communication initiating terminal and the target communication terminal, and pushing communication data corresponding to the communication session.
The communication bus 403 mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated to PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated to EISA) bus, or the like. The communication bus 403 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
The memory 402 may include random access memory (Random Access Memory, simply RAM) or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 401.
The processor 401 may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a digital signal processor (Digital Signal Processing, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In a further embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to perform the wheat linking method described in the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, by a wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, microwave, etc.) means from one website, computer, server, or data center to another. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape, etc.), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A method of wheat linkage, comprising:
acquiring a wheat connecting parameter of at least one wheat connecting response terminal, wherein the wheat connecting parameter is used for indicating the network communication quality between a wheat connecting initiating terminal and the wheat connecting response terminal;
selecting a target communication terminal with the best network communication quality from at least one communication terminal, establishing a communication dialogue between the communication initiating terminal and the target communication terminal, and pushing communication data corresponding to the communication dialogue;
wherein, the wheat connecting parameters comprise: the selecting a target link response terminal with the best network communication quality from at least one link response terminal comprises the following steps:
sequencing the at least one wheat connecting response terminal according to the quality of the picture quality to obtain a first sequencing result;
if the number of the first link response terminals is at least two in the first sequencing result, sequencing the first link response terminals according to the length of the routing length to obtain a second sequencing result, wherein the first link response terminals are link response terminals with optimal picture quality; if the number of the first connecting response terminals is one in the first sequencing result, determining that the first connecting response terminal is the target connecting response terminal;
if the number of the second wheat connecting response terminals is at least two in the second sequencing result, sequencing the second wheat connecting response terminals according to the number of the historical wheat connecting times to obtain a third sequencing result, wherein the second wheat connecting response terminals are the wheat connecting response terminals with the shortest routing length; if the number of the second wheat connecting response terminals is one in the second sequencing result, determining that the second wheat connecting response terminals are the target wheat connecting response terminals;
and taking the wheat connecting response terminal with the largest historical wheat connecting times in the third sequencing result as the target wheat connecting response terminal.
2. The method of claim 1, further comprising:
based on the headset parameters, determining a candidate headset response terminal set in the at least one headset response terminal, wherein the candidate headset response terminal set is a set of headset response terminals with a first preset value before the best network communication quality;
and when the communication parameters of the target communication terminal do not meet the expected conditions, reselecting the communication session communication terminal from the candidate communication terminal set.
3. The method according to claim 2, wherein the parameters of the wheat linking include: the step of determining a candidate link response terminal set in the at least one link response terminal based on the link parameters comprises the following steps:
filtering the continuous-wheat response terminals of which the continuous-wheat parameters meet preset filtering conditions to obtain the candidate continuous-wheat response terminal set; the filtering conditions include: the picture quality is lower than at least one of the preset picture quality, the historical number of times of connecting wheat is smaller than a second preset value and the routing length is larger than a third preset value.
4. The method according to claim 1, wherein after obtaining the headset parameters of the at least one headset response terminal, further comprises:
determining pattern description information of each wheat connecting response terminal according to the wheat connecting parameters, wherein the pattern description information is used for indicating the quality of the picture display quality of the wheat connecting response terminal;
and displaying each pattern description information corresponding to the wheat connecting response terminal.
5. The method according to claim 4, wherein determining the pattern description information of each of the headset response terminals according to the headset parameters comprises:
determining a first sub-quality interval in which the wheat connecting parameter is located in a first preset quality interval;
and determining the first pattern description information corresponding to the first sub-quality interval as the pattern description information of the wheat connecting response terminal.
6. The method according to claim 4, wherein when the number of the headset parameters is at least two, the determining the pattern description information of each headset response terminal according to the headset parameters includes:
determining a second sub-quality interval in which each wheat connecting parameter is located in a corresponding second preset quality interval;
determining second pattern description information corresponding to each second sub-quality interval;
and determining the pattern description information of the wheat connecting response terminal according to each piece of the second pattern description information.
7. The method according to claim 6, wherein determining the pattern description information of the headset response terminal according to each of the second pattern description information comprises:
if the second pattern description information indicating that the picture display quality is poor exists in the second pattern description information, determining that the pattern description information of the wheat connecting response terminal indicates that the picture display quality is poor;
and if the second pattern description information indicates that the picture display quality is excellent, determining that the pattern description information of the wheat connecting response terminal indicates that the picture display quality is excellent.
8. The method according to claim 4, wherein the obtaining the headset parameters of the at least one headset response terminal comprises:
acquiring delivery information sent by each wheat connecting response terminal;
determining target delivery information in the delivery information of each wheat connecting response terminal;
and determining the wheat connecting parameters of the wheat connecting response terminal according to the target delivery information.
9. The method according to claim 8, wherein the target delivery information includes a frame quantization parameter, a retransmission amount, a packet loss amount, network delay information, and a total amount of packets transmitted, and the determining the headset parameter of the headset response terminal according to the target delivery information includes:
determining a definition subinterval in which the picture quantization parameter is located in a preset definition interval, and taking picture definition corresponding to the definition subinterval as picture definition of the picture quantization parameter;
determining a retransmission rate according to the retransmission amount and the total amount of the transmission packets;
determining a packet loss rate according to the packet loss amount and the total packet transmission amount;
determining the smoothness of the picture according to the retransmission rate, the packet loss rate and the network delay information;
and determining the definition of the picture and the fluency of the picture as the wheat connecting parameters.
10. The method of claim 8, wherein determining target delivery information in the delivery information of each of the headset response terminals comprises:
and determining the maximum value in each delivery information as the target delivery information.
11. A wheat connecting device, comprising:
the system comprises an acquisition module, a communication module and a communication module, wherein the acquisition module is used for acquiring a wheat connecting parameter of at least one wheat connecting response terminal, and the wheat connecting parameter is used for indicating the network communication quality between a wheat connecting initiating terminal and the wheat connecting response terminal;
the communication module is used for selecting a target communication terminal with optimal network communication from at least one communication response terminal, establishing a communication dialogue between the communication initiation terminal and the target communication response terminal, and pushing communication data corresponding to the communication dialogue;
wherein, the wheat connecting parameters comprise: the selecting a target link response terminal with the best network communication quality from at least one link response terminal comprises the following steps:
sequencing the at least one wheat connecting response terminal according to the quality of the picture quality to obtain a first sequencing result;
if the number of the first link response terminals is at least two in the first sequencing result, sequencing the first link response terminals according to the length of the routing length to obtain a second sequencing result, wherein the first link response terminals are link response terminals with optimal picture quality; if the number of the first connecting response terminals is one in the first sequencing result, determining that the first connecting response terminal is the target connecting response terminal;
if the number of the second wheat connecting response terminals is at least two in the second sequencing result, sequencing the second wheat connecting response terminals according to the number of the historical wheat connecting times to obtain a third sequencing result, wherein the second wheat connecting response terminals are the wheat connecting response terminals with the shortest routing length; if the number of the second wheat connecting response terminals is one in the second sequencing result, determining that the second wheat connecting response terminals are the target wheat connecting response terminals;
and taking the wheat connecting response terminal with the largest historical wheat connecting times in the third sequencing result as the target wheat connecting response terminal.
12. An electronic device, comprising: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the wheat connecting method of any one of claims 1 to 10.
13. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the wheat connecting method of any one of claims 1-10.
CN202210760741.4A 2022-06-29 2022-06-29 Wheat connecting method, device, electronic equipment and storage medium Active CN115119010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210760741.4A CN115119010B (en) 2022-06-29 2022-06-29 Wheat connecting method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210760741.4A CN115119010B (en) 2022-06-29 2022-06-29 Wheat connecting method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115119010A CN115119010A (en) 2022-09-27
CN115119010B true CN115119010B (en) 2023-07-25

Family

ID=83330011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210760741.4A Active CN115119010B (en) 2022-06-29 2022-06-29 Wheat connecting method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115119010B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015104145A1 (en) * 2014-01-10 2015-07-16 Thomson Licensing Method for obtaining network information by a client terminal configured for receiving a multimedia content divided into segments
EP3174302A1 (en) * 2015-11-27 2017-05-31 Wipro Limited System and method for dynamically optimizing video quality during video transmission
WO2018107875A1 (en) * 2016-12-16 2018-06-21 广州华多网络科技有限公司 Method and system for microphone-connection live broadcast of a live-broadcast platform
WO2019231165A1 (en) * 2018-05-28 2019-12-05 삼성에스디에스 주식회사 Method for adjusting image quality and terminal and relay server for performing same
CN112565798A (en) * 2020-10-28 2021-03-26 腾讯科技(深圳)有限公司 Live broadcast interaction realization method and computer readable storage medium
CN112738638A (en) * 2020-12-25 2021-04-30 北京百度网讯科技有限公司 Live wheat-connecting method, device, equipment, storage medium and product
CN113923529A (en) * 2021-10-08 2022-01-11 北京百度网讯科技有限公司 Live broadcast wheat connecting method, device, equipment and storage medium
CN114125482A (en) * 2021-11-23 2022-03-01 腾讯音乐娱乐科技(深圳)有限公司 Live broadcast and microphone connection processing method, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10848537B2 (en) * 2016-11-15 2020-11-24 Google Llc Leveraging aggregated network statistics for enhancing quality and user experience for live video streaming from mobile devices
CN112654020B (en) * 2020-12-15 2023-03-28 阿波罗智联(北京)科技有限公司 Method, device, equipment and storage medium for establishing wireless connection

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015104145A1 (en) * 2014-01-10 2015-07-16 Thomson Licensing Method for obtaining network information by a client terminal configured for receiving a multimedia content divided into segments
EP3174302A1 (en) * 2015-11-27 2017-05-31 Wipro Limited System and method for dynamically optimizing video quality during video transmission
WO2018107875A1 (en) * 2016-12-16 2018-06-21 广州华多网络科技有限公司 Method and system for microphone-connection live broadcast of a live-broadcast platform
WO2019231165A1 (en) * 2018-05-28 2019-12-05 삼성에스디에스 주식회사 Method for adjusting image quality and terminal and relay server for performing same
CN112565798A (en) * 2020-10-28 2021-03-26 腾讯科技(深圳)有限公司 Live broadcast interaction realization method and computer readable storage medium
CN112738638A (en) * 2020-12-25 2021-04-30 北京百度网讯科技有限公司 Live wheat-connecting method, device, equipment, storage medium and product
CN113923529A (en) * 2021-10-08 2022-01-11 北京百度网讯科技有限公司 Live broadcast wheat connecting method, device, equipment and storage medium
CN114125482A (en) * 2021-11-23 2022-03-01 腾讯音乐娱乐科技(深圳)有限公司 Live broadcast and microphone connection processing method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115119010A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US10110849B2 (en) Communication terminal, communication system, communication control method, and non-transitory recording medium
CN110213603B (en) Live streaming transmission method, device, server, system and storage medium
US20110088068A1 (en) Live media stream selection on a mobile device
US20100053337A1 (en) Video test process integrated in a set-top-box
JP2006525771A (en) System and method for communicating with a display device via a network
CN108920120B (en) Information display control method and device
EP3879801B1 (en) Content sending method and device, and content receiving method and device
US10728583B2 (en) Multimedia information playing method and system, standardized server and live broadcast terminal
CN112616065B (en) Screen image initiating method, device and system and readable storage medium
EP3133807A2 (en) Apparatus, system, and method of controlling display image, and carrier means
KR101501189B1 (en) Method and apparatus for fast channel change
CN113608710A (en) Screen projection method and related equipment
US10021345B2 (en) Communication management system, communication terminal, communication system, communication control method, and recording medium
CN115119010B (en) Wheat connecting method, device, electronic equipment and storage medium
US20200106821A1 (en) Video processing apparatus, video conference system, and video processing method
CN116260801A (en) Stream media audio and video push stream parameter control method and related device
CN114827675A (en) Video data processing method and device for application program
CN113573114B (en) Screen projection method and device, electronic equipment and storage medium
JP7157194B2 (en) Mediation method and computer readable recording medium
CN111131777B (en) Viewing method and device for video network monitoring
CN113014940A (en) Live broadcast optimization method and device
US10212308B2 (en) Information processing system, image forming apparatus, method of controlling the same, and storage medium
US20150058398A1 (en) Method and a device for enriching a call
CN111698571B (en) Public network mirroring method, terminal and computer readable storage medium
CN114938472B (en) Video playing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant