CN110784929A - Access resource allocation method, device, equipment and system - Google Patents

Access resource allocation method, device, equipment and system Download PDF

Info

Publication number
CN110784929A
CN110784929A CN201910836282.1A CN201910836282A CN110784929A CN 110784929 A CN110784929 A CN 110784929A CN 201910836282 A CN201910836282 A CN 201910836282A CN 110784929 A CN110784929 A CN 110784929A
Authority
CN
China
Prior art keywords
terminal
network
historical
request
quality information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910836282.1A
Other languages
Chinese (zh)
Other versions
CN110784929B (en
Inventor
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910836282.1A priority Critical patent/CN110784929B/en
Publication of CN110784929A publication Critical patent/CN110784929A/en
Application granted granted Critical
Publication of CN110784929B publication Critical patent/CN110784929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to an access resource allocation method, an access resource allocation device and an access resource allocation system, wherein the method comprises the following steps: responding to a resource allocation request, wherein the resource allocation request comprises network attributes of a request terminal, determining historical access resources of the request terminal, and acquiring historical network quality information from the request terminal to the historical access resources; determining a seed terminal having the same network attribute as the request terminal based on the network attribute of the request terminal; determining reference access resources allocated to various sub-terminals, and acquiring reference network quality information from various sub-terminals to the corresponding reference access resources; and determining the target access resource allocated to the request terminal from the historical access resources and the reference access resources. The method and the device can allocate the optimal access resource suitable for the user network environment to the current requesting user, provide a high-quality and stable network transmission channel for the network communication service, and achieve the purpose of improving the user experience.

Description

Access resource allocation method, device, equipment and system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a system for allocating access resources.
Background
With the rapid development of the internet and the increasing maturity of multimedia technology, the application of audio and video communication technology in daily life is more and more extensive, the ways of realizing audio and video communication become various, and the audio and video scenes of the mobile terminal become mainstream audio and video equipment, such as audio and video chatting, video conferencing, remote network education, remote monitoring, remote medical treatment, smart home and the like. In the data transmission process of audio and video communication, the network environment of a user is large, the user distribution in the audio and video behaviors of the same interaction is wide, and the network condition of user access is variable, so that how to select a high-quality access channel for the user becomes a basic problem for ensuring high-quality video communication.
In the prior art, the operator type of a user network is generally obtained according to the network attribute of a user, then the relevant access resource of the operator is directly allocated to the user, and audio and video communication can be realized by connecting the access resource.
Disclosure of Invention
The technical problem to be solved by the present application is to provide an access resource allocation method, apparatus, device and system, which can allocate an optimal access resource suitable for a user network environment to a current requesting user, provide a high-quality and stable network transmission channel for a network communication service, and achieve the purpose of improving user experience.
In order to solve the above technical problem, in one aspect, the present application provides an access resource allocation method, including:
responding to a resource allocation request, wherein the resource allocation request comprises network attributes of a request terminal, determining historical access resources of the request terminal, and acquiring historical network quality information from the request terminal to the historical access resources;
determining a seed terminal having the same network attribute as the request terminal based on the network attribute of the request terminal;
determining reference access resources allocated to various sub-terminals, and acquiring reference network quality information from various sub-terminals to the corresponding reference access resources;
and determining a target access resource allocated to the request terminal from the historical access resources and the reference access resources based on the historical network quality information of the request terminal and the reference network quality information of various sub-terminals.
In another aspect, the present application provides an access resource allocation apparatus, including:
the allocation request response module is used for responding to a resource allocation request, wherein the resource allocation request comprises network attributes of a request terminal, determining historical access resources of the request terminal, and acquiring historical network quality information from the request terminal to the historical access resources;
the seed terminal determining module is used for determining a seed terminal with the same network attribute as the request terminal based on the network attribute of the request terminal;
the resource information acquisition module is used for determining reference access resources allocated to various sub-terminals and acquiring reference network quality information from the various sub-terminals to the corresponding reference access resources;
and the access resource allocation module is used for determining target access resources allocated to the request terminal from the historical access resources and the reference access resources based on the historical network quality information of the request terminal and the reference network quality information of various sub-terminals.
In another aspect, the present application provides an apparatus comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the access resource allocation method as described above.
In another aspect, the present application provides a computer storage medium having at least one instruction, at least one program, set of codes, or set of instructions stored therein, which is loaded by a processor and executes the access resource allocation method as described above.
In another aspect, the present application provides a distributed system, which is a blockchain network system including a plurality of terminals, where the terminals include a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the access resource allocation method as described above.
The embodiment of the application has the following beneficial effects:
comparing historical network quality information of a request terminal with reference network quality information of a seed terminal, and determining historical access resources corresponding to the terminal with optimal network quality information as target access resources allocated to the request terminal; the resource allocation method in the application combines the network quality information of each terminal in the historical communication process, can better fit the actual situation of the service, provides a more stable network access channel for the requesting users scattered to each region and each operator, improves the network transmission quality, and brings better network service experience to the users.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1(a) is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 1(b) is a schematic diagram of a distributed system provided by an embodiment of the present application;
fig. 2 is a flowchart of an access resource allocation method according to an embodiment of the present application;
fig. 3 is a flowchart of a seed terminal determination method according to an embodiment of the present application;
fig. 4 is a flowchart of a seed terminal selection method according to an embodiment of the present application;
fig. 5 is a flowchart of another seed terminal determination method provided in an embodiment of the present application;
fig. 6 is a flowchart of a method for determining a network quality information record according to an embodiment of the present application;
fig. 7 is a flowchart of another access resource allocation method provided in an embodiment of the present application;
fig. 8 is a schematic diagram of an access resource allocation apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of a seed terminal determining module provided in an embodiment of the present application;
fig. 10 is a schematic diagram of a seed terminal selection module according to an embodiment of the present application;
fig. 11 is a schematic diagram of a seed terminal query module according to an embodiment of the present application;
fig. 12 is a schematic diagram of a network quality information record determining module provided in an embodiment of the present application;
fig. 13 is a schematic diagram of an access resource allocation module according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an access policy distribution system according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the present application will be further described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1(a), a schematic diagram of an application scenario provided in an embodiment of the present application is shown, where the application scenario includes: at least one requesting terminal 110 and a resource allocation server 120, the requesting terminal 110 and the resource allocation server 120 being in data communication over a network. Specifically, the requesting terminal 110 may send a resource allocation request to the resource allocation server 120, and the resource allocation server 120 determines an optimal access resource currently suitable for the requesting terminal 110 through a correlation method, and allocates the access resource to the requesting terminal 110.
The requesting terminal 110 may communicate with the resource allocation Server 120 based on a Browser/Server mode (Browser/Server, B/S) or a Client/Server mode (Client/Server, C/S). The requesting terminal 110 may include: the physical devices may also include software running in the physical devices, such as application programs and the like. The operating system running on the request terminal 110 in this embodiment of the application may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
The resource allocation server 120 and the requesting terminal 110 may establish a communication connection through a wired or wireless connection, and the resource allocation server 120 may include a server operating independently, or a distributed server, or a server cluster composed of multiple servers, where the server may be a cloud server.
In the application scenario shown in fig. 1(a), the requesting terminal 110, the resource allocation server 120, and the access resource server may form a distributed system, and the system according to the embodiment of the present invention may be a distributed system formed by connecting a client, a plurality of nodes (any form of computing devices in an access network, such as servers and user terminals) through a network communication form.
Taking a distributed system as an example of a blockchain system, referring To fig. 1(b), fig. 1(b) is an optional structural schematic diagram of the distributed system 100 applied To the blockchain system provided by the embodiment of the present invention, and is formed by a plurality of nodes (any form of computing devices in an access network, such as a server and a user terminal) and a client, and a Peer-To-Peer (P2P, Peer To Peer) network is formed between the nodes, and the P2P protocol is an application layer protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
In the data transmission process of audio and video conversation, the problems of large network environment of a user, wide user distribution in the audio and video behavior of the same interaction, variable network condition of user access and the like exist; for the technical scheme that an IP base is inquired according to the IP of a user to obtain the operator type of a user network, and then relevant access resources of the operator are selected to be allocated to the user, the technical scheme ignores data of other dimensions except the operator dimension, such as network quality information of the same type of user of the current request user; the access resource allocated based on the IP is generally a result obtained based on speed measurement, and is different from the real network state of the user in the real audio and video process.
In order to solve the above technical problem, the present application provides an access resource allocation method, which collects real-time network quality information of each terminal during an audio/video call as an access reference of a subsequent request terminal, and specifically, refer to fig. 2, which shows an access resource allocation method, which is applicable to a resource allocation server side in fig. 1(a), and the method includes:
s210, responding to a resource allocation request, wherein the resource allocation request comprises network attributes of a request terminal, determining historical access resources of the request terminal, and acquiring historical network quality information from the request terminal to the historical access resources.
The network attribute in this embodiment is a type of parameter that characterizes a network environment characteristic in which the requesting terminal is located, and specifically may include but is not limited to a network protocol address and a network type of the requesting terminal, specifically, the network protocol address may be an IP address, and the network type may be a related type such as 3G, 4G, WiFi, and the like. Based on the IP address, it is possible to perform a query in the IP library, find operator information corresponding to the IP address, geographical location information where the requesting terminal is located, and the like.
In addition, the resource allocation request further includes device identification information of the requesting terminal, historical access resources of the requesting terminal, and historical network quality information from the requesting terminal to the historical access resources, which are stored in correspondence with the device identification information, so that the historical access resources of the requesting terminal can be determined according to the obtained device identification information, and the historical network quality information from the requesting terminal to the corresponding historical access resources can be obtained. The historical access resource and the historical network quality information are not necessarily all historical information of the requesting terminal, and the historical information of the requesting terminal in a preset time period may be obtained by a preset time period, for example, the preset time period may be one week, one month, three months, or the like.
For the same requesting terminal, the network attribute may be changed, for example, the IP address may be changed due to the change of the geographical location, and for the requesting terminal, the historical access resource may be allocated for different network attributes; then, in the current request, only the history access resource record allocated under the condition that the current network attribute is the same as the current network attribute needs to be acquired.
S220, determining a seed terminal with the same network attribute as the request terminal based on the network attribute of the request terminal.
The seed terminal corresponding to the requesting terminal is determined by the same network attribute in order to perform comparison under the same condition, that is, the seed terminal corresponding to the different allocated access resources is compared with the network quality information under the same network attribute. The seed terminal here may be a terminal belonging to the same operator, in the same geographical area, and of the same network type as the requesting terminal.
The seed terminal capable of providing reference for the current request terminal is a terminal which has already been selected and allocated with different access resources before the current request terminal initiates a resource allocation request, and a relevant historical network quality record is generated, namely the selection, the access resource allocation and the network quality information acquisition of the seed terminal are all completed in a historical time period before the current time. For the same type of users with the same network attribute, firstly, the same type of user terminals with the same network attribute in the big data of the user terminal are determined as a user terminal sample, a part of user terminals are selected from the user terminal sample, the part of user terminals are respectively dispatched to different service areas, different access resources are distributed for the user terminals, the network quality information of the part of user terminals to the corresponding access resources is collected in real time, and the collected network quality information is used as the access reference of a subsequent request terminal.
The selection of the seed terminal can be a process which is performed periodically and continuously, namely, the selection, the access resource allocation and the network quality information acquisition of the seed terminal are required to be performed at intervals; referring to fig. 3, a specific method for determining a seed terminal includes:
and S310, acquiring the network attribute of each terminal, and dividing the terminals with the same network attribute into the same group.
This step is to divide the terminals having the same network attribute into one group in order to group the user terminals by network attribute. Each user terminal herein may be a terminal that initiates a resource allocation request to the resource allocation server within a preset time period.
S320, in each group, selecting at least one terminal as a seed terminal in the group by a preset method, and marking the seed terminal.
For a method of selecting a seed terminal in each group, referring specifically to fig. 4, the method includes:
and S410, acquiring the equipment serial number of each terminal in the group.
The device serial number refers to unique identification information of the device, and may be composed of a series of numbers or letters.
And S420, selecting the numbers of the serial numbers of the equipment at the same position.
The last two digits of each device serial number may be specifically referred to in this embodiment.
And S430, performing modulus operation on the first preset numerical value by using the numbers of the equipment serial numbers at the same position.
And S440, selecting the terminal corresponding to the equipment serial number with the modulus result of the second value as the seed terminal in the group.
And taking the last two digits of each equipment serial number as a number, performing modulus operation on the first preset numerical value, obtaining each modulus operation result after sequential operation, and selecting the terminal corresponding to the equipment serial number of which the modulus operation result is the second numerical value as a seed terminal.
For example, assuming that there are 5 terminals, i.e., terminal 1, terminal 2, terminal 3, terminal 4, and terminal 5, the last two bits of the device serial numbers are 12, 16, 35, 46, and 82, respectively, modulo 5 is performed, the obtained modulo results are sequentially 2, 1, 0, 1, and 2, and the terminal corresponding to the device serial number with the modulo result of 1 is selected as the seed terminal, i.e., terminal 2 and terminal 4 are selected as the seed terminals in the group.
S330, distributing different reference access resources for various sub-terminals in the group.
Different access resources are allocated to the terminal 2 and the terminal 4 selected in the above steps, specifically, the terminal 2 is accessed to the server resource in Shanghai, the terminal 4 is accessed to the server resource in Beijing, and the real-time network quality information from the terminal 2 and the terminal 4 to the corresponding access resource in the network communication process is collected.
And S230, determining the reference access resources allocated to various sub-terminals, and acquiring the reference network quality information from the various sub-terminals to the corresponding reference access resources.
Here, the allocation of different access resources to the seed terminal is to acquire network quality information from the terminal having the same network attribute to different access resources, so as to provide reference information for a subsequent request terminal and select an optimal access resource.
Specifically, referring to fig. 5, a method for determining a corresponding seed terminal based on the network attribute of the requesting terminal includes:
s510, determining the geographical position information of the request terminal and the operator information of the request terminal based on the network protocol address.
S520, determining the target group to which the request terminal belongs based on the geographical position information, the operator information and the network type.
S530, determining the marked terminal in the target grouping as a seed terminal corresponding to the request terminal.
By the method, the seed terminal with the same network attribute as the current request terminal can be determined.
S240, based on the historical network quality information of the request terminal and the reference network quality information of various sub-terminals, determining the target access resource distributed to the request terminal from the historical access resource and the reference access resources.
As for the network quality information in the above steps, the network quality information is composed of a plurality of network quality information records in a preset time period, and a specific method for determining a network quality information record may refer to fig. 6, where the method includes:
s610, in the process that each terminal communicates with the corresponding access resource, real-time self network state data reported by the terminal and real-time uplink network state data of the terminal reported by the access resource of the terminal are collected in real time.
The network quality information can include network state data of two aspects, on one hand, the network state data is reported by the terminal; and on the other hand, the uplink network state data of the terminal is reported by the access resource corresponding to the terminal.
And S620, respectively carrying out data statistics of a plurality of data dimensions on the real-time self network state data and the real-time uplink network state data.
Each item of network state data comprises data of a plurality of data dimensions, wherein the plurality of data dimensions at least comprise at least two of the following data dimensions: packet loss rate, delay, jitter, frame rate, and code rate. For example, for a network status data, the packet loss rate is 20%, the delay is 200ms, and the jitter is 10.
Each network state data has a corresponding time stamp, and the collected data is stored and counted according to the dimension to obtain a data counting result under each data dimension.
And S630, integrating the data statistical results of the multiple data dimensions, and calculating the statistical value of the data in a preset time interval.
According to the data statistics result, data of each data dimension in a preset time interval is obtained, the preset time interval in this embodiment takes one minute as an example, and the following simple example illustrates the data of each data dimension in a preset time period, which can be seen in table 1:
TABLE 1 data of data dimension within preset time period
Figure BDA0002192257980000091
Figure BDA0002192257980000101
As can be seen from the above table, it includes a certain terminal from 8: 0: 00 to 8: 01: 00 network state data of each data dimension in the time interval, wherein each timestamp has a data record comprising a plurality of dimensions, and the average value of each data dimension is respectively calculated, so that the average value of packet loss rate dimensions in the minute is 11.67%, and the sum is 35%; the average value of the delay dimensions is 143.33ms, and the sum is 430 ms; the average value of the jitter dimensions is about 8 and the sum is 23.
And S640, storing the statistic value of the data in the preset time interval as a network quality information record corresponding to the terminal.
From 8: 0: 00 to 8: 01: the time interval 00 is merely an example, wherein the time interval between two timestamps is 30s, and it should be noted that the time interval between the timestamps may be smaller in the implementation process.
Based on the calculation, the sum and the average value of the network state data of each data dimension of each terminal in every minute can be obtained, so that the network quality information record corresponding to each terminal is obtained, and each network quality information record is stored for subsequent use.
Based on the processing of the network state data of each terminal, historical network quality information of each user in a historical preset time period can be obtained, wherein the historical network quality information comprises a plurality of network quality information records of the request terminal in the historical preset time period, and the reference network quality information comprises a plurality of network quality information records of each seed terminal in the historical preset time period; based on the historical network quality information of each terminal, an optimal resource for the final allocation of each requesting terminal may be determined, please refer to fig. 7, which shows another access resource allocation method, the method comprising:
and S710, calculating a data statistic value of the request terminal in the historical preset time period according to a plurality of network quality information records of the request terminal.
First, a history preset time period is determined, and the history preset time period in this embodiment may be 10 minutes and 60 minutes in the past, the same time period of yesterday, the same time period of the last week, and the like, based on the current time when the resource allocation request of the requesting terminal is received.
As can be seen from the above description of the present embodiment, each terminal has one network quality information record corresponding to it every minute, where the historical preset time period here takes the past 10 minutes as an example, and obtaining the historical network quality information of the past 10 minutes is equivalent to obtaining 10 network quality information records, and so on.
For a request terminal, acquiring network quality information records of 10 minutes in the past, carrying out calculation similar to that of each item of data in table 1 on 10 network quality information records to obtain an average value and a sum of data in each data dimension, and taking the 10 network quality information records and the average value and the sum calculated on the basis of the 10 records as historical network quality information of the request terminal.
And S720, calculating the data statistic value of each seed terminal in the historical preset time period according to the plurality of network quality information records of each seed terminal.
Based on a method similar to step S710, the average and the sum of the data of each seed terminal in which the network quality information is recorded in the respective data dimensions over the past 10 minutes are calculated.
And S730, determining a statistical value meeting a preset condition from the statistical value of the data of the request terminal in a preset time period and the statistical value of the data of each seed terminal in the historical preset time period.
In this embodiment, a comparison order of the statistical values of each data dimension may be set, and the comparison order may be: packet loss rate, delay, jitter, frame rate, and code rate; for example, for a requesting terminal and various sub-terminals, first, the statistical values of the packet loss dimensions of the terminals are compared, such as an average value, and the average value with the minimum packet loss dimension is determined; when the average values of the packet loss dimensions of the terminals are the same, continuously comparing the statistical values of the delay dimensions, determining the average value with the minimum delay dimension, and repeating the steps to obtain the minimum average value, wherein the average value is the minimum, and the result shows that the network quality is relatively good.
Instead of being able to compare on average, the sums of the data dimensions can also be compared, again to determine a minimum sum.
And S740, determining the access resource of the terminal corresponding to the statistic value meeting the preset condition as the target access resource.
And determining the access resource of the corresponding terminal as the target access resource according to the determined minimum statistic value, such as the average value or the sum.
The target access resource may be a history access resource once allocated to the requesting terminal, or an access resource of a seed terminal after being selected as the seed terminal.
And S750, distributing the target resource to the request terminal.
The application aims to find out relatively optimal access resources to be allocated to a request terminal so as to provide higher-quality and stable network access for the request terminal.
Aiming at the problems that the network environment of a user is large, the user distribution is wide in the same network interaction behavior, the network change of user access is constant and the like in the network communication process, the optimal access method suitable for the network environment of the user terminal is provided, and historical access resources corresponding to the terminal with the optimal network quality information are determined to be target access resources distributed to the request terminal by comparing the historical network quality information of the request terminal with the reference network quality information of a seed terminal; the resource allocation method in the application combines the network quality information of each terminal in the historical communication process, can better fit the actual situation of the service, provides a more stable network access channel for the requesting users scattered to each region and each operator, improves the network transmission quality, and brings better network service experience to the users. The access resource allocation method provided by the application can be applied to the scene of audio and video conversation and is also applicable to other application scenes with requirements on network quality.
The present embodiment further provides an access resource allocation apparatus, please refer to fig. 8, where the apparatus includes:
an allocation request responding module 810, configured to respond to a resource allocation request, where the resource allocation request includes a network attribute of a requesting terminal, determine a historical access resource of the requesting terminal, and obtain historical network quality information from the requesting terminal to the historical access resource;
a seed terminal determining module 820, configured to determine, based on the network attribute of the requesting terminal, a seed terminal having the same network attribute as the requesting terminal;
a resource information obtaining module 830, configured to determine reference access resources allocated to various sub-terminals, and obtain reference network quality information from each sub-terminal to a corresponding reference access resource;
an access resource allocation module 840, configured to determine, based on historical network quality information of the requesting terminal and reference network quality information of various sub-terminals, a target access resource allocated to the requesting terminal from the historical access resource and the reference access resources.
Referring to fig. 9, the apparatus further includes a seed terminal determining module 900, where the seed terminal determining module 900 includes:
a grouping module 910, configured to obtain network attributes of each terminal, and divide terminals with the same network attribute into the same group;
a seed terminal selecting module 920, configured to select, in each group, at least one terminal as a seed terminal in the group by using a preset method, and mark the seed terminal;
a first resource allocation module 930 configured to allocate different reference access resources for various sub-terminals in the group.
Referring to fig. 10, the seed terminal selecting module 920 includes:
a first obtaining module 1010, configured to obtain a device serial number of each terminal in the packet;
a number selecting module 1020 for selecting the numbers of the serial numbers of the devices at the same position;
a modulus operation module 1030, configured to perform a modulus operation on a first preset numerical value according to a number of each device serial number at the same position;
a first selecting module 1040, configured to select a terminal corresponding to the serial number whose modulo result is the second value as a seed terminal in the group.
Referring to fig. 11, the network attribute of the requesting terminal includes a network protocol address and a network type of the requesting terminal, and the seed terminal querying module 820 includes:
a first determining module 1110, configured to determine, based on the network protocol address, geographic location information of the requesting terminal and operator information to which the requesting terminal belongs;
a second determining module 1120, configured to determine a target group to which the requesting terminal belongs based on the geographic location information, the operator information, and the network type;
a third determining module 1130, configured to determine that the terminal marked in the target packet is the seed terminal corresponding to the requesting terminal.
Referring to fig. 12, the apparatus further includes a network quality information record determining module 1200, where the network quality information record determining module 1200 includes:
a network status data collecting module 1210, configured to collect, in real time, real-time self network status data reported by each terminal and real-time uplink network status data of the terminal reported by an access resource of the terminal in a process of communication between each terminal and the corresponding access resource;
a data statistics module 1220, configured to perform data statistics on multiple data dimensions on the real-time own network state data and the real-time uplink network state data respectively;
a statistic calculation module 1230, configured to synthesize data statistics results of the multiple data dimensions, and calculate a statistic of data within a preset time interval;
and an information record storage module 1240, configured to store the statistical value of the data in the preset time interval as a network quality information record corresponding to the terminal.
Wherein the plurality of data dimensions includes at least two of the following data dimensions:
packet loss rate, delay, jitter, frame rate, and code rate.
The historical network quality information comprises a plurality of network quality information records of the request terminal in a historical preset time period, and the reference network quality information comprises a plurality of network quality information records of each seed terminal in the historical preset time period; referring to fig. 13, the access resource allocation module 840 includes:
a first calculating module 1310, configured to calculate a statistical value of data of the requesting terminal in the historical preset time period according to a plurality of network quality information records of the requesting terminal;
a second calculating module 1320, configured to calculate, according to multiple network quality information records of each seed terminal, a statistical value of data of each seed terminal in the historical preset time period;
a statistics value determining module 1330, configured to determine, from the statistics values of the data of the request terminal in the preset time period and the statistics values of the data of each seed terminal in the historical preset time period, a statistics value meeting a preset condition;
a target access resource determining module 1340, configured to determine an access resource of the terminal corresponding to the statistical value meeting the preset condition as the target access resource;
a second resource allocating module 1350, configured to allocate the target resource to the requesting terminal.
The device provided in the above embodiments can execute the method provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the above embodiments may be referred to a method provided in any of the embodiments of the present application.
The embodiment also provides an access policy distribution system, and an overall module diagram of the distribution system can be seen in fig. 14, where the distribution system includes a regional user 1410, a media access layer 1420, and a policy distribution module 1430; wherein the regional users 1410 include users of different network types, and different operators; the media access layer 1420 includes a plurality of media machines and a flow control server; the policy assignment module 1430 includes:
network quality reporting module 1438: the module can clean data reported by a user terminal in real time, the cleaning logic mainly eliminates some reported abnormal data, sometimes the terminal reports some data beyond a reasonable range due to some abnormality, and after cleaning is finished, the data are reported to the multidimensional real-time quality statistic analysis module for analysis according to a fixed format. In the process of using the audio/video service, a client program needs to report real-time state information of the client program to the module, wherein the real-time state information comprises information such as end-to-end received packet loss rate, time delay, jitter, frame rate, code rate and the like.
Multidimensional real-time quality statistics analysis module 1440: the module is a module for real-time statistics and calculation, and the analysis principle of the module is as follows: 1. formatting the received data; 2. counting the formatted data according to the set dimension by taking the minute as a unit; 3. respectively outputting the total value and the average value of a plurality of dimensions in minutes; 4. and sending the statistical result to a storage module for storage, and storing the number of records generated in minutes. Specifically, after the network quality reporting module cleans some data reported by the user terminal, the data are reported to the platform for storage and calculation, and relevant quality statistics is performed through a plurality of statistical dimensions: the method comprises the steps of calculating average values of data dimensions such as packet loss, time delay, jitter, frame rate, code rate and quality grading, and sending the data to a storage module for storage and standby.
Scheduling real-time interference module 1436: and providing real-time interference data for each scheduling query, such as the requested data with the geographical position information of the user terminal and the network operator information, extracting analysis data in a historical time period (configurable: 10 minutes, 30 minutes and 60 minutes) and yesterday and the same time period of the last week from a storage module according to the information, extracting historical network quality data of the seed terminal and the historical network quality data of the request terminal from the analysis data, comparing the data, and selecting an access service area with optimal quality to return to the access strategy generation module. The module supports the inquiry of the optimal scheduling correction data of the same type of users in the real-time scheduling process, and all the data come from the storage of a multidimensional real-time quality statistical system.
The access policy generation module 1434: the method mainly comprises the steps that a non-IP and operator dimension scheduling auxiliary access branch of a front-section access scheduling distribution system is used, a scheduling real-time interference module at the rear end is requested from the module, seed terminals are generated through configuration strategies, the seed terminals are used for testing relevant access service areas for large-disk access, finally, the seed terminals report data and then generate a flow of recycling application, and the module also determines whether the capacity of the scheduling real-time interference module is started or not. The function of the access strategy generation module is mainly to calculate the optimal access strategy of the user according to the data provided by the scheduling real-time interference module and a certain rule.
The access strategy distribution system is based on a big data mode, and the overall idea is that in the process of audio and video conversation of a user, a multidimensional real-time quality statistical system collects network quality information of real-time audio and video user terminals, multi-dimensional analysis of big data is carried out according to data of the same type of user terminals in a big disc, real-time network access quality of the user terminals is calculated, meanwhile, a part of user terminals (hereinafter called seed terminals) are selected from samples of the user terminals and dispatched to different service areas, and multi-dimensional data of the seed terminals are extracted to compare access quality of normal user terminals of the existing network, so that the service areas of the later access user terminals are repaired, and therefore the optimal access strategy of the user terminals is obtained in real time.
The present embodiments also provide a computer-readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded by a processor and performs any of the methods described above in the present embodiments.
The present embodiment also provides a device, which is shown in fig. 15, and the device 1500 may have a large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1522 (e.g., one or more processors) and a memory 1532, and one or more storage media 1530 (e.g., one or more mass storage devices) for storing applications 1542 or data 1544. Memory 1532 and storage media 1530 may be, among other things, transient or persistent storage. The program stored on the storage medium 1530 may include one or more modules (not shown), each of which may include a series of instruction operations for the device. Still further, a central processor 1522 may be provided in communication with the storage medium 1530, executing a series of instruction operations in the storage medium 1530 on the device 1500. The apparatus 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input-output interfaces 1558, and/or one or more operating systems 1541, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc. Any of the methods described above in this embodiment can be implemented based on the apparatus shown in fig. 15.
The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive labor. The steps and sequences recited in the embodiments are but one manner of performing the steps in a multitude of sequences and do not represent a unique order of performance. In the actual system or interrupted product execution, it may be performed sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The configurations shown in the present embodiment are only partial configurations related to the present application, and do not constitute a limitation on the devices to which the present application is applied, and a specific device may include more or less components than those shown, or combine some components, or have an arrangement of different components. It should be understood that the methods, apparatuses, and the like disclosed in the embodiments may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a division of one logic function, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or unit modules.
Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 present application.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for access resource allocation, the method comprising:
responding to a resource allocation request, wherein the resource allocation request comprises network attributes of a request terminal, determining historical access resources of the request terminal, and acquiring historical network quality information from the request terminal to the historical access resources;
determining a seed terminal having the same network attribute as the request terminal based on the network attribute of the request terminal;
determining reference access resources allocated to various sub-terminals, and acquiring reference network quality information from various sub-terminals to the corresponding reference access resources;
and determining a target access resource allocated to the request terminal from the historical access resources and the reference access resources based on the historical network quality information of the request terminal and the reference network quality information of various sub-terminals.
2. The method of claim 1, wherein the method further comprises:
in the process that each terminal communicates with corresponding access resources, real-time self network state data reported by the terminal and real-time uplink network state data of the terminal reported by the access resources of the terminal are collected in real time;
respectively carrying out data statistics of a plurality of data dimensions on the real-time self network state data and the real-time uplink network state data;
synthesizing the data statistical results of the multiple data dimensions, and calculating the statistical value of the data in a preset time interval;
and storing the statistic value of the data in the preset time interval as a network quality information record corresponding to the terminal.
3. The method of claim 2, wherein the plurality of data dimensions comprise at least two of the following data dimensions:
packet loss rate, delay, jitter, frame rate, and code rate.
4. The method of claim 1, wherein the method further comprises:
acquiring the network attribute of each terminal, and dividing the terminals with the same network attribute into the same group;
in each group, selecting at least one terminal as a seed terminal in the group by a preset method, and marking the seed terminal;
allocating different said reference access resources for various sub-terminals in said group.
5. The method according to claim 4, wherein said selecting at least one terminal as the seed terminal in each group by a predetermined method comprises:
acquiring the equipment serial number of each terminal in the group;
selecting the numbers of the serial numbers of the equipment at the same position;
carrying out modulus operation on the first preset numerical value by using the numbers of the serial numbers of the equipment at the same position;
and selecting the terminal corresponding to the equipment serial number with the modulus result of the second value as the seed terminal in the group.
6. The method according to claim 4, wherein the network attribute of the requesting terminal comprises a network protocol address and a network type of the requesting terminal;
accordingly, the determining, based on the network attribute of the requesting terminal, the seed terminal having the same network attribute as the requesting terminal includes:
determining geographical location information of the request terminal and operator information to which the request terminal belongs based on the network protocol address;
determining a target group to which the request terminal belongs based on the geographical location information, the operator information and the network type;
and determining the marked terminal in the target grouping as a seed terminal corresponding to the request terminal.
7. The method according to claim 2, wherein the historical network quality information includes a plurality of network quality information records of the requesting terminal in a historical preset time period, and the reference network quality information includes a plurality of network quality information records of each seed terminal in the historical preset time period;
accordingly, the determining a target access resource allocated to the requesting terminal from the historical access resources and the reference access resources based on the historical network quality information of the requesting terminal and the reference network quality information of the various sub-terminals includes:
calculating the statistic value of the data of the request terminal in the historical preset time period according to a plurality of network quality information records of the request terminal;
calculating a statistic value of data of each seed terminal in the historical preset time period according to a plurality of network quality information records of each seed terminal;
determining a statistical value meeting a preset condition from the statistical value of the data of the request terminal in a preset time period and the statistical value of the data of each seed terminal in the historical preset time period;
determining the access resource of the terminal corresponding to the statistic value meeting the preset condition as the target access resource;
and allocating the target resource to the request terminal.
8. An apparatus for allocating access resources, comprising:
the allocation request response module is used for responding to a resource allocation request, wherein the resource allocation request comprises network attributes of a request terminal, determining historical access resources of the request terminal, and acquiring historical network quality information from the request terminal to the historical access resources;
the seed terminal determining module is used for determining a seed terminal with the same network attribute as the request terminal based on the network attribute of the request terminal;
the resource information acquisition module is used for determining reference access resources allocated to various sub-terminals and acquiring reference network quality information from the various sub-terminals to the corresponding reference access resources;
and the access resource allocation module is used for determining target access resources allocated to the request terminal from the historical access resources and the reference access resources based on the historical network quality information of the request terminal and the reference network quality information of various sub-terminals.
9. An apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the access resource allocation method according to any one of claims 1 to 7.
10. A distributed system, characterized in that the distributed system is a blockchain network system comprising a plurality of terminals, wherein the terminals comprise a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by the processor to implement the access resource allocation method according to any one of claims 1 to 7.
CN201910836282.1A 2019-09-05 2019-09-05 Access resource allocation method, device, equipment and system Active CN110784929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910836282.1A CN110784929B (en) 2019-09-05 2019-09-05 Access resource allocation method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910836282.1A CN110784929B (en) 2019-09-05 2019-09-05 Access resource allocation method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN110784929A true CN110784929A (en) 2020-02-11
CN110784929B CN110784929B (en) 2021-06-15

Family

ID=69384033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910836282.1A Active CN110784929B (en) 2019-09-05 2019-09-05 Access resource allocation method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN110784929B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787570A (en) * 2020-06-19 2020-10-16 深圳市有方科技股份有限公司 Data transmission method and device of Internet of things equipment and computer equipment
CN112003957B (en) * 2020-10-28 2021-02-26 腾讯科技(深圳)有限公司 Method, device, server and storage medium for scheduling access point
CN112565917A (en) * 2020-11-26 2021-03-26 湖南快乐阳光互动娱乐传媒有限公司 Node selection method and device
CN113177697A (en) * 2021-04-09 2021-07-27 深圳市广和通无线股份有限公司 Cell access method, device, computer equipment and storage medium
CN115484519A (en) * 2022-09-14 2022-12-16 广东九博科技股份有限公司 Grouping enhancement mode OTN equipment
CN115484154A (en) * 2021-05-28 2022-12-16 北京小米移动软件有限公司 Resource device configuration method, resource device request method, resource device configuration device, resource device request device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333106A (en) * 2010-07-13 2012-01-25 中国移动通信集团公司 Peer-to-peer (P2P) system resource scheduling method and device and system thereof
CN104735786A (en) * 2013-12-18 2015-06-24 中兴通讯股份有限公司 Resource scheduling method and device
CN106161284A (en) * 2015-04-10 2016-11-23 深圳市云帆加速科技有限公司 A kind of resource regulating method and system
CN107911232A (en) * 2017-10-27 2018-04-13 北京神州绿盟信息安全科技股份有限公司 A kind of method and device of definite business operation rule

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333106A (en) * 2010-07-13 2012-01-25 中国移动通信集团公司 Peer-to-peer (P2P) system resource scheduling method and device and system thereof
CN104735786A (en) * 2013-12-18 2015-06-24 中兴通讯股份有限公司 Resource scheduling method and device
CN106161284A (en) * 2015-04-10 2016-11-23 深圳市云帆加速科技有限公司 A kind of resource regulating method and system
CN107911232A (en) * 2017-10-27 2018-04-13 北京神州绿盟信息安全科技股份有限公司 A kind of method and device of definite business operation rule

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787570A (en) * 2020-06-19 2020-10-16 深圳市有方科技股份有限公司 Data transmission method and device of Internet of things equipment and computer equipment
CN111787570B (en) * 2020-06-19 2023-11-03 深圳市有方科技股份有限公司 Data transmission method and device of Internet of things equipment and computer equipment
CN112003957B (en) * 2020-10-28 2021-02-26 腾讯科技(深圳)有限公司 Method, device, server and storage medium for scheduling access point
WO2022089321A1 (en) * 2020-10-28 2022-05-05 腾讯科技(深圳)有限公司 Method and apparatus for scheduling access point, and server and storage medium
CN112565917A (en) * 2020-11-26 2021-03-26 湖南快乐阳光互动娱乐传媒有限公司 Node selection method and device
CN113177697A (en) * 2021-04-09 2021-07-27 深圳市广和通无线股份有限公司 Cell access method, device, computer equipment and storage medium
CN115484154A (en) * 2021-05-28 2022-12-16 北京小米移动软件有限公司 Resource device configuration method, resource device request method, resource device configuration device, resource device request device and storage medium
CN115484154B (en) * 2021-05-28 2024-04-16 北京小米移动软件有限公司 Configuration method, request method, device and storage medium of resource equipment
CN115484519A (en) * 2022-09-14 2022-12-16 广东九博科技股份有限公司 Grouping enhancement mode OTN equipment

Also Published As

Publication number Publication date
CN110784929B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN110784929B (en) Access resource allocation method, device, equipment and system
US9628363B2 (en) Network usage monitoring and analytics for differentiated data services
CN108521856A (en) Dispatching method in content distributing network and equipment
CN107528870B (en) A kind of collecting method and its equipment
CN102651033B (en) A kind of recommend method of online resource and device
EP3905589A1 (en) Slice resource deployment method and apparatus, and slice manager and computer storage medium
CN112256542B (en) eBPF-based micro-service system performance detection method, device and system
CN106161485B (en) A kind of resource regulating method of infrastructure service cluster, device and system
CN108600300A (en) Daily record data processing method and processing device
RU2612570C2 (en) Method, device and system for real-time data processing
CN111352799A (en) Inspection method and device
EP2371156A1 (en) A method and system for analysing a mobile operator data network
CN107104855A (en) A kind of power information acquisition terminal online hours, the statistical method of online rate
CN113821421B (en) Method, system, device and storage medium for collecting server performance data
CN108063814B (en) Load balancing method and device
WO2021147319A1 (en) Data processing method, apparatus, device, and medium
CN113467718B (en) Data processing method and device, electronic equipment and storage medium
CN113079062B (en) Resource adjusting method and device, computer equipment and storage medium
CN111277451A (en) Service evaluation method, device, terminal equipment and medium
Masala et al. Challenges and issues on collecting and analyzing large volumes of network data measurements
CN111935769B (en) Poor cell identification method, device and equipment
CN105939208B (en) The transmission method and device of sampled data
CN116723339B (en) Content data distribution method and device, storage medium and electronic equipment
WO2024066770A1 (en) Information acquisition method and apparatus, and storage medium
CN116915614A (en) Processing method, system and medium for synthesizing peer-to-peer management content distribution network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40013170

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant