Global audio and video service providing method, device and system, medium and server

By deploying audio and video servers and proxy servers in multiple regions of the world, and using the access point of the user terminal's access point to determine the target audio and video server, the audio and video servers in existing technology have high costs, high complexity and high complexity and high complexity, and Service quality problems have realized low -cost, high -quality audio and video services.

CN119383176APending Publication Date: 2025-01-28GUIYANG YUWAN SCI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411486920.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

Existing audio and video servers face high costs, high complexity, audio and video lags, and connection failures in global business scenarios, making it difficult to provide high-quality audio and video services in diverse user groups and complex network environments.

Method used

By selectively deploy audio and video servers and proxy servers in multiple regions of the world, and use the access point of the user terminal to determine the target audio and video server, realize the user terminal direct or via the proxy server audio and video server audio and video server audio and video server Access.

Benefits of technology

It has reduced the cost of the server deployment and maintenance complexity, ensuring that no matter where the user is, you can enjoy a smooth, high -quality audio and video experience, and can adjust low cost adjustment according to user changes and demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383176A_ABST
    Figure CN119383176A_ABST
Patent Text Reader

Abstract

The invention provides a globalized audio and video service providing method, device and system, a medium and a server, the audio and video service system comprises a business server, a plurality of audio and video servers and a plurality of proxy servers, the method is applied to the business server, and the method comprises the following steps: acquiring an audio and video service request initiated by any user terminal, each audio and video service request comprises an initiating user terminal and a plurality of invited user terminals, each user terminal corresponds to a user and has a corresponding access point IP, and each user terminal is accessed to the service server through the corresponding access point IP; determining a target audio and video server based on an access point IP corresponding to the initiating user terminal; and allocating an audio and video access IP of the target audio and video server to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal directly access or access the target audio and video server through the proxy server based on the audio and video access IP allocated to the initiating user terminal and each invited user terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio and video communication technology, and in particular to a method, device, system, medium and server for providing global audio and video services. Background Art

[0002] In the development of our global business, we will divide it into many different regions, such as Japan, the United States, Singapore, etc. The regions are isolated from each other, but the users are not. In the global business scenario, we face a diverse user group: there are users who are very close to each other, and there are users who are far away; there are users from the same region, and there are users from different countries. So we need a solution to achieve high-quality audio and video communication between regions and between users at the lowest possible cost.

[0003] There are currently two types of audio and video servers:

[0004] 1. Central server solution: All users connect to the same server and the server forwards the messages. Although the existing central server solution can cover a wide geographical area, it needs to be deployed in all locations, resulting in extremely high server maintenance costs. The central server is also very complex in deciding which server the user connects to. Load balancing requires careful design and a lot of maintenance costs. In addition, the process of selecting which server the user connects to is relatively complex.

[0005] 2. Users connect to each other and transmit data directly. Although direct connection between users reduces server costs, it performs poorly in complex network environments and frequently fails to connect.

[0006] Therefore, existing real-time audio and video software always faces the dilemma between high cost and high complexity and audio and video freezes and connection failures in global business. In global business scenarios, in response to these different user needs and network environments, it is necessary to design an optimized global audio and video server deployment solution with relatively low complexity and maintenance cost, so that users can enjoy a smooth and high-quality audio and video experience no matter where they are. Summary of the invention

[0007] The purpose of the embodiments of the present application is to provide a method, device, system, medium and server for providing global audio and video services, so as to provide users with a smooth and high-quality audio and video experience in a complex network environment of a global business scenario with lower complexity and maintenance cost.

[0008] In order to achieve the above purpose, the embodiments of the present application are implemented in the following manner:

[0009] In a first aspect, an embodiment of the present application provides a method for providing global audio and video services, wherein the service scope of the audio and video service system covers multiple regions in the world, the audio and video service system includes a business server, a plurality of audio and video servers and a plurality of proxy servers, the plurality of audio and video servers are deployed in some or all regions within the service scope of the audio and video service system, and the plurality of proxy servers are deployed in some or all regions within the service scope of the audio and video service system. The method is applied to the business server, and includes: obtaining an audio and video service request initiated by any user terminal, wherein each audio and video service request includes an initiating user terminal and a plurality of invited user terminals, each user terminal corresponds to a user, and each has a corresponding access point IP, and each user terminal accesses the business server through its corresponding access point IP; based on the access point IP corresponding to the initiating user terminal, determining the target audio and video server; and allocating the audio and video access IP of the target audio and video server to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal directly access the target audio and video server based on the audio and video access IP allocated to them or access the target audio and video server through the proxy server.

[0010] In combination with the first aspect, in a first possible implementation method of the first aspect, the user terminal determines the corresponding access point IP in the following manner: obtaining the official website domain name entered by the user for accessing the audio and video service; sending a DNS query request to an external DNS server, requesting to resolve the IP address of the official website domain name, wherein the DNS server is used to determine the access point IP based on the DNS query request; and receiving the access point IP returned by the DNS server as the access point IP corresponding to the user terminal.

[0011] In combination with the first aspect, in a second possible implementation method of the first aspect, based on the access point IP corresponding to the initiating user terminal, determining the target audio and video server, including: if an audio and video server is deployed in the area where the access point IP corresponding to the initiating user terminal is located, determining the audio and video server in the area as the target audio and video server; if no audio and video server is deployed in the area where the access point IP corresponding to the initiating user terminal is located, determining the target audio and video server based on the access point IP corresponding to the initiating user terminal and the access point IP corresponding to the invited user terminal.

[0012] In combination with the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, determining a target audio and video server based on an access point IP corresponding to an initiating user terminal and an access point IP corresponding to an invited user terminal includes: if there is no audio and video server deployed in an area where the access point IP corresponding to the invited user terminal is located, determining the nearest audio and video server as the target audio and video server based on the access point IP corresponding to the initiating user terminal; if there is an audio and video server deployed in an area where the access point IP corresponding to an invited user terminal is located, determining the audio and video server in the area where the access point IP corresponding to the invited user terminal is located as the target audio and video server; if there are at least two audio and video servers deployed in areas where the access point IPs corresponding to the invited user terminals are located, determining the target server from the audio and video servers deployed in the area where the access point IP corresponding to the invited user terminal is located based on the deployment status of the proxy server in the area where the access point IP corresponding to the initiating user terminal is located and the deployment status of the proxy server in the area where the access point IP corresponding to each invited user terminal is located.

[0013] In combination with the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, based on the proxy server deployment status of the area where the access point IP corresponding to the initiating user terminal is located and the proxy server deployment status of the area where the access point IP corresponding to each invited user terminal is located, determining the target server from the audio and video servers deployed in the area where the access point IP corresponding to the invited user terminal is located, including: determining the target proxy server corresponding to the initiating user terminal based on the access point IP corresponding to the initiating user terminal; determining the target proxy server corresponding to each invited user terminal based on the access point IP corresponding to each invited user terminal; and determining, based on the target proxy server corresponding to the initiating user terminal and the target proxy server corresponding to each invited user terminal, from the audio and video servers deployed in the area where the access point IP corresponding to the invited user terminal is located, the audio and video server with the shortest comprehensive path as the target audio and video server.

[0014] In combination with the fourth possible implementation method of the first aspect, in a fifth possible implementation method of the first aspect, the initiating user terminal and each invited user terminal directly access the target audio and video server based on the audio and video access IP assigned to them or access the target audio and video server through a proxy server, including: for the initiating user terminal and each invited user terminal: if the target audio and video server is an audio and video server in the area where the access point IP corresponding to the user terminal is located, directly access the target audio and video server based on the assigned audio and video access IP; if the target audio and video server is not an audio and video server in the area where the access point IP corresponding to the user terminal is located, access the target audio and video server through the target proxy server corresponding to the user terminal based on the assigned audio and video access IP.

[0015] In a second aspect, an embodiment of the present application provides a global audio and video service providing device, wherein the service scope of the audio and video service system covers multiple regions in the world, the audio and video service system includes a business server, a plurality of audio and video servers and a plurality of proxy servers, wherein the plurality of audio and video servers are deployed in some or all regions within the service scope of the audio and video service system, and the plurality of proxy servers are deployed in some or all regions within the service scope of the audio and video service system, and the device is applied to the business server, and includes: a request acquisition unit, used to acquire an audio and video service request initiated by any user terminal, wherein each audio and video service request includes an initiating user terminal and a plurality of invited user terminals, each user terminal corresponds to a user, and each has a corresponding access point IP, and each user terminal accesses the business server through its corresponding access point IP; a target determination unit, used to determine a target audio and video server based on the access point IP corresponding to the initiating user terminal; a resource allocation unit, used to allocate an audio and video access IP of the target audio and video server to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal directly access the target audio and video server based on the audio and video access IP allocated to them or access the target audio and video server through the proxy server.

[0016] In a third aspect, an embodiment of the present application provides a global audio and video service system, wherein the service scope of the audio and video service system covers multiple regions in the world, and the audio and video service system includes a business server, multiple audio and video servers, and multiple proxy servers. The multiple audio and video servers are deployed in part or all of the regions within the service scope of the audio and video service system, and the multiple proxy servers are deployed in part or all of the regions within the service scope of the audio and video service system. The business server is used to run the global audio and video service providing method described in any one of the first aspect or the possible implementation methods of the first aspect.

[0017] In a fourth aspect, an embodiment of the present application provides a storage medium, which is arranged in a server and includes a stored program, wherein when the program is running, the server where the storage medium is located is controlled to execute the global audio and video service providing method described in the first aspect or any one of the possible implementation methods of the first aspect.

[0018] In a fifth aspect, an embodiment of the present application provides a business server, comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the global audio and video service providing method described in the first aspect or any one of the possible implementation methods of the first aspect are implemented.

[0019] Beneficial effects: 1. The service scope of the audio and video service system in this scheme covers multiple regions in the world. The audio and video service system includes a business server, several audio and video servers and several proxy servers. Several audio and video servers are deployed in part or all of the regions within the service scope of the audio and video service system, and several proxy servers are deployed in part or all of the regions within the service scope of the audio and video service system. The business server is used to obtain an audio and video service request initiated by any user terminal. Each user terminal corresponds to a user and has a corresponding access point IP. Each user terminal accesses the business server through its corresponding access point IP; based on the access point IP corresponding to the initiating user terminal, the target audio and video server is determined; the audio and video access IP of the target audio and video server is allocated to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal can directly access or access the target audio and video server through the proxy server based on the audio and video access IP allocated to them. This solution can effectively reduce the cost of covering the service scope of the server deployment solution by selectively deploying audio and video servers and proxy servers in multiple regions around the world (for example, determining whether to deploy audio and video servers based on the number of users in the region, and determining whether to deploy proxy servers based on the demand for cross-regional audio and video services of users in the region, etc.). By using the access point IP of the user terminal (reflecting the user's region), the user's region can be known, thereby determining the target audio and video server that provides audio and video services to ensure the quality of audio and video services and improve user experience. The processing logic of the entire solution is simple and easy to maintain, and the server deployment solution can be adjusted at low cost according to user changes and demand changes. For example, if the number of users in a certain region is growing rapidly, the number of audio and video servers in the region can be increased. If the demand for cross-regional audio and video services in a certain region is growing significantly, proxy servers can be added to the distribution areas according to the distribution areas of demand to relieve pressure. In addition, this solution is simple and efficient in determining the target audio and video server and target proxy server, which is convenient for later maintenance. In addition, this solution creatively determines the corresponding target audio and video server (or proxy server) through the access point IP of the user terminal, and can provide high-quality audio and video services for it, especially in scenarios such as multi-person chat rooms in this unit, which can effectively ensure the quality of audio and video services. And even if there are no audio and video servers and proxy servers deployed in the user's area, this solution can also find the nearest audio and video server or proxy server (access the audio and video server through the proxy server) to provide audio and video services for the user.

[0020] 2. When determining the target audio and video server, this solution determines the user's region based on the access point IP corresponding to the user terminal (including the initiating user terminal and the invited user terminal), and further adopts the corresponding determination plan based on the deployment of audio and video servers and proxy servers in the area where the user terminal is located (reflected by the access point IP). The specific determination strategy is simple, efficient and complete, and can provide high-quality audio and video services to users no matter where they are.

[0021] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 This is a schematic diagram of the architecture of the audio and video service system.

[0024] Figure 2 This is a flowchart of a method for providing global audio and video services provided in an embodiment of the present application.

[0025] Figure 3 This is a structural block diagram of a global audio and video service providing device provided in an embodiment of the present application.

[0026] Icons: 10 - audio and video service system 10; 11 - business server 11; 12 - audio and video server 12; 13 - proxy server 13; 20 - global audio and video service providing device; 21 - request acquisition unit; 22 - target determination unit; 23 - resource allocation unit. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0028] Before introducing the global audio and video service providing method of this embodiment, the architecture of the audio and video service system 10 is first introduced here for easier understanding.

[0029] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the audio and video service system 10.

[0030] In this embodiment, the service scope of the audio and video service system 10 covers multiple regions in the world (for example, China, the United States, Singapore, Japan, South Korea and other regions in the world), and the audio and video service system 10 includes a business server 11 (this embodiment designs a business server 11 for overall processing, and other embodiments can also design multiple business servers 11 according to needs), a number of audio and video servers 12 (for example, 5, 8) and a number of proxy servers 13 (for example, 6, 7, etc.), and a number of audio and video servers 12 are deployed in part (for example, 5 audio and video servers 12 are deployed in China, the United States, Singapore, Japan, and one region can deploy one or more according to needs) or all regions within the service scope of the audio and video service system 10, and a number of proxy servers 13 are deployed in part or all regions within the service scope of the audio and video service system 10 (for example, 6 proxy servers 13 are deployed in China, the United States, Singapore, Vietnam, Myanmar, and the Philippines). Users can be distributed in various regions around the world, regardless of whether the region is deployed with audio and video servers 12 and proxy servers 13.

[0031] Based on this, this embodiment uses the business server 11 as the execution subject to run the global audio and video service provision method. Figure 2 , Figure 2 This is a flow chart of a method for providing global audio and video services provided in an embodiment of the present application. In this embodiment, the method for providing global audio and video services may include step S10, step S20, and step S30.

[0032] First, when a user needs to use audio and video services (such as audio and video chatting), he can use a user terminal to access the official website and determine the corresponding access point IP to access the service server 11.

[0033] At this time, the service server 11 may execute step S10.

[0034] Step S10: Obtain an audio and video service request initiated by any user terminal, wherein each audio and video service request includes an initiating user terminal and several invited user terminals, each user terminal corresponds to a user, and each has a corresponding access point IP, and each user terminal accesses the service server through its corresponding access point IP.

[0035] In this embodiment, the user terminal can obtain the official website domain name entered by the user for accessing the audio and video service, and send a DNS query request to an external DNS server to request resolution of the IP address of the official website domain name. The DNS server is used to determine the access point IP based on the DNS query request, and receive the access point IP returned by the DNS server as the access point IP corresponding to the user terminal.

[0036] Accordingly, the user terminal can connect to the service server 11 through the corresponding access point IP, thereby initiating an audio and video service request.

[0037] At this time, the service server 11 can obtain the audio and video service request initiated by any user terminal, and each audio and video service request includes an initiating user terminal and several invited user terminals (which can be 0, for example, just creating an audio and video chat room and waiting for other users to join later, or directly initiating a two-person or multi-person audio and video chat, in which case, the invited user terminal can be one or more). Each user terminal corresponds to a user, and each user has a corresponding access point IP, so that the service server 11 can be accessed through its corresponding access point IP.

[0038] After receiving the audio and video service request initiated by the user terminal, the service server 11 may execute step S20.

[0039] Step S20: Determine the target audio and video server based on the access point IP corresponding to the initiating user terminal.

[0040] In this embodiment, the service server 11 may determine the target audio and video server 12 based on the access point IP corresponding to the initiating user terminal.

[0041] Exemplarily, the service server 11 may first determine whether an audio and video server 12 is deployed in the area where the access point IP corresponding to the initiating user terminal is located.

[0042] If an audio and video server 12 is deployed in the area where the access point IP corresponding to the initiating user terminal is located, the audio and video server 12 in the area may be determined as the target audio and video server 12 .

[0043] If the area where the access point IP corresponding to the initiating user terminal is located does not have an audio and video server 12 deployed, further processing is required to determine the target audio and video server 12 based on the access point IP corresponding to the initiating user terminal and the access point IP corresponding to the invited user terminal.

[0044] Specifically, the service server 11 needs to further determine the deployment of the audio and video server 12 in the area where the access point IP corresponding to the invited user terminal is located.

[0045] If there is no audio or video server 12 deployed in the area where the access point IP corresponding to the invited user terminal is located (for example, there is no invited user terminal temporarily, for example, an audio or video chat room is created, and the audio or video chat is waiting for the user to join the audio or video chat room; or, there is no audio or video server 12 deployed in the area where the access point IP corresponding to the invited user terminal is located), the business server 11 can determine the nearest audio or video server 12 as the target audio or video server 12 based on the access point IP corresponding to the initiating user terminal.

[0046] If there is an audio and video server 12 deployed in the area where the access point IP corresponding to the invited user terminal is located, then the service server 11 can determine that the audio and video server 12 in the area where the access point IP corresponding to the invited user terminal is located is the target audio and video server 12 .

[0047] If there are audio and video servers 12 deployed in the areas where the access point IPs corresponding to at least two invited user terminals are located, at this time, the business server 11 can determine the target server from the audio and video servers 12 deployed in the areas where the access point IPs corresponding to the invited user terminals are located based on the deployment status of the proxy servers 13 in the area where the access point IP corresponding to the initiating user terminal is located and the deployment status of the proxy servers 13 in the area where the access point IPs corresponding to each invited user terminal are located.

[0048] Specifically, the service server 11 can determine the target proxy server 13 corresponding to the initiating user terminal based on the access point IP corresponding to the initiating user terminal, and determine the target proxy server 13 corresponding to each invited user terminal based on the access point IP corresponding to each invited user terminal. The idea of ​​determining the target proxy server 13 can be to determine whether a proxy server 13 is deployed in the area where the access point IP corresponding to the user terminal is located. If so, the nearest proxy server 13 in the area is taken as the target proxy server 13. If not, the nearest proxy server 13 is determined from the surrounding areas where the proxy servers 13 are deployed as the target proxy server 13.

[0049] After determining the target proxy server 13 corresponding to the initiating user terminal and the target proxy server 13 corresponding to each invited user terminal, the service server 11 can determine the shortest comprehensive path from the audio and video servers 12 deployed in the area where the access point IP corresponding to the invited user terminal is located based on the target proxy server 13 corresponding to the initiating user terminal and the target proxy server 13 corresponding to each invited user terminal. The shortest comprehensive path is the shortest comprehensive transmission path, which is calculated by summing up. For example, audio and video servers 12 are deployed in areas A and B, and there are two invited user terminals a and b in areas A and B respectively. The target proxy servers 13 of the invited user terminals a and b are also in areas A and B respectively, while the target proxy server 13 corresponding to the initiating user terminal is located in area C, and the target proxy server 13 corresponding to an invited user terminal d is located in area D. Then, when the audio and video server 12 in region A is taken as the target audio and video server 12, the transmission paths of the proxy server 13 in region B, the proxy server 13 in region C, the target proxy server 13 in region D and the audio and video server 12 in region A are calculated respectively, and then summed up (for example, weighted summation can also be performed) to obtain the comprehensive path when the audio and video server 12 in region A is taken as the target audio and video server 12. The comprehensive path when the audio and video server 12 in region B is taken as the target audio and video server 12 is calculated by a similar calculation method. Then, the comparison is made to determine that the target audio and video server 12 has the shortest comprehensive path.

[0050] After determining the target audio and video server 12, the service server 11 may execute step S30.

[0051] Step S30: Allocate the audio and video access IP of the target audio and video server to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal can directly access the target audio and video server or access the target audio and video server through a proxy server based on the audio and video access IP allocated to them.

[0052] In this embodiment, the service server 11 may allocate the audio and video access IP of the target audio and video server 12 to the initiating user terminal and each invited user terminal.

[0053] Exemplarily, the service server 11 may determine at least one group of audio and video access IPs to be tested based on the target audio and video server 12, the access point IPs corresponding to the invited user terminals, and the access point IPs corresponding to the initiating user terminal. In fact, the allocation of the audio and video access IPs to be tested to the initiating user terminal and the allocation of the audio and video access IPs to be tested to each invited user terminal may be processed separately. For the convenience of introduction, this embodiment combines them into one group for introduction.

[0054] Then, for each group of audio and video access IPs to be tested (including allocating the audio and video access IPs to be tested to the initiating user terminal and allocating the audio and video access IPs to be tested to each invited user terminal), the initiating user terminal can access (directly or indirectly through a proxy server) the target audio and video server 12 through the audio and video access IPs to be tested allocated to it, thereby establishing a connection between the initiating user terminal and the target audio and video server 12. Each invited user terminal can also access (directly or indirectly through a proxy server) the target audio and video server 12 through the audio and video access IPs to be tested allocated to it, thereby establishing a connection between each invited terminal and the target audio and video server 12.

[0055] After the connection is established, the initiating user terminal and the invited user terminal can each send a series of test data packets to measure packet loss, delay and jitter information. If the test data meets the set audio and video communication indicators, the corresponding user terminal (initiating user terminal or invited user terminal) can determine to use the audio and video access IP, and if the test data does not meet the set audio and video communication indicators, the corresponding user terminal (initiating user terminal or invited user terminal) can switch to the next set of audio and video access IPs to be tested (corresponding to the audio and video access IPs assigned to itself) to continue the test. After each user terminal has determined the audio and video access IP to be used, it is assigned to the user terminal (initiating user terminal or invited user terminal) as the determined audio and video access IP.

[0056] Afterwards, the service server 11 can distribute the audio and video access IP allocated by the target audio and video server 12 to each user terminal to the corresponding user terminal, so that the initiating user terminal and each invited user terminal can directly access the target audio and video server 12 based on the audio and video access IP allocated to them or indirectly access the target audio and video server 12 through the proxy server 13.

[0057] Exemplarily, for the initiating user terminal and each invited user terminal:

[0058] If the target audio and video server 12 is an audio and video server 12 in the area where the access point IP corresponding to the user terminal is located, the target audio and video server 12 can be directly accessed based on the allocated audio and video access IP. If the target audio and video server 12 is not an audio and video server 12 in the area where the access point IP corresponding to the user terminal is located, the target audio and video server 12 can be accessed through the target proxy server 13 corresponding to the user terminal based on the allocated audio and video access IP.

[0059] In this way, global audio and video services can be provided.

[0060] See also Figure 2Based on the same inventive concept, this embodiment further provides a global audio and video service providing device 20. The service scope of the audio and video service system 10 covers multiple regions in the world. The audio and video service system 10 includes a business server 11, a plurality of audio and video servers 12 and a plurality of proxy servers 13. The plurality of audio and video servers 12 are deployed in part or all of the regions within the service scope of the audio and video service system 10. The plurality of proxy servers 13 are deployed in part or all of the regions within the service scope of the audio and video service system 10. The global audio and video service providing device 20 is applied to the business server 11, and includes:

[0061] The request acquisition unit 21 is used to obtain an audio and video service request initiated by any user terminal, wherein each audio and video service request includes an initiating user terminal and several invited user terminals, each user terminal corresponds to a user, and each has a corresponding access point IP, and each user terminal accesses the service server 11 through its corresponding access point IP.

[0062] The target determination unit 22 is used to determine the target audio and video server 12 based on the access point IP corresponding to the initiating user terminal.

[0063] The resource allocation unit 23 is used to allocate the audio and video access IP of the target audio and video server 12 to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal can directly access the target audio and video server 12 or access it through the proxy server 13 based on the audio and video access IP allocated to them.

[0064] In this embodiment, the target determination unit 22 is specifically used to: when an audio and video server 12 is deployed in the area where the access point IP corresponding to the initiating user terminal is located, determine the audio and video server 12 in the area as the target audio and video server 12; if the audio and video server 12 is not deployed in the area where the access point IP corresponding to the initiating user terminal is located, determine the target audio and video server 12 based on the access point IP corresponding to the initiating user terminal and the access point IP corresponding to the invited user terminal.

[0065] In this embodiment, the target determination unit 22 is specifically used to: when there is no audio and video server 12 deployed in the area where the access point IP corresponding to the invited user terminal is located, determine the nearest audio and video server 12 as the target audio and video server 12 based on the access point IP corresponding to the initiating user terminal; if there is an audio and video server 12 deployed in the area where the access point IP corresponding to the invited user terminal is located, determine the audio and video server 12 in the area where the access point IP corresponding to the invited user terminal is located as the target audio and video server 12; if there are at least two audio and video servers 12 deployed in the areas where the access point IPs corresponding to the invited user terminals are located, determine the target server from the audio and video servers 12 deployed in the areas where the access point IPs corresponding to the invited user terminals are located based on the deployment status of the proxy server 13 in the area where the access point IP corresponding to the initiating user terminal is located and the deployment status of the proxy server 13 in the area where the access point IP corresponding to each invited user terminal is located.

[0066] In this embodiment, the target determination unit 22 is specifically used to: determine the target proxy server 13 corresponding to the initiating user terminal based on the access point IP corresponding to the initiating user terminal; determine the target proxy server 13 corresponding to each invited user terminal based on the access point IP corresponding to each invited user terminal; based on the target proxy server 13 corresponding to the initiating user terminal and the target proxy server 13 corresponding to each invited user terminal, determine the audio and video server 12 with the shortest comprehensive path from the audio and video servers 12 deployed in the area where the access point IP corresponding to the invited user terminal is located as the target audio and video server 12.

[0067] In this embodiment, the resource allocation unit 23 is specifically used to: for the initiating user terminal and each invited user terminal: if the target audio and video server 12 is the audio and video server 12 in the area where the access point IP corresponding to the user terminal is located, directly access the target audio and video server 12 based on the allocated audio and video access IP; if the target audio and video server 12 is not the audio and video server 12 in the area where the access point IP corresponding to the user terminal is located, access the target audio and video server 12 through the target proxy server 13 corresponding to the user terminal based on the allocated audio and video access IP.

[0068] An embodiment of the present application provides a storage medium, which is set in a server and includes a stored program. When the program is running, the server where the storage medium is located is controlled to execute the global audio and video service providing method of the present embodiment.

[0069] The embodiment of the present application also provides a business server 11, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, the steps of the global audio and video service providing method of the present embodiment are implemented.

[0070] In summary, the embodiment of the present application provides a method, device, system, medium and server for providing global audio and video services. By selectively deploying audio and video servers 12 and proxy servers 13 in multiple regions around the world (for example, determining whether to deploy audio and video servers 12 based on the number of users in the region, and determining whether to deploy proxy servers 13 based on the demand for cross-regional audio and video services of users in the region, etc.), the cost of covering the service scope of the server deployment solution can be effectively reduced. By using the access point IP of the user terminal (reflecting the user's region), the user's region can be known, thereby determining the target audio and video server 12 for providing audio and video services to ensure the quality of audio and video services and improve user experience. The entire solution processing logic is simple and easy to maintain, and the server deployment solution can be adjusted at low cost according to user changes and demand changes. For example, if the number of users in a certain region is growing rapidly, the audio and video servers 12 in the region can be increased. If the demand for cross-regional audio and video services in a certain region increases significantly, proxy servers 13 can be added to the distribution areas according to the distribution areas of demand to relieve pressure. In addition, the solution is simple and efficient in determining the target audio and video server 12 and the target proxy server 13, which is convenient for later maintenance. In addition, this solution creatively determines the corresponding target audio and video server 12 (or proxy server 13) through the access point IP of the user terminal, and can provide high-quality audio and video services for it, especially in scenarios such as multi-person chat rooms in this unit, which can effectively ensure the quality of audio and video services. And even if the audio and video server 12 and proxy server 13 are not deployed in the user's area, the nearby audio and video server 12 or proxy server 13 can be found through this solution (access to the audio and video server 12 through the proxy server 13) to provide audio and video services for the user.

[0071] When determining the target audio and video server 12, the region to which the user belongs is determined based on the access point IP corresponding to the user terminal (including the initiating user terminal and the invited user terminal), and further according to the deployment of the audio and video server 12 and the proxy server 13 in the region where the user terminal is located (reflected by the access point IP), a corresponding determination scheme is adopted. The specific determination strategy is simple, efficient and complete, and high-quality audio and video services can be provided to the user no matter where he is.

[0072] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0073] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for providing global audio and video services, characterized in that: The service scope of the audio and video service system covers multiple regions in the world. The audio and video service system includes a business server, several audio and video servers and several proxy servers. The several audio and video servers are deployed in some or all regions within the service scope of the audio and video service system. The several proxy servers are deployed in some or all regions within the service scope of the audio and video service system. The method is applied to the business server, including: Obtain an audio and video service request initiated by any user terminal, wherein each audio and video service request includes an initiating user terminal and several invited user terminals, each user terminal corresponds to a user, and each has a corresponding access point IP, and each user terminal accesses the service server through its corresponding access point IP; Determine the target audio and video server based on the access point IP corresponding to the initiating user terminal; The audio and video access IP of the target audio and video server is allocated to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal can directly access the target audio and video server or access the target audio and video server through a proxy server based on the audio and video access IP allocated to them.

2. The method for providing global audio and video services according to claim 1, characterized in that: The way for the user terminal to determine the corresponding access point IP is: Obtain the official website domain name entered by the user to access the audio and video service; Send a DNS query request to an external DNS server to request resolution of the IP address of the official website domain name, wherein the DNS server is used to determine the access point IP based on the DNS query request; The access point IP returned by the receiving DNS server is the access point IP corresponding to the user terminal.

3. The method for providing global audio and video services according to claim 1, characterized in that: Based on the access point IP corresponding to the initiating user terminal, the target audio and video server is determined, including: If an audio and video server is deployed in the area where the access point IP corresponding to the initiating user terminal is located, the audio and video server in the area is determined as the target audio and video server; If no audio or video server is deployed in the area where the access point IP corresponding to the initiating user terminal is located, the target audio or video server is determined based on the access point IP corresponding to the initiating user terminal and the access point IP corresponding to the invited user terminal.

4. The method for providing global audio and video services according to claim 3, characterized in that: Determining a target audio and video server based on the access point IP corresponding to the initiating user terminal and the access point IP corresponding to the invited user terminal includes: If there is no audio or video server deployed in the area where the access point IP corresponding to the invited user terminal is located, based on the access point IP corresponding to the initiating user terminal, the nearest audio or video server is determined as the target audio or video server; If there is an audio and video server deployed in the area where the access point IP corresponding to the invited user terminal is located, determine the audio and video server in the area where the access point IP corresponding to the invited user terminal is located as the target audio and video server; If there are audio and video servers deployed in the areas where the access point IPs corresponding to at least two invited user terminals are located, based on the deployment status of the proxy servers in the area where the access point IP corresponding to the initiating user terminal is located and the deployment status of the proxy servers in the area where the access point IP corresponding to each invited user terminal is located, the target server is determined from the audio and video servers deployed in the areas where the access point IPs corresponding to the invited user terminals are located.

5. The method for providing global audio and video services according to claim 4, characterized in that: Based on the deployment of proxy servers in the area where the access point IP corresponding to the initiating user terminal is located and the deployment of proxy servers in the area where the access point IP corresponding to each invited user terminal is located, determining a target server from audio and video servers deployed in the area where the access point IP corresponding to the invited user terminal is located, including: Determine the target proxy server corresponding to the initiating user terminal based on the access point IP corresponding to the initiating user terminal; Based on the access point IP corresponding to each invited user terminal, determine the target proxy server corresponding to each invited user terminal; Based on the target proxy server corresponding to the initiating user terminal and the target proxy server corresponding to each invited user terminal, the audio and video server with the shortest comprehensive path is determined as the target audio and video server from the audio and video servers deployed in the area where the access point IP corresponding to the invited user terminal is located.

6. The method for providing global audio and video services according to claim 5, characterized in that: The initiating user terminal and each invited user terminal directly access the target audio and video server or access the target audio and video server through a proxy server based on the audio and video access IP allocated to them, including: For the initiating user terminal and each invited user terminal: If the target audio and video server is an audio and video server in the area where the access point IP corresponding to the user terminal is located, directly access the target audio and video server based on the allocated audio and video access IP; If the target audio and video server is not the audio and video server in the area where the access point IP corresponding to the user terminal is located, the target audio and video server is accessed through the target proxy server corresponding to the user terminal based on the allocated audio and video access IP.

7. A global audio and video service providing device, characterized in that: The service scope of the audio and video service system covers multiple regions in the world. The audio and video service system includes a business server, several audio and video servers and several proxy servers. The several audio and video servers are deployed in some or all regions within the service scope of the audio and video service system. The several proxy servers are deployed in some or all regions within the service scope of the audio and video service system. The device is applied to the business server, including: A request acquisition unit, used to acquire an audio and video service request initiated by any user terminal, wherein each audio and video service request includes an initiating user terminal and a plurality of invited user terminals, each user terminal corresponds to a user, and each has a corresponding access point IP, and each user terminal accesses the service server through its corresponding access point IP; A target determination unit, configured to determine a target audio and video server based on an access point IP corresponding to an initiating user terminal; The resource allocation unit is used to allocate the audio and video access IP of the target audio and video server to the initiating user terminal and each invited user terminal, so that the initiating user terminal and each invited user terminal can directly access the target audio and video server or access the target audio and video server through a proxy server based on the audio and video access IP allocated to them.

8. A global audio and video service system, characterized in that: The service scope of the audio and video service system covers multiple regions in the world. The audio and video service system includes a business server, several audio and video servers and several proxy servers. The several audio and video servers are deployed in some or all regions within the service scope of the audio and video service system. The several proxy servers are deployed in some or all regions within the service scope of the audio and video service system. The business server is used to run the global audio and video service providing method described in any one of claims 1-6.

9. A storage medium, characterized in that: The storage medium is set in the server, and includes a stored program, wherein when the program is running, the server where the storage medium is located is controlled to execute the global audio and video service providing method according to any one of claims 1 to 6.

10. A service server, comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, characterized in that: When the program instructions are loaded and executed by the processor, the steps of the method for providing global audio and video services described in any one of claims 1 to 6 are implemented.