Resource allocation method and device, base station and storage medium

By dynamically adjusting the resource grouping and priority of the vehicle terminal, resources are allocated to the vehicle terminal according to the vehicle's business type and movement speed, which solves the problem of untimely or insufficient resource allocation in the existing technology and improves the safety of vehicle driving. .

CN118764970APending Publication Date: 2024-10-11CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411035894.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, the business priority of vehicle terminals is fixed and cannot be adjusted, resulting in untimely or insufficient resource allocation and affecting vehicle driving safety.

Method used

Dynamically adjust the resource grouping according to the service type and movement speed of the vehicle terminal, determine the resource allocation priority in real time, and allocate resources to the vehicle terminal within the corresponding group.

Benefits of technology

It improves the timeliness and adequacy of resource allocation, enhances the safety of vehicle driving, and reduces the problem of untimely or insufficient resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764970A_ABST
    Figure CN118764970A_ABST
Patent Text Reader

Abstract

The invention provides a resource allocation method and device, a base station and a storage medium, relates to the technical field of vehicles, and can solve the problem that resource allocation is not timely or insufficient due to the fact that priorities corresponding to services of vehicle terminals are fixed and cannot be adjusted. The method comprises the following steps: acquiring a service type and a moving speed of a vehicle terminal; vehicle groups matched with the vehicle terminals are determined based on the service types and the moving speeds of the vehicle terminals, and different vehicle groups correspond to different resource allocation priorities; resources are allocated for the vehicle terminals within the vehicle group. The resource allocation priority corresponding to the vehicle group can be determined in real time according to the real-time moving speed of the vehicle terminal, and the resource is allocated to the vehicle terminal based on the resource allocation priority determined in real time, so that the amount of information referenced by resource allocation is increased, the problem that the resource allocation is not timely or insufficient can be reduced, and the resource allocation efficiency is improved. And the resource allocation effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a resource allocation method, device, base station and storage medium. Background Art

[0002] As the number of cars continues to increase, road traffic has increased dramatically, and traffic safety issues have become increasingly prominent. In order to ensure the safety of vehicle driving, it is usually necessary to use cellular vehicle to everything (C-V2X) wireless communication technology to allocate resources matching the service type to the vehicle terminal for different services of the vehicle terminal.

[0003] At present, a fixed priority is set for each service of the vehicle terminal. In the process of allocating resources to the vehicle terminal, the resources are allocated in descending order according to the fixed priority corresponding to the service of the vehicle terminal.

[0004] However, since the service priorities of the vehicle terminal are fixed and cannot be adjusted, there may be problems with untimely or insufficient resource allocation for individual services, resulting in poor resource allocation results. Summary of the invention

[0005] The present application provides a resource allocation method, device, base station and storage medium, which can reduce the problem of untimely or insufficient resource allocation, improve the effect of resource allocation, and thus ensure the safety of vehicle driving.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, the present application provides a resource allocation method, the method comprising:

[0008] Obtain the business type and moving speed of the vehicle terminal; determine the vehicle grouping that matches the vehicle terminal based on the business type and moving speed of the vehicle terminal, wherein different vehicle groups correspond to different resource allocation priorities; and allocate resources to the vehicle terminal within the vehicle grouping.

[0009] In combination with the first aspect above, in a possible implementation method, a vehicle group matching the vehicle terminal is determined based on the service type and moving speed of the vehicle terminal, including: if the service type of the vehicle terminal belongs to a preset vehicle service and the moving speed of the vehicle terminal is greater than a first speed threshold, then the vehicle group matching the vehicle terminal is determined to be the first group, and the first group is the vehicle group with the highest priority for resource allocation among at least two preset groups.

[0010] Allocating resources to vehicle terminals within a vehicle group includes: allocating resources to vehicle terminals within a first group.

[0011] In combination with the first aspect, in a possible implementation manner, allocating resources to the vehicle terminal in the first group includes:

[0012] Based on the resource quantity requirements of multiple vehicle terminals in the first group, determine the total resource quantity requirement of the first group; from the resources to be allocated, determine the resources that match the total resource quantity requirement as the reserved resources of the first group; based on the reserved resources of the first group, allocate resources to the vehicle terminal in the first group.

[0013] In combination with the first aspect above, in a possible implementation manner, after allocating resources to the vehicle terminal in the first group, the method further includes:

[0014] In response to a change in the moving speed of the vehicle terminal, the moving speed of the vehicle terminal after the change is obtained; if the moving speed of the vehicle terminal after the change is greater than a second speed threshold, the vehicle group matching the vehicle terminal is determined to be the first group, and resources are allocated to the vehicle terminal again within the first group, and the first speed threshold is greater than the second speed threshold.

[0015] In combination with the first aspect, in a possible implementation, determining a vehicle group matching the vehicle terminal based on the service type and moving speed of the vehicle terminal includes:

[0016] If the service type of the vehicle terminal does not belong to the preset vehicle service, and / or the moving speed of the vehicle terminal is less than or equal to the first speed threshold, the vehicle group matching the vehicle terminal is determined to be the second group, and the resource allocation priority of the second group is lower than the resource allocation priority of the first group.

[0017] Allocating resources to a vehicle terminal within a vehicle group includes: allocating resources to the vehicle terminal within a second group.

[0018] In combination with the first aspect above, in a possible implementation manner, after allocating resources to the vehicle terminal in the second group, the method further includes:

[0019] In response to a change in the moving speed of the vehicle terminal, the moving speed of the vehicle terminal after the change is obtained; if the moving speed of the vehicle terminal after the change is greater than a first speed threshold, the vehicle group matching the vehicle terminal is determined to be the first group, and resources are allocated to the vehicle terminal within the first group.

[0020] In combination with the first aspect above, in a possible implementation manner, the method further includes:

[0021] If the number of reserved resources for the first group is greater than the actual number of resources used by the first group, resources are allocated to the terminals in the second group to which resources are to be allocated based on the remaining number of resources in the reserved resources after allocating resources to the first group; or, if the number of reserved resources for the first group is less than the actual number of resources used by the first group, the vehicle terminals in the first group that are not allocated resources are switched from the first group to the second group, and resources are allocated to the vehicle terminals in the second group.

[0022] In combination with the first aspect above, in a possible implementation manner, the preset vehicle service is a vehicle service with a safety hazard level greater than a preset level.

[0023] In combination with the first aspect above, in a possible implementation manner, obtaining the service type and moving speed of the vehicle terminal includes:

[0024] A service trigger instruction is received from a server, the service trigger instruction carrying the service type of the vehicle terminal; the service type of the vehicle terminal is obtained from the service trigger instruction; and a moving speed is received from the vehicle terminal.

[0025] In a second aspect, the present application provides a resource allocation device, the device comprising:

[0026] An acquisition unit, used to acquire the service type and moving speed of the vehicle terminal;

[0027] A determination unit, configured to determine a vehicle group matching the vehicle terminal based on a service type and a moving speed of the vehicle terminal, wherein different vehicle groups correspond to different resource allocation priorities;

[0028] The allocation unit is used to allocate resources to vehicle terminals within the vehicle group.

[0029] In conjunction with the second aspect, in a possible implementation manner, the determining unit is configured to:

[0030] If the service type of the vehicle terminal belongs to the preset vehicle service and the moving speed of the vehicle terminal is greater than the first speed threshold, the vehicle group matching the vehicle terminal is determined to be the first group, which is the vehicle group with the highest priority for resource allocation among at least two preset groups.

[0031] The allocation unit is used to allocate resources to the vehicle terminals within the first group.

[0032] In conjunction with the second aspect, in a possible implementation manner, the allocating unit is configured to:

[0033] Based on the resource quantity requirements of multiple vehicle terminals in the first group, determine the total resource quantity requirements of the first group; from the resources to be allocated, determine the resources that match the total resource quantity requirements as the reserved resources of the first group; based on the reserved resources of the first group, allocate resources to the vehicle terminal in the first group.

[0034] In combination with the second aspect above, in a possible implementation manner, the device further includes:

[0035] A second acquisition unit, configured to acquire the changed moving speed of the vehicle terminal in response to a change in the moving speed of the vehicle terminal;

[0036] The second determination unit is used to determine that the vehicle group matching the vehicle terminal is the first group if the moving speed of the vehicle terminal after the change is greater than the second speed threshold, and allocate resources to the vehicle terminal again in the first group, and the first speed threshold is greater than the second speed threshold.

[0037] In conjunction with the second aspect, in a possible implementation manner, the determining unit is configured to:

[0038] If the service type of the vehicle terminal does not belong to the preset vehicle service, and / or the moving speed of the vehicle terminal is less than or equal to the first speed threshold, the vehicle group matching the vehicle terminal is determined to be the second group, and the priority of resource allocation of the second group is lower than the priority of resource allocation of the first group;

[0039] An allocation unit is used to allocate resources to the vehicle terminal in the second group.

[0040] In combination with the second aspect above, in a possible implementation manner, the device further includes:

[0041] The second acquisition unit is used to obtain the changed moving speed of the vehicle terminal in response to the change in the moving speed of the vehicle terminal; if the changed moving speed of the vehicle terminal is greater than the first speed threshold, determine that the vehicle group matching the vehicle terminal is the first group, and allocate resources to the vehicle terminal within the first group.

[0042] In combination with the second aspect above, in a possible implementation manner, the device further includes:

[0043] A first comparing unit is configured to allocate resources to the terminals to be allocated resources in the second group based on the remaining amount of resources after the resources are allocated to the first group in the reserved resources if the amount of the reserved resources of the first group is greater than the actual amount of resources used by the first group;

[0044] The second comparison unit is used to switch the vehicle terminal that is not allocated resources in the first group from the first group to the second group if the number of reserved resources in the first group is less than the actual number of resources used in the first group, and allocate resources to the vehicle terminal in the second group.

[0045] In combination with the above second aspect, in a possible implementation manner, the preset vehicle service is a vehicle service with a safety hazard level greater than a preset level.

[0046] In combination with the second aspect, in a possible implementation manner, the acquiring unit is used to:

[0047] A service trigger instruction is received from a server, the service trigger instruction carrying the service type of the vehicle terminal; the service type of the vehicle terminal is obtained from the service trigger instruction; and a moving speed is received from the vehicle terminal.

[0048] In a third aspect, the present application provides a base station, comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the resource allocation method described in the first aspect and any possible implementation method of the first aspect.

[0049] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a base station, the base station executes the resource allocation method described in the first aspect and any possible implementation of the first aspect.

[0050] In a fifth aspect, the present application provides a computer program product comprising instructions. When the computer program product runs on a base station, the base station executes the resource allocation method described in the first aspect and any possible implementation manner of the first aspect.

[0051] In a sixth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the resource allocation method described in the first aspect and any possible implementation method of the first aspect.

[0052] Specifically, the chip provided in the present application also includes a memory for storing computer programs or instructions.

[0053] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the base station, or may be packaged separately from the processor of the base station, which is not limited in this application.

[0054] The descriptions of the second to sixth aspects of the present application can refer to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second to sixth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0055] In this application, the name of the resource allocation device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0056] These and other aspects of the present application will become more apparent from the following description.

[0057] Based on the above technical scheme, the resource allocation method provided by the present application, since the moving speed of the vehicle is constantly fluctuating during the actual driving process, the vehicle terminal is grouped based on the business type and moving speed. The vehicle grouping that matches the vehicle terminal can be determined according to the real-time moving speed of the vehicle terminal. In other words, the resource allocation priority corresponding to the vehicle grouping can be determined in real time according to the real-time moving speed of the vehicle terminal, and resources can be allocated to the vehicle terminal based on the resource allocation priority determined in real time, thereby increasing the amount of information referenced by resource allocation, reducing the problem of untimely or insufficient resource allocation, and improving the effect of resource allocation, thereby ensuring the safety of vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of a vehicle terminal communicating with other terminals provided in an embodiment of the present application;

[0059] Figure 2 A schematic diagram of the architecture of a resource allocation method provided in an embodiment of the present application;

[0060] Figure 3 A schematic diagram of the hardware structure of a base station provided in an embodiment of the present application;

[0061] Figure 4 A flowchart of a resource allocation method provided in an embodiment of the present application;

[0062] Figure 5 A flowchart of another resource allocation method provided in an embodiment of the present application;

[0063] Figure 6 A schematic diagram of allocating resources to vehicle terminals in a first group and a second group provided in an embodiment of the present application;

[0064] Figure 7 A flow chart of a resource allocation method after the moving speed of a vehicle terminal in a first group changes provided by an embodiment of the present application;

[0065] Figure 8 A schematic diagram of a moving speed threshold of a vehicle terminal provided in an embodiment of the present application;

[0066] Fig. 9 A flow chart of a resource allocation method after the moving speed of a vehicle terminal in a second group changes provided by an embodiment of the present application;

[0067] Fig.10 A flowchart of another resource allocation method provided in an embodiment of the present application;

[0068] Fig.11 A schematic diagram of functional module division of a base station provided in an embodiment of the present application;

[0069] Fig.12 A schematic diagram of functional module division of a vehicle terminal provided in an embodiment of the present application;

[0070] Fig.13 A schematic diagram of the structure of a resource allocation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0071] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0072] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0073] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0074] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0075] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0076] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0077] The following explains the terms involved in the embodiments of the present application to facilitate the reader's understanding.

[0078] (1) Vehicle to everything (V2X) wireless communication technology enables vehicle terminals to communicate with different types of terminals, that is, it can realize vehicle to infrastructure (V2I), vehicle to vehicle (V2V), vehicle to pedestrian (V2P) and vehicle to network (V2N) communication.

[0079] (2) The fifth generation mobile communication technology (5G) is a new generation of broadband mobile communication technology with the characteristics of high reliability, low latency and large bandwidth.

[0080] (3) Quality of service (QoS) is a key technology in 5G networks. It optimizes network resource allocation and management to ensure that users have a better experience and quality on different applications and services. It can be characterized by data such as resource type, priority, error rate, and delay rate.

[0081] (4) 5G QoS identifier (5G QoS identifier, 5QI) is a parameter used to identify service quality in 5G networks. It represents a set of values ​​of a group of parameters such as resource type, priority, error rate, delay rate, etc., and is used to control QoS flow forwarding processing. The specific value of 5QI determines the resource type, priority and other characteristics of different QoS flows. The specific value range of 5QI is from 1 to 99, of which the value range of 1 to 4 is the same as the QCI value range in 4G, which is used for compatibility with 4G networks. The value range of 5 to 99 is newly added in 5G networks to support more service types and QoS requirements.

[0082] (5) Physical resource block (PRB) refers to 12 consecutive carrier resources in the frequency domain, which can be used as a basic unit for resource allocation. In the embodiment of the present application, it is used to allocate resources to vehicle terminals.

[0083] Currently, cellular vehicle to everything (C-V2X) technology has evolved from LTE-V2X technology based on the long-term evolution (LTE) of general mobile communication technology to 5G-V2X technology based on the 5G mobile communication network. 5G-V2X technology can support network communications based on the cellular network communication interface (Uu interface) and the direct communication interface (proximity services, PC5).

[0084] Among them, in the 5G mobile communication network, communication based on the Uu interface can realize long-distance, large-scale rapid information transmission between vehicles, infrastructure, pedestrians, and cloud platforms. Communication based on the PC5 interface can realize short-distance direct communication between vehicles, infrastructure, and pedestrians, and can support interconnection between vehicles, infrastructure, and pedestrians in environments without network coverage. In this way, communication in more scenarios can be achieved based on the PC5 interface. Communication based on the Uu interface can also allocate more time domain and frequency domain resources for communication scenarios based on the PC5 interface, realize reasonable allocation of resources, and improve the reliability of communication based on the PC5 interface. Communication based on the Uu interface and communication based on the PC5 interface work together to support the implementation of vehicle terminal services in a variety of ways.

[0085] like Figure 1As shown in the figure, a schematic diagram of the communication between the vehicle terminal and other terminals is introduced. The vehicle terminal can communicate with pedestrians, other vehicle terminals, road side units (RSUs), etc. through the PC5 interface. For example, the vehicle terminal communicates with the roadside intelligent sensing device based on the PC5 interface. The vehicle terminal accesses the LTE base station and the 5G base station through the Uu interface, and can forward the communication data to the corresponding mobile communication network such as the LTE core network and the 5G core network. And the communication data can be processed through the edge cloud. In the actual business application process of the vehicle terminal, based on the V2X basic platform and the high-precision positioning platform, it can be applied in smart travel, automatic driving, high-precision maps, high-precision positioning, etc. Among them, the V2X basic platform is a platform built based on V2X technology, which is used to provide services for vehicle terminals during driving. High-precision positioning technology can achieve high-precision positioning through the satellite positioning network based on the high-precision positioning base station. At the same time, from the perspective of the application of the transportation industry private network, the V2X basic platform and the high-precision positioning platform can be used in scenes such as public security traffic police, ports, highways, mining areas, etc. to achieve traffic status analysis and judgment, key vehicle control, etc.

[0086] The services of vehicle terminals and ordinary terminals have different requirements for network performance, and because the particularity of the services of vehicle terminals is often closely related to traffic safety, it is extremely important to allocate resources to vehicle terminals in a timely manner.

[0087] At present, in the 3GPP protocol, a mapping template from 5QI to QoS characteristics is defined, and the 5QI values ​​and corresponding QoS characteristic indicators corresponding to the services of the newly added vehicle terminals are defined, and QoS guarantees for these newly added services are implemented. In other words, based on the different service types of the vehicle terminals, fixed priorities corresponding to the service types are defined. In addition, in the process of allocating resources to the vehicle terminals, resources are allocated in descending order according to their fixed priorities.

[0088] On the one hand, in the services of vehicle terminals, since the vehicle is in motion most of the time, there may be situations such as large changes in the speed of movement and high changes in frequency. At different moving speeds, the vehicle terminal has different requirements for network performance. For example, in the assisted driving service, the vehicle terminal has different requirements for latency at different moving speeds. When the moving speed is 10km / h, the latency requirement is about 20ms, while when the moving speed is 100km / h, the latency requirement will be increased to within 5ms. In order to meet the increased latency requirements of the vehicle terminal, it is necessary to prioritize the allocation of resources for the vehicle terminal, that is, it is necessary to adjust the priority corresponding to the service to meet the increased latency requirements of the vehicle terminal. However, after the 5QI value is determined, the priority corresponding to the service is also fixed and cannot be adjusted. There may be untimely resource allocation, which will not meet the network performance requirements of the vehicle terminal at different moving speeds. Most of the services of vehicle terminals are closely related to traffic safety. When the network performance requirements of the vehicle terminal cannot be met, it may cause major safety accidents.

[0089] On the other hand, although the fixed priority corresponding to the vehicle terminal's business is higher than other businesses, when the number of terminals in the network is small, the vehicle terminal can get the resources it needs first. However, when there are multiple terminals with higher priorities in the network at the same time, there may be a limited number of resources, and some vehicle terminals cannot get enough resources they need. Due to the particularity of the vehicle terminal's business, when the vehicle terminal cannot get enough resources, it may cause major safety accidents. For example, vehicle terminals in remote driving, blind spot monitoring and other businesses, especially vehicles driving at high speeds, will cause major safety accidents if they cannot get enough resources.

[0090] In view of this, an embodiment of the present application provides a resource allocation method. The resource allocation method provided in the embodiment of the present application is grouped based on the business type and moving speed of the vehicle terminal, and can determine the vehicle group matching the vehicle terminal according to the real-time moving speed of the vehicle terminal, that is, it can determine the resource allocation priority corresponding to the vehicle group in real time according to the real-time moving speed of the vehicle terminal, and allocate resources to the vehicle terminal based on the resource allocation priority determined in real time, thereby increasing the amount of information referenced by resource allocation, reducing the problem of untimely or insufficient resource allocation, and improving the resource allocation effect, thereby ensuring the safety of vehicle driving.

[0091] The implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0092] Figure 2 The following is a schematic diagram of the architecture of a resource allocation method provided in an embodiment of the present application. Figure 2As shown, the architecture includes: a vehicle terminal 201 , a server 202 and a base station 203 .

[0093] The vehicle terminal 201 may also be referred to as a vehicle-mounted terminal, which refers to a front-end device deployed in a vehicle. In some embodiments, the vehicle terminal 201 may provide a vehicle monitoring and management function, such as monitoring and management of the vehicle's moving speed. In other embodiments, the vehicle terminal 201 may provide a vehicle communication function, such as a vehicle communication function with a server 202, and a vehicle communication function with a base station 203.

[0094] It should be noted that the number of vehicle terminals 201 may be one or more, which is not limited in the embodiment of the present application.

[0095] In the embodiment of the present application, the vehicle terminal 201 can maintain various types of vehicle services, such as remote driving service, blind spot monitoring service, cooperative lane merging service, collision avoidance service, etc. By running these vehicle services, safe driving of the vehicle can be achieved.

[0096] The server 202 may be an independent physical server, or a server cluster or distributed file system composed of multiple physical servers, or at least one of cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data or artificial intelligence platforms, etc., which is not limited in the embodiments of the present application. Of course, the server 202 may also include other functions to provide more comprehensive and diversified services.

[0097] In the embodiment of the present application, the server 202 is used to provide network services, such as service triggering services, for the vehicle terminal 201. The service triggering service may be a service activation service for activating a vehicle service requested by the vehicle terminal, or the service triggering service may be a service startup service for starting a vehicle service requested by the vehicle terminal.

[0098] In some embodiments, the vehicle terminal 201 may send a service trigger request to the server 202, where the service trigger request is used to request triggering of a corresponding service. The server 202 receives the service trigger request and returns a service trigger instruction to the vehicle terminal 201 to instruct triggering of the corresponding service.

[0099] The base station 203 is a key device for the vehicle terminal 201 to access the communication network, and is used to realize signal transmission between the vehicle terminal 201 and the server 202. It can be understood that the base station 203 can be regarded as a transfer device between the vehicle terminal 201 and the server 202.

[0100] In some embodiments, the above-mentioned service triggering service can be completed based on the cooperation between the vehicle terminal 201, the server 202 and the base station 203. The corresponding process may include: the vehicle terminal 201 sends a service triggering request to the base station 203, and the base station 203 forwards the service triggering request to the server 202. After receiving the service triggering request, the server 202 sends a service triggering instruction to the base station 203, and the base station 203 forwards the service triggering instruction to the vehicle terminal 201, and in the process of receiving the service triggering instruction from the server 202, the service type of the vehicle terminal 201 can be obtained.

[0101] In the embodiment of the present application, the base station 203 is used to allocate resources, such as resources for business processing, to the vehicle terminal 201. The corresponding process may be that the base station 203 obtains the business type and moving speed of the vehicle terminal 201, such as obtaining the business type of the vehicle terminal 201 from the server 202, and obtaining the moving speed of the vehicle terminal 201 from the vehicle terminal 201. In addition, the base station 203 determines the vehicle group matching the vehicle terminal 201 based on the business type and moving speed of the vehicle terminal 201, and allocates resources to the vehicle terminal 201 within the vehicle group.

[0102] When implemented by hardware, the base station may be provided as follows Figure 3 The hardware structure shown in FIG. Figure 3 As shown in the figure, the hardware structure of the base station is introduced.

[0103] Figure 3 The hardware structure diagram of a base station provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the base station includes at least one processor 301, a communication line 302, and at least one communication interface 304, and may also include a memory 303. The processor 301, the memory 303 and the communication interface 304 may be connected via the communication line 302.

[0104] The processor 301 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA).

[0105] The communication line 302 is used to transmit information between the above components.

[0106] The communication interface 304 is used to communicate with other devices or communication networks, and can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.

[0107] The memory 303 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0108] In one possible design, the memory 303 can exist independently of the processor 301, that is, the memory 303 can be a memory outside the processor 301. In this case, the memory 303 can be connected to the processor 301 through the communication line 302, and is used to store execution instructions or application code, and the processor 301 controls the execution to implement the resource allocation method provided in the following embodiment of the present application. In another possible design, the memory 303 can also be integrated with the processor 301, that is, the memory 303 can be the internal memory of the processor 301, for example, the memory 303 is a high-speed cache, which can be used to temporarily store some data and instruction information.

[0109] As a possible implementation, the processor 301 may include one or more CPUs, for example Figure 3 As another possible implementation, the base station may include multiple processors, such as Figure 3 As another possible implementation, the base station may further include an output device 305 and an input device 306.

[0110] It should be pointed out that the various embodiments of the present application can refer to each other, for example, the same or similar steps, method embodiments, system embodiments and device embodiments can refer to each other without limitation.

[0111] Figure 4 A flowchart of a resource allocation method provided in an embodiment of the present application, which can be applied to Figure 2 In the architecture shown in Figure 4 As shown, with the base station as the execution subject, the method includes the following steps:

[0112] S401. The base station obtains the service type and moving speed of the vehicle terminal.

[0113] Among them, the service type of the vehicle terminal is the vehicle service applied by the vehicle terminal, such as remote driving service, blind spot monitoring service, cooperative lane merging service, collision avoidance service, etc.

[0114] In a possible implementation, the process of the base station acquiring the service type of the vehicle terminal may be: receiving a service trigger instruction from a server, the service trigger instruction carrying the service type of the vehicle terminal, and acquiring the service type of the vehicle terminal from the service trigger instruction.

[0115] The service trigger instruction received by the base station from the server may be a service trigger instruction returned by the server based on the service trigger request of the vehicle terminal, or may be a service trigger instruction actively sent by the server.

[0116] For example, the vehicle terminal can send a service trigger request to the base station based on the Uu interface, the base station forwards the service trigger request to the server, the server sends a service trigger instruction to the base station based on the service trigger request, the base station obtains the service type of the vehicle terminal from the service trigger instruction, and forwards the service trigger instruction to the vehicle terminal. The service type in the service trigger request sent by the vehicle terminal can be a remote driving service, a collaborative lane merging service, etc.

[0117] For another example, the server actively sends a service trigger instruction to the base station, the base station receives the service trigger instruction, obtains the service type of the vehicle terminal from the service trigger instruction, and forwards the service trigger instruction to the vehicle terminal. The service type in the service trigger instruction actively sent by the server can be a data packet upgrade service, etc.

[0118] It should be noted that, after obtaining the service type of the vehicle terminal carried in the service trigger instruction, the base station can store the service type of the vehicle terminal accordingly for flexible subsequent use.

[0119] In a possible implementation manner, the process of the base station acquiring the moving speed of the vehicle terminal may be: the base station receives the moving speed from the vehicle terminal.

[0120] The corresponding process may be that the vehicle terminal is equipped with a speed sensor for detecting the moving speed of the vehicle terminal. The vehicle terminal can send the moving speed detected by the speed sensor to the base station through the Uu interface, and the base station receives the moving speed from the vehicle terminal.

[0121] In the above embodiment, the base station can quickly and conveniently obtain the service type carried by the service trigger instruction in the service trigger process between the vehicle terminal and the server, and the base station can timely obtain the moving speed of the vehicle terminal during the driving process of the vehicle to provide a basis for subsequent business processing.

[0122] S402: Based on the service type and moving speed of the vehicle terminal, the base station determines a vehicle group matching the vehicle terminal, wherein different vehicle groups correspond to different resource allocation priorities.

[0123] The resource allocation priority is used to indicate the order in which resources are allocated to different vehicle groups.

[0124] In this way, since the moving speed of the vehicle is constantly fluctuating during the actual driving process, grouping based on the business type and moving speed of the vehicle terminal can determine the vehicle grouping that matches the vehicle terminal in real time according to the real-time moving speed of the vehicle terminal, and based on the grouping information, the resource allocation priority corresponding to the vehicle grouping can be determined in real time to facilitate subsequent resource allocation.

[0125] S403: The base station allocates resources to vehicle terminals in the vehicle group.

[0126] In this way, the resource allocation priority corresponding to the vehicle grouping determined in real time can be used to increase the amount of information referenced by resource allocation, reduce the problem of untimely or insufficient resource allocation, and improve the resource allocation effect.

[0127] The technical solution provided in the embodiment of the present application is that since the moving speed of the vehicle fluctuates constantly during the actual driving process, the vehicle terminal is grouped based on the business type and moving speed. The vehicle grouping that matches the vehicle terminal can be determined based on the real-time moving speed of the vehicle terminal. In other words, the resource allocation priority corresponding to the vehicle grouping can be determined in real time according to the real-time moving speed of the vehicle terminal, and resources can be allocated to the vehicle terminal based on the real-time determined resource allocation priority, thereby increasing the amount of information referenced by resource allocation, reducing the problem of untimely or insufficient resource allocation, and improving the resource allocation effect, thereby ensuring the safety of vehicle driving.

[0128] For example, Figure 5 As shown, Figure 5 A flowchart of another resource allocation method provided in an embodiment of the present application. The method comprises the following steps:

[0129] S501. The base station obtains the service type of the vehicle terminal from the server.

[0130] The base station receives a service trigger instruction from a server, where the service trigger instruction carries the service type of the vehicle terminal; and obtains the service type of the vehicle terminal from the service trigger instruction.

[0131] In a possible implementation manner, the base station may receive the service trigger instruction from the server by:

[0132] Signal Type:V2X Business trigger

[0133] UE ID:1234

[0134] V2X Business:V2X messages(Advanced Driving Cooperative Lane Change)

[0135] V2X Business Data:5.

[0136] In the above command, Signal Type is the command name, UE ID is the unique identification code of the vehicle terminal, V2XBusiness is the service type, Advanced Driving Cooperative Lane Change is the cooperative lane change service, and V2XBusiness Data is the service data volume.

[0137] S502: The base station obtains the moving speed of the vehicle terminal from the vehicle terminal.

[0138] The above S501 to S502 correspond to Figure 4 The process shown is that the base station obtains the service type and moving speed of the vehicle terminal.

[0139] S503: The base station determines a vehicle group matching the vehicle terminal based on the service type and moving speed of the vehicle terminal. In the case where the vehicle group matching the vehicle terminal is the first group, S504 is executed. In the case where the vehicle group matching the vehicle terminal is the second group, S507 is executed.

[0140] Among them, different vehicle groups correspond to different resource allocation priorities.

[0141] In some embodiments, the base station can determine the vehicle group matching the vehicle terminal by determining whether the service type of the vehicle terminal belongs to a preset vehicle service and whether the moving speed of the vehicle terminal is greater than a first speed threshold.

[0142] Among them, the preset vehicle business is a vehicle business with a safety hazard level greater than a preset level.

[0143] In a possible implementation, the potential safety hazard level of the vehicle service may be obtained through calculation or may be manually defined.

[0144] For example, based on artificial intelligence (AI) models, the safety hazard level of vehicle services can be automatically analyzed.

[0145] In the embodiment of the present application, the preset vehicle service type of the vehicle terminal may be a service type of the vehicle terminal that has been defined in the 5QI table of the 3GPP protocol, such as a remote driving service with a 5QI value of 85, a cooperative lane-merging service with a 5QI value of 83, a collision avoidance service with a 5QI value of 86, etc. In addition, the 5QI value corresponding to the service type of the vehicle terminal and the corresponding QoS characteristic indicator are also defined in the 5QI table.

[0146] In the 5QI table, 5QI Value indicates the 5QI value; Resource Type indicates the resource type, which includes: guaranteed bit rate (GBR), non-guaranteed bit rate (Non-GBR) and delay critical guaranteed bit rate (Delay Critical GBR), which are used to ensure the service quality of different services; Default Priority Level indicates the priority, which is allocated according to the priority during resource allocation; Packet Delay Budget (NOTE3) is the packet delay rate; Packet Error Rate is the packet error rate; Default Maximum Data Burst Volume (NOTE2) is the default maximum data transmission volume; Default Averaging Window is the default averaging window; Example Services is the example service. As shown in Table 1, the 5QI values ​​and corresponding QoS characteristic indicators corresponding to the service types of the vehicle terminal are introduced.

[0147] Table 1

[0148]

[0149] In a possible implementation, the first speed threshold is used to determine whether the vehicle terminal is in a high-speed driving state. If the moving speed of the vehicle terminal is greater than the first speed threshold, it means that the vehicle terminal is in a high-speed driving state, that is, the vehicle terminal at the current moving speed has a high degree of resource demand. For example, the first speed threshold may be 100 km / h.

[0150] Case 1: If the service type of the vehicle terminal belongs to the preset vehicle service and the moving speed of the vehicle terminal is greater than the first speed threshold, the base station determines that the vehicle group matching the vehicle terminal is the first group, and the first group is the vehicle group with the highest priority for resource allocation among at least two preset groups.

[0151] It should be noted that the terminals that meet the condition that the service type belongs to the preset vehicle service and the moving speed is greater than the first speed threshold are vehicle terminals, that is, the terminal types in the first group are all vehicle terminals.

[0152] Case 2: If the service type of the vehicle terminal does not belong to the preset vehicle service, and / or the moving speed of the vehicle terminal is less than or equal to the first speed threshold, the base station determines that the vehicle terminal belongs to the second group, and the priority of resource allocation of the second group is lower than the priority of resource allocation of the first group.

[0153] It should be noted that in the cell, in addition to vehicle terminals, there are other types of terminals that need to allocate resources. That is to say, the terminals that meet the condition that the service type does not belong to the preset vehicle service and / or the moving speed of the vehicle terminal is less than or equal to the first speed threshold may include vehicle terminals, and may also include other types of terminals except vehicle terminals, that is, the terminal types in the second group include not only vehicle terminals, but also other types of terminals such as mobile phones and computers.

[0154] In this way, based on the determination of the priority of resource allocation of the first group and the second group, resource allocation of vehicle terminals in the first group can be prioritized, thereby improving the effect of resource allocation.

[0155] S504. The base station determines the total resource quantity requirement of the first group based on the resource quantity requirements of multiple vehicle terminals in the first group.

[0156] In a possible implementation, for each vehicle terminal in the first group, the PRB resource quantity requirement of each vehicle terminal in the first group within a transmission time interval (TTI) is calculated using formula (1).

[0157]

[0158] In the formula, UEk is a vehicle terminal in the first group, is the PRB resource quantity requirement for each vehicle terminal in the first group, is the amount of data sent per second by each vehicle terminal in the first group, MCS is the average number of bits that each resource unit can carry per second in each vehicle terminal in the first group, Layer is the average number of streams per second for each vehicle terminal in the first group in space division multiplexing, 12 is the number of subcarriers contained in each PRB resource, and 14 is the number of orthogonal frequency division multiplexing (OFDM) symbols contained in each PRB resource.

[0159] It should be noted that, in order to ensure the normal operation of the vehicle terminal service, when calculating the PRB resource quantity requirement of each vehicle terminal in the first group, the calculated time interval TTI is at the ms level, for example, 1 ms.

[0160] Based on the PRB resource quantity requirement of each vehicle terminal in the first group and the following summation formula (2), the total PRB resource quantity requirement of the first group is obtained.

[0161]

[0162] Where PRB group1 is the total PRB resource quantity requirement of the first group, and K is the number of vehicle terminals in the first group.

[0163] In this way, the resource quantity requirement of each vehicle terminal in the first group can be fully considered, and the total resource quantity requirement of the first group can be obtained as accurately as possible, which is convenient for subsequent resource allocation.

[0164] S505: The base station determines resources that match the total resource quantity requirement from the resources to be allocated as reserved resources for the first group.

[0165] The reserved resources of the first group are resources dedicated to the first group, that is, the reserved resources of the first group do not support allocation of resources to terminals outside the first group.

[0166] In a possible implementation, the base station may add an index to the reserved resources of the first group, where the index is used to point to the first group, so that resources can be subsequently allocated to the vehicle terminals in the first group based on the index.

[0167] In addition, based on the total PRB resource quantity requirement of the first group, the reserved resource ratio of the first group can be obtained using the following formula (3).

[0168] Ratio=PRB group1 / PRB total (3)

[0169] Where PRB total It is the total amount of PRB resources in the cell, that is, the total amount of PRB resources that can be allocated to all terminals.

[0170] In this way, the resources that match the total resource quantity demand are used as reserved resources for the first group, so that resources can be reserved for the vehicle terminals in the first group, the deterministic demand of the vehicle terminals in the first group can be guaranteed, the normal operation of the business can be guaranteed, and resources are only reserved for the first group. This can avoid resource crowding out for other terminals in the base station cell, reduce the impact on other terminals in the cell, and improve the effect of resource allocation.

[0171] S506. The base station allocates resources to the vehicle terminal in the first group based on the reserved resources of the first group.

[0172] It should be noted that resources are allocated to the vehicle terminals in the first group in the order of fixed priorities specified in the 5QI table.

[0173] In this way, allocating resources to the vehicle terminals in the first group based on the reserved resources of the first group can not only ensure timely resource allocation, but also ensure sufficient resource allocation, thereby improving the effect of resource allocation.

[0174] In addition, in the process of allocating resources to vehicle terminals in the first group, in some cases, there may be a problem that the number of reserved resources of the first group is inconsistent with the number of resources actually used by the first group. For example, because the parameters used in calculating the number of reserved resources of the first group are based on average values, but the actual number of resources used in the actual use of the first group is often based on instantaneous values, due to the fluctuation of the values, the number of reserved resources of the first group and the actual number of resources used by the first group may be inconsistent.

[0175] In some possible implementations, if the number of reserved resources for the first group is greater than the actual number of resources used by the first group, resources are allocated to terminals in the second group to which resources are to be allocated based on the remaining number of resources in the reserved resources after allocating resources to the first group.

[0176] In some other possible implementations, if the number of reserved resources of the first group is less than the actual number of resources used by the first group, the vehicle terminals in the first group that are not allocated resources are switched from the first group to the second group, and resources are allocated to the vehicle terminals in the second group.

[0177] In this way, it is possible to ensure the rational use of resources during the resource allocation process, avoid wasting resources to the greatest extent possible, and, on the premise of ensuring the resource allocation of vehicle terminals as much as possible, it is also possible to ensure the resource allocation of other terminals in the community and ensure fairness for terminal users in the community.

[0178] S507: The base station allocates resources to the vehicle terminal in the second group.

[0179] It should be noted that resources are allocated to the vehicle terminals in the second group in the order of fixed priorities specified in the 5QI table. Figure 6 A schematic diagram of allocating resources to a vehicle terminal within a first group and a second group is provided for an embodiment of the present application, wherein UE represents a vehicle terminal.

[0180] In this way, the resource requirements of the terminals in the other groups except the first group can be guaranteed, and resources can be allocated for them.

[0181] In the above embodiment, since the moving speed of the vehicle is constantly fluctuating during the actual driving process, the vehicle terminal is grouped based on its business type and moving speed. The vehicle grouping that matches the vehicle terminal can be determined based on the real-time moving speed of the vehicle terminal. In other words, the resource allocation priority corresponding to the vehicle grouping can be determined in real time according to the real-time moving speed of the vehicle terminal, and resources can be allocated to the vehicle terminal based on the resource allocation priority determined in real time, thereby increasing the amount of information referenced for resource allocation, reducing the problem of untimely or insufficient resource allocation, and improving the resource allocation effect, thereby ensuring the safety of vehicle driving.

[0182] The technical solution provided by the embodiment of the present application uses resources that match the total resource quantity demand as reserved resources for the first group, which can realize resource reservation for vehicle terminals in the first group, ensure the normal operation of the services of vehicle terminals in the first group, thereby ensuring the safety of vehicle driving, and only reserving resources for the first group can avoid crowding out resources of other terminals in the cell, reduce the impact on other terminals in the cell, and improve the effect of resource allocation. In the case where the number of reserved resources of the first group is inconsistent with the actual number of resources used in the first group, the resource allocation situation can be adjusted in time to achieve the reasonable use of the reserved resources of the first group in the resource allocation process, and to avoid wasting resources to the greatest extent. On the premise of ensuring the allocation of vehicle terminal resources as much as possible, the resource allocation of other terminals in the cell can also be guaranteed, and the fairness of terminal users in the cell can be guaranteed.

[0183] It should be noted that the above Figure 5The resource allocation method shown is an exemplary description of a resource allocation process. After a resource allocation process is completed, the base station can continue to allocate resources to the vehicle terminal according to the real-time changing moving speed of the vehicle terminal until the vehicle service is completed.

[0184] In some embodiments, taking the vehicle group matching the vehicle terminal as the first group as an example, after allocating resources to the vehicle terminal in the first group, the base station can re-determine the vehicle group matching the vehicle terminal by judging whether the moving speed of the vehicle terminal has changed, thereby completing the next resource allocation. Figure 7 A flow chart of a resource allocation method after the moving speed of vehicle terminals in a first group changes is provided in an embodiment of the present application.

[0185] S701. In response to a change in the moving speed of the vehicle terminal, the base station obtains the changed moving speed of the vehicle terminal.

[0186] In this way, by monitoring the moving speed of the vehicle terminal in real time, the change of the moving speed of the vehicle terminal can be timely obtained when the moving speed changes, providing data basis for subsequent resource allocation.

[0187] In some other possible implementations, when the moving speed of the vehicle terminal in the first group does not change, the base station determines that the vehicle group matching the vehicle terminal is the previous vehicle group, that is, the base station determines that the vehicle group matching the vehicle terminal is the first group.

[0188] S702: When the vehicle group matched by the vehicle terminal last time is the first group, determine whether the moving speed of the vehicle terminal after the change is greater than the second speed threshold. If yes, execute S703 to S704. If not, execute S705 to S706.

[0189] In some possible implementations, during each resource allocation process, the base station determines the vehicle grouping that matches the vehicle terminal based on the service type and moving speed of the vehicle terminal, and can store the vehicle grouping that matches the vehicle terminal accordingly. For example, the base station stores the vehicle terminal and the vehicle grouping that matches the vehicle terminal in the form of key-value pairs. After a resource allocation process is completed, the base station can determine the vehicle grouping of the vehicle terminal during the last resource allocation process based on the vehicle grouping that matches the vehicle terminal stored last time.

[0190] S703: If the changed moving speed of the vehicle terminal is greater than the second speed threshold, the base station determines that the vehicle group matching the vehicle terminal is the first group, and the first speed threshold is greater than the second speed threshold.

[0191] S704. The base station allocates resources to the vehicle terminal again in the first group.

[0192] The second speed threshold is used to determine whether the vehicle terminal is still in a high-speed driving state. It should be noted that in the actual operation process, the moving speed of the vehicle terminal will have instantaneous changes. In order to avoid inaccurate grouping judgment caused by instantaneous changes in the moving speed, the first speed threshold is set to be greater than the second speed threshold. For example, the first speed threshold can be 120km / h, and the second speed threshold can be 100km / h.

[0193] In a possible implementation, the first speed threshold and the second speed threshold can be set by setting the absolute threshold Thresh and hysteresis Hys of the vehicle terminal moving speed. The setting of the absolute threshold Thresh can be used as a restriction condition for the vehicle terminals grouped into the first group, avoiding resource preemption of the vehicle terminal and affecting other terminals. The setting of the hysteresis Hys can avoid frequent changes in the grouping situation caused by instantaneous fluctuations in the moving speed of the vehicle terminal. The first speed threshold is Thresh+Hys, and the second speed threshold is Thresh-Hys. Figure 8 A schematic diagram of a moving speed threshold of a vehicle terminal provided in an embodiment of the present application.

[0194] When the moving speed v of the vehicle terminal is greater than Thresh+Hys, it indicates that the vehicle terminal is in a high-speed driving state.

[0195] When the moving speed v of the vehicle terminal is ≤Thresh-Hys, it indicates that the vehicle terminal is in a non-high-speed driving state.

[0196] It can be understood that when the moving speed of the vehicle terminal in the first group changes to Thresh-Hys<v<Thresh+Hys, although the moving speed decreases, the moving speed still fluctuates within a relatively small range. Combined with the situation that the vehicle terminal was in a high-speed driving state during the last resource allocation process, it is considered that the vehicle terminal is in a high-speed driving state for a period of time.

[0197] In this way, vehicle terminals that are in a high-speed driving state for a period of time can be correctly assigned to the first group, and resources can be allocated to these vehicle terminals in a timely manner to ensure safety.

[0198] S705: If the changed moving speed of the vehicle terminal is less than or equal to the second speed threshold, the base station determines that the vehicle group matching the vehicle terminal is the second group.

[0199] S706. The base station allocates resources to the vehicle terminal in the second group.

[0200] In this way, vehicle terminals with reduced moving speeds can be assigned to the second group, thereby avoiding resource preemption and making rational use of resources.

[0201] In the above-mentioned embodiment, when the moving speed of the vehicle terminal in the first group changes, the group matching the vehicle terminal can be re-determined based on the changed moving speed, the matching vehicle group of the vehicle terminal can be adjusted in time, and resources can be allocated to the vehicle terminals in the vehicle group according to the priority corresponding to the adjusted vehicle group, so as to ensure the rationality of resource allocation.

[0202] In other embodiments, taking the vehicle group matching the vehicle terminal as the second group as an example, after allocating resources to the vehicle terminal in the second group, the base station can redetermine the vehicle group matching the vehicle terminal by determining whether the moving speed of the vehicle terminal has changed, thereby completing the next resource allocation. Fig. 9 A flow chart of a resource allocation method after the moving speed of vehicle terminals in a second group changes, provided in an embodiment of the present application.

[0203] S901. In response to a change in the moving speed of the vehicle terminal, the base station obtains the changed moving speed of the vehicle terminal.

[0204] In some other possible implementations, when the moving speed of the vehicle terminal in the second group does not change, the base station determines that the vehicle group matching the vehicle terminal is the previous vehicle group, that is, the base station determines that the vehicle group matching the vehicle terminal is the second group.

[0205] S902: When the vehicle group matched by the vehicle terminal last time is the second group, determine whether the moving speed of the vehicle terminal after the change is greater than the first speed threshold. If yes, execute S903 to S904. If not, execute S905 to S906.

[0206] S903: If the changed moving speed of the vehicle terminal is greater than the first speed threshold, the base station determines that the vehicle group matching the vehicle terminal is the first group.

[0207] S904. The base station allocates resources to the vehicle terminals in the first group.

[0208] In this way, vehicle terminals that can be in a high-speed driving state belong to the first group, and resources are allocated to the vehicle terminals in the first group in priority, thereby improving the effect of resource allocation.

[0209] S905: If the changed moving speed of the vehicle terminal is less than or equal to the first speed threshold, the base station determines that the vehicle group matching the vehicle terminal is the second group.

[0210] S906. The base station allocates resources to the vehicle terminal again in the second group.

[0211] In this way, vehicle terminals whose moving speed is less than or equal to the first speed threshold can be assigned to the second group, thereby avoiding resource preemption and making rational use of resources.

[0212] In the above embodiment, when the moving speed of the vehicle terminal in the second group changes, the group matching the vehicle terminal can be re-determined based on the changed moving speed, the matching vehicle group of the vehicle terminal can be adjusted in time, and resources can be allocated to the vehicle terminals in the vehicle group according to the priority corresponding to the adjusted vehicle group, so as to ensure the rationality of resource allocation.

[0213] In one embodiment, taking the interaction between the vehicle terminal, the base station and the server as an example, Fig.10 As shown, a flow chart of another resource allocation method is introduced. The method includes the following steps:

[0214] S1001. The vehicle terminal sends a service trigger request to the base station.

[0215] S1002: The base station forwards the service trigger request to the server.

[0216] S1003: The server sends a service trigger instruction to the base station based on the service trigger request.

[0217] S1004. The base station obtains the service type of the vehicle terminal based on the service trigger instruction.

[0218] S1005. The base station initially allocates resources to the vehicle terminal based on the service type of the vehicle terminal and in accordance with the fixed priority in the 5QI table.

[0219] S1006. The base station sends the service trigger instruction and the initially allocated resources to the vehicle terminal.

[0220] In this way, based on the service triggering instruction, the vehicle terminal can normally start the service requested by the vehicle terminal, and through the initial resource allocation to the vehicle terminal, the normal operation of the vehicle terminal service can be preliminarily achieved.

[0221] S1007. The vehicle terminal sends the moving speed of the vehicle terminal to the base station.

[0222] S1008. The base station determines a vehicle group matching the vehicle terminal based on the service type and moving speed of the vehicle terminal.

[0223] S1009. The base station determines the total resource quantity requirement of the first group based on the resource quantity requirements of multiple vehicle terminals in the first group, and determines resources matching the total resource quantity requirement from the resources to be allocated as reserved resources for the first group.

[0224] S1010. The base station allocates resources to vehicle terminals in the first group and the second group respectively.

[0225] S1011. The base station sends the allocated resources to the vehicle terminal.

[0226] The technical solution provided in the embodiment of the present application can determine the vehicle grouping that matches the vehicle terminal based on the real-time moving speed of the vehicle terminal. That is to say, it can determine the resource allocation priority corresponding to the vehicle grouping in real time according to the real-time moving speed of the vehicle terminal, and allocate resources to the vehicle terminal based on the resource allocation priority determined in real time, thereby increasing the amount of information referenced by resource allocation, reducing the problem of untimely or insufficient resource allocation, and improving the resource allocation effect, thereby ensuring the safety of vehicle driving.

[0227] In an embodiment of the present application, the base stations and vehicle terminals in the resource scheduling architecture may be divided into functional modules according to the process shown in the above resource allocation method embodiment.

[0228] For example, Fig.11 A schematic diagram of the functional module division of a base station provided in an embodiment of the present application. According to the direction of data flow in the base station, the base station function can be divided into a receiving module 1101 and a sending module 1102. The receiving module 1101 can be further divided into a vehicle terminal service type receiving module 11011, a resource allocation module 11012, a vehicle terminal moving speed change determination module 11013, and a vehicle terminal data upload receiving module 11014. The sending module 1102 can be further divided into a vehicle terminal service sending module 11021 and a data sending module 11022.

[0229] Among them, the service type receiving module 11011 of the vehicle terminal is used to receive the service trigger instruction from the server.

[0230] The resource allocation module 11012 is used to determine the grouping of vehicle terminals, and based on the resource quantity requirements of multiple vehicle terminals in the first group, determine the total resource quantity requirements of the first group, and determine from the resources to be allocated, resources that match the total resource quantity requirements as reserved resources for the first group, and allocate resources to the vehicle terminals in the first group and the second group.

[0231] The vehicle terminal moving speed change determination module 11013 is used to determine whether the moving speed of the vehicle terminal has changed.

[0232] The vehicle terminal data upload receiving module 11014 is used to receive the uplink data sent by the vehicle terminal, the uplink data including the moving speed of the vehicle terminal, and extract and save the moving speed of the vehicle terminal.

[0233] The service sending module 11021 of the vehicle terminal is used to send the allocated resources to the vehicle terminal.

[0234] The data sending module 11022 is used to send the communication data generated by the vehicle terminal to the network element device of the core network.

[0235] Fig.12 A schematic diagram of the functional module division of a vehicle terminal provided in an embodiment of the present application. The vehicle terminal adds a function of reporting moving speed to the existing vehicle terminal, so the functional modules of the vehicle terminal can be divided into a vehicle data receiving module 1201, a moving speed extraction module 1202 and a vehicle data sending module 1203.

[0236] The vehicle data receiving module 1201 is used to receive the service trigger instruction forwarded by the base station based on the server, and receive the resources allocated by the base station.

[0237] The moving speed extraction module 1202 is used to detect and save the moving speed of the vehicle terminal.

[0238] The vehicle data sending module 1203 is used to send communication data including the moving speed of the vehicle terminal to the base station.

[0239] The embodiment of the present application can divide the resource allocation device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.

[0240] like Fig.13 FIG. 1 is a schematic diagram of a structure of a resource allocation device 130 provided in an embodiment of the present application. The resource allocation device 130 includes:

[0241] An acquisition unit 1301 is used to acquire a service type and a moving speed of a vehicle terminal;

[0242] A determining unit 1302 is used to determine a vehicle group matching the vehicle terminal based on the service type and moving speed of the vehicle terminal, wherein different vehicle groups correspond to different resource allocation priorities;

[0243] The allocation unit 1303 is used to allocate resources to vehicle terminals within the vehicle group.

[0244] In one possible implementation, the determination unit 1302 is used to: if the service type of the vehicle terminal belongs to a preset vehicle service and the moving speed of the vehicle terminal is greater than a first speed threshold, then determine that the vehicle group matching the vehicle terminal is the first group, and the first group is the vehicle group with the highest priority for resource allocation among at least two preset groups.

[0245] The allocation unit 1303 is used to allocate resources to the vehicle terminals in the first group.

[0246] In one possible implementation, the allocation unit 1303 is used to: determine the total resource quantity requirement of the first group based on the resource quantity requirements of multiple vehicle terminals in the first group; determine resources that match the total resource quantity requirement from the resources to be allocated as reserved resources for the first group; and allocate resources to the vehicle terminal within the first group based on the reserved resources of the first group.

[0247] In one possible implementation, the device also includes: a second acquisition unit, used to obtain the moving speed of the vehicle terminal after the change in response to the change in the moving speed of the vehicle terminal; a second determination unit, used to determine that the vehicle group matching the vehicle terminal is the first group if the moving speed of the vehicle terminal after the change is greater than a second speed threshold, and allocate resources to the vehicle terminal again within the first group, and the first speed threshold is greater than the second speed threshold.

[0248] In a possible implementation, the determining unit 1302 is used to: if the service type of the vehicle terminal does not belong to the preset vehicle service, and / or the moving speed of the vehicle terminal is less than or equal to the first speed threshold, determine that the vehicle group matching the vehicle terminal is the second group, and the priority of resource allocation of the second group is lower than the priority of resource allocation of the first group;

[0249] The allocation unit 1303 is used to allocate resources to the vehicle terminal in the second group.

[0250] In one possible implementation, the device also includes: a second acquisition unit, used to obtain the changed moving speed of the vehicle terminal in response to a change in the moving speed of the vehicle terminal; if the changed moving speed of the vehicle terminal is greater than a first speed threshold, determining that the vehicle group matching the vehicle terminal is the first group, and allocating resources to the vehicle terminal within the first group.

[0251] In one possible implementation, the device also includes: a first comparison unit, which is used to allocate resources to terminals in the second group to which resources are to be allocated, based on the remaining number of resources in the reserved resources after allocating resources to the first group, if the number of reserved resources for the first group is greater than the actual number of resources used by the first group; and a second comparison unit, which is used to switch vehicle terminals in the first group that are not allocated resources from the first group to the second group, and allocate resources to the vehicle terminals in the second group, if the number of reserved resources for the first group is less than the actual number of resources used by the first group.

[0252] In a possible implementation manner, the preset vehicle service is a vehicle service with a safety hazard level greater than a preset level.

[0253] In a possible implementation, the acquisition unit 1301 is used to: receive a service trigger instruction from a server, the service trigger instruction carrying the service type of the vehicle terminal; obtain the service type of the vehicle terminal from the service trigger instruction; and receive a moving speed from the vehicle terminal.

[0254] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0255] An embodiment of the present application provides a computer program product including instructions. When the computer program product is executed on a base station, the base station executes the resource allocation method in the above method embodiment.

[0256] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a base station, the base station executes the resource allocation method in the method flow shown in the above method embodiment.

[0257] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0258] Since the resource allocation device, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present application will not be repeated here.

[0259] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0260] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0261] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0262] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A resource allocation method, characterized in that: The method comprises: Obtain the business type and moving speed of the vehicle terminal; Determining a vehicle group matching the vehicle terminal based on the service type and moving speed of the vehicle terminal, wherein different vehicle groups correspond to different resource allocation priorities; Resources are allocated to the vehicle terminals within the vehicle group.

2. The method according to claim 1, characterized in that The determining of a vehicle group matching the vehicle terminal based on the service type and the moving speed of the vehicle terminal includes: If the service type of the vehicle terminal belongs to a preset vehicle service and the moving speed of the vehicle terminal is greater than a first speed threshold, determining that the vehicle group matching the vehicle terminal is a first group, the first group being a vehicle group with the highest priority for resource allocation among at least two preset groups; The allocating resources to the vehicle terminals within the vehicle group includes: Resources are allocated to the vehicle terminals within the first group.

3. The method according to claim 2, characterized in that The allocating resources to the vehicle terminal in the first group includes: Determining a total resource quantity requirement of the first group based on the resource quantity requirements of a plurality of vehicle terminals in the first group; Determine, from the resources to be allocated, resources that match the total resource quantity requirement as reserved resources for the first group; Based on the reserved resources of the first group, resources are allocated to the vehicle terminal within the first group.

4. The method according to claim 2, characterized in that: After allocating resources to the vehicle terminal in the first group, the method further includes: In response to a change in the moving speed of the vehicle terminal, acquiring the changed moving speed of the vehicle terminal; If the changed moving speed of the vehicle terminal is greater than the second speed threshold, the vehicle group matching the vehicle terminal is determined to be the first group, and resources are allocated to the vehicle terminal again within the first group, and the first speed threshold is greater than the second speed threshold.

5. The method according to claim 2, characterized in that: The determining of a vehicle group matching the vehicle terminal based on the service type and the moving speed of the vehicle terminal includes: If the service type of the vehicle terminal does not belong to the preset vehicle service, and / or the moving speed of the vehicle terminal is less than or equal to the first speed threshold, the vehicle group matching the vehicle terminal is determined to be a second group, and the priority of resource allocation of the second group is lower than the priority of resource allocation of the first group; The allocating resources to the vehicle terminals within the vehicle group includes: Resources are allocated to the vehicle terminals within the second group.

6. The method according to claim 5, characterized in that After allocating resources to the vehicle terminal in the second group, the method further includes: In response to a change in the moving speed of the vehicle terminal, acquiring the changed moving speed of the vehicle terminal; If the changed moving speed of the vehicle terminal is greater than the first speed threshold, the vehicle group matching the vehicle terminal is determined to be the first group, and resources are allocated to the vehicle terminal within the first group.

7. The method according to claim 5, characterized in that The method further comprises: If the number of reserved resources of the first group is greater than the number of resources actually used by the first group, then based on the number of remaining resources in the reserved resources after allocating resources to the first group, allocate resources to the terminals to be allocated resources in the second group; or, If the number of reserved resources of the first group is less than the actual number of resources used by the first group, the vehicle terminals in the first group that are not allocated resources are switched from the first group to the second group, and resources are allocated to the vehicle terminals in the second group.

8. The method according to claim 2, characterized in that: The preset vehicle business is a vehicle business with a safety hazard level greater than a preset level.

9. The method according to claim 1, characterized in that: The obtaining of the service type and moving speed of the vehicle terminal includes: Receiving a service trigger instruction from a server, the service trigger instruction carrying the service type of the vehicle terminal; acquiring the service type of the vehicle terminal from the service trigger instruction; A moving speed is received from the vehicle terminal.

10. A resource allocation device, characterized in that: The device comprises: An acquisition unit, used to acquire the service type and moving speed of the vehicle terminal; a determining unit, configured to determine a vehicle group matching the vehicle terminal based on a service type and a moving speed of the vehicle terminal, wherein different vehicle groups correspond to different resource allocation priorities; An allocation unit is used to allocate resources to the vehicle terminals within the vehicle group.

11. A base station, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the resource allocation method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or an instruction. When the base station executes the computer program or the instruction, the base station executes the resource allocation method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The computer program product comprises a computer program or an instruction. When the computer program or the instruction is executed on a base station, the base station executes the resource allocation method according to any one of claims 1 to 9.