CN112654090B - Resource allocation method, device, system and computer readable storage medium - Google Patents

Resource allocation method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN112654090B
CN112654090B CN202011453951.6A CN202011453951A CN112654090B CN 112654090 B CN112654090 B CN 112654090B CN 202011453951 A CN202011453951 A CN 202011453951A CN 112654090 B CN112654090 B CN 112654090B
Authority
CN
China
Prior art keywords
resource
transaction
feedback
information
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011453951.6A
Other languages
Chinese (zh)
Other versions
CN112654090A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011453951.6A priority Critical patent/CN112654090B/en
Publication of CN112654090A publication Critical patent/CN112654090A/en
Application granted granted Critical
Publication of CN112654090B publication Critical patent/CN112654090B/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/20Control channels or signalling for resource management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Abstract

The application discloses a resource allocation method, a device, a system and a computer readable storage medium. The method can be applied to a session management function entity, and comprises the following steps: broadcasting transaction information; receiving feedback information from at least one responding device; if the feedback information of at least one response device meets the preset resource allocation condition, recovering the network resources of which the quantity is greater than or equal to the resource requirement value from at least one response device according to the resource yielding information of at least one response device at the resource recovery moment; and after the resource feedback time of the at least one response device, allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device. According to the method provided by the embodiment of the application, the utilization rate of network resources can be improved.

Description

Resource allocation method, device, system and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for resource allocation.
Background
In a mobile communication network, the Maximum aggregated Bit Rate (AMBR) includes the concept of the Maximum aggregated Rate of the responding devices (UE-AMBR), i.e. all non-Guaranteed Bit Rates (GBR) of each UE are equal to the total Maximum aggregated Rate of the traffic data streams.
Since the AMBR is only for the non-GBR traffic data streams, and the real-time traffic data flow of each non-GBR traffic data stream always changes and does not always reach the peak value, at some time, although a certain UE obtains a higher UE-AMBR value, it is not always able to fully utilize the bandwidth resources, and other UEs may temporarily need to obtain a higher UE-AMBR but cannot obtain low utilization rate of the network resources because the available network resources are already allocated.
Disclosure of Invention
Therefore, the present application provides a resource allocation method, apparatus, system and computer-readable storage medium, so as to solve the problem in the prior art that the utilization rate of network resources is low due to the fact that bandwidth resources cannot be fully utilized.
In order to achieve the above object, a first aspect of the present application provides a resource allocation method applied to a session management function entity, including: broadcasting transaction information of the network resources, wherein the transaction information is used for indicating a preset resource requirement value of resource recovery transaction, a resource recovery moment and a preset resource feedback supply value of resource feedback transaction; receiving feedback information from at least one response device, wherein the feedback information is used for indicating resource yielding information, resource feedback requirement values and resource feedback time; if the feedback information of at least one response device meets the preset resource allocation condition, recovering network resources with the quantity larger than or equal to the resource requirement value from at least one response device at the resource recovery moment according to the resource yielding information of at least one response device; and after the resource feedback time of the at least one response device, allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device.
A second aspect of the present application provides a resource allocation method, applied to a user equipment, including: receiving transaction information of network resources from a session management function entity, wherein the transaction information is used for indicating a resource requirement value of a preset resource recovery transaction, a resource recovery time and a resource feedback supply value of the preset resource feedback transaction; if the number of the network resources actually used at present of the equipment is lower than the number of the network resources obtained from the session management function entity in a preset time period, modifying the received transaction information to obtain feedback information of the equipment, wherein the feedback information is used for indicating resource yielding information, resource feedback requirement values and resource feedback time of the equipment; updating the quantity of the network resources obtained by the equipment at the resource recovery moment, wherein the updated quantity of the network resources is the quantity of the remaining network resources of the equipment after the session management functional entity recovers the network resources from the equipment at the resource recovery moment according to the resource yielding information of the equipment; and receiving the network resources distributed by the session management function entity, wherein the quantity of the distributed network resources is the network resources distributed by the session management function entity based on the resource feedback requirement value of the equipment after the resource feedback time.
A third aspect of the present application provides a session management functional entity, including: the transaction information broadcasting module is used for broadcasting transaction information of the network resources, and the transaction information is used for indicating a preset resource requirement value of the resource recovery transaction, a resource recovery time and a preset resource feedback supply value of the resource feedback transaction; the feedback information receiving module is used for receiving feedback information from at least one response device, and the feedback information is used for indicating resource yielding information, resource feedback requirement values and resource feedback time; the network resource recovery module is used for recovering the network resources of which the quantity is greater than or equal to the resource requirement value from the at least one response device according to the resource giving-out information of the at least one response device at the resource recovery moment if the feedback information of the at least one response device meets the preset resource allocation condition; and the network resource allocation module is used for allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device after the resource feedback time of the at least one response device.
A fourth aspect of the present application provides a terminal device, including: the system comprises a transaction information receiving module, a transaction information processing module and a resource feedback processing module, wherein the transaction information receiving module is used for receiving transaction information of network resources from a session management function entity, and the transaction information is used for indicating a preset resource requirement value of a resource recovery transaction, a resource recovery moment and a preset resource feedback supply value of the resource feedback transaction; the transaction information modification module is used for modifying the received transaction information to obtain feedback information of the equipment if the number of the currently and actually used network resources of the equipment is lower than the number of the network resources obtained from the session management function entity in a preset time period, wherein the feedback information is used for indicating resource giving information, resource feedback requirement values and resource feedback time of the equipment; the resource updating module is used for updating the network resource quantity obtained by the equipment at the resource recovery time, wherein the updated network resource quantity is the residual network resource quantity of the equipment after the session management functional entity recovers the network resources from the equipment at the resource recovery time according to the resource yielding information of the equipment; and the resource receiving module is used for receiving the network resources distributed by the session management function entity, wherein the distributed network resources are the network resources distributed by the session management function entity based on the resource feedback requirement value of the equipment after the resource feedback time.
This application has following advantage: according to the resource allocation method of the first aspect and the session management function entity of the third aspect in the embodiments of the present application, by setting a transaction for reclaiming the AMBR and a transaction for repayment of the AMBR, by letting a terminal of the AMBR to reach a transaction with the SMF, letting the AMBR, and after the repayment transaction comes, obtaining an additional AMBR as the repayment. Therefore, the AMBR acquired by the user but not needed to be used temporarily can be temporarily given to other users to improve the resource utilization efficiency, and the AMBR quota previously given is obtained again at the time appointed by the mobile communication network to improve the resource utilization process and enhance the service experience.
According to the resource allocation method of the second aspect and the session terminal device of the fourth aspect in the embodiments of the present application, the obtained AMBR that is not needed for the time being, can be temporarily given away to other users to improve the resource utilization efficiency, and the previously given AMBR quota is obtained again at the time appointed by the mobile communication network to improve the resource utilization efficiency and the reasonable allocation of resources, thereby enhancing the service experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application and not to limit the application.
FIG. 1 is a flowchart illustrating a resource allocation method according to an embodiment of the present application;
FIG. 2 is a flowchart of a resource allocation method according to another embodiment of the present application;
FIG. 3 is a flowchart of a resource allocation method according to an exemplary embodiment of the present application;
fig. 4 is a schematic structural diagram of a session management function entity according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
FIG. 6 is a block diagram of an exemplary hardware architecture of a computing device capable of implementing methods and apparatus according to embodiments of the present application.
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present application, are given by way of illustration and explanation only, and are not intended to limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For a better understanding of the present application, reference will now be made in detail to the embodiments of the present application, which are illustrated in the accompanying drawings.
Fig. 1 is a flowchart illustrating a resource allocation method according to an embodiment of the present application. As shown in fig. 1, the resource allocation method in the embodiment of the present application includes the following steps:
s110, the transaction information of the network resource is broadcasted, and the transaction information is used for indicating the resource requirement value of the preset resource recovery transaction, the resource recovery time and the resource feedback supply value of the preset resource feedback transaction.
And S120, receiving feedback information from at least one response device, wherein the feedback information is used for indicating resource giving information, resource feedback requirement values and resource feedback time.
S130, if the feedback information of at least one response device meets the preset resource allocation condition, network resources with the quantity larger than or equal to the resource requirement value are recovered from at least one response device according to the resource yielding information of at least one response device at the resource recovery moment.
And S140, after the resource feedback time of the at least one response device, allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device.
According to the resource allocation method of the embodiment of the application, a Session Management Function (SMF) may set a transaction for recovering the AMBR and a transaction for feeding back the AMBR, and the AMBR is given by letting the terminal of the AMBR to complete the transaction with the SMF, and obtaining an additional AMBR as a feedback when the feedback transaction is due. Therefore, AMBR acquired by the user but not needed for the time is temporarily given to other users to improve the resource utilization efficiency, and the AMBR quota previously given is acquired again at the time appointed by the mobile communication network to enhance the service experience.
In an actual application scenario, the session management function entity may be implemented as a server.
In some embodiments, the resource relinquishing information of the at least one responding device comprises: at least one session identification of each response device and a resource yielding value corresponding to each session identification. The resource allocation conditions include: the resource yielding value corresponding to each session identifier of each response device is less than or equal to the actual resource value corresponding to the same queried session identifier; the total resource yielding value is greater than or equal to the resource requirement value, and the total resource yielding value is a resource yielding value obtained by calculating the sum of resource yielding values corresponding to each session identifier of each response device; moreover, the resource feedback requirement value of each response device is less than or equal to the sum of resource yielding values corresponding to each session identifier of the device per se; and the resource feedback time of each response device is an acceptable time point meeting the requirement of a preset strategy.
In this embodiment, in the event that the resource allocation condition is satisfied, a network resource is reclaimed from the at least one responder device in an amount greater than or equal to the resource demand value, implementing a transaction process to reclaim the AMBR.
In some embodiments, the feedback information includes a device identification of the at least one responding device; the feedback information of at least one response device is the information obtained by modifying the resource recovery transaction and the resource feedback transaction indicated in the transaction information received by each response device.
In this embodiment, in step S130, the step of recovering, at the resource recovery time, the network resources whose number is greater than or equal to the resource requirement value from the at least one responding apparatus according to the resource yielding information of the at least one responding apparatus may specifically include the following steps.
And S11, acquiring at least one first transaction and at least one second transaction, wherein the first transaction and the second transaction are transactions which are sent to the session management function entity after modifying the self-received resource recovery transaction and the self-received resource feedback transaction by the response equipment corresponding to the feedback information meeting the resource allocation condition.
And S12, signing each first transaction and each second transaction, and sending the first transaction signed by the session management function entity and the second transaction signed by the session management function entity to the corresponding response equipment.
S13, if the first transaction that is additionally signed and broadcast to the blockchain by one of the at least one responder is received and the time of broadcast to the blockchain is before the resource recycling time, determining that the first transaction corresponding to the one responder is valid.
S14, if the sum of the resource yielding values in each effective first transaction is more than or equal to the resource requirement value of the resource recovery transaction, then: and at the resource recovery moment, recovering the network resources which are greater than or equal to the resource requirement value from the response equipment corresponding to the at least one first effective transaction according to the resource giving-out information in the at least one first effective transaction.
In this embodiment, the SMF signs the resource recovery transaction and the resource feedback transaction and sends the signed transaction to each responding device, and if one responding device broadcasts the signed transaction to the blockchain after adding the signature to the resource recovery transaction and broadcasts the signed transaction to the blockchain before the resource recovery time, the resource recovery transaction sent by the responding device can take effect, thereby ensuring the data security of the resource recovery transaction.
In one embodiment, step S140 may specifically include the following steps.
S21, if a second transaction is received, wherein the second transaction is additionally signed and broadcast to the blockchain by one of the at least one responder, and the time of broadcast to the blockchain is after the resource feedback time of the one responder, determining that the second transaction corresponding to the one responder is valid.
And S22, under the condition that the resource feedback time in the second effective transaction is reached, distributing network resources to the response equipment corresponding to the second effective transaction according to the resource feedback requirement value of the response equipment corresponding to the second effective transaction.
In this embodiment, the SMF signs the resource recycle transaction and the resource feedback transaction and sends the signed transactions to each responding device, and if one responding device broadcasts the signed transactions to the blockchain after adding the signature to the resource feedback transactions, and the resource feedback transactions with the signature added to the responding device are broadcast to the blockchain after the resource feedback time, the resource feedback transactions sent by the responding device can only take effect.
In one embodiment, the transaction information is further used to indicate a temporary validity duration of the resource reclamation transaction for a first predetermined time period and a temporary validity duration of the resource feedback transaction for a second predetermined time period.
Wherein the first predetermined time period and the second predetermined time period may be time periods set according to a network busy period, for example, a morning-evening peak period. For example, the first predetermined time period may be an early peak period such as 7: 00-9: 00, the second predetermined time period may be a late peak period such as 17: 00-20: a time period of 00.
In this embodiment, the step of recovering, according to the resource yielding information of the at least one responding device, the network resources whose number is greater than or equal to the resource requirement value from the at least one responding device in step S130 may specifically include: and S31, recovering the network resource from the at least one response device according to the resource yielding information of the at least one response device within the temporary effective duration of the resource recovery transaction.
In this embodiment, in step S140, the step of allocating the network resource to the at least one responding device according to the resource feedback requirement value of the at least one responding device may specifically include: and S32, within the effective duration of the resource recycling transaction, allocating network resources to at least one response device according to the resource feedback requirement value of the at least one response device.
In the above embodiment, the temporary effective duration of the resource recovery transaction and the temporary effective duration of the resource feedback transaction may be set, so as to agree with the temporary recovery AMBR time length and the effective time length of the fed-back AMBR, and when the temporary effective duration of the resource recovery transaction is exceeded in the resource recovery transaction and the temporary effective duration of the resource feedback transaction is exceeded in the resource feedback transaction, the amount of the previous corresponding network resource is recovered, so that the bandwidth resource shortage may be alleviated in the busy period of the network.
In one embodiment, the resource feedback supply value and the resource demand value have a preset corresponding relation; if the network resource that can be allocated to the first responding device by the server is smaller than the resource feedback requirement value of the first responding device, where the first responding device is any one of the at least one responding device, the resource allocation method of the embodiment of the present application may further include the following step S150 or S160.
And S150, allocating the network resources to the first response device according to the resource feedback requirement value of the first response device and the network resources recovered from the low-level user devices, wherein the service level of the low-level user devices is lower than that of the first response device.
S160, broadcasting new transaction information, wherein the new transaction information is used for indicating the resource demand value of the new resource recovery transaction, the new resource recovery time and the resource feedback supply value of the new resource feedback transaction; and allocating network resources to the first response equipment according to the resource feedback requirement value of the first response equipment.
Wherein the resource requirement value of the new resource reclamation transaction is greater than or equal to the resource feedback requirement value of the first response device; the new resource recovery time is earlier than or equal to the resource feedback time of the first response equipment; the resource feedback supply value of the new resource feedback transaction is a resource value calculated according to the resource requirement value of the new resource recovery transaction and the preset corresponding relation.
In this embodiment, if the SMF has no additional resources allocated to the responding device in the resource reward transaction, the responding device may be allocated resources using the resources of the lower level user, or new transaction information may be broadcast to reclaim the additional resources to allocate to the responding device.
According to the resource allocation method of the embodiment of the application, the SMF may set a transaction for recovering the AMBR and a transaction for feeding back the AMBR, and complete the transaction with the SMF by the terminal of the AMBR, and allocate additional AMBR as the feedback to the terminal of the AMBR when the feedback transaction is due. Therefore, AMBR acquired by the user but not needed for the time is temporarily given to other users to improve the resource utilization efficiency, and the AMBR quota previously given is acquired again at the time appointed by the mobile communication network to enhance the service experience.
Fig. 2 shows a flowchart of a resource allocation method according to another embodiment of the present application. The resource allocation method shown in fig. 2 may be applied to a user equipment and may include the following steps.
S210, transaction information of the network resource from the session management function entity is received, wherein the transaction information is used for indicating a preset resource requirement value of the resource recovery transaction, a resource recovery time and a preset resource feedback supply value of the resource feedback transaction.
And S220, if the number of the currently and actually used network resources of the equipment is lower than the number of the network resources obtained from the session management function entity in a preset time period, modifying the received transaction information to obtain feedback information of the equipment, wherein the feedback information is used for indicating resource giving information, resource feedback requirement values and resource feedback time of the equipment.
And S230, updating the network resource quantity obtained by the equipment at the resource recovery moment, wherein the updated network resource quantity is the residual network resource quantity of the equipment after the session management functional entity recovers the network resources from the equipment at the resource recovery moment according to the resource giving information of the equipment.
S240, receiving the network resources allocated by the session management function entity, wherein the amount of the allocated network resources is the network resources allocated by the session management function entity based on the resource feedback requirement value of the device after the resource feedback time.
According to the resource allocation method provided by the embodiment of the application, the terminal equipment can temporarily give the obtained AMBR which is not needed to be used temporarily to other users so as to improve the resource utilization efficiency, and can obtain the previously given AMBR quota again at the time appointed by the mobile communication network so as to enhance the service experience.
In one embodiment, the transaction information includes a signature of the session management function entity on the resource recovery transaction and a signature on the resource feedback transaction; after the step of receiving the transaction information of the network resource from the session management function entity in step S210, the resource allocation method may further include the following steps.
And S250, adding the signature of the equipment to the resource recovery transaction signed by the session management function entity, and broadcasting the resource recovery transaction containing the equipment signature and the session management function entity signature to the block chain before the resource recovery time.
And S251, adding the signature of the equipment to the resource feedback transaction signed by the session management function entity, and broadcasting the resource feedback transaction containing the equipment signature and the session management function entity signature to the block chain after the resource feedback moment.
In this embodiment, the terminal device may add a signature to the received SMF-carrying resource recovery transaction and broadcast the signature to the blockchain, and the signed resource recovery transaction is broadcast to the blockchain before the resource recovery time, so that the resource recovery transaction can take effect, thereby ensuring the data security of the resource recovery transaction.
For a better understanding of the present application, a resource allocation method of an exemplary embodiment of the present application is described below with reference to fig. 3.
Fig. 3 shows a flowchart of a resource allocation method according to an exemplary embodiment of the present application. As shown in fig. 3, the resource allocation method may include the following steps.
S301, the session management function entity sets resource recovery transaction and resource feedback transaction.
In this step, the SMF may, for example, set a resource reclamation transaction T ue-SMF {[I ue ],[o=AMBR→SMF]|[before TS 1 ]And resource feedback transaction T SMF-ue {[o],[AMBR→ue]|[after ts 2 ]}。
Wherein, in the resource reclamation transaction: ue denotes a terminal device, [ I ] ue ]Is a resource reclamation transaction T ue-SMF Represents the AMBR value in the transaction, which must come from the AMBR already obtained by the terminal equipment ue; [ o ═ AMBR → SMF]Is a transaction T ue-SMF And AMBR → SMF denotes that the terminal device gives the SMF the bit rate with the value of AMBR, and o denotes a procedure AMBR → SMF, i.e., a procedure of going from ue to SMF the bit rate with the value of AMBR. [ beforeeTS 1 ]Is a resource feedback transaction T ue-SMF The condition holds, separated from input and output by "|". TS (transport stream) 1 Is a point in time, and may be referred to as a resource recovery time, beforeTS, for example 1 Indicating when the transaction is at a point in time TS 1 Previously broadcast to the blockchain, the transaction can only be validated.
In a resource feedback transaction: [ o ]]For transaction T SMF-ue Input of [ AMBR → ue ]]AMBR value of (1) from T ue-SMF Output process of (o ═ AMBR → SMF)],[afterTS 2 ]Is a transaction T SMF-ue The condition is true that identifies that the transaction must be broadcast to the blockchain after time point TS2 to be validated.
S302, the session management function entity broadcasts the set resource recovery transaction and resource feedback transaction in the network coverage area needing resource recovery.
In this step, SMF converts T ue-SMF And T SMF-ue Broadcasting in a coverage area of a Radio Access Network (RAN) where AMBR resources (UE-AMBR) from user equipment need to be reclaimed.
S303, the terminal device modifies the transaction information contained in the broadcast message in response to the received broadcast message.
In this step, for example, the UE receiving the broadcast message 1 Modifying T ue-SMF Is T UE1-SMF {[I UE1 ],[o=ambr(SID 1 ,V 1 )+ambr(SID 2 ,V 2 )+…+ambr(SID n ,V n )→SMF]|[beforeTS 1 ]}, modify T SMF-ue Is T SMF-UE1 {[o],[AMBR 1 →UE 1 ]|[afterTS 2 ]}。
Among them, ambr (SID) 1 ,V 1 ) Indicating session identification as SID 1 Has a session release value of V 1 AMBR of (2, AMBR, AMBR (SID) 1 ,V 1 )+ambr(SID 2 ,V 2 )+…+ambr(SID n ,V n ) → SMF denotes session identification as SID 1 、SID 2 、…、SID n N sessions of (1), each session releasing a value of V 1 、V 2 、…、V n The AMBR of (1).
In this step, the UE 1 Can be modified by modifying the transaction T ue-SMF And T SMF-ue UE in (1) is UE 1 And modifying AMBR to AMBR (SID) 1 ,V 1 )+ambr(SID 2 ,V 2 )+…+ambr(SID n ,V n ) And AMBR 1 Thereby setting the SMF as a transaction T ue-SMF And T SMF-ue And establishing an association relation with the self.
And S304, the terminal equipment sends the modified resource recovery transaction and the modified resource feedback transaction to the session management functional entity.
In this step, the UE 1 Will T UE1-SMF And T SMF-UE1 Sent to the SMF.
S305, the session management functional entity verifies the resource recovery transaction and the resource feedback transaction returned by the terminal equipment.
In this step, the SMF may perform the following verification step.
Verification condition 1: SMF verification T UE1-SMF V in 1 、V 2 、…、V n Whether or not to be less than or equal to UE 1 Session SID of 1 、SID 2 、…、SID n The current actual session-AMBR value. Verification condition 2: verification V 1 、V 2 、…、V n The sum meets the resource quantity requirement; verification condition 3: validating TS 2 Whether an acceptable time point is present; verification condition 4: verifying resource feedback requirement value AMBR 1 Whether or not it is less than or equal to V 1 、V 2 、…、V n And if the verification conditions are met, executing S306, otherwise ending the process.
In the verification condition 1, since there may be more than one UE sending out a transaction to the SMF for the AMBR in an actual application scenario, that is, the SMF may actually reclaim the AMBR from a plurality of different UEs, V in one UE 1 、V 2 、…、V n The sum of which may be less than or equal to the resource reclamation transaction T ue-SMF To satisfy a transaction requirement for the AMBR sent by the plurality of UEs to the SMF.
In verification condition 4, the resource feedback requirement value AMBR is verified 1 Less than or equal to V 1 、V 2 、…、V n In sum, the UE can be avoided 1 Smaller AMBRs are given and larger AMBRs are desirable as feedback. It should be noted that if the system rules allow the UE to execute 1 If a smaller AMBR is allowed and a larger AMBR is desired as a feedback, verify condition 4 may be eliminated.
In some embodiments, if SMF is at setting T ue-SMF And T SMF-ue The AMBR can be set in two transactions as a function of the resource demand value and the resource feedback supply value, for example: t is ue-SMF {[I ue ],[o=AMBR→SMF]|[beforeTS 1 ]},T SMF-ue {[o],[f(AMBR)→ue]|[afterts 2 ]Wherein the function f () is Y ═ 1.5 × X, X represents the resource demand value, and Y represents the resource feedback supply value of the SMF, i.e., T SMF-ue Wherein the AMBR value to be fed back to the at least one terminal device is T ue-SMF 1.5 times the value of AMBR recovered from at least one terminal device.
In some embodiments, if the verification conditions 1 to 4 are not all satisfied, the process may not be ended, but the SMF may initiate a back-and-forth negotiation, i.e., one or more negotiations, with the terminal device regarding the resource feedback requirement value and the resource feedback time for the terminal device to feed back.
That is, the SMF modifies and signs the resource recovery transaction and the resource feedback transaction, and then sends the modified and signed transactions to the terminal device. For example, SMF for T UE1-SMF And T SMF-UE1 After the content in the system is modified and signed, the content is sent to the UE 1 The modifications made may include, for example: modifying the resource feedback requirement value to ensure that the sum of the resource feedback requirement values of at least one terminal device is less than or equal to the resource feedback supply value; the modifications made may also include, for example: the resource feedback time is modified to an acceptable time point.
After receiving the resource recovery transaction modified and signed by the SMF and the resource feedback transaction modified and signed by the SMF, the terminal equipment signs and broadcasts to the block chain if the content modified by the SMF can be received; if the SMF cannot be modified, the transaction can be abandoned or the resource recovery transaction and the resource feedback transaction can be modified again to obtain new feedback information and send the new feedback information to the SMF.
And if the SMF verifies that the new feedback information meets the resource allocation condition, the negotiation is successful, and the SMF signs the resource recovery transaction and the corresponding resource feedback transaction corresponding to the successfully negotiated feedback information and then sends the signed transactions to the terminal equipment.
If the SMF verifies that the new feedback information still does not meet the resource allocation condition, the SMF can abandon the transaction with the terminal equipment, or modify and sign the resource recovery transaction and the resource feedback transaction again and then send the modified and signed transaction to the terminal equipment so as to repeat the negotiation process until the negotiation is successful or the SMF abandons the transaction with the terminal equipment.
And S306, the session management functional entity signs the resource recovery transaction and the resource feedback transaction returned by the terminal equipment and then sends the signed transaction to the terminal equipment.
In this step, SMF is coupled to T UE1-SMF And T SMF-UE1 Signature sending to UE 1 . Although SMF will sign T UE1-SMF And T SMF-UE1 Are all sent to the UE 1 But due to T SMF-UE1 Is from T UE1-SMF So if T UE1-SMF Is not broadcast to the blockchain, will result in T SMF-UE1 Input of [ o ]]Is a null value. So if the UE 1 Broadcasting only T SMF-UE1 Without broadcasting T UE1-SMF That is, only the extra AMBR is required to be reclaimed, but the extra AMBR is not required to be obtained by giving a peer AMBR in advance, thereby ensuring the normal progress of the resource reclamation transaction and the resource feedback transaction.
And S307, the terminal equipment adds the signature to the resource recovery transaction signed by the session management function entity and broadcasts the signature to the block chain.
In this step, the UE 1 For T UE1-SMF The additional signature is broadcast to the blockchain.
In one embodiment, transaction T is reclaimed in the resource ue-SMF The effective time length of temporary reclamation of AMBR can be agreed.
As an example, T ue-SMF {[I ue ],[o=(AMBR|3600)→SMF]|[before TS 1 ]And represents AMBR values before 3600 seconds of temporary recovery, i.e., 1 hour, and automatic recovery after more than 1 hour.
S308, after the resource feedback time, the terminal device adds a signature to the resource feedback transaction and broadcasts the signature to the blockchain.
In this step, at TS 2 After the moment, the terminal equipment is paired with T SMF-UE1 The additional signature is broadcast to the blockchain.
In one embodiment, the transaction T is a resource feedback transaction SMF-ue The effective time length of the temporarily fed-back AMBR can be agreed.
T SMF-ue {[o],[(AMBR|3600)→ue]|[after ts 2 ]Denotes an arrival ts 2 The additional AMBR to be fed back has an expiration date of only 3600 seconds, i.e. 1 hour, and after more than 1 hour, the previous AMBR value is automatically restored.
Through the above steps S301-S308, a block chain intelligent contract may be used to make a temporary return of a portion of the credit of the AMBR that the subscriber has obtained to the mobile communication network between the subscriber and the mobile communication network, and after reaching the agreed time point, an increment of the AMBR equal to at least the previously traded credit may be obtained.
The following describes a specific flow of the resource allocation method performed by the mobile communication network, with reference to two specific examples. In an example one, the resource allocation method may include the following steps.
S401, the mobile communication network needs to allocate 5Mbps AMBR to a certain high-level user A, but the coverage area of RAN where the user A is located is only 4Mbps AMBR available.
S402, distributing SMF of AMBR for the user 1 Setting transaction T ue-SMF1 {[I ue ],[o=1Mbps→SMF 1 ]|[before“2020-06-0109:00:00”]} and T SMF1-ue {[o],[1Mbps→ue]|[afterts 2 ]}。
In this embodiment, the user a may be a video conference started formally by joining a certain 9 o 'clock at 55 o' clock earlier by 1 st day 6/2020, and since the bandwidth resources are in short supply during this positive early peak period, the mobile communication network needs to temporarily recover part of the resources from the allocated AMBR.
S403,SMF 1 Will T ue-SMF1 And T SMF1-ue The broadcast is made within the coverage area of the RAN where user a is located.
S404, a certain user B sees the broadcast message and decides to make the UE-AMBR of the user B. Thus modifying T ue-SMF1 Is T IMSI1-SMF1 {[I IMSI1 ],[o=ambr(4837,900kbps)+ambr(9929,100kpbs)→SMF 1 ]|[before“2020-06-0109:00:00”]}, modify T SMF1-ue Is T SMF1-IMSI1 {[o],[1Mbps→IMSI 1 ]|[after“2020-06-0118:30:00”]}。
As an example, user B may be watching a short video program (session ID 4837, occupying 900kbps of bandwidth), receiving SMF 1 After the broadcast message, consider that around 18 o' clock 30 a day, a subway will be taken and the time taken to take the subway will be used to watch the short video. Because the quality of wireless signals in the subway is not good usually, the AMBR in the period of 9 o 'clock earlier is selected to be replaced by the AMBR of 30 min 1Mbps in the later 18 o' clock.
Wherein, the user B chooses to give a right of 4837 session-AMBR, and marks that the user B stops watching the short video program; the 9929 session for user B, which may be, for example, an instant messaging session, chooses to have a session-AMBR of 100kbps indicating that user B would like to reduce the data rate of the session.
S405, the user B sends the T to the mobile phone IMSI1-SMF1 And T SMF1-IMSI1 Sent to the SMF.
In this step, the IMSI 1 An International Mobile Subscriber Identity (IMSI) indicating the terminal equipment of Subscriber b.
S406,SMF 1 Receiving T from user B IMSI1-SMF1 And T SMF1-IMSI1 After that, the following verification processing is performed: querying that session-AMBR values of 4837 and 9929 sessions of the user B are 900kbps and 250kbps respectively, wherein actual resource values corresponding to the two session identifiers both meet the requirement; the sum of 900kbps and 100kbps is exactly equal to 1Mbps, which meets the requirement; inquiring 2020-06-0118:30:00 to a Policy Control Function entity (PCF) to determine whether the requirement of a user B can be met or not, wherein PCF feedback can meet the requirement of the user B, and 1Mbps is just equal to the sum of 900kbps and 100 kbps; after passing the verification processing, the verification is judged to meet the requirements, and the next step is executed.
S407,SMF 1 For T IMSI1-SMF1 And T SMF1-IMSI1 The signature is sent to the user b.
S408, user second T IMSI1-SMF1 The additional signature is broadcast to the blockchain.
S409, the SMF closes the 4837 session of the user B according to the session, reduces the session-AMBR of the 9929 session to 150kbps, and reduces the UE-AMBR of the user B by 1 Mbps.
S410, after 18 o' clock and 30 minutes later, the mobile phone of the user B automatically sends T to the mobile phone of the user B SMF1-IMSI1 Broadcast to the blockchain.
S411, the mobile phone of the user B is carrying out the SMF of the session management to the current 2 Request additional 1Mbps UE-AMBR and prompt SMF 2 Transaction T SMF1-IMSI1 Already true.
In this step, the SMF2 and the SMF1 may be the same SMF or two different SMFs due to the movement of the terminal device of the user b. That is, the session management function entities for recovering resources and feeding back resources to the user b may be the same or different.
S412,SMF 2 Verifying a transaction T SMF1-IMSI1 Middle SMF 1 And the signature of the mobile phone of the user B, and 1Mbps of extra UE-AMBR is allocated to the user B.
In some scenarios, user B may only be able to obtain 500kbps of UE-AMBR for the 18 o' clock 30 period, but due to transaction T SMF1-IMSI1 It has been established that 1Mbps of AMBR can be additionally obtained, i.e., 1.5Mbps of UE-AMBR in total.
In practical application scenarios, if SMF 2 Also in the case where no extra resources are allocated to B, SMF 2 The same resource allocation method of the present embodiment as SMF1 may be employed to obtain additional resource allocation to b. And directly preempting the resources of other low-level users.
In some embodiments, the SMF may also directly determine whether the 18 th slot 30 is acceptable based on local policy, without having to query the PCF. This operation is also intended to avoid the occurrence of SMF 2 There are also situations in which there are insufficient resources to feed back to user b.
Through the above steps S401 to S412, in the case that there is a high-level user requesting resources in the mobile communication network, but there are no excess resources to meet the requirements of the high-level user, the mobile communication network may temporarily recover some AMBRs, and by setting the transaction of recovering the AMBRs and returning the recovered AMBRs to the transaction of the UE giving the AMBRs at a future point in time, a certain terminal UE determines that the currently actually used service traffic (for a period of time) is lower than the UE-AMBR obtained from the session management function entity, and may select to actively reduce its own UE-AMBR to reach the transaction with the mobile communication network. Therefore, a mode that part of UE-AMBRs obtain more UE-AMBRs at a certain future time point is adopted, reasonable allocation of resources is promoted, the utilization rate of network resources is improved, and service experience is enhanced.
In example two, the resource allocation method may include the following steps.
S501, the mobile communication network needs to allocate 5Mbps AMBR to a certain high-level user A, but the coverage area of RAN where the user A is located has only 4Mbps of available AMBR.
S502, distributing SMF of AMBR for the user 1 Setting transaction T ue-SMF1 {[I ue ],[o=1Mbps→SMF 1 ]|[before“2020-06-0109:00:00”]And T SMF1-ue {[o],[1Mbps→ue]|[afterts 2 ]}。
S503,SMF 1 Will T ue-SMF1 And T SMF1-ue The broadcast is made within the coverage area of the RAN in which user a is located.
At S504, both user b and user c send the modified transaction to the SMF.
Wherein, the user B modifies T ue-SMF1 Is T IMSI1-SMF1 {[I IMSI1 ],[o=ambr(4837,900kbps)→SMF 1 ]|[before“2020-06-0109:00:00”]}, modify T SMF1-ue Is T SMF1-IMSI1 {[o],[900kbps→IMSI 1 ]|[after“2020-06-0118:30:00”]};
User C modifying T ue-SMF1 Is T IMSI2-SMF1 {[I IMSI2 ],[o=ambr(4700,200kbps)→SMF 1 ]|[before“2020-06-0109:00:00”]}, modify T SMF1-ue Is T SMF1-IMSI2 {[o],[200kbps→IMSI 1 ]|[after“2020-06-0112:00:00”]}。
S505, users B and C respectively send T IMSI1-SMF1 And T SMF1-IMSI1 And T IMSI2-SMF1 And T SMF1-IMSI2 Sent to SMF 1
S506,SMF 1 It was found that although the AMBR values for both individual give-off transactions do not meet the overall requirements, the sum 1.1Mbps is greater than or equal to the predetermined 1Mbps requirement, and therefore there is a requirement for T IMSI1-SMF1 And T SMF1-IMSI1 And T IMSI2-SMF1 And T SMF1-IMSI2 And signatures are respectively sent to the user B and the user C.
S507, the user C will obtain an additional UE-AMBR of 200kbps when 12 o' clock later. User B will obtain an additional UE-AMBR of 900kbps after 18: 30.
Through the above steps S501 to S507, the mobile communication network may temporarily recover a plurality of user equipments AMBR, and set resource recovery transaction and resource feedback transaction for each user equipment, select to let the user equipment of the AMBR within the effective duration of the resource recovery transaction, and improve the utilization rate of network resources in the case that the actually used UE-AMBR is lower than the obtained UE-AMBR, and re-obtain the previously given AMBR credit at the time agreed with the mobile communication network, so as to enhance the service experience.
Fig. 4 shows a schematic structural diagram of a session management function entity provided according to an embodiment of the present application. As shown in fig. 4, the session management function entity includes the following modules.
A transaction information broadcasting module 610 for broadcasting transaction information of the network resource, the transaction information being used to indicate a resource requirement value of a preset resource recovery transaction, a resource recovery time and a resource feedback supply value of the preset resource feedback transaction;
a feedback information receiving module 620, configured to receive feedback information from at least one responding device, where the feedback information is used to indicate resource yielding information, a resource feedback requirement value, and a resource feedback time;
a network resource recycling module 630, configured to recycle, at a resource recycling time, network resources whose number is greater than or equal to the resource requirement value from the at least one responding apparatus according to the resource yielding information of the at least one responding apparatus if the feedback information of the at least one responding apparatus meets a predetermined resource allocation condition;
and the network resource allocation module 640 is configured to allocate a network resource to the at least one responding apparatus according to the resource feedback supply value and the resource feedback required value of the at least one responding apparatus after the resource feedback time of the at least one responding apparatus.
In some embodiments, the resource relinquishing information of the at least one responding device comprises: at least one session identifier of each response device and a resource yielding value corresponding to each session identifier; the resource allocation conditions include: the resource yielding value corresponding to each session identifier of each response device is less than or equal to the actual resource value corresponding to the same queried session identifier; the total resource yielding value is greater than or equal to the resource requirement value, and the total resource yielding value is a resource yielding value obtained by calculating the sum of resource yielding values corresponding to each session identifier of each response device; moreover, the resource feedback requirement value of each response device is less than or equal to the sum of resource yielding values corresponding to each session identifier of the device per se; and the resource feedback time of each response device is an acceptable time point meeting the requirement of a preset strategy.
In some embodiments, the feedback information includes a device identifier of at least one responding device, and the feedback information of at least one responding device is information obtained by modifying the resource recycling transaction and the resource feedback transaction indicated in the transaction information received by each responding device; the network resource recycling module 630 is specifically configured to obtain at least one first transaction and at least one second transaction, where the first transaction and the second transaction are transactions that are sent to the session management functional entity after modifying the resource recycling transaction received by the network resource recycling module and the resource feedback transaction received by the network resource recycling module by using response equipment corresponding to feedback information that meets a resource allocation condition; signing each first transaction and each second transaction, and sending the first transaction signed by the session management function entity and the second transaction signed by the session management function entity to the corresponding response equipment; if a first transaction which is additionally signed by one response device in at least one response device and broadcasted to the block chain is received, and the time of broadcasting to the block chain is before the resource recovery time, determining that the first transaction corresponding to the one response device is effective; if the sum of the resource yield values in each effective first transaction is more than or equal to the resource requirement value of the resource recovery transaction, then: and at the resource recovery moment, recovering the network resources which are greater than or equal to the resource requirement value from the response equipment corresponding to the at least one first effective transaction according to the resource giving-out information in the at least one first effective transaction.
In some embodiments, the network resource allocation module 640 may be specifically configured to: if a second transaction which is additionally signed by one response device of at least one response device and broadcasted to the block chain is received, and the time broadcasted to the block chain is after the resource feedback time of one response device, determining that the second transaction corresponding to one response device is effective; and under the condition that the resource feedback time in the second effective transaction is reached, distributing network resources to the response equipment corresponding to the second effective transaction according to the resource feedback requirement value of the response equipment corresponding to the second effective transaction.
In some embodiments, the transaction information is further used to indicate a temporary validity duration of the resource reclamation transaction for a first predetermined time period and a temporary validity duration of the resource feedback transaction for a second predetermined time period.
In this embodiment, when the network resource recycling module 630 is configured to recycle, according to the resource yielding information of the at least one responding apparatus, the network resources whose number is greater than or equal to the resource requirement value from the at least one responding apparatus, specifically: and within the temporary effective duration of the resource recovery transaction, recovering the network resource from the at least one response device according to the resource yielding information of the at least one response device.
The network resource allocation module 640, when configured to allocate network resources to the at least one responding apparatus according to the resource feedback requirement value of the at least one responding apparatus, is specifically configured to: and within the effective duration of the resource recovery transaction, allocating network resources to at least one response device according to the resource feedback requirement value of at least one response device.
In some embodiments, the resource feedback supply value and the resource demand value have a preset corresponding relationship; and if the network resource which can be allocated to the first response equipment by the server is smaller than the resource feedback requirement value of the first response equipment, wherein the first response equipment is any one of the at least one response equipment.
In this embodiment, the network resource reclamation module 630 is further configured to: according to the resource feedback requirement value of the first response equipment, allocating network resources to the first response equipment from the network resources recovered from the low-level user equipment, wherein the service level of the low-level user equipment is lower than that of the first response equipment; or broadcasting new transaction information, wherein the new transaction information is used for indicating the resource requirement value, the new resource recovery time and the resource feedback supply value of the new resource feedback transaction; and allocating network resources to the first response equipment according to the resource feedback requirement value of the first response equipment.
Wherein the resource requirement value of the new resource recovery transaction is greater than or equal to the resource feedback requirement value of the first response device; the new resource recovery time is earlier than or equal to the resource feedback time of the first response equipment; the resource feedback supply value of the new resource feedback transaction is a resource value calculated according to the resource requirement value of the new resource recovery transaction and the preset corresponding relation.
According to the session management function entity of the embodiment of the application, the transaction for recovering the AMBR and the transaction for feeding back the AMBR are set, the terminal of the AMBR and the SMF are made to complete the transaction, the AMBR is made, and after the feeding back transaction is due, the extra AMBR is obtained as the feeding back. Therefore, the AMBR which is obtained by the user but is not needed to be used temporarily can be temporarily given to other users to improve the resource utilization efficiency, and the AMBR quota which is given before is obtained again at the time appointed by the mobile communication network to improve the resource utilization process and enhance the service experience.
It should be apparent that the present application is not limited to the particular configurations and processes described in the above embodiments and shown in the figures. For convenience and brevity of description, detailed description of a known method is omitted here, and for the specific working processes of the system, the module and the unit described above, reference may be made to the corresponding processing process of the session management function entity in the foregoing method embodiment, which is not described herein again.
Fig. 5 shows a schematic structural diagram of a terminal device provided according to an embodiment of the present application. As shown in fig. 5, the terminal device includes the following modules.
The transaction information receiving module 710 is configured to receive transaction information of the network resource from the session management function entity, where the transaction information is used to indicate a resource requirement value of a preset resource recovery transaction, a resource recovery time, and a resource feedback supply value of the preset resource feedback transaction.
And the transaction information modification module 720 is configured to modify the received transaction information to obtain feedback information of the device if the number of the currently and actually used network resources of the device is lower than the number of the network resources obtained from the session management function entity within a predetermined time period, where the feedback information is used to indicate resource yielding information, a resource feedback requirement value, and a resource feedback time of the device.
The resource updating module 730 is configured to update the number of network resources obtained by the device at the resource recovery time, where the updated number of network resources is the number of remaining network resources of the device after the session management function entity recovers the network resources from the device at the resource recovery time according to the resource yielding information of the device.
The resource receiving module 740 is configured to receive the network resource allocated by the session management function entity, where the allocated network resource is the network resource allocated by the session management function entity based on the resource feedback requirement value of the device after the resource feedback time.
In some embodiments, the transaction information includes a signature of the resource reclamation transaction and a signature of the resource feedback transaction by the session management function entity.
In this embodiment, the first device signing module is configured to add the signature of the device to the resource recovery transaction signed by the session management function entity, and broadcast the resource recovery transaction including the device signature and the session management function entity signature to the block chain before the resource recovery time; and the second equipment signature module is used for adding the signature of the equipment to the resource feedback transaction signed by the session management function entity, and broadcasting the resource feedback transaction containing the equipment signature and the session management function entity signature to the block chain after the resource feedback moment.
According to the terminal equipment of the embodiment of the application, the obtained AMBR which is not needed to be used temporarily can be temporarily given to other users so as to improve the resource utilization efficiency, and the AMBR quota which is given before is obtained again at the time appointed by the mobile communication network so as to improve the resource utilization rate and the reasonable distribution of resources and enhance the service experience.
It should be apparent that the present application is not limited to the particular configurations and processes described in the above embodiments and shown in the figures. For convenience and brevity of description, detailed description of a known method is omitted here, and for the specific working processes of the system, the module and the unit described above, reference may be made to corresponding processes of the terminal device in the foregoing method embodiment, which are not described herein again.
FIG. 6 is a block diagram illustrating an exemplary hardware architecture of a computing device capable of implementing methods and apparatus according to embodiments of the application.
As shown in fig. 6, computing device 800 includes an input device 801, an input interface 802, a central processor 803, a memory 804, an output interface 805, and an output device 806. The input interface 802, the central processing unit 803, the memory 804, and the output interface 805 are connected to each other via a bus 810, and the input device 801 and the output device 806 are connected to the bus 810 via the input interface 802 and the output interface 805, respectively, and further connected to other components of the computing device 800.
Specifically, the input device 801 receives input information from the outside, and transmits the input information to the central processor 803 through the input interface 802; the central processor 803 processes input information based on computer-executable instructions stored in the memory 804 to generate output information, temporarily or permanently stores the output information in the memory 804, and then transmits the output information to the output device 806 via the output interface 805; output device 806 outputs output information external to computing device 800 for use by a user.
In one embodiment, the computing device 800 shown in fig. 6 may be implemented as a session management functional entity that may include: a memory configured to store a program; and a processor configured to execute the program stored in the memory to execute the resource allocation method applied to the session management function entity described in the above embodiments.
In one embodiment, the computing device 800 shown in fig. 6 may be implemented as a user device, and the user device entity may include: a memory configured to store a program; a processor configured to execute the program stored in the memory to execute the resource allocation method applied to the user equipment described in the above embodiments.
According to an embodiment of the application, the process described above with reference to the flow chart may be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network, and/or installed from a removable storage medium.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions which, when run on a computer, cause the computer to perform the methods described in the various embodiments above. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
The above-described embodiments of the apparatus are merely illustrative, and units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It is to be understood that the above embodiments are merely exemplary embodiments adopted to illustrate the principles of the present application, and the present application is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the present application, and such changes and modifications are to be considered within the scope of the present application.

Claims (10)

1. A resource allocation method is applied to a session management function entity, and is characterized in that the method comprises the following steps:
broadcasting transaction information of network resources, wherein the transaction information is used for indicating a preset resource demand value of resource recovery transaction, a resource recovery time and a preset resource feedback supply value of resource feedback transaction;
receiving feedback information from at least one response device, wherein the feedback information is used for indicating resource giving-out information, resource feedback requirement values and resource feedback time;
if the feedback information of the at least one response device meets the preset resource allocation condition, recovering network resources with the quantity larger than or equal to the resource requirement value from the at least one response device at the resource recovery moment according to the resource yielding information of the at least one response device;
after the resource feedback time of the at least one response device, allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device; the resource allocation condition includes: the resource yielding value corresponding to each session identifier of each response device is less than or equal to the actual resource value corresponding to the same queried session identifier; the total resource yielding value is greater than or equal to the resource requirement value, and the total resource yielding value is obtained by calculating the sum of the resource yielding values corresponding to each session identifier of each response device; the resource feedback requirement value of each response device is less than or equal to the sum of resource yielding values corresponding to each session identifier of the device per se; and the resource feedback time of each response device is an acceptable time point meeting the requirement of a preset strategy.
2. The method of claim 1, wherein the resource relinquishing information of the at least one responding device comprises: at least one session identification of each response device and a resource yielding value corresponding to each session identification.
3. The method of claim 1, wherein the feedback information of the at least one responder device is obtained by modifying the resource recovery transaction and the resource feedback transaction indicated in the transaction information received by the responder device;
the recovering, at the resource recovering time, the network resources of which the number is greater than or equal to the resource requirement value from the at least one responding apparatus according to the resource yielding information of the at least one responding apparatus includes:
acquiring at least one first transaction and at least one second transaction, wherein the first transaction and the second transaction are transactions which are sent to the session management function entity after modifying the self-received resource recovery transaction and the self-received resource feedback transaction by response equipment corresponding to the feedback information meeting the resource allocation condition;
signing each first transaction and each second transaction, and sending the first transaction signed by the session management function entity and the second transaction signed by the session management function entity to the corresponding response equipment;
if a first transaction which is additionally signed and broadcasted to the blockchain by one response device of the at least one response device is received, and the time of broadcasting to the blockchain is before the resource recovery time, determining that the first transaction corresponding to the one response device is effective;
if the sum of the resource yielding values in each effective first transaction is more than or equal to the resource requirement value of the resource recovery transaction, then: and at the resource recovery moment, recovering the network resources which are greater than or equal to the resource demand value from the response equipment corresponding to the at least one first effective transaction according to the resource yielding information in the at least one first effective transaction.
4. The method of claim 3, wherein the allocating network resources to the at least one responder device according to the resource feedback requirement value of the at least one responder device after the resource feedback time of the at least one responder device comprises:
if a second transaction which is additionally signed by one response device of the at least one response device and broadcasted to the block chain is received, and the time broadcasted to the block chain is after the resource feedback time of the one response device, determining that the second transaction corresponding to the one response device is effective;
and under the condition that the resource feedback time in the second effective transaction is reached, distributing network resources to the response equipment corresponding to the second effective transaction according to the resource feedback requirement value of the response equipment corresponding to the second effective transaction.
5. The method of any of claims 1-4, wherein the transaction information further indicates a temporary validity duration of the resource recovery transaction for a first predetermined period of time and a temporary validity duration of the resource reward transaction for a second predetermined period of time;
the recovering, according to the resource yielding information of the at least one responding apparatus, the network resources whose number is greater than or equal to the resource requirement value from the at least one responding apparatus includes:
within the temporary effective duration of the resource recovery transaction, recovering network resources from the at least one response device according to the resource giving-out information of the at least one response device;
the allocating network resources to the at least one responding device according to the resource feedback requirement value of the at least one responding device comprises:
and within the effective duration of the resource recovery transaction, allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device.
6. The method of any of claims 1-4, wherein the resource feedback supply value and the resource demand value have a predetermined correspondence;
if the network resource that can be allocated to the first responding device by the server is smaller than the resource feedback requirement value of the first responding device, where the first responding device is any one of the at least one responding device, the method further includes:
allocating network resources to the first response equipment according to the resource feedback requirement value of the first response equipment and network resources recovered from low-level user equipment, wherein the service level of the low-level user equipment is lower than that of the first response equipment;
or broadcasting new transaction information, wherein the new transaction information is used for indicating the resource requirement value of the new resource recovery transaction, the new resource recovery time and the resource feedback supply value of the new resource feedback transaction; allocating network resources to the first response equipment according to the resource feedback requirement value of the first response equipment; wherein the content of the first and second substances,
the resource requirement value of the new resource recovery transaction is greater than or equal to the resource feedback requirement value of the first response device; the new resource recovery time is earlier than or equal to the resource feedback time of the first response equipment; the resource feedback supply value of the new resource feedback transaction is a resource value calculated according to the resource requirement value of the new resource recovery transaction and the preset corresponding relation.
7. A resource allocation method applied to User Equipment (UE), the method comprising:
receiving transaction information of network resources from a session management function entity, wherein the transaction information is used for indicating a resource requirement value of a preset resource recovery transaction, a resource recovery time and a resource feedback supply value of the preset resource feedback transaction;
if the number of the currently and actually used network resources of the equipment is lower than the number of the network resources obtained from the session management function entity in a preset time period, modifying the received transaction information to obtain feedback information of the equipment, wherein the feedback information is used for indicating resource yielding information, resource feedback requirement values and resource feedback time of the equipment;
updating the network resource quantity obtained by the equipment at the resource recovery time, wherein the updated network resource quantity is the residual network resource quantity of the equipment after the session management functional entity recovers the network resources from the equipment according to the resource yielding information of the equipment at the resource recovery time under the condition that the feedback information of at least one piece of user equipment meets the preset resource allocation condition;
receiving the network resources distributed by the session management function entity, wherein the quantity of the distributed network resources is the network resources distributed by the session management function entity based on the resource feedback requirement value of the equipment after the resource feedback time; the resource allocation condition includes: the resource yielding value corresponding to each session identifier of each user equipment is less than or equal to the actual resource value corresponding to the same queried session identifier; the total resource yielding value is greater than or equal to the resource requirement value, and the total resource yielding value is obtained by calculating the sum of the resource yielding values corresponding to each session identifier of each user equipment; the resource feedback requirement value of each user equipment is less than or equal to the sum of resource yielding values corresponding to each session identifier of the user equipment; and the resource feedback time of each UE is an acceptable time point meeting the requirement of a preset strategy.
8. The method of claim 7, wherein the transaction information includes a signature of the session management function entity for the resource recovery transaction and a signature of the resource reward transaction; after the receiving transaction information from the network resource of the session management function entity, the method further comprises:
adding the signature of the equipment to the resource recovery transaction signed by the session management function entity, and broadcasting the resource recovery transaction containing the signature of the equipment and the signature of the session management function entity to a block chain before the resource recovery moment;
and adding the signature of the equipment to the resource feedback transaction signed by the session management function entity, and broadcasting the resource feedback transaction containing the signature of the equipment and the signature of the session management function entity to a block chain after the resource feedback moment.
9. A session management function entity, wherein the session management function entity comprises:
the system comprises a transaction information broadcasting module, a resource feedback processing module and a resource feedback processing module, wherein the transaction information broadcasting module is used for broadcasting transaction information of network resources, and the transaction information is used for indicating a preset resource requirement value of resource recovery transaction, a resource recovery moment and a preset resource feedback supply value of resource feedback transaction;
the feedback information receiving module is used for receiving feedback information from at least one response device, wherein the feedback information is used for indicating resource yielding information, resource feedback requirement values and resource feedback time;
a network resource recovery module, configured to, if the feedback information of the at least one response device meets a predetermined resource allocation condition, recover, at the resource recovery time, a number of network resources greater than or equal to the resource requirement value from the at least one response device according to the resource yielding information of the at least one response device;
the network resource allocation module is used for allocating network resources to the at least one response device according to the resource feedback requirement value of the at least one response device after the resource feedback time of the at least one response device; the resource allocation condition includes: the resource yielding value corresponding to each session identifier of each response device is less than or equal to the actual resource value corresponding to the same queried session identifier; the total resource yielding value is greater than or equal to the resource requirement value, and the total resource yielding value is obtained by calculating the sum of the resource yielding values corresponding to each session identifier of each response device; the resource feedback requirement value of each response device is less than or equal to the sum of the resource yielding values corresponding to each session identifier of the device; and the resource feedback time of each response device is an acceptable time point meeting the requirement of a preset strategy.
10. A terminal device, characterized in that the terminal device comprises:
the system comprises a transaction information receiving module, a transaction information processing module and a transaction information processing module, wherein the transaction information receiving module is used for receiving transaction information of network resources from a session management function entity, and the transaction information is used for indicating a preset resource demand value of resource recovery transaction, a resource recovery time and a preset resource feedback supply value of resource feedback transaction;
the transaction information modification module is used for modifying the received transaction information to obtain feedback information of the equipment if the number of the currently and actually used network resources of the equipment is lower than the number of the network resources obtained from the session management function entity in a preset time period, wherein the feedback information is used for indicating resource yielding information, resource feedback requirement values and resource feedback time of the equipment;
a resource updating module, configured to update, at the resource recovery time, the number of network resources obtained by the device, where the updated number of network resources is a remaining number of network resources of the device after the session management functional entity recovers the network resources from the device according to the resource yielding information of the device at the resource recovery time when the feedback information of at least one terminal device meets a predetermined resource allocation condition;
a resource receiving module, configured to receive a network resource allocated by the session management function entity, where the allocated network resource is a network resource allocated by the session management function entity after the resource feedback time based on a resource feedback requirement value of the device; the resource allocation condition includes: the resource yielding value corresponding to each session identifier of each terminal device is less than or equal to the actual resource value corresponding to the same queried session identifier; the total resource yielding value is greater than or equal to the resource requirement value, and the total resource yielding value is obtained by calculating the sum of the resource yielding values corresponding to each session identifier of each terminal device; the resource feedback requirement value of each terminal device is less than or equal to the sum of resource yielding values corresponding to each session identifier of the terminal device; and the resource feedback time of each terminal device is an acceptable time point meeting the requirement of a preset strategy.
CN202011453951.6A 2020-12-10 2020-12-10 Resource allocation method, device, system and computer readable storage medium Active CN112654090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011453951.6A CN112654090B (en) 2020-12-10 2020-12-10 Resource allocation method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011453951.6A CN112654090B (en) 2020-12-10 2020-12-10 Resource allocation method, device, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112654090A CN112654090A (en) 2021-04-13
CN112654090B true CN112654090B (en) 2022-08-30

Family

ID=75353586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011453951.6A Active CN112654090B (en) 2020-12-10 2020-12-10 Resource allocation method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112654090B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018073033A (en) * 2016-10-27 2018-05-10 株式会社日立製作所 Resource allocation apparatus and resource allocation method
CN110166580A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Method, equipment and the system of resource management
CN110611924A (en) * 2019-09-27 2019-12-24 腾讯科技(深圳)有限公司 Method, related device and medium for realizing data transmission of time-sensitive network
CN111901881A (en) * 2020-08-12 2020-11-06 中国联合网络通信集团有限公司 Transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018073033A (en) * 2016-10-27 2018-05-10 株式会社日立製作所 Resource allocation apparatus and resource allocation method
CN110166580A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Method, equipment and the system of resource management
CN110611924A (en) * 2019-09-27 2019-12-24 腾讯科技(深圳)有限公司 Method, related device and medium for realizing data transmission of time-sensitive network
CN111901881A (en) * 2020-08-12 2020-11-06 中国联合网络通信集团有限公司 Transmission method and device

Also Published As

Publication number Publication date
CN112654090A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN105491557B (en) System and method for realizing capability opening and capability opening platform
CN109392024B (en) Method for controlling service quality flow and related equipment
CN112437122A (en) Communication method, communication device, computer readable medium and electronic equipment
CN110691382B (en) Wireless resource allocation method and network element equipment
KR102275579B1 (en) Method and apparatus for providing differentiated transmitting services
WO2006019267A1 (en) Uplink scheduling method in voip
CN107343294B (en) Background data transmission strategy configuration method and device
US20120100879A1 (en) Multi-bearer rate control for transporting user plane data
CN112236989A (en) Mobile edge computing application management for wireless networks
US20210377810A1 (en) Notification Control in a Communication System
CN113453194B (en) Mobile edge service updating method, device, system, equipment and medium
CN111200565B (en) Information transmission method, terminal and network equipment
CN111436077B (en) Service establishment method, entity, device and medium
US9014099B2 (en) Packet switched domain service processing method and device
CN110475284B (en) Method and device for resource allocation
CN112654090B (en) Resource allocation method, device, system and computer readable storage medium
CN111970350B (en) Wireless resource transaction method, terminal and system based on block chain network
CN102387502B (en) A kind of control method of heterogeneous network and system
CN112242877B (en) Data transmission method, device and system
CN103731886A (en) Bandwidth allocation system, method and device
CN108513727B (en) Method and device for establishing default data radio bearer
CN116455771A (en) Method and network node for QoS notification
WO2022122123A1 (en) Method and apparatus for use in a data pulling operation
CN107211400A (en) network access control method, access point and access controller
CN110446263B (en) Data transmission method and device

Legal Events

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