Access method, communication device and storage medium
By determining multiple target access nodes in the audio and video system and transmitting their link quality information, the problem of low client access scheduling accuracy in the prior art is solved, and the data transmission reliability of the audio and video system is improved.
Patent Information
- Application Number
- CN202310620517.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2043-05-29
AI Technical Summary
The existing audio and video systems have low scheduling accuracy when accessing clients, and cannot accurately determine the access nodes to which they should be accessed, resulting in low data transmission reliability.
By receiving the access request from the client, at least two target access nodes are determined from multiple access nodes according to the location information and service type, and the link quality information of these nodes is sent to the client, so that the client can determine the transmission strategy. And perform data transmission with the target access node.
The accuracy of audio and video systems for client access and reliability of service data transmission are improved, and transmission is avoided based on links with lower quality only.
Smart Images

Figure CN119052889A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of audio and video communication technology, and in particular to an access method, a communication device and a storage medium. Background Art
[0002] With the popularization of mobile Internet and the commercialization of the fifth-generation mobile communication technology (5G), users' demand for low-latency and highly reliable audio and video applications is growing. At present, Real-Time Communication (RTC), relying on its long-term technical accumulation in the field of video services, provides the industry with high-concurrency, low-latency, high-definition, smooth, safe and reliable full-scenario, fully interactive, and fully real-time audio and video services, which are suitable for various application scenarios such as online education, cloud conferencing, social entertainment, etc.
[0003] When a client accesses an audio and video network, the audio and video network needs to schedule a suitable access node to the client so that the client can access the access node to transmit service data. However, the current method for scheduling client access has low accuracy and cannot accurately determine the access node that the client should access. Summary of the invention
[0004] The embodiments of the present application provide an access method, a communication device, and a storage medium for improving the accuracy of access scheduling of an audio and video system.
[0005] In order to achieve the above purpose, this application adopts the following technical solutions:
[0006] On the one hand, an access method is provided, which is applied to a control node of an audio and video system, and the method includes:
[0007] Receive an access request from a client, the access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client;
[0008] Determine at least two target access nodes from multiple access nodes of the audio and video system according to the location information and the service type;
[0009] Sending information of at least two target access nodes to the client, so that the client determines a target transmission strategy according to link qualities of the at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client;
[0010] The target access node indicated by the target transmission policy is controlled to perform data transmission with the client.
[0011] On the other hand, an access method is provided, which is applied to a client, and the method includes:
[0012] Sending an access request; the access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client;
[0013] receiving information of at least two target access nodes sent by the audio and video system;
[0014] Determine a target transmission strategy according to link qualities of at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client;
[0015] Data is transmitted with the audio and video system based on the target transmission strategy.
[0016] On the other hand, a communication device is provided, which is applied to a control node of an audio and video system. The device includes: a receiving module and a processing module.
[0017] A receiving module, used to receive an access request from a client, the access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client;
[0018] A processing module, configured to determine at least two target access nodes from a plurality of access nodes of the audio and video system according to the location information and the service type;
[0019] The processing module is further used to send information of at least two target access nodes to the client, so that the client determines a target transmission strategy according to the link quality of the at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client;
[0020] The processing module is also used to control the target access node indicated by the target transmission strategy to perform data transmission with the client.
[0021] On the other hand, a communication device is provided, which is applied to a client. The device includes: a transceiver module and a processing module.
[0022] The transceiver module is used to send an access request; the access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client;
[0023] The transceiver module is also used to receive information of at least two target access nodes sent by the audio and video system;
[0024] A processing module, used to determine a target transmission strategy according to link qualities of at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client;
[0025] The transceiver module is also used to transmit data with the audio and video system based on the target transmission strategy.
[0026] On the other hand, a communication device is provided, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the communication device implements any method provided in the first aspect or the second aspect above.
[0027] On the other hand, a computer-readable storage medium is provided, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes any one of the methods provided in the first aspect or the second aspect.
[0028] In yet another aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer is enabled to execute any one of the methods provided in the first aspect or the second aspect.
[0029] Based on the above embodiments, on the one hand, according to the distance between the client and the access node of the audio and video system, combined with the link parameters corresponding to the service type and the historical access situation of the client, a suitable access node is screened to more accurately determine the access node and realize the precise scheduling of the audio and video system for the client access. On the other hand, the link quality of the target access node can be combined to select a suitable transmission measurement for service data transmission. In this way, it is possible to avoid service data transmission based only on a link with low quality, thereby improving the reliability of service data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0031] Figure 1 A schematic diagram of an audio and video system architecture provided in an embodiment of the present application;
[0032] Figure 2 A method flow chart of an access method provided in an embodiment of the present application;
[0033] Figure 3 A method flow chart of another access method provided in an embodiment of the present application;
[0034] Figure 4 A schematic diagram of a network topology provided in an embodiment of the present application;
[0035] Figure 5 A logical block diagram of an access method process provided in an embodiment of the present application;
[0036] Figure 6 A schematic diagram of a transmission strategy provided in an embodiment of the present application;
[0037] Figure 7 A method flow chart of another access method provided in an embodiment of the present application;
[0038] Figure 8 A schematic diagram of the composition of an access device provided in an embodiment of the present application;
[0039] Fig. 9 A schematic diagram of the composition of another access device provided in an embodiment of the present application;
[0040] Fig.10 A schematic diagram of the structure of an access device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0043] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0044] The communication link between the client and the access node of the RTN can also be called the last mile. The last mile access refers to the technology that the RTN system will schedule and allocate access nodes for the client to access the RTN. This technology is mainly used to transmit the client's service data to the access node with high reliability, so as to realize the access of service applications to the RTN system.
[0045] However, the scheduling based on the current last-mile access technology is not accurate and the data transmission reliability is low. At present, the geographical location-based method is usually adopted to assign the access node closest to the client's IP address information. The physical distance alone has limitations and cannot be applied to various types of business needs. In addition, the determined last-mile link may not be stable enough, and the network environment may be weak, affecting the reliability of business data transmission between the client and the audio and video system.
[0046] In view of this, an embodiment of the present application provides an access method, which is applied to the control node of the audio and video system. The method specifically includes: receiving an access request from a client, and determining at least two target access nodes from multiple access nodes of the audio and video system based on the location information and service type indicated by the access request. Furthermore, the audio and video system can send information of at least two determined target access nodes to the client, so that the client determines the target transmission strategy according to the link quality of at least two target access nodes. The link quality of the target access node is used to characterize the quality of the link between the target access node and the client (that is, the last mile mentioned above), and performs data transmission based on the target transmission strategy with the client. In this way, the access node can be determined more accurately based on the location information and service type of the client, so as to realize the precise scheduling of the audio and video system for the client access. In addition, the client selects a suitable transmission strategy based on the link quality of the access node to perform data transmission with the audio and video system, which can also improve the reliability of service data transmission.
[0047] Figure 1 FIG. 1 shows an audio and video system architecture provided by an embodiment of the present application. Figure 1 As shown, the audio and video system may include a control node 110 and a media node, and the media node is used to support the access and forwarding of audio and video data. The media node includes an access node 121 and a transfer node 122. In some embodiments, the audio and video system may also include a client 130 of the access node 121.
[0048] In some embodiments, the audio and video system may include an audio and video cloud network, which can be used to implement distributed deployment of edge computing infrastructure resources and to manage these resources in a unified manner. Among them, the deployment point with more resources and concentrated locations is called the central cloud, and the deployment point with less resources and widely distributed locations is called the edge cloud (also called the edge cloud node). Since the edge cloud is widely distributed, the edge cloud is closer to the terminal device used by the user, that is, the edge cloud can be understood as a cloud computing platform close to the terminal device, and the central cloud can be understood as a cloud platform that manages multiple edge clouds in a unified manner.
[0049] The control node 110 is deployed in the above-mentioned central cloud and is responsible for controlling and managing the media nodes. It can receive and process the node information and link quality information reported by the media nodes. In some embodiments, the control node 110 may include a network perception module and an access scheduling module. The network perception module can collect edge data and configure the network topology, and the access scheduling module can maintain the access quantization network topology corresponding to each service and preferentially schedule the corresponding access nodes. In addition, the control center 110 can also be used to calculate the routing forwarding path, plan the optimal routing forwarding path, intelligently forward data, and manage classified data.
[0050] The access node 121 is also called an edge node and is deployed in the edge cloud. The access node 120 may be composed of multiple small nodes, which are widely distributed and are physically closest to the client 130. Its function is to access the client nearby and preferentially, and report its own node information to the control node 110. In some embodiments, the link between the client and the access node 121 is often called the last mile link.
[0051] The range of the transfer node 122 covers each large area, and the connection relationship between each access node 121 or the transfer node 122 is similar to a full connection, which is a many-to-many mesh structure. A transfer node 122 can contain multiple access nodes 121. Its function is to forward data quickly and with high quality, and report the link quality information between each other to the control node 110.
[0052] In some embodiments, the client 130 may be a physical device or software application that supports the generation, transmission, and display of audio and video data. For example, a mobile phone application (Application, App), (Software Development Kit, SDK) or a terminal device. For example, a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, and a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR)\virtual reality (virtual reality, VR) device and other terminal devices.
[0053] Understandably, Figure 1 The system architecture shown in the figure does not constitute a limitation on the embodiments of the present application, and it may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0054] The method provided by the present application is described in detail below in conjunction with the accompanying drawings of the specification.
[0055] like Figure 2 As shown, an embodiment of the present application provides an access method, which is applied to a control node in an audio and video system. The method includes the following steps:
[0056] S101: Receive an access request from a client.
[0057] The access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client.
[0058] In some embodiments, the location information of the client includes network address information. Exemplarily, the network address information of the client may be an Internet Protocol (IP) address of the client.
[0059] In addition, the location information of the client may also include geographic location information. Exemplarily, the geographic location information of the client may be information about the region where the client is located, such as Shanghai, Beijing, etc. In some embodiments, the network address information of the client is obtained based on the access request, and the geographic location information of the client may also be obtained through the network address information.
[0060] In some embodiments, the client's services may include cloud computers, interactive whiteboards, video conferencing, video IoT, interactive live broadcasting, extended reality (Extended Reality, XR), and other possible services.
[0061] In some embodiments, the service type of a service may be determined based on a service requirement of the service.
[0062] For example, the service with the highest latency priority can be determined as the first service type (also called latency priority service). For example, services such as cloud computers and interactive whiteboards have very low latency tolerance and can tolerate a small amount of packet loss.
[0063] Alternatively, the service with the highest priority in packet loss rate requirement may be determined as the second service type (also referred to as a service with packet loss rate priority requirement). For example, the requirement for packet loss rate of compressed data file transmission takes precedence over latency or other requirements. In addition, the embodiment of the present application may also include other possible service types such as bandwidth, which are not listed here one by one.
[0064] In some embodiments, the control node in the audio and video system may periodically perform network perception at a preset frequency, record and timely update the obtained network perception data. Before executing the above step S101, the control node may perform network perception, and then the control node may schedule access to the client based on the obtained network perception data.
[0065] In some embodiments, the above network perception can be implemented by means of a timed task. The control node can analyze the network topology between the access node and the transit node through the network perception module, and initiate a network detection request to each access node, driving the access node to perform network detection on the connected transit node based on the above preset frequency timing, so as to obtain detection data such as packet loss rate, delay, jitter, and bandwidth used of the link between nodes.
[0066] In some embodiments, the control node may also record the inherent data of each node, such as the node IP address, node identification (identity document, ID), node hardware parameters (such as CPU or memory, etc.), client access information, etc. Alternatively, the control node may also record the historical data of each node, such as the historical login success rate of the client, the historical service status of the client such as the freeze rate, delay, etc.
[0067] Therefore, the above-mentioned network perception data may include detection data, inherent data and historical data reported by each node.
[0068] Exemplarily, the control node may initiate a data collection request to the access node at a time granularity not less than the above-mentioned detection timing task; in response to the data collection request, the access node reports detection data, inherent data, historical data and other data.
[0069] In some embodiments, after the control node performs network perception to obtain the above-mentioned detection data, inherent data, historical data and other data, it can perform exception processing on the received data, such as detecting whether the data is returned in a standard format, whether the data is out of bounds, etc. to determine whether the data is abnormal, and process the data detected to be abnormal.
[0070] In some embodiments, when the network topology of the audio and video system changes, such as when nodes are added or deleted, or when connected edges are added or deleted, the control node can perform network perception again based on the real-time network topology. For example, the control node can initiate a new network detection request and data collection request to each access node to obtain new network perception data.
[0071] S102: Determine at least two target access nodes from multiple access nodes according to location information and service type.
[0072] The above-mentioned multiple access nodes are all or part of the access nodes in the audio and video system. The above-mentioned target access node is an access node determined by the control node to be suitable for the client to access, and can also be understood as the optimal access node for the client.
[0073] In some embodiments, Figure 3As shown, the specific process of the control node determining at least two target access nodes from multiple access nodes according to the location information and the service type can be specifically implemented as the following steps S1021-S1024:
[0074] S1021. Determine multiple first access nodes from multiple access nodes of the audio and video system according to location information of the client.
[0075] The first access node is an access node whose distance to the client is less than or equal to a preset distance threshold.
[0076] In some embodiments, the control node can determine the distance between each access node and the client based on the location information of the client and the location information of each node obtained in the above network perception process, such as the access node IP address, and then determine the access node whose distance is less than or equal to the preset distance threshold as the above first access node.
[0077] Exemplarily, the preset distance threshold may be pre-set in the audio and video system, or may be set by a control node of the audio and video system based on the determined distances between each access node and the client.
[0078] It should be noted that when the distance between the access node and the client is less than or equal to the preset distance threshold, it means that the node is physically close to the client. The control node can define a distance range by setting a preset distance threshold, and filter out multiple first access nodes within the distance range, that is, the closest to the client. Thus, the above-mentioned first access node is an access node that is suitable for the client to access in terms of physical distance.
[0079] S1022: Determine, according to the service type, respective quantization scores of the plurality of first access nodes.
[0080] The quantitative score is used to characterize the reliability of the link between the first access node and the transit node of the audio and video system for transmitting the service data of the service type.
[0081] As an example, the quantization score may be negatively correlated with the reliability. That is, the smaller the quantization score of the first node, the higher the reliability of the link between the first access node and the transit node of the video system for transmitting the service data of the service type. Conversely, the larger the quantization score of the first node, the lower the reliability of the link between the first access node and the transit node of the video system for transmitting the service data of the service type.
[0082] As another example, the quantitative score may be positively correlated with reliability.
[0083] It should be understood that the relationship between the quantization score and the reliability mainly depends on the determination algorithm of the quantization score. The following mainly uses the negative correlation between the quantization score and the reliability as an example for explanation.
[0084] In some embodiments, the control node may determine the quantized score of the first access node based on the service requirements corresponding to the service type. Exemplarily, if the service type of the client is the above-mentioned first service type, the control node may quantize the delay parameter of the link between the first access node and the transit node of the audio and video system to determine the quantized score of the first access node.
[0085] In some embodiments, the control node may obtain a quantized network topology corresponding to the service type in the audio and video system based on the service type, wherein the quantized network topology is used to indicate a link between a first node in the audio and video system and a first access node and a transit node in the audio and video system, and the link indicated by the quantized network topology has a quantized score.
[0086] Exemplarily, the control node may determine a main quantization parameter for quantization based on a service demand corresponding to the service type, and determine the above-mentioned quantization network topology based on the main quantization parameter and the network topology of the audio and video system.
[0087] Figure 4 The figure shows the quantitative network topology with delay, packet loss rate and cost as the main parameters. Figure 4 As shown, the quantized network topology includes nodes A, B, C, ... and F. Taking the quantized network topology of the main parameter of delay as an example, the quantized score of link AB between node A and node B is 6, the quantized score of link AC is 3, the quantized score of link BD is 5, the quantized score of link BC is 3, the quantized score of link CE is 4, the quantized score of link CD is 3, the quantized score of link DE is 2, the quantized score of link DF is 3, and the quantized score of link EF is 6.
[0088] In addition, the minimum quantization score among multiple links between the first node and multiple transit nodes can be determined as the quantization score of the first node. Exemplarily, if node A is a first access node, the quantization score of link AC is 3, which is less than the quantization score of link AB, which is 6, and the quantization score of link AC can be used as the quantization score of the first access node.
[0089] In one implementation, the control node can preset and determine the quantitative network topologies corresponding to multiple possible service types, and then based on the service type of the client, determine the quantitative network topology corresponding to the service type in multiple quantitative network topologies, and obtain the quantitative scores of each first access node in the quantitative network topology.
[0090] In another implementation, when determining the service type of the client, the control node may determine a quantitative network topology based on the service requirements corresponding to the service type and the network topology of the audio and video system, and obtain the quantitative score of each first access node in the quantitative network topology.
[0091] S1023: Determine a plurality of second access nodes from the plurality of first access nodes according to the respective quantization scores of the plurality of first access nodes.
[0092] In one implementation, the control node may average the quantization scores of the plurality of first access nodes to obtain an average quantization score, and then determine the first access node whose quantization score is less than or equal to the average quantization score as the second access node.
[0093] In another implementation, the control node may further sort the first access nodes based on the respective quantization scores of the plurality of first access nodes, and then select N first access nodes with smaller quantization scores as second access nodes based on the sorting result. N is a positive integer greater than or equal to 2.
[0094] S1024. Determine at least two target access nodes from multiple second access nodes.
[0095] In a possible implementation manner, the control node may determine at least two target access nodes from multiple second access nodes.
[0096] Exemplarily, the control node may determine at least two target access nodes from the multiple second access nodes based on the distances and quantized scores between each second access node and the client.
[0097] In another possible implementation, the control node may determine at least two target access nodes from a plurality of second access nodes based on historical access information of the client accessing the audio and video system. The historical access information includes historical login success rates and historical service status parameters of the client accessing the audio and video system based on the access nodes. Exemplarily, the control node may determine the historical access information from the historical data obtained by the above network perception.
[0098] It should be noted that, if a user at the location of the client has accessed the audio and video system before, the control node obtains historical access information and determines at least two target access nodes from multiple second access nodes, and further combines the historical access information to improve the accuracy of access node scheduling. Conversely, if no user at the location of the client has accessed the audio and video system before, there is no historical access information, and the control node can directly determine at least two target access nodes from multiple second access nodes.
[0099] For example, the control node obtains historical access information of the client accessing the audio and video system, and determines a whitelist access node from a plurality of second access nodes according to the historical access information, and then determines a target access node from the whitelist access node.
[0100] Exemplarily, the control node may determine whether the second access node belongs to a whitelist access node or a blacklist access node according to information such as a historical login success rate and a historical service status of the client.
[0101] For example, the control node may predetermine a historical login success rate threshold and a historical service status threshold, and determine an access node whose historical login success rate is less than or equal to the historical login success rate threshold as a blacklist access node. In addition, an access node whose historical service status is less than or equal to the historical service status threshold may be determined as a blacklist access node. The rest of the access nodes that meet the historical login success rate threshold and the historical service status threshold are whitelist access nodes.
[0102] Therefore, the blacklist access node has a poor historical login success rate or historical service status, and its link quality is lower than that of the whitelist access node. That is, the whitelist access node represents a link with better quality from the client location to the access node, which can be preferentially allocated and expanded and upgraded.
[0103] In some embodiments, the process of determining at least two target access nodes in step S102 may also be performed as follows: Figure 5 The logic block diagram is shown in Figure 2. Figure 5 As shown, the control node can specifically perform the following steps:
[0104] S1. Determine multiple first access nodes according to client location information and location information of multiple access nodes.
[0105] S2. Determine multiple second access nodes according to the service type.
[0106] S3. Determine whether the client has historical access information.
[0107] If yes, execute the following step S4.
[0108] If not, execute the following step S5.
[0109] S4. Generate a whitelist access node based on historical access information.
[0110] S5. Determine at least two target access nodes from multiple second access nodes.
[0111] S6. Determine at least two target access nodes in the whitelist access nodes.
[0112] S103: Send information of at least two target access nodes to the client, so that the client determines a target transmission strategy according to link qualities of the at least two target access nodes.
[0113] The link quality of the target access node is used to characterize the quality of the link between the target access node and the client. The information of the target access node may include inherent data of the target access node, such as one or more of the node IP address, node identification, node hardware parameters (such as CPU or memory, etc.), and client access information.
[0114] In some embodiments, the control node may set quality levels, such as a first link level, a second link level, and a third link level. Exemplarily, a link of the first link level may also be referred to as an excellent link, a link of the second link level may also be referred to as a good link, and a link of the third link level may also be referred to as a poor link. Of course, the above-mentioned division of link levels is only an example, and the division of link levels may also include other possible forms.
[0115] In an example, the control node may determine the quality level to which the link belongs based on a preset first quality threshold and a second quality threshold, wherein the second quality threshold is smaller than the first quality threshold.
[0116] Exemplarily, when the link quality of the target access node is greater than a first quality threshold, the link between the target access node and the client may be classified into a first link level. When the link quality of the target access node is less than or equal to the first quality threshold and greater than or equal to the second quality threshold, the link between the target access node and the client may be classified into a second link level. When the link quality of the target access node is less than the second quality threshold, the link between the target access node and the client may be classified into a third link level.
[0117] In some embodiments, the link quality of the target access node can be determined based on the service type of the client. Exemplarily, the control node can determine the quantized main parameter according to the service requirements of the service type of the client, and determine the quantized score of the link between the target access node and the client based on the quantized main parameter. The smaller the quantized score, the higher the link quality between the target access node and the client.
[0118] Exemplarily, the control node may determine the quality level to which the link belongs based on a preset quantization score interval. When the quantization score of the target access node is in the first quantization score interval, the link between the target access node and the client may be classified into a first link level. When the quantization score of the target access node is in the second quantization score interval, the link between the target access node and the client may be classified into a second link level. When the quantization score of the target access node is in the third quantization score interval, the link between the target access node and the client may be classified into a third link level. The value indicated by the first quantization score interval is smaller than the value indicated by the second quantization score interval, and the value indicated by the second quantization score interval is smaller than the value indicated by the third quantization score interval.
[0119] Taking the cloud computer service as an example, this service has a very low tolerance for latency and can tolerate a small amount of packet loss. Latency can be selected as the main parameter for quantization to obtain a quantization score, where the quantization score can be set to a value in the range of 0-1. The first quantization score interval is [0,0.3], the second quantization score interval is (0.3,0.6], and the third quantization score interval is (0.6,1].
[0120] In some embodiments, the control node may receive a link detection request sent by the client, and send the link quality of at least two target access nodes to the client based on the link detection request. The link detection request is used to request the link quality of at least two target access nodes. In this way, the client selects a suitable transmission strategy as the target transmission strategy based on the acquired link quality of the target access node, and performs data transmission based on the target transmission strategy with the audio and video system.
[0121] In some embodiments, the target transmission strategy includes a first transmission strategy, a second transmission strategy, or a third transmission strategy.
[0122] Among them, Figure 6 As shown, the first transmission strategy is used to instruct the client to transmit business data based on one link. The second transmission strategy is used to instruct the client to transmit business data based on at least two links, and the business data transmitted by each link is the same. In some embodiments, the link indicated by the transmission strategy can also be used to transmit redundant data. The third transmission strategy is used to instruct the client to transmit all business data based on one link, and to transmit key business data among all business data based on another link. In some embodiments, the link indicated by the transmission strategy can also be used to transmit redundant data.
[0123] In some embodiments, the target transmission strategy can be determined based on the link quality of at least two target access nodes. There are several possible scenarios:
[0124] Scenario 1: When the link quality of at least one target access node is greater than the first quality threshold, the target transmission strategy is the first transmission strategy.
[0125] It should be noted that the first transmission strategy can also be called a single-link transmission scheme, which is suitable for situations where the link quality is good, and all service data can be transmitted through one link. Taking the determination of two target access nodes as an example, if one of the two links of the two access nodes has a link quality level of the first link level, the transmission is performed through the link. Alternatively, if the quality levels of both links are the first link level, the link with higher quality is selected for transmission.
[0126] Scenario 2: When the link qualities of all target access nodes are less than the second quality threshold, the target transmission strategy is the second transmission strategy.
[0127] It should be noted that the second transmission strategy can also be called a dual-link transmission scheme. Taking two target access nodes as an example, if one of the two links of the two access nodes has a poor link quality level, it means that both links may be weak networks. All business data can be copied at the client, and the data can be expanded with redundant packets, and then the same business data can be transmitted through the two links.
[0128] Scenario three: when the link quality of all target access nodes is less than or equal to the first quality threshold, and the link quality of at least one target access node is greater than or equal to the second quality threshold, the target transmission strategy is the third transmission strategy.
[0129] It should be noted that the third transmission strategy can also be called a hybrid link transmission scheme, which can transmit all business data through a relatively good link, and transmit key business data with a small amount of data, such as key data frames and audio packets, through other links with relatively poor quality, and expand the data of each link with redundant packets. Among them, taking the determination of two target access nodes as an example, if the link quality levels of the two links of the two access nodes are both good, the link with a relatively low quality score is selected to transmit all business data. If the link quality levels of the two links of the two access nodes are one good and the other poor, all business data are transmitted through the good link, and key business data are transmitted through the link of the weak network.
[0130] In some embodiments, the control node may also determine a target access node indicated by the target transmission policy. It should be understood that the target access node indicated by the target transmission policy is the node to be accessed by the client.
[0131] In one example, taking at least the target access node including the first target access node and the second target access node as an example, if the link quality of the first target access node and the second target access node meets the above situation 1, and the link between the first target access node and the client belongs to the first link level, and the link between the second target access node and the client belongs to the second link level, the control node determines that the target access node indicated by the target transmission strategy is the first target access node.
[0132] In another example, at least the target access node includes a first target access node and a second target access node. If the link quality of the first target access node and the second target access node meets the above situation 2, the control node determines that the target access node indicated by the target transmission strategy is the first target access node and the second target access node.
[0133] In one example, at least the target access node includes a first target access node and a second target access node. If the link quality of the first target access node and the second target access node meets the above situation three, and the link between the first target access node and the client belongs to the second link level, and the link between the second target access node and the client belongs to the third link level, the control node determines that the target access node indicated by the target transmission strategy is the first target access node and the second target access node. In addition, the first target access node can be used to transmit all business data, and the second target access node can be used to transmit key business data.
[0134] S104: Control the target access node indicated by the target transmission strategy to perform data transmission with the client.
[0135] In some embodiments, the client may establish a data channel with a corresponding target access node based on a target transmission policy, and perform data transmission with the target access node.
[0136] In one example, when the client is a source client, the client can generate service data, and establish a data channel with the corresponding target access node based on the target transmission strategy, and send the service data to the target access node. In another example, when the client is a target client, the client can establish a data channel with the corresponding target access node based on the target transmission strategy, and receive the service data sent by the target access node.
[0137] Based on the above embodiments, on the one hand, according to the distance between the client and the access node of the audio and video system, combined with the link parameters corresponding to the service type and the historical access situation of the client, a suitable access node is screened to more accurately determine the access node and realize the precise scheduling of the audio and video system for the client access. On the other hand, the link quality of the target access node can be combined to select a suitable transmission measurement for service data transmission. In this way, it is possible to avoid service data transmission based only on a link with low quality, thereby improving the reliability of service data transmission.
[0138] In some embodiments, the present application also provides another access method, which is applied to the client. Figure 7 As shown, the method comprises the following steps:
[0139] S201: Send an access request.
[0140] The access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client.
[0141] S202: Receive information of at least two target access nodes sent by the audio and video system.
[0142] The information of the target access node may include inherent data of the target access node, such as one or more of a node IP address, a node identifier, node hardware parameters (such as CPU or memory, etc.), and client access information.
[0143] The client may determine the at least two target access nodes according to the information of the at least two target access nodes sent by the audio and video system.
[0144] In some embodiments, when the client determines at least two target access nodes, it can also send a link detection request to the audio and video system, where the link detection request is used to request the link quality of the at least two target access nodes. Furthermore, it can also receive the link quality of the at least two target access nodes sent by the audio and video system.
[0145] The link quality of the target access node is used to characterize the quality of the link between the target access node and the client.
[0146] S203: Determine a target transmission strategy according to link qualities of at least two target access nodes.
[0147] The link quality of the target access node is used to characterize the quality of the link between the target access node and the client.
[0148] In some embodiments, the target transmission strategy includes a first transmission strategy, a second transmission strategy, or a third transmission strategy.
[0149] Among them, the first transmission strategy is used to instruct the client to transmit business data based on one link; the second transmission strategy is used to instruct the client to transmit business data based on at least two links, and the business data transmitted by each link is the same; the third transmission strategy is used to instruct the client to transmit all business data based on one link, and transmit key business data among all business data based on another link.
[0150] S204: Transmit data with the audio and video system based on the target transmission strategy.
[0151] In a possible implementation manner, when the link quality of at least one target access node is greater than a first quality threshold, the client may determine the first transmission strategy as the target transmission strategy.
[0152] In another possible implementation, when the link quality of all target access nodes is less than the second quality threshold, the client may determine the second transmission strategy as the target transmission strategy. The second quality threshold is less than the first quality threshold;
[0153] In yet another possible implementation, when the link qualities of all target access nodes are less than or equal to the first quality threshold and the link quality of at least one target access node is greater than the second quality threshold, the target transmission strategy is the third transmission strategy.
[0154] In addition, the detailed description of steps S201-S204 can refer to the description of steps S101-S103 above, which will not be repeated here.
[0155] Based on the above embodiment, the client receives at least two target access nodes, and can select a suitable data transmission scheme to transmit service data with the corresponding target access nodes in combination with the link quality of the target access nodes. In this way, the situation where the low link quality of one link leads to unstable transmission of service data between the client and the audio and video system can be avoided, thereby improving the reliability of service data transmission.
[0156] The above mainly introduces the solution provided by the present application from the perspective of interaction between various nodes. It is understandable that each node, such as a device or equipment, includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0157] Figure 8 The figure shows a schematic diagram of the composition of an access device provided in an embodiment of the present application, which is applied to a control node of an audio and video system. Figure 8 As shown, the access device 80 includes a receiving module 801 and a processing module 802. In some embodiments, the access device 80 further includes a sending module 803.
[0158] In some embodiments, a receiving module 801 is used to receive an access request from a client, where the access request is used to request access to an audio and video system, and the access request includes the location information and service type of the client; a processing module 802 is used to determine at least two target access nodes from multiple access nodes of the audio and video system based on the location information and the service type; the processing module 802 is also used to send information of at least two target access nodes to the client, so that the client determines a target transmission strategy based on the link quality of the at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client; the processing module 802 is also used to control the target access node indicated by the target transmission strategy to transmit data with the client.
[0159] In some embodiments, the processing module 802 is specifically used to: determine multiple first access nodes from multiple access nodes of the audio and video system based on the location information of the client; the first access node is an access node whose distance to the client is less than or equal to a preset distance threshold; determine the quantitative scores of the multiple first access nodes according to the service type, and the quantitative scores are used to characterize the reliability of the link between the first access node and the transit node of the audio and video system for transmitting service data of the service type; determine multiple second access nodes from the multiple first access nodes according to the quantitative scores of the multiple first access nodes; and determine at least two target access nodes from the multiple second access nodes.
[0160] In some embodiments, the processing module 802 is specifically used to: average the quantization scores of the plurality of first access nodes to obtain an average quantization score; and determine a first access node having a quantization score less than or equal to the average quantization score as a second access node.
[0161] In some embodiments, the processing module 802 is specifically used to: obtain historical access information of the client accessing the audio and video system; the historical access information includes the historical login success rate and historical service status parameters of the client accessing the audio and video system based on the access node; based on the historical access information, determine a whitelist access node from multiple second access nodes; determine the target access node from the whitelist access node.
[0162] In some embodiments, the target transmission strategy includes a first transmission strategy, a second transmission strategy or a third transmission strategy; wherein the first transmission strategy is used to instruct the client to transmit business data based on one link; the second transmission strategy is used to instruct the client to transmit business data based on at least two links, and the business data transmitted by each link is the same; the third transmission strategy is used to instruct the client to transmit all business data based on one link, and transmit key business data among all business data based on another link.
[0163] In some embodiments, when the link quality of at least one target access node is greater than a first quality threshold, the target transmission strategy is a first transmission strategy; when the link quality of all target access nodes is less than a second quality threshold, the target transmission strategy is a second transmission strategy; the second quality threshold is less than the first quality threshold; when the link quality of all target access nodes is less than or equal to the first quality threshold and the link quality of at least one target access node is greater than or equal to the second quality threshold, the target transmission strategy is a third transmission strategy.
[0164] In some embodiments, the receiving module 801 is further used to receive a link detection request sent by the client; the link detection request is used to request the link quality of at least two target access nodes; the sending module 803 is further used to send the link quality of at least two target access nodes to the client.
[0165] It should be noted that Figure 8 The modules in the example may also be referred to as units. For example, the sending module may be referred to as a sending unit. Figure 8 In the illustrated embodiment, the names of the modules may not be the names shown in the figure. For example, the sending module may also be called a communication module.
[0166] Fig. 9 The figure shows a schematic diagram of another access device provided in an embodiment of the present application, which is applied to a client. Fig. 9 As shown, the access device 90 includes a transceiver module 901 and a processing module 902 .
[0167] In some embodiments, the transceiver module 901 is used to send an access request; the access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client. The transceiver module 901 is also used to receive information of at least two target access nodes sent by the audio and video system. The processing module 902 is used to determine the target transmission strategy based on the link quality of at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client. The transceiver module 901 is also used to transmit data with the audio and video system based on the target transmission strategy.
[0168] In some embodiments, the target transmission strategy includes a first transmission strategy, a second transmission strategy or a third transmission strategy; wherein the first transmission strategy is used to instruct the client to transmit business data based on one link; the second transmission strategy is used to instruct the client to transmit business data based on at least two links, and the business data transmitted by each link is the same; the third transmission strategy is used to instruct the client to transmit all business data based on one link, and transmit key business data among all business data based on another link.
[0169] In some embodiments, the processing module 902 is specifically used to: when the link quality of at least one target access node is greater than a first quality threshold, determine the first transmission strategy as the target transmission strategy; when the link quality of all target access nodes is less than a second quality threshold, determine the second transmission strategy as the target transmission strategy; the second quality threshold is less than the first quality threshold; when the link quality of all target access nodes is less than or equal to the first quality threshold and the link quality of at least one target access node is greater than the second quality threshold, the target transmission strategy is the third transmission strategy.
[0170] In some embodiments, the transceiver module 901 is also used to: send a link detection request to the audio and video system; the link detection request is used to request the link quality of at least two target access nodes; and receive the link quality of at least two target access nodes sent by the audio and video system.
[0171] Figure 8 or Fig. 9 If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of each embodiment of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0172] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, an embodiment of the present application provides a schematic diagram of the structure of an access device, which may be the above-mentioned access device 80 or access device 90. Fig.10As shown, the access device 100 includes: a processor 1002 , a communication interface 1003 , and a bus 1004 . Optionally, the access device 100 may also include a memory 1001 .
[0173] The processor 1002 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 1002 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor 1002 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0174] The communication interface 1003 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0175] The memory 1001 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0176] As a possible implementation, the memory 1001 may exist independently of the processor 1002, and the memory 1001 may be connected to the processor 1002 via the bus 1004 for storing instructions or program codes. When the processor 1002 calls and executes the instructions or program codes stored in the memory 1001, the information processing method determination method provided in the embodiment of the present application can be implemented.
[0177] In another possible implementation, the memory 1001 may also be integrated with the processor 1002 .
[0178] The bus 1004 may be an extended industry standard architecture (EISA) bus, etc. The bus 1004 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, 10 Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0179] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the equipment or device is divided into different functional modules to complete all or part of the functions described above.
[0180] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The computer-readable storage medium can be the memory or memory of any of the above embodiments. The above computer-readable storage medium can also be an external storage device of the above device or device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above device or device. Further, the above computer-readable storage medium can also include both the internal storage unit of the above device or device and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above device or device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0181] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the information processing mode determination methods provided in the above embodiments.
[0182] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0183] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0184] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An access method, characterized in that: The method is applied to a control node of an audio and video system, and the method comprises: Receiving an access request from a client, the access request being used to request access to the audio and video system, the access request including location information and a service type of the client; Determining at least two target access nodes from a plurality of access nodes of the audio and video system according to the location information and the service type; Sending information of the at least two target access nodes to the client, so that the client determines a target transmission strategy according to link qualities of the at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client; The target access node indicated by the target transmission policy is controlled to perform data transmission with the client.
2. The method according to claim 1, characterized in that The determining at least two target access nodes from a plurality of access nodes of the audio and video system according to the location information and the service type includes: Determine, according to the location information of the client, a plurality of first access nodes from the plurality of access nodes of the audio and video system; the first access nodes are access nodes whose distance to the client is less than or equal to a preset distance threshold; Determine, according to the service type, a quantized score for each of the plurality of first access nodes, the quantized score being used to characterize the reliability of a link between the first access node and a transit node of the audio and video system for transmitting service data of the service type; determining a plurality of second access nodes from the plurality of first access nodes according to respective quantized scores of the plurality of first access nodes; The at least two target access nodes are determined from the plurality of second access nodes.
3. The method according to claim 2, characterized in that The step of determining a plurality of second access nodes from the plurality of first access nodes according to respective quantized scores of the plurality of first access nodes comprises: Performing an average operation on the quantization scores of the plurality of first access nodes to obtain an average quantization score; A first access node whose quantization score is less than or equal to the average quantization score is determined as the second access node.
4. The method according to claim 2 or 3, characterized in that: The determining the at least two target access nodes from the plurality of second access nodes comprises: Acquire historical access information of the client accessing the audio and video system; the historical access information includes a historical login success rate and a historical service status parameter of the client accessing the audio and video system based on an access node; Determining a whitelist access node from among the plurality of second access nodes according to the historical access information; The target access node is determined from the whitelist access nodes.
5. The method according to claim 1, characterized in that The target transmission strategy includes a first transmission strategy, a second transmission strategy or a third transmission strategy; Among them, the first transmission strategy is used to instruct the client to transmit business data based on one link; the second transmission strategy is used to instruct the client to transmit business data based on at least two links, and the business data transmitted by each link is the same; the third transmission strategy is used to instruct the client to transmit all business data based on one link, and transmit key business data among the all business data based on another link.
6. The method according to claim 5, characterized in that In a case where the link quality of at least one target access node is greater than a first quality threshold, the target transmission strategy is the first transmission strategy; When the link qualities of all target access nodes are less than the second quality threshold, the target transmission strategy is the second transmission strategy; The second quality threshold is less than the first quality threshold; When the link quality of all target access nodes is less than or equal to the first quality threshold, and the link quality of at least one target access node is greater than or equal to the second quality threshold, the target transmission strategy is the third transmission strategy.
7. The method according to claim 1, characterized in that The method further comprises: receiving a link detection request sent by the client; the link detection request is used to request link qualities of the at least two target access nodes; The link qualities of the at least two target access nodes are sent to the client.
8. An access method, characterized in that: The method is applied to a client, and the method comprises: Sending an access request; the access request is used to request access to the audio and video system, and the access request includes the location information and service type of the client; Receiving information of at least two target access nodes sent by the audio and video system; Determining a target transmission strategy according to the link quality of the at least two target access nodes; the link quality of the target access node is used to characterize the quality of the link between the target access node and the client; Data is transmitted with the audio and video system based on the target transmission strategy.
9. The method according to claim 8, characterized in that The target transmission strategy includes a first transmission strategy, a second transmission strategy or a third transmission strategy; Among them, the first transmission strategy is used to instruct the client to transmit business data based on one link; the second transmission strategy is used to instruct the client to transmit business data based on at least two links, and the business data transmitted by each link is the same; the third transmission strategy is used to instruct the client to transmit all business data based on one link, and transmit key business data among the all business data based on another link.
10. The method according to claim 9, characterized in that The determining the target transmission strategy according to the link qualities of the at least two target access nodes includes: In a case where the link quality of at least one target access node is greater than a first quality threshold, determining the first transmission strategy as the target transmission strategy; In a case where the link qualities of all target access nodes are less than a second quality threshold, determining the second transmission strategy as the target transmission strategy; the second quality threshold is less than the first quality threshold; When the link quality of all target access nodes is less than or equal to the first quality threshold, and the link quality of at least one target access node is greater than the second quality threshold, the target transmission strategy is the third transmission strategy.
11. The method according to any one of claims 8 to 10, characterized in that: Before determining the target transmission strategy according to the link qualities of the at least two target access nodes, the method further includes: Sending a link detection request to the audio and video system; the link detection request is used to request the link quality of the at least two target access nodes; Receive the link qualities of the at least two target access nodes sent by the audio and video system.
12. A communication device, characterized in that: include: Memory and processor; Memory and processor coupling; The memory is used to store instructions executable by the processor; When the processor executes the instructions, the method according to any one of claims 1 to 11 is performed.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a communication device, the communication device is caused to execute the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Transmitting and receiving method of multimedia video data and corresponding devices
CN102665109A
Access control system transmission link adjustment method and device, access control equipment and storage medium
CN110730217A
Data transmission method in multi-channel concurrent system and transmission server
CN110831039A
Audio and video system, access method, routing forwarding method and readable storage medium
CN114501161A
Video data transmission method and device
CN115550683A
Cited By
Access method, communication apparatus, and storage medium
EP4626079A1
Access method, communication apparatus, and storage medium
WO2024244692A1
