Detailed Description
In order to better understand the technical solutions in the embodiments of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the present application, shall fall within the scope of protection of the embodiments of the present application.
The implementation of the embodiments of the present application will be further described below with reference to the accompanying drawings.
In order to facilitate understanding of the solution of the embodiment of the present application, the following describes an exemplary network system architecture to which the solution is applied, as shown in fig. 1, where the network system may include: client 101, network access device 102, server 103.
The client may be a smart phone, a tablet computer, a vehicle-mounted terminal, a PC, etc., which is not limited in this embodiment. The client may be installed with an application program, and the user may access data in the internet through the application program installed in the client. For example, an application program for live broadcast may be installed in the client, and a user may live broadcast or watch live broadcast through the application program installed in the client.
The network access device may be any device capable of receiving signals of mobile signals and forwarding out signals of WIFI or ethernet, for example CPE (Customer Premise Equipment) also called client head-end equipment, etc. Of course, the network access device may also receive WIFI signals or wired signals. The network access device can convert high-speed 4G or 5G network signals into WiFi signals to be communicated with the terminal, and can be widely applied to rural areas, cities, hospitals, factories, communities and the like as wireless network access devices, so that the cost for paving network lines can be greatly saved. Of course, the network access device may also access a mobile signal of 6G or higher, which is not limited in this embodiment.
The server may include a dispatch center and a plurality of aggregation servers. The dispatch center may store a communication identifier of the aggregation server, available resources corresponding to each of the plurality of aggregation servers, real-time resources of the aggregation server, and the like. The aggregation server can establish aggregation connection with the network access equipment under the dispatching of the dispatching center, so that the data transmission with the network access equipment can be realized through the aggregation connection by the aggregation server.
When the network access device transmits data, the data may be transmitted to an aggregation server, and the aggregation server forwards the data to a server corresponding to a destination of the data transmission. If the aggregation server and other servers corresponding to the destination are located in the same network composed of a plurality of servers, the data can be forwarded to the destination directly through the servers in the network. If the aggregation server and the server corresponding to the destination are not in the same network composed of a plurality of servers, the data can be forwarded to the server corresponding to the destination through the network where the aggregation server is located.
For example, the network access device may include a plurality of physical interfaces, and the plurality of physical interfaces may be aggregated to obtain an aggregated interface. The network access device may establish an aggregation connection with an aggregation server through an aggregation interface. When data transmission is carried out, the network access equipment can send data to the aggregation server through a physical interface included in the aggregation interface, and the aggregation server can aggregate the data sent by a plurality of physical interfaces through an aggregation algorithm; otherwise, the network access equipment performs data aggregation through an aggregation algorithm built in the aggregation interface.
In this embodiment, the network access device sends an aggregate connection request for applying bandwidth resources to the scheduling center, so that the scheduling center allocates a plurality of available candidate aggregate servers to the network access device according to the bandwidth resource requirement of the network access device, and returns to the network access device; the network access equipment determines a target aggregation server from a plurality of available candidate aggregation servers, and after the aggregation connection between the network access equipment and the target aggregation server is established, a message for indicating successful connection with the target aggregation server is sent to the dispatching center, so that the dispatching center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement of the network access equipment. After the network access device sends the aggregation connection request, a plurality of candidate aggregation servers are allocated for the network access device based on the bandwidth resource requirement of the network access device, and after the network access device establishes connection with a target aggregation server in the plurality of candidate aggregation servers, the scheduling center updates available bandwidth information of the target aggregation server, so that the quantity of network access devices for establishing aggregation connection by the aggregation server in a valley period is limited through the available bandwidth information of the aggregation server and the bandwidth resource requirement of the network access device, and the problem that the aggregation server cannot meet the flow requirement of the network access device for establishing aggregation connection with the aggregation server in a peak period can be avoided.
The following describes the scheme of the present application through a specific method flowchart. Fig. 2 is a flow chart of a method for establishing a connection according to an embodiment of the present application, as shown in fig. 2, which includes:
s201, the network access device sends an aggregation connection request for applying bandwidth resources to the dispatching center.
Specifically, in this embodiment, the aggregate connection request carries network access device identification information of the network access device.
In this embodiment, the network access device identification information may be used as a unique identifier of the network access device. The network access device identification information may be a model + code of the network access device, etc.
When the network access device wishes to use the aggregated service, the dispatch center may be sent an aggregated connection request for applying bandwidth resources. In this embodiment, the aggregation service refers to data transmission between an aggregation interface established by the network access device through a plurality of physical interfaces and the server.
The aggregated connection request may carry network access device identification information of the network access device, so that the scheduling center determines, according to the aggregated connection request, relevant information of the network access device requesting to use the aggregated service.
In another implementation manner of the application, the bandwidth resource requirement of the network access device can be carried in the aggregated connection request, so that the bandwidth resource requirement of the network access device can be obtained after the aggregated connection request is analyzed by the dispatching center.
S202, the dispatching center receives the aggregation connection request, and distributes a plurality of available candidate aggregation servers for the network access equipment according to the bandwidth resource requirement of the network access equipment.
The dispatching center can store network access equipment identification information of a plurality of network access equipment and bandwidth resource requirements corresponding to the network access equipment, and after receiving the aggregation connection request, the dispatching center can determine the bandwidth resource requirements of the network access equipment indicated by the network access equipment identification information according to the network access equipment identification information carried in the aggregation connection request. The bandwidth resource requirement of the network access device is a bandwidth which can meet the data transmission requirement when the network access device works normally.
Or if the aggregate connection request carries the bandwidth resource requirement of the network access device, the scheduling center can obtain the bandwidth resource requirement of the network access device by analyzing the aggregate connection request.
Since the network access device has generally determined the upper bandwidth limit of the aggregation interfaces that it can support when shipped from the factory; or after the network access device performs update optimization, the bandwidth upper limit of the aggregation interface of the network access device may be determined, so in this embodiment, the bandwidth upper limit that can be supported by the network access device may be used as the bandwidth resource requirement of the network access device. Of course, in other implementations of the present application, other manners of determining the bandwidth requirement may be adopted, for example, determining a higher transmission rate in the historical data transmission rates of the network access device, and taking the bandwidth corresponding to the determined transmission rate as the bandwidth resource requirement of the network access device, where the determining manner of the bandwidth resource requirement is not limited in this embodiment.
In this embodiment, the scheduling center may determine, according to the determined bandwidth resource requirement, a plurality of candidate aggregation servers capable of meeting the bandwidth resource requirement from a plurality of servers.
For example, the scheduling center may maintain real-time available bandwidths of the plurality of aggregation servers, and after determining the bandwidth resource requirements of the network access device, use the aggregation server with the available bandwidth greater than the bandwidth resource requirements as the candidate aggregation server for allocating the plurality of candidate aggregation servers to the network access device.
And S203, the dispatching center returns a plurality of candidate aggregation servers to the network access equipment.
In this embodiment, the scheduling center may specifically return server identification information of multiple candidate aggregation servers, where the server identification information may enable the network access device to establish an aggregation connection with the aggregation server. The server identification information may specifically be a network address of the server. Of course, in other implementations of the present application, other information of the plurality of candidate aggregation servers may also be returned, as long as the network access device can be made to establish a link with the candidate aggregation server, which is not limited in this embodiment.
S204, the network access equipment determines a target aggregation server from a plurality of available candidate aggregation servers, and establishes aggregation connection between the network access equipment and the target aggregation server.
Specifically, in this embodiment, the network access device may establish an aggregation connection between the network access device and the target aggregation server according to the server identification information of the target aggregation server.
In this embodiment, after obtaining the server identification information of the plurality of candidate aggregation servers, the network access device may determine data transmission conditions corresponding to the plurality of candidate aggregation servers after establishing aggregation connection with the aggregation server, and may select an aggregation server with a better data transmission condition as a target aggregation server from the data transmission conditions, and establish an aggregation connection with the aggregation server.
For example, the network access device may aggregate the plurality of physical interfaces to obtain an aggregate interface, and may use the target aggregate server as a fixed address for transmitting data by the aggregate interface, where the target aggregate server may receive the data transmitted by the aggregate interface, and forward the data to an address to which the terminal request is transmitted according to the received data.
S205, the network access equipment sends a message for indicating successful connection with the target aggregation server to the dispatching center.
In this embodiment, after the network access device successfully establishes an aggregation connection with the target aggregation server, a message indicating that the connection with the target aggregation server is successful may be sent to the scheduling center, so as to inform the scheduling center.
S206, the dispatching center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement of the network access equipment.
After receiving the message sent by the network access device and used for indicating that the connection with the target aggregation server is successful, the scheduling center can update the available bandwidth information of the target aggregation server maintained in the scheduling center. After receiving the aggregate connection request for applying bandwidth resources sent by other network access devices, it can determine whether to distribute the target aggregate server to the network access devices according to the updated available bandwidth information of the target aggregate server.
According to the scheme provided by the embodiment, an aggregation connection request for applying bandwidth resources is sent to a dispatching center through network access equipment, so that the dispatching center distributes a plurality of available candidate aggregation servers for the network access equipment according to the bandwidth resource requirements of the network access equipment, and returns the multiple available candidate aggregation servers to the network access equipment; the network access equipment determines a target aggregation server from a plurality of available candidate aggregation servers, and after the aggregation connection between the network access equipment and the target aggregation server is established, a message for indicating successful connection with the target aggregation server is sent to the dispatching center, so that the dispatching center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement of the network access equipment. After the network access device sends the aggregation connection request, a plurality of candidate aggregation servers are allocated for the network access device based on the bandwidth resource requirement of the network access device, and after the network access device establishes connection with a target aggregation server in the plurality of candidate aggregation servers, the scheduling center updates available bandwidth information of the target aggregation server, so that the quantity of network access devices for establishing aggregation connection by the aggregation server in a valley period is limited through the available bandwidth information of the aggregation server and the bandwidth resource requirement of the network access device, and the problem that the aggregation server cannot meet the flow requirement of the network access device for establishing aggregation connection with the aggregation server in a peak period can be avoided.
Fig. 3 is a flow chart of a method for establishing a connection according to an embodiment of the present application, as shown in fig. 3, which includes:
s301, the network access device sends an aggregation connection request for applying bandwidth resources to the dispatching center, wherein the aggregation connection request carries network access device identification information of the network access device.
The specific implementation of step S301 may refer to the above embodiment, and will not be described herein.
S302, the dispatching center receives the aggregation connection request, determines the bandwidth resource requirement of the network access equipment according to the network access equipment identification information, and distributes a plurality of available candidate aggregation servers for the network access equipment according to the bandwidth resource requirement.
Optionally, in this embodiment, the scheduling center may maintain a bandwidth resource requirement of the network access device according to a historical data transmission rate of the network access device. Specifically, the scheduling center may acquire a historical data transmission rate of the network access device in a preset time period; and updating the bandwidth resource requirement corresponding to the network access equipment identification information included in the dispatching center according to the historical data transmission rate. The bandwidth resource requirement of the network access equipment is updated according to the historical data transmission rate of the network access equipment in the preset time period, so that the bandwidth resource requirement of the network access equipment is more in line with the use habit of a user for using the network access equipment, and a plurality of available candidate aggregation servers are distributed to the network access equipment according to the updated bandwidth resource requirement, so that the waste of bandwidth resources of the aggregation servers is avoided as much as possible.
It should be noted that, because the network access device may establish an aggregation connection with a plurality of aggregation servers in a preset time period, the aggregation server that establishes an aggregation connection with the network access ratio device may send the historical data transmission rate of the network access device and the network access device identification information to the scheduling center, and the scheduling center gathers the obtained historical data transmission rates according to the network access device identification information to obtain a data set of the historical data transmission rates corresponding to the network access device one by one. In this embodiment, in order to collect a sufficient historical data transmission rate, the preset time function may be set to three months or more.
Further, the updating the bandwidth resource requirement corresponding to the network access device identification information included in the scheduling center according to the historical data transmission rate includes: determining a cumulative distribution function of the transmission rate according to the historical data transmission rate of the network access equipment; and determining a data transmission rate corresponding to a preset cumulative probability value according to the cumulative distribution function, and determining a bandwidth corresponding to the determined data transmission rate as a bandwidth resource requirement of the network access equipment.
The cumulative distribution function ((Cumulative Distribution Function), CDF), which is the integral of the probability density function, fully describes the probability distribution of a real random variable X. Generally marked with uppercase CDF, as opposed to probability density function probability density function (lowercase pdf). The cumulative distribution function F (X) =p (x+.x) may represent the sum of the probability of occurrence of values less than or equal to X in a discrete variable.
In this embodiment, the historical data transmission rate within the preset time range may be sampled at a preset time interval (for example, 1 s), to obtain a discrete variable x corresponding to the historical data transmission rate, and generate an accumulated distribution function corresponding to the discrete variable.
Then, F (x) =a preset cumulative probability value may be obtained, a corresponding data transmission rate is obtained by solving, and a bandwidth corresponding to the obtained data transmission rate is determined as a bandwidth resource requirement of the network access device.
In this embodiment, after the bandwidth resource requirement is updated for the first time, the cumulative distribution function may be updated according to the data transmission rate generated by the network access device after the bandwidth resource requirement is updated, so that the bandwidth resource requirement of the network access device may be updated again according to the cumulative distribution function.
In this embodiment, in order to ensure that the bandwidth resource requirement of the network access device can meet the bandwidth requirement of the user within 99% of the time, the preset cumulative probability value=0.99 may be set. Therefore, the historical data transmission rate with 99% time in the preset time period can be ensured to correspond to the bandwidth smaller than the bandwidth resource requirement. Of course, the foregoing preset cumulative probability value=0.99 is set to ensure the normal use bandwidth of the user, and those skilled in the art may set the preset cumulative probability value to be other according to their own needs, which is not limited in this embodiment.
S303, the dispatching center returns server identification information of a plurality of candidate aggregation servers to the network access equipment.
The specific implementation of step S303 may refer to the above embodiment, and will not be described herein.
S304, the network access equipment receives server identification information of a plurality of available candidate aggregation servers returned by the dispatching center in response to the aggregation connection request, and generates and sends network quality detection messages to the plurality of candidate aggregation servers based on the server identification information.
In this embodiment, the network access device may determine the network addresses corresponding to the candidate servers respectively based on the server identification information, and send the network quality detection message based on the network addresses. The content, the data amount, etc. of the network quality detection message may be determined according to a preset configuration of the network access device, which is not limited in this embodiment.
The specific method for generating and transmitting the network quality detection message may refer to related technologies, and will not be described herein.
And S305, respectively receiving test data returned by the candidate aggregation servers in response to the network quality detection message by the network access equipment.
S306, the network access device determines network performance test results corresponding to the candidate aggregation servers respectively according to the received test data and the time for receiving the test data, and the network access device determines the target aggregation server from the candidate aggregation servers according to the network performance test results.
In this embodiment, the network access device determines parameters such as delay, network jitter, packet loss rate, and the like according to the received test data and the time of receiving the test data, and determines network performance test results respectively corresponding to the plurality of candidate aggregation servers according to the determined parameters.
The network access device may select, from the plurality of candidate aggregation servers, a target aggregation server with a better network performance test result according to the network performance test results corresponding to the plurality of candidate aggregation servers.
S307, the network access equipment establishes aggregation connection between the network access equipment and the target aggregation server.
In this embodiment, the specific method for establishing the aggregate connection may refer to related art, and will not be described herein.
In this embodiment, after the network access device receives the server identification information of the plurality of candidate aggregation servers, the network quality detection message is sent to determine real-time network quality detection results of the plurality of candidate aggregation servers, so that the target aggregation server can be selected based on the real-time network quality detection results obtained by the network access device, and when the target aggregation server is selected, the physical distance between the candidate aggregation server and the network access device and the like can be comprehensively considered, so that the target aggregation server more suitable for the network access device is selected.
And S308, the network access equipment sends a message for indicating successful connection with the target aggregation server to the dispatching center.
S309, the dispatching center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement of the network access device and the server identification information of the target aggregation server.
Optionally, in this embodiment, after the network access device successfully establishes an aggregation connection with the target aggregation server, data transmission may be performed between the network access device and the target aggregation server through the established aggregation connection based on the bandwidth allocated by the target aggregation server to the network access device, and since the network access device does not always use the maximum bandwidth for data transmission, the target aggregation server may allocate bandwidth to the network access device connected thereto in order to achieve correct QoS.
The target aggregation server performs bandwidth allocation by:
a: and determining the request bandwidths respectively corresponding to the plurality of network access devices which are connected with the target aggregation server, and determining preset bandwidth thresholds respectively corresponding to the plurality of network access devices.
B: and aiming at the network access equipment with the request bandwidth smaller than the preset bandwidth threshold, taking the request bandwidth as the real-time bandwidth of the network access equipment, and updating the bandwidth to be allocated according to the difference value between the preset bandwidth threshold and the request bandwidth.
C: and distributing the bandwidth to be distributed to network access equipment with the request bandwidth larger than a preset bandwidth threshold value.
Because the network access device does not always use the maximum bandwidth for data transmission, the aggregation server can have residual bandwidth, and through the steps, the aggregation server can allocate the residual bandwidth, thereby providing better service capability for the network access device with the request bandwidth exceeding the bandwidth resource requirement.
In this embodiment, the preset bandwidth threshold corresponding to the network access device may be consistent with the bandwidth resource requirement of the network access device, or the preset bandwidth threshold corresponding to the network access device may be the bandwidth reserved for the network access device by the aggregation server, which is not limited in this embodiment.
Specifically, in this embodiment, for a network access device with a request bandwidth smaller than a preset bandwidth threshold, the difference between the request bandwidth and the preset bandwidth threshold may be determined as a bandwidth reserved for the network access device, and if some bandwidths are idle bandwidths, the bandwidth to be allocated may be updated according to the calculated difference, that is, the calculated difference may be accumulated to the bandwidth to be allocated.
For example, if the aggregation server accesses 10 network access device devices and the total bandwidth of the aggregation server is 1Gbps, it may be determined that the preset bandwidth threshold of the 10 network access device devices is 0.1Gbps. If the request bandwidths of the 10 network access devices are all 100Mbps, the 10 network access devices can all transmit data at the rate of 100 Mbps.
For example, if the aggregation server accesses 2 network access device devices and the total bandwidth of the aggregation server is 1Gbps, it may be determined that the preset bandwidth threshold of the 2 network access device devices is 0.5Gbps. If, of the 2 network access devices, the network access device-1 is attempting to transmit data at a rate of 200Mbps and the network access device-2 is attempting to transmit data at a rate of 1000Mbps, 500-200=300 Mbps may be allocated as bandwidth to be allocated to the network access device-2. Then, the network access device-1 performs data transmission at a rate of 200Mbps, and the network access device-2 performs data transmission at a rate of 500+300=800 Mbps.
Optionally, if the number of network access devices with request bandwidth greater than the preset bandwidth threshold is multiple, the allocating the bandwidth to be allocated to the network access device with request bandwidth greater than the preset bandwidth threshold includes: based on a preset bandwidth allocation strategy, determining the ratio of bandwidth allocation corresponding to a plurality of network access devices; and distributing the bandwidth to be distributed to a plurality of network access devices according to the determined ratio, so that the bandwidth to be distributed can be distributed to a plurality of network access devices with request bandwidth larger than a preset bandwidth threshold value fairly according to the ratio.
Optionally, the preset bandwidth allocation policy includes at least one of: determining the ratio of the request bandwidths of a plurality of network access devices as the ratio of bandwidth allocation; determining a ratio of bandwidth allocation according to service priorities of a plurality of network access devices; and determining the ratio of bandwidth allocation according to the preset data transmission priorities of the plurality of network access devices.
In one implementation manner of the application, when the ratio of the request bandwidths of the plurality of network access devices is determined to be the ratio of bandwidth allocation, the ratio of the request bandwidths corresponding to the plurality of network access devices is determined aiming at the plurality of network access devices with the request bandwidths larger than the preset bandwidth threshold; and distributing the bandwidth to be distributed to a plurality of network access devices according to the determined ratio. Thus, fairness of bandwidth allocation can be ensured as much as possible.
For example, if the aggregation server accesses 4 network access device devices and the total bandwidth of the aggregation server is 1Gbps, it may be determined that the preset bandwidth threshold of the 4 network access device devices is 0.25Gbps. If, of the 4 network access devices, the network access device 1 is attempting to transmit data at a rate of 100Mbps, the network access device 2 is attempting to transmit data at a rate of 500Mbps, the network access device 3 is attempting to transmit data at a rate of 800Mbps, and the network access device 4 is attempting to transmit data at a rate of 1000Mbps, it is possible for the network access device 1 to perform data transmission at a rate of 100Mbps and to take 250-100=300 Mbps as the bandwidth to be allocated. For the network access device 2, the network access device 3, and the network access device 4, 300Mbps may be allocated to the network access device 2, the network access device 3, and the network access device 4 in a ratio of 5:8:10.
In one implementation manner of the present application, when determining the ratio of bandwidth allocation according to service priorities of a plurality of network access devices, service content corresponding to the network access devices may be determined, for example, a service may be, for example, a live broadcast service, a car networking service, a telemedicine service, etc., which is not limited in this embodiment.
For network access equipment with request bandwidth larger than a preset bandwidth threshold, the priority of the corresponding service can be determined, and the ratio of bandwidth allocation is determined according to the priority. The specific scheme of allocation according to the ratio may refer to the above paragraphs, and will not be repeated here.
Optionally, if the current service of the network access device does not exist in the service list, displaying the current service information of the network access device; receiving a setting operation for the current service, determining a service priority corresponding to the current service, and adding the current service to the service list to determine a ratio of bandwidth allocation according to the service priorities corresponding to the services in the adjusted service list. Thus, when the newly added service exists, the staff can set the priority according to the information of the newly added service, and update the service list with the priority.
For example, if it is determined that the current service of the network access device does not exist in the service list, relevant information of the service may be displayed to the staff member, where the relevant information may include: the possible surfing peak period, the bandwidth of the valley period, etc. The staff can set the priority through the interface according to the related information of the service, and add the priority to the service list after setting so as to update the priority ordering of a plurality of services in the service list.
In one implementation manner of the present application, when determining the ratio of bandwidth allocation according to preset data transmission priorities of a plurality of network access devices, the data transmission priorities of the plurality of network access devices may be preset in the aggregation server, and for the network access devices with request bandwidths greater than the preset bandwidth threshold, the corresponding data transmission priorities may be determined, and the ratio may be determined according to the data transmission priorities of the plurality of network access devices. The specific scheme of allocation according to the ratio may refer to the above paragraphs, and will not be repeated here.
According to the scheme provided by the embodiment, the bandwidth resource requirements of the network access equipment are updated according to the historical data transmission rate of the network access equipment, and bandwidth allocation is carried out on a plurality of network access equipment accessed by the network access equipment through the aggregation server, so that the bandwidth utilization rate of the aggregation server can be improved.
Fig. 4 is a flow chart of a method for establishing a connection according to an embodiment of the present application, as shown in fig. 4, which includes:
s401, the network access device sends an aggregation connection request for applying bandwidth resources for video transmission to a dispatching center.
And S402, the dispatching center receives the aggregation connection request, and distributes a plurality of available candidate aggregation servers for the network access equipment according to the bandwidth resource requirement for video transmission of the network access equipment.
S403, the dispatching center returns a plurality of candidate aggregation servers to the network access equipment.
S404, the network access device determines a target aggregation server from a plurality of available candidate aggregation servers, and establishes an aggregation connection between the network access device and the target aggregation server so as to transmit video data through the aggregation connection.
And S405, the network access equipment sends a message for indicating successful connection with the target aggregation server to the dispatching center.
S406, the scheduling center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement for video transmission of the network access equipment.
The scheme provided by the embodiment is suitable for live broadcasting scenes, such as exhibition live broadcasting, outdoor live broadcasting, business live broadcasting and the like. The network access device may provide a WiFi network for one or more live ends. The live broadcast terminal in this embodiment may be any device capable of live broadcasting, for example, a mobile phone, an ipad, etc., which is not limited in this embodiment.
In this embodiment, before the live broadcast end sends data through the network access device, it may be determined whether to use the aggregation connection to perform video data transmission, and if it is determined to use the aggregation connection, the network access device sends an aggregation connection request for applying bandwidth resources for video transmission to the scheduling center, so as to establish an aggregation connection with the aggregation server through the above steps. The specific implementation method of each step may refer to the above embodiment, and will not be described herein.
For example, after determining that the video data is transmitted using the aggregation connection, the network access device may send an aggregation connection request to the scheduling center, where the scheduling center allocates a plurality of candidate aggregation servers to the network access device according to a bandwidth resource requirement of the video data sent by the network access device, and the network access device may perform network performance detection on the plurality of candidate aggregation servers, select the candidate aggregation servers with better performance as a target aggregation server, and establish an aggregation connection with the target aggregation server.
When the live broadcasting terminal starts to conduct live broadcasting room, video data can be transmitted to a target aggregation server through aggregation connection of the network access equipment, and the video data is forwarded to the live broadcasting server through the target aggregation server. Of course, the live broadcast server and the target aggregation server may belong to the same scheduling center, or belong to different networks composed of servers, which is not limited in this embodiment.
Fig. 5 is a flow chart of a method for establishing a connection according to an embodiment of the present application, as shown in fig. 5, which includes:
s501, the network access device sends an aggregation connection request for applying bandwidth resources for vehicle data transmission to a dispatching center.
S502, the dispatching center receives the aggregation connection request, and distributes a plurality of available candidate aggregation servers for the network access equipment according to the bandwidth resource requirements for vehicle data transmission of the network access equipment.
S503, the dispatching center returns a plurality of candidate aggregation servers to the network access equipment.
S504, the network access equipment determines a target aggregation server from a plurality of available candidate aggregation servers, and establishes aggregation connection between the network access equipment and the target aggregation server so as to transmit vehicle data through the aggregation connection.
S505, the network access equipment sends a message for indicating successful connection with the target aggregation server to the dispatching center.
S506, the dispatching center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement for vehicle data transmission of the network access equipment.
The scheme provided by the embodiment is suitable for intelligent driving or auxiliary driving scenes. The vehicle may have a network access device mounted thereon.
In this embodiment, before the live broadcast end sends data through the network access device, it may be determined whether to use the aggregation connection to perform transmission of vehicle data, and if it is determined to use the aggregation connection, the network access device sends an aggregation connection request for applying bandwidth resources for vehicle data transmission to the dispatch center, so as to establish an aggregation connection with the aggregation server through the above steps. The specific implementation method of each step may refer to the above embodiment, and will not be described herein.
For example, after determining that the vehicle data is transmitted using the aggregated connection, the network access device may send an aggregated connection request to the scheduling center, where the scheduling center allocates a plurality of candidate aggregated servers to the network access device according to a bandwidth resource requirement of the network access device for transmitting the vehicle data, and the network access device may perform network performance detection on the plurality of candidate aggregated servers, select the candidate aggregated servers with better performance as a target aggregated server, and establish an aggregated connection with the target aggregated server.
If automatic driving is used, vehicle data are acquired through the vehicle-mounted sensors in the vehicle driving process, and part of the vehicle data are required to be uploaded to a vehicle cloud end, and driving instructions are issued through the cloud end. At this time, the driving data can be transmitted to the target aggregation server through the aggregation connection of the network access device, the vehicle data is forwarded to the vehicle cloud through the target aggregation server, and the driving instruction issued by the vehicle cloud can be transmitted to the vehicle through the target aggregation server. Of course, the live broadcast server and the target aggregation server may belong to the same scheduling center, or belong to different networks composed of servers, which is not limited in this embodiment.
Fig. 6 is a flow chart of a method for establishing a connection according to an embodiment of the present application, as shown in fig. 6, which includes:
s601, the network access equipment sends an aggregation connection request for applying bandwidth resources for diagnostic data transmission to a dispatching center.
S602, the dispatching center receives the aggregation connection request, and distributes a plurality of available candidate aggregation servers for the network access equipment according to the bandwidth resource requirement for the diagnostic data transmission of the network access equipment.
S603, the dispatching center returns a plurality of candidate aggregation servers to the network access equipment.
S604, the network access device determines a target aggregation server from a plurality of available candidate aggregation servers, and establishes an aggregation connection between the network access device and the target aggregation server so as to transmit diagnostic data through the aggregation connection.
And S605, the network access equipment sends a message for indicating successful connection with the target aggregation server to the dispatching center.
S606, the scheduling center updates the available bandwidth information of the target aggregation server according to the bandwidth resource requirement for the diagnostic data transmission of the network access equipment.
The scheme provided by the embodiment is suitable for a remote inquiry scene. The diagnosis device can be connected to wifi or ethernet provided by the network access device, so as to transmit diagnosis data, such as CT images, to the client of the doctor through the network, and receive the operation instruction issued by the client of the doctor through the network.
In this embodiment, before the diagnostic device sends data through the network access device, it may be determined whether to use an aggregated connection to perform transmission of diagnostic data, and if it is determined to use the aggregated connection, the network access device sends an aggregated connection request for applying bandwidth resources for transmission of diagnostic data to the scheduling center, so as to establish an aggregated connection with the aggregation server through the above steps. The specific implementation method of each step may refer to the above embodiment, and will not be described herein.
For example, after determining that the transmission of the diagnostic data is performed using the aggregated connection, the network access device may send an aggregated connection request to the scheduling center, where the scheduling center allocates a plurality of candidate aggregated servers to the network access device according to a bandwidth resource requirement of the network access device for sending the diagnostic data, and the network access device may perform network performance detection on the plurality of candidate aggregated servers, select the candidate aggregated servers with better performance as the target aggregated server, and establish an aggregated connection with the target aggregated server.
If the remote medical treatment is performed, the diagnosis device collects diagnosis data of the patient and sends the diagnosis data to the doctor client through the network, and the doctor issues an operation instruction for adjusting the diagnosis device according to the diagnosis data. At this time, diagnosis may be transmitted to the target aggregation server through the aggregation connection of the network access device, and diagnosis data may be forwarded to the doctor client through the target aggregation server, and operation information for the diagnosis device input by the doctor client may be transmitted to the diagnosis device through the target aggregation server, so that the diagnosis device performs a corresponding operation.
Fig. 7 is a schematic structural diagram of a gateway according to an embodiment of the present application, as shown in the drawings, including:
one or more processors (processors) 702;
a memory (memory) 704, the processor and the memory interact through an I/O interface.
The plurality of mobile communication modules 706 interact with the processor and the mobile communication modules 706 through the I/O interface.
The processor 702 is configured to execute the program 708, and may specifically perform relevant steps in the method embodiment for establishing a connection described above.
In particular, program 708 may include program code including computer-operating instructions.
The processor 702 may be a Central Processing Unit (CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors comprised by the smart device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 704 for storing programs 708. The memory 704 may include high-speed RAM memory or may further include non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.
The specific implementation of each step in the procedure 708 may refer to the corresponding steps and corresponding descriptions in the units in the above embodiment of the method for establishing a connection, which are not described herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The embodiment of the application also provides a computer storage medium, on which a computer program is stored, which when being executed by a processor, implements the method of establishing a connection as described in the above embodiment.
Embodiments of the present application also provide a computer program product comprising computer instructions that instruct a computing device to perform operations corresponding to the method of establishing a connection in any of the above-described method embodiments.
Embodiments of the present application also provide a computer program product comprising computer instructions that instruct a computing device to perform operations corresponding to the method of establishing a connection in any of the above-described method embodiments.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present application may be split into more components/steps, or two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the objects of the embodiments of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be stored on such software processes on a recording medium using a general purpose computer, special purpose processor, or programmable or special purpose hardware such as an ASIC or FPGA. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a storage element (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor, or hardware, performs the methods of establishing a connection described herein. Further, when the general-purpose computer accesses code for implementing the method of establishing a connection shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the method of establishing a connection shown herein.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The above embodiments are only for illustrating the embodiments of the present application, but not for limiting the embodiments of the present application, and various changes and modifications may be made by one skilled in the relevant art without departing from the spirit and scope of the embodiments of the present application, so that all equivalent technical solutions also fall within the scope of the embodiments of the present application, and the scope of the embodiments of the present application should be defined by the claims.